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

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

From   "[email protected]" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: Option -scale()- with pie charts
Date   Mon, 5 May 2008 09:14:29 -0700

Sergiy Radyakin <[email protected]> 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
   [email protected]

*   For searches and help try:

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:

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