[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: Suppress a legend in overlaid twoway graphs
twoway (lfit y x if disease==1) (lfit y x if disease==0) (scatter y
x), legend(off)
On Jul 22, 2008, at 3:34 PM, Elizabeth Allred wrote:
Hi Stata folk,
I want to overlay 3 graphs. The first two are fitted lines for the
diseased and non-diseased and the third is the actual data points.
Something like:
twoway (lfit y x if disease==1) (lfit y x if disease==0) (scatter y x)
Normally, a key (plot symbol & label) for each of the three graphs
shows up in the legend but I'd like to suppress the key for the
third graph, the scatter plot. How??
Liz
*
* 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/