Statalist


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

st: re: axis titles for multiple y axes


From   Kit Baum <[email protected]>
To   [email protected]
Subject   st: re: axis titles for multiple y axes
Date   Sun, 31 Aug 2008 03:46:27 -0400

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




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