Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[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 <ashokankur@gmail.com>
To   statalist@hsphsun2.harvard.edu
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index