Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: stata graphs (stata 8), y- or x-label as text over two lines


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: stata graphs (stata 8), y- or x-label as text over two lines
Date   Mon, 18 Oct 2004 11:47:32 +0100

That last point is a good one. Some advice was given in 

Stata tip 10: Fine control of axis title positions
P. Ryan and N. Winter
Stata Journal 4(3):354--355 (2004) 

Nick 
[email protected] 

[email protected]
 
> I am not sure if you can do that nicely. However, it looks as 
> though you
> can use the standard ".." ".." logic, provided you enclose it within
> compound double quotes.
> 
> sysuse auto
> hist foreign, xlabel(0 "Domestic" 1 `""Foreign" "(Europe/Japan)""')
> discrete
> 
> However you need to fix the placement of the axis title.

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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