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 <[email protected]> wrote:
> Dear all.
>
> After updating the executable and ado-files, I have found -graph
> pie-
> behaves peculiarly with respect to the legend.
>
> The problem is as follows:
>
> . sysuse auto.dta
> . graph pie, over(rep78) by(foreign)
>
> produces a pie chart whose legend has an extra key which
> corresponds to
> missing values. On the other hand
>
> . graph pie, over(rep78)
>
> does not.
>
> Does anyone replicate this bahavior? If yes, how can I avoid it?
>
> ---
> UENOHARA Hideaki, LL.M. <[email protected]>
> Doctoral Student, Graduate School of Law & Politics,
> The University of Tokyo
__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/
*
* 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/