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 on April 23, and its replacement, statalist.org is already up and running.


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

st: axis label


From   Fred Dzanku <fdzanku@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: axis label
Date   Wed, 27 Oct 2010 14:26:41 +0100

Dear All,
Many thanks for all the support. Can someone please help me with this:
when I try plotting the following graph adding the "by" option the
second y-axis label never appears. What am I doing wrong?

---------------------------------------------------------------------------------------------------------------------------------------
twoway fpfit povgap  aglabprw [pw=hwt],  c(l) lwidth(medthick)
lpattern("solid")   || ///
	   fpfit  povsev  aglabprw [pw=hwt],  c(l) lwidth(medthick)
lpattern("longdash") yaxis(2) ///
	   xtitle("{bf:Output}") ytitle("{bf:Income}") ///
	   ytitle("{bf:All}", axis(2))  ///
	   legend(label(1 "{bf:my game}") label(2 "{bf:his game}")) ///
	   by(zone, row(1))

-- 
Fred
*
*   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