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

st: Re: legend of -graph pie-


From   UENOHARA Hideaki <[email protected]>
To   [email protected]
Subject   st: Re: legend of -graph pie-
Date   Fri, 31 Oct 2003 00:54:59 +0900

Dear Mr. Huebler.

Thank you for your informative advice on my problem.

But it is kind of strange that missing and irrelevant values are
included only when -by()- is specified. 
When the following command is executed, the legend excludes these values.

. graph pie if rep78<4, over(rep78)



On Thu, 30 Oct 2003 07:12:06 -0800 (PST)
Friedrich Huebler <[email protected]> wrote:

> Uenohara-san,
> 
> The legend includes all values of the -over- variable (including
> missing) by default, as you can see by trying this command:
> 
> . graph pie if rep78<4, over(rep78) by(foreign)
> 
> I do not know if this behavior is intended. You can suppress the
> unwanted legend entries with the -legend(order)- option.
> 
> . graph pie, over(rep78) by(foreign) legend(order(1 2 3 4 5))
> 
> Friedrich Huebler

---
UENOHARA Hideaki, LL.M. <[email protected]>
 Doctoral Student, Graduate School of Law & Politics,
 The University of Tokyo


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