Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Graphing Question


From   "Scott Merryman" <[email protected]>
To   [email protected]
Subject   Re: st: Graphing Question
Date   Sat, 26 Jul 2008 06:15:24 -0500

On Fri, Jul 25, 2008 at 7:59 AM, Data Analytics Corp.
<[email protected]> wrote:
> Good morning,


> Incidentally, how do I get the pie slice labels to be outside the pie and
> have the percentages next to the slice label?  It seems that everything goes
> inside the pie and we can either get labels or percentages, but not both.
>

You can use the -gap()- suboption within plabel().  Or use the Graph Editor.

sysuse auto

graph pie [aw=weight], over(foreign) plabel(_all percent, gap(21))
plabel(_all name, gap(25)) legend(off)

Scott
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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