A work around was discussed in this talk:
http://ideas.repec.org/p/boc/usug04/8.html
-- Maarten
--- Michael McCulloch <[email protected]> wrote:
> Thanks Nick & Maarten,
> The limitation with -grc1leg- is that it can only choose as its own
> meta-title one of the titles from the subgraphs which are being
> combined.
>
> -graph combine-, on the other hand, doesn't seem to be able to use
> only one meta-legend.
>
> The reason I'm seeking a solution is that I'm combining 4 graphs, one
>
> for each cancer stage I-IV, and I want to have the sub-title "Stage
> I", "Stage II", and so on, for each sub-graph. However, the legend is
>
> the same for each sub-graph, so I only want to display it once.
> Michael
>
>
>
>
> >-findit grc1leg- will turn up Vince Wiggins' cryptically-named
> >-grc1leg- program (GRaph Combine 1 LEGend), which does exactly what
> >you want.
> >
> >--Nick Winter
> >
> >Michael McCulloch wrote:
> >>Greetings,
> >>With the following combined graph, built based on suggestions by
> >>Maarten Buis, is it possible to display the legend only once,
> >>instead of twice where it appears under both sub-graphs?
> >>
> >>sysuse cancer.dta, clear
> >>stset studytime, failure(died)
> >>sts graph if age < 55, by(drug) title("Young", box bfcolor(white))
> >>saving("young", replace )
> >>sts graph if age >= 55, by(drug) title("Old", box bfcolor(white))
> >>saving("old", replace )
> >>graph combine young.gph old.gph, rows(2) cols(2) iscale(0.5)
> >>title(Survival by Age Group)
> >>
> >
> >--
> >--------------------------------------------------------------
> >Nicholas Winter 434.924.6994 t
> >Assistant Professor 434.924.3359 f
> >Department of Politics [email protected] e
> >University of Virginia faculty.virginia.edu/nwinter w
> >PO Box 400787, 100 Cabell Hall
> >Charlottesville, VA 22904
> >
> >*
> >* 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/
>
-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands
visiting address:
Buitenveldertselaan 3 (Metropolitan), room N515
+31 20 5986715
http://home.fsw.vu.nl/m.buis/
-----------------------------------------
*
* 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/