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: copy graph legend


From   Rob Ploutz-Snyder <robploutzsnyder@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: copy graph legend
Date   Wed, 9 May 2012 15:48:43 -0500

I feel your pain Ric... at one point I too was hoping to avoid
learning at least some of the Stata graphing syntax... I suppose if
this is your one-and-only graphing project and you weren't going to
run graphics at some future point, you might save time by avoiding the
syntax.  I have no specific tips for you if that's your goal.

On the other hand, assuming that you will analyze data and present
graphics in the future, I do have a recommendation.  I found Mike
Mitchell's Visual Guide to Stata Graphics  (Stata Press) a great way
to get a head start on Stata graphics code.  Virtually every page of
that book has 3 graphs on it with the code necessary to generate them.
 And it's very well organized with an Subject Index that will quickly
put you on the right page(s).

My only problem with Mike's book is that it has a sneaky way of
disappearing from my bookshelf and ending up one of many colleagues'
desks.  If he can fix that problem on the next edition, I'd probably
invest in another copy.

Good luck!
Rob

Rob



On Wed, May 9, 2012 at 3:28 PM, Eric M. Uslaner <euslaner@umd.edu> wrote:
> Greetings,
>
> I am generating a set of similar graphs and I don't like the legend Stata automatically produces.  I spent considerable time formatting the legend in the first graph.  If at all possible, I would like to copy the legend and replace legends in graphs 2-4 with the legend I created for graph 1.  I searched for help and could not find a solution.  If I could recover the commands for the edited legend in graph 1, I could redo the other graphs with the revised legend in the command line since the rest of the graph is barely edited from what Stata generates.  I have read the manual on legends--and larning all of the comands would take a lot more time than editing each one.  I am hoping (though not so optimistically) for a simple solution.
>
> Ric Uslaner
> euslaner@umd.edu
>
>
>
>
>
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/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/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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