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: graph pie with variable label as title


From   Maarten Buis <[email protected]>
To   [email protected]
Subject   Re: st: graph pie with variable label as title
Date   Fri, 7 Mar 2014 12:31:59 +0100

Nick and I already gave you the answer:

http://www.stata.com/statalist/archive/2014-03/msg00228.html
http://www.stata.com/statalist/archive/2014-03/msg00229.html

Can you tell us why you think that did not work?

-- Maarten


On Fri, Mar 7, 2014 at 12:15 PM, Nick Bornschein
<[email protected]> wrote:
> The Syntax I use is:
>
> foreach x of varlist cl_1a-generation {
>         graph pie, over(`x') title (xxx) plabel(_all    percent,
> format("%4.1f") size(large) gap(-15))
>         graph export "Cluster_`x'.png", replace
> }
>
> I want to add the label of each variable I use in the option "title (xxx)".
> *
> *   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/



-- 
---------------------------------
Maarten L. Buis
WZB
Reichpietschufer 50
10785 Berlin
Germany

http://www.maartenbuis.nl
---------------------------------
*
*   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