Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: catplot showing not chosen categories in x-axis


From   Jörg Eulenberger <j.eulenberger@web.de>
To   statalist@hsphsun2.harvard.edu
Subject   st: catplot showing not chosen categories in x-axis
Date   Wed, 25 Aug 2010 21:23:42 +0200




Dear Statalisters,

i am looking for an possibility in catplot to show all (not only the chosen one) categories of labelset in the x-axis.

sysuse auto
label define origin  2 "other", add
label list origin
catplot foreign, recast(bar) percent blabel(bar, position(outside) format(%5.1f) size(medium) color(red) ) ytitle(Prozent) ylabel(0(10)100, labsize(small))

In the example i want in the x axis the new third category with zero percent.
Any ideas?
Thanks,
Jörg

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index