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/