Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
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/