Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: twoway graphs and split labels


From   "Daniel Exeter" <[email protected]>
To   <[email protected]>
Subject   st: twoway graphs and split labels
Date   Mon, 25 Jun 2007 17:30:54 +1200

Dear all, 

I have a variable containing 7 categories, and I have observations for 2
time periods. 

I am using the -twoway bar- and -twoway scatter- commands to graph the
mortality rates for these data, with 95% CIs. 

So far, so good. 

However, the labels for each of the 7 categories are too long to fit
neatly on the X axis. 

So I need to split the labels over 2 lines, 

I.e. instead of 'Observation t1, Observation t2

Report each category as 
Observation t1
Observation t2

I tried the -splitvallabels- plugin, which worked fine for the -graph
bar- command, but not for the twoway option.

Has anybody out there got a solution to this problem?

Cheers
Dan




*
*   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