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: axis label


From   Fred Dzanku <[email protected]>
To   [email protected]
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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index