Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Axis titles for multiple y axes


From   "Mark Marshall" <[email protected]>
To   <[email protected]>
Subject   st: Axis titles for multiple y axes
Date   Sun, 31 Aug 2008 18:57:58 +1200

Hi,

I am using Stata ver 9.2 on Windows Vista.

On a twoway graph with two y axes, I cannot make the axis title appear for
the second y axis. 

For instance, in a meaningless example using the auto dataset, the first y
axis title "Length" appears, but the second y axis title "Weight" does not.

*************************************************

sysuse auto

graph twoway (line length displacement, yaxis(1) ytitle("Length", axis(1)))
/// 
(line weight displacement, yaxis(2) ytitle("Weight", axis(2))), by(foreign)


*************************************************

Any advice?

Thanks,

Mark


*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index