Statalist


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

st: Need to Title a Second Y-Axis...


From   "Ploutz-Snyder, Robert (JSC-SK)[USRA]" <robert.ploutz-snyder-1@nasa.gov>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: Need to Title a Second Y-Axis...
Date   Wed, 10 Jun 2009 08:31:44 -0500

Statlisisters,

I'm unsuccessful at applying axis title to a SECOND Y-axis on a plot..  Here's what I'm trying:

twoway line y1  X,  sort by(group) ||line y2 X, xtitle("Time") ytitle("Predicted y1") yaxis(2) ytitle("Predicted y2",axis(2))  sort

I can get the second Y axis to show up, and can manipulate options with it (ex. can change labels), but I cannot get the second axis TITLE to appear??  What am I doing wrong??

Thanks!

********************************************************************************************
Rob
 



*
*   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   |   What's new   |   Site index