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 on April 23, and its replacement, 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 <>
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?

*   For searches and help try:

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