The -label()- suboption only over writes the text. The -order()-
suboption specifies which keys are to appear in the legend.
sysuse auto,clear
scatter mpg price gear turn trunk weight, legend(order(3 "Cat" 4 "Dog"))
Scott
On Fri, Dec 12, 2008 at 2:05 PM, <[email protected]> wrote:
> Currently my legend for my twoway scatter plot has 10 items. I just want the
> legend to contain two items. So far I have this:
> legend(label(3 "Cat") label(4 "Dog"))
>
*
* 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/