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   Andreas Stiehler <as@berlecon.de>
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 13:39:08 +0200

Thank you again!
I agree with you on the importance of fixing the axis title.
I, for example, would like to fix both lines on the left side (instead of having them centered),

e.g.:
Foreign
(Europe/Japan)

<<<and not:
Foreign
(Europe/Japan)
>>>

Do I find such advices in the recommended article?

Andreas



Am 18.10.2004 um 12:47 schrieb Nick Cox:


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
n.j.cox@durham.ac.uk

philippe.vankerm@ceps.lu

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/


Dr. Andreas Stiehler
Analyst

Berlecon Research GmbH
Oranienburger Straße 32
D-10117 Berlin
Fon: +49 30 285296-0
Fax: +49 30 285296-29
E-Mail: tw@berlecon.de

Web: www.berlecon.de
Analysten-Weblog: weblog.berlecon.de
Newsletter-Abo: mailto:berlecon-aktuell-subscribe@berlecon.de
--------------------------------------------------------------------
Berlecon Research - Wir analysieren das Potenzial neuer Technologien
--------------------------------------------------------------------


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