Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Re: AW: Remove legends for few line graphs in a figure that has many


From   ashokankur <[email protected]>
To   [email protected]
Subject   st: Re: AW: Remove legends for few line graphs in a figure that has many
Date   Tue, 24 Aug 2010 11:19:37 -0700 (PDT)

Martin,

This is the command I write

graph tw (line y1 y0 pce , sort clcolor(black dknavy ) clwidth(thick thick )
xtitle("Per Capita Expenditure ", margin(vsmall)) ytitle("Annual Firewood
Collection in Bharis", margin(vsmall)) 
xlab(0(10000)55000) ylab(0(20)120, nogrid)
ytic(0(10)120) leg(on col(1) ring(5) pos(3) stack label(1 "with FUG")
label(2 "without FUG" )   ))  ///
(line z1 z2 z3 z4 pce_c , sort  leg(off))

The problem is  when I run this none on the legends remain.
I want the legends (line y1 y0 pce) to remain, while I don't want the
legends for (line z1 z2 z3 z4 pce)
Can that be done?
-- 
View this message in context: http://statalist.1588530.n2.nabble.com/Remove-legends-for-few-line-graphs-in-a-figure-that-has-many-tp5457368p5458112.html
Sent from the Statalist mailing list archive at Nabble.com.
*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index