Statalist


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

AW: st: help with a histogram by year


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   AW: st: help with a histogram by year
Date   Tue, 10 Mar 2009 16:54:09 +0100

<> 

Ronan,

I agree with your sentiment, but usually users are bewildered by the fact
that the -note- has to be specified inside the parantheses for -by- (see -
help by_option, marker(remarks6)-), not by the empty string to make it go
away. In fact, the difference btw -by(foreign, note(""))- and -by(foreign,
note(off))- seems minor to me...



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Ronan Conroy
Gesendet: Dienstag, 10. März 2009 15:35
An: statalist@hsphsun2.harvard.edu
Cc: Stata Technical Support
Betreff: Re: st: help with a histogram by year

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/


*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index