Statalist


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

st: AW: axis title options


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: AW: axis title options
Date   Tue, 2 Feb 2010 13:07:01 +0100

<> 

I would do the horizontal thing in the code

*************
sysuse auto, clear
twoway (scatter weight price), ytitle(, orientation(horizontal))
*************

and then go into the Graph Editor and change the "Textbox properties" for
the y-title, Advanced Tab, Change the x-offset to 30 ( in this particular
case). You could record the action and -replay()- it later.


HTH
Martin


-----Ursprüngliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Miranda Kim
Gesendet: Dienstag, 2. Februar 2010 12:15
An: statalist@hsphsun2.harvard.edu
Betreff: st: axis title options

Hello,
I am looking for what option to use in a twoway scatterplot (by sex) I 
have produced where I would like the y-axis title to be horizontal and 
placed on the right hand side of the axis in the plot region just above 
my scatter points. I have tried angle and ring in the ytitle option but 
haven't managed to obtain what I want.
Any suggestions would be greatly appreciated.
Many thanks,
Miranda
PS: I am using Stata 11

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