![]()  | 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: AW: axis title options
From 
 
Miranda Kim <[email protected]> 
To 
 
[email protected] 
Subject 
 
Re: st: AW: axis title options 
Date 
 
Tue, 02 Feb 2010 14:30:11 +0000 
Thanks Scott,
I will try and play around with it more. I would prefer to keep my 
y-axis as is the default (on the left), it is simply the placement of 
the ytitle which I would like in the plot region as follows (supposing 
the vertical line is my y-axis):
|  Weight (lbs)
|
|
|
|              scatter plot region
|
------------------------------------ x-axis
Scott Merryman wrote:
Like this?
sysuse auto
local a: variable label weight
scatter wei price,   yscale(alt) ylabel(,angle(0)) ///
 by(fore, l("") r1(`a', orientation(horiz) placement(top) margin(t=+5)))
You might need to adjust the -margin()- to get the placement correct.
Scott
*
*   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–2025 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |