Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: help with a histogram by year


From   Ronan Conroy <rconroy@rcsi.ie>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: help with a histogram by year
Date   Tue, 10 Mar 2009 14:34:46 +0000

On 10 Márta 2009, at 09:14, Richard Ochmann wrote:

sysuse auto, clear
gen year = cond(runiform()<0.3,1978, cond(runiform()<0.6,1979,1980))
label define yearlab 1978 "For year 1978" 1979 "For year 1979" 1980 "For
year 1980", modify
label values year yearlab
histogram price, by(year, note(""))
I too got bitten by my inability to turn off the note on charts with  
multiple graphs produced by the -by- option. Surely the -note- option  
should have a simple "off" setting rather than requiring the user to  
set it to something non-printing.

Ronan Conroy
=================================

rconroy@rcsi.ie
Royal College of Surgeons in Ireland
Epidemiology Department,
Beaux Lane House, Dublin 2, Ireland
+353 (0)1 402 2431
+353 (0)87 799 97 95
+353 (0)1 402 2764 (Fax - remember them?)
http://rcsi.academia.edu/RonanConroy

P    Before printing, think about the environment





*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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