Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Plot of horizontal bars in descending order of the percentages of categories of a string variable


From   jose maria pacheco de souza <[email protected]>
To   [email protected]
Subject   Re: st: Plot of horizontal bars in descending order of the percentages of categories of a string variable
Date   Sun, 01 Dec 2013 13:12:17 -0200

Em 01/12/2013 12:19, Nick Cox escreveu:
Good, but I don't know what you are quoting from here.
Nick
[email protected]

Try -catplot- (SSC).

Nick
[email protected]


help for catplot
Remarks
...
...
Note some simple principles in this territory:

It is difficult to create a great graph, but easy to improve a bad one. Comparisons must be easy. That could mean in one dimension, across a row or down a column, or it could mean using a table structure.
        Ordering by magnitude may be even more useful than ordering by
category.
Bars are better than pie slices as length is easier to judge than angle. Dots on a scale are a good way to include magnitudes.
        Text is better read as horizontal than as vertical.
Showing numbers as text as well by graphical elements can be helpful. Lose the legend if you can. A great advantage of graph hbar | bar | dot is strong support for category labels, which can be nested too.

josé maria


--
Jose Maria Pacheco de Souza
Professor Titular (aposentado), Professor Senior
Departamento de Epidemiologia/Faculdade de Saude Publica, USP
Av. Dr. Arnaldo, 715
01246-904  -  S. Paulo/SP - Brasil
fone (11)3768-8612
www.fsp.usp.br/~jmpsouza
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index