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]
st: Re: -sliceplot- and -connected- problems with legends
From
[email protected]
To
Statalist <[email protected]>
Subject
st: Re: -sliceplot- and -connected- problems with legends
Date
Fri, 17 Aug 2012 10:08:58 +0800
Hello Nick and Maarten,
"The right tool make any job easier," indeed!
Greatly appreciate being directed to a new package and a new
subcommand, both of which I had not encountered before. I now have
exactly the plots I need- thanks so much.
cheers-
Andrew Lover
______________________________________________
Epidemiologist
Centre for Infectious Disease Epidemiology Research (CIDER)
Saw Swee Hock School of Public Health
National University of Singapore
On Thu, Aug 16, 2012 at 12:54 PM, <[email protected]> wrote:
> Hello Statalisters-
>
> I am using Nick Cox's -sliceplot- with -connected- and am having
> issues controlling the legend.
>
> The general command gives multiple plots, each with a legend:
>
> * begin example 1 *
> sysuse sp500.dta
>
> sliceplot connected open high low close date, slices(3)
> * end example 1 *
>
> One (sub-optimal solution) is:
>
> * begin example 2 *
> sysuse sp500.dta
>
> tw connected open high low close date, legend(off), in 1/83
> graph save Graph "Graph1.gph", replace
> tw connected open high low close date, legend(off), in 84/166
> graph save Graph "Graph2.gph", replace
> tw connected open high low close date,, in 167/248
> graph save Graph "Graph3.gph", replace
> graph combine graph1.gph graph2.gph graph3.gph, col(1)
> * end example 2 *
>
> Do any of the graphics gurus have suggestions to produce only a single
> legend with three equal-size plots?
>
> thanks-
> Andrew Lover
>
> ______________________________________________
> Epidemiologist
> Centre for Infectious Disease Epidemiology Research (CIDER)
> Saw Swee Hock School of Public Health
> National University of Singapore
*
* 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/