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

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


From   "Maarten Buis" <[email protected]>
To   <[email protected]>
Subject   st: RE: stata graphs (stata 8), y- or x-label as text over two lines
Date   Mon, 18 Oct 2004 11:17:46 +0200

Dear Andreas,

Do you mean that you want the title of the x-axis and y-axis to run over two lines, or do you want the labels for these axes to run over two lines? The labels are the numbers at the tick-marks. If you want the titles of the axes to run over two lines than the code below will work. 

sysuse auto
scatter headroom mpg, xtitle("Mileage" "(mpg)") ytitle("Headroom" "(inches)")

Maarten

-----Original Message-----
From: Andreas Stiehler [mailto:[email protected]]
Sent: maandag 18 oktober 2004 11:07
To: [email protected]
Subject: st: stata graphs (stata 8), y- or x-label as text over two lines

Dear Statalisters,

is there any opportunity to extend y- or x-labels as text over two
lines (as it is possible for legends or titles)?

A command like: ylabel (1 "over" "two" 2 "lines") does not work.
The only opportunity I know (thanks to Uli) is somethings like: ylabel(
0.95 "over" 1.05 "two" 2 "lines")
But it does only work for y- but not for x-labels.

As an economic research company we need this kind of presentations
quite often.
Therefore, all kinds comments or suggestions are highly appreciated!
Thank you!

Andreas



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: [email protected]

Web: www.berlecon.de
Analysten-Weblog: weblog.berlecon.de
Newsletter-Abo: mailto:[email protected]
--------------------------------------------------------------------
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/

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