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

Re: st: RE: 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: RE: stata graphs (stata 8), y- or x-label as text over two lines
Date   Mon, 18 Oct 2004 11:40:43 +0200

Dear Marten:

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.
A want the labels for these axis to run over two lines. Instead of numbers you can use text (E.g. ylabel(1 "Example" 2 "for" 3 "text labels")). However, I do not know a way to run "text labels" over two lines. Do you?

Thank you!
Andreas


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:as@berlecon.de]
Sent: maandag 18 oktober 2004 11:07
To: statalist@hsphsun2.harvard.edu
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: 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/

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