Dear Stata users,
I wish to graph two quantities "A" and "B" against "agedays" and those
were measured twice a year by four different testers.
I have the graph I need but I have a problem with the legend. because
they are 2 quantities x 4, the legend keeps repeating and I only wish to
display the first two as below, but disable the repeated ones from
lab(3) to lab(8), is there a way I can suppress those in the legend()
part of the command.
#delimit ;
twoway line A1 B1 agedays, sort clcolor(green red) clp(l l)
|| line A2 B2 agedays, sort clcolor(green red) clp(l l)
|| line A3 B3 agedays, sort clcolor(green red) clp(l l)
|| line A4 B4 agedays, sort clcolor(green red) clp(l l)
legend( pos(5) ring(0) col(1) lab(1 "Jan 05") lab(2 "June 05") );
Many thanks in advance.
Amani
*
* 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/