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

st: RE: format of y axis labels on hist


From   "Chris Wallace" <[email protected]>
To   <[email protected]>
Subject   st: RE: format of y axis labels on hist
Date   Fri, 06 Jun 2003 11:44:08 +0100

>>> [email protected] 06/06/03 11:29:05 >>>
histogram k, discrete frequency 
ylab(10000 "10000" 20000 "20000" 30000 "30000" 40000 "40000")

In addition, it is a matter of taste, but you might consider also 

ylab(10000 "10000" 20000 "20000" 30000 "30000" 40000 "40000", ang(h))

A wild guess is that the 

, ang(h) 

alone might achieve what you want. 

Nick,

Both suggestions work perfectly (and ang(h) does look better).  Your wild guess was unfortunately just too wild.

hist k, freq discrete ylab(10000(10000)40000,ang(h)) 

produces nicely horizontal 1.0e+0.4 etc.

Thanks for the quick reply.

Chris.



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