Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Bar labels in stacked bar chart


From   Friedrich Huebler <[email protected]>
To   [email protected]
Subject   st: Bar labels in stacked bar chart
Date   Sat, 3 Apr 2004 13:39:05 -0800 (PST)

Is it possible to prevent the drawing of selected bar labels in a
stacked bar chart? Take a look at this example:

. sysuse auto, clear
. xi: graph bar i.rep78, stack percent over(foreign) blabel(bar,
pos(center))

The bar for "Foreign" has no cases with rep78=2 and therefore a 0 is
drawn at the bottom of the bar. Can the drawing of this 0 be
prevented? I found no solution in the manual or in the Statalist
archive.

Thank you for your help.

Friedrich Huebler

__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index