Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: -sliceplot- and -connected- problems with legends


From   Maarten Buis <maartenlbuis@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: -sliceplot- and -connected- problems with legends
Date   Thu, 16 Aug 2012 10:28:11 +0200

On Thu, Aug 16, 2012 at 6:54 AM,  Andrew Lover wrote:
> Do any of the graphics gurus have suggestions to produce only a single
> legend with three equal-size plots?

One option is -grc1leg-. You can find it by typing in Stata -findit grc1leg-.

*----------------------- begin example -----------------------------
sysuse sp500.dta, clear

tw connected open high low close date in 1/83,  name(gr1, replace)
tw connected open high low close date in 84/166,  name(gr2, replace)
tw connected open high low close date in 167/248, name(gr3, replace)
grc1leg gr1 gr2 gr3, col(1)
*------------------------ end example ------------------------------

Hope this helps,
Maarten

---------------------------------
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/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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