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

st: Axis titles for multiple y axes

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


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?



*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index