Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Re: Labels and pie charts


From   Friedrich Huebler <[email protected]>
To   [email protected]
Subject   Re: st: Re: Labels and pie charts
Date   Tue, 30 Apr 2013 11:38:37 -0400

Patrick,

Use the -gap- option as in the otherwise meaningless example below.

. sysuse auto
. graph pie mpg trunk, plabel(_all percent, gap(25))
. graph pie mpg trunk, plabel(1 "25-34: 61%", gap(25)) plabel(2
"35-44: 39%", gap(25)) legend(off)

Friedrich

On Mon, Apr 29, 2013 at 7:11 PM, Patrick J. Flaherty <[email protected]> wrote:
> Thanks for the tip.  I have not yet used the Graph Recorder but this might
> be a reason to learn.
>
> Patrick J. Flaherty
> Coventry, Connecticut
> -----Original Message----- From: Nick Cox
> Sent: Monday, April 29, 2013 6:55 PM
> To: [email protected]
> Subject: Re: st: Labels and pie charts
>
> You can drag labels outside the pie with the Graph Editor. Hard to do
> this tidily. It might be possible to use the Graph Recorder to work
> out consistent code.
> Nick
> [email protected]
>
>
> On 29 April 2013 23:47, Nick Cox <[email protected]> wrote:
>>
>> Never thought about this, but a glance at the help is not encouraging.
>>
>> Stata's commands for bar charts are much more flexible....
>> Nick
>> [email protected]
>>
>>
>> On 29 April 2013 23:36, Patrick J. Flaherty <[email protected]> wrote:
>>>
>>> I have gone through the manual and A Visual Guide to Stata Graphics and I
>>> don't see any pie charts with the labels along the outside of the circle
>>> (see example in link).
>>>
>>> Is this possible in Stata?
>>>
>>> https://dl.dropboxusercontent.com/u/19465855/all_industries_agej.jpg
>>>
>>> Patrick J. Flaherty
>>> Coventry, Connecticut
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index