Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: not including a legend for part of a plot


From   "MA V" <ma_v@hotmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: not including a legend for part of a plot
Date   Sat, 28 May 2005 03:46:06 +0000

Hi all--
Suppose I have a twoway plot that has 3 time series. I want to include a legend just for the first two series.
If I do:

legend(label(1 "10th percentile") label(2 "90th percentile") label(3 " "))

it doesn't include the label for the third series but it still shows the symbol/color.
I just want a legend with the symbols and labels for the first two series...

Also, if I just use
legend(label(1 "10th percentile") label(2 "90th percentile"))
the legend for the third series shows up anyway.

Any suggestions?
Thanks
MA_V

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/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/




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