Statalist


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

Re: st: Option -scale()- with pie charts


From   "Sergiy Radyakin" <serjradyakin@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Option -scale()- with pie charts
Date   Mon, 5 May 2008 13:13:31 -0400

Thank you Maarten and Vince for your responses. I really prefer
Maarten's suggestion over my own, because it reaches the goal
directly, rather than through tricks.

Sincerely yours, Sergiy Radyakin




On 5/5/08, vwiggins@stata.com <vwiggins@stata.com> wrote:
> Sergiy Radyakin <serjradyakin@gmail.com> reports that -graph pie- does not
> allow the convenience option -scale()- which allows you to scale the size of
> all the text, markers, line-widths, etc. on your graph simultaneously.
>
> > . sysuse auto
> > (1978 Automobile Data)
> >
> > . graph pie, over(rep78) scale(0.5)
> > option scale() not allowed
> > search r(198)
>
> The option -scale()- is documented for -graph pie-, and all of the other
> -graph- commands honor -scale()-.
>
> Sergiy has indeed found a bug, and it will be fixed in a future update.
>
> In the interim, note that Sergiy himself provided an easy workaround for those
> wanting to use -scale()- with -graph pie-.  Just exclude the option -scale()-
> from your -graph pie- command, then redraw the graph, adding the -scale()-
> option to the -graph display- command.  For example,
>
>    . graph pie, over(rep78)
>    . graph display, scale(0.5)
>
>
> -- Vince
>   vwiggins@stata.com
>
>
> *
> *   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/
>
> Privileged, confidential or patient identifiable information may be contained in this message. This information is meant only for the use of the intended recipients. If you are not the intended recipient, or if the message has been addressed to you in error, do not read, disclose, reproduce, distribute, disseminate or otherwise use this transmission. Instead, please notify the sender by reply e-mail, and then destroy all copies of the message and any attachments.
>
> *
> *   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/
>
*
*   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/



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