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: -sliceplot- and -connected- problems with legends


From   Maarten Buis <[email protected]>
To   [email protected]
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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index