Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: Histogramm Graph option Note


From   Nick Cox <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: Histogramm Graph option Note
Date   Mon, 22 Apr 2013 19:14:59 +0100

Not wrong in principle:

. sysuse auto
(1978 Automobile Data)

. hist mpg, by(foreign, note(" "))
parentheses do not balance
r(198);

. twoway histogram mpg, by(foreign, note(" "))

-hist- is not a one-to-one synonym for -twoway histogram-, but I can't
see a reason for different behaviour here. That looks like a small bug
in -hist-, actually -histogram-.


Nick
[email protected]


On 22 April 2013 17:37, Meulemann  Max <[email protected]> wrote:
> Thx,
>
> so the blank in between the parentheses was wrong...
>
> Thx again to you and Joerg
>
> -----Ursprüngliche Nachricht-----
> Von: [email protected] [mailto:[email protected]] Im Auftrag von Nick Cox
> Gesendet: Montag, 22. April 2013 16:51
> An: [email protected]
> Betreff: Re: st: Histogramm Graph option Note
>
> sysuse auto
> hist mpg, by(foreign, note("")) discrete
>
> will work.
>
> Nick
> [email protected]
>
>
> On 22 April 2013 15:45, Meulemann  Max <[email protected]> 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/
>
> *
> *   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/

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index