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" <>
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?

Express yourself instantly with MSN Messenger! Download today - it's FREE!

* For searches and help try:

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