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   Nick Cox <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: graph pie with variable label as title
Date   Fri, 7 Mar 2014 11:31:00 +0000

Already answered at
http://www.stata.com/statalist/archive/2014-03/msg00229.html
Nick
[email protected]


On 7 March 2014 11:15, 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/
*
*   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