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]

st: catplot showing not chosen categories in x-axis


From   Jörg Eulenberger <[email protected]>
To   [email protected]
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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index