Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Adding a legend to a combined graph


From   "White, Justin" <[email protected]>
To   <[email protected]>
Subject   st: RE: Adding a legend to a combined graph
Date   Thu, 20 Jul 2006 13:45:15 -0400

If X and Y are identical in all four graphs, why not show them on one
graph.  In my opinion, that would be better than plotting them on 4
separate graphs.  This way, you can format your legend as you want.

Justin White

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Joseph
McDonnell
Sent: Thursday, July 20, 2006 1:40 PM
To: [email protected]
Subject: st: Adding a legend to a combined graph

Hi all.

A (hopefully) simple question...I want to show the fitted values of four

regression models on the same data set in one (combined) graph. In 
particular, in each graph, I want to show the FVs of three separate
groups. 
I first make four separate graphs, one for each regression. In each
graph, 
group A has clpattern(solid), group B has clpattern(dash) and group C
has 
clpattern(shortdash). Ranges of X and Y are identical across the four 
models/graphs.

I want to show the graphs as one (combined) graph. So I generate the 
individual graphs and then combine them. Because the legend for the 
individual graphs are identical, I set the legend in each graph to off. 
However, I then want to add the same legend to the combined graph. So 
basically, I want to add a legend that stipulates that Group A has 
clpattern(solid) etc, even though Groups A, B and C are not actually
defined 
within the combined graph. Can this be done?

Many thanks.

Regards

Joseph

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index