Statalist


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

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


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: AW: Need to Title a Second Y-Axis...
Date   Wed, 10 Jun 2009 15:50:55 +0200

<> 

Does work, though...

*************
sysuse uslifeexp, clear

 twoway (line le_wmale year) /* 
 */ (line le_bmale year, yaxis(2)),/* 
 */  ytitle(Left Side)/* 
 */  ytitle(Right Side, axis(2))
*************



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Ploutz-Snyder,
Robert (JSC-SK)[USRA]
Gesendet: Mittwoch, 10. Juni 2009 15:32
An: statalist@hsphsun2.harvard.edu
Betreff: st: Need to Title a Second Y-Axis...

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/


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