Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: Histogramm Graph option Note


From   Nick Cox <njcoxstata@gmail.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: Histogramm Graph option Note
Date   Mon, 22 Apr 2013 15:51:20 +0100

sysuse auto
hist mpg, by(foreign, note("")) discrete

will work.

Nick
njcoxstata@gmail.com


On 22 April 2013 15:45, Meulemann  Max <mmeulemann@ethz.ch> wrote:
>
> this is a rather simple questions about a histogram with the by option. I would just like to avoid the note that says "Graphs by ..." below the graph because I am combining several graphs and it is just consuming space.
>
> Im using stata 12 and an example would be
>
> sysuse auto
> hist mpg, by(foreign) discrete
>
> which yields a histogram with a note below that says "Graphs by Car type"
>
> I was hoping to get rid of it by
>
> hist mpg, by(foreign) discrete  by(, note(off))
>
> but then the note says "off"
>
> he doesn't like
>
> sysuse auto
> hist mpg, by(foreign) discrete  by(, note(" "))
>
> either. Maybe someone else wanted to avoid printing the note as well and so far I haven't found a way to suppress it, but it should be possible or not?
>
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index