[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: re: axis titles for multiple y axes
< >
Mark said
On a twoway graph with two y axes, I cannot make the axis title appear
for
the second y axis.
graph twoway (scatter length displacement, ytitle(" ",axis(1)
suffix)) ///
(scatter weight displacement, yaxis(2) ytitle(" ",axis(2) suffix)), ///
by(foreign, iytitles style(combine))
will do it. If you use the default bystyle, this combination of
options works, but leaves you with a second yti() which I cannot
figure out how to suppress.
Kit Baum, Boston College Economics and DIW Berlin
http://ideas.repec.org/e/pba1.html
An Introduction to Modern Econometrics Using Stata:
http://www.stata-press.com/books/imeus.html
*
* 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/