Bookmark and Share

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

[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–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index