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" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: stata graphs (stata 8), y- or x-label as text over two lines
Date   Mon, 18 Oct 2004 14:53:12 +0100

I don't know a systematic way here. Just padding with 
spaces on the right forces text to the left, however. 

Nick 
n.j.cox@durham.ac.uk 

Andreas Stiehler
 
> Am 18.10.2004 um 13:47 schrieb Nick Cox:
> >
> > You want something like
> >
> > . scatter c id, ytitle("Left" "justified", just(left) orient(horiz))
> >
> > and this is well documented in the on-line help.
> 
> No.
> Sorry, my comment was misleading. What I meant was fixing the labels 
> (not the titles).  I referred to the example of Phillipe:
> .sysuse auto
> .hist foreign, xlabel(0 "Domestic" 1 `""Foreign" "(Europe/Japan)""')
> .discrete
> 
> The label than looks as follows:
>  >>>>
>      Foreign
> (Europe/Japan)
>  >>>>
> But I would like to fix both lines on the left, e.g
>  >>>
> Foreign
> (Europe/Japan)
>  >>>

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index