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

Re: st: Graphing Question

From   "Scott Merryman" <>
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.
<> 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)

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index