Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: scheme(RBN1MONO)


From   "Newson, Roger B" <r.newson@imperial.ac.uk>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: scheme(RBN1MONO)
Date   Thu, 4 Mar 2010 18:23:53 +0000

To reset the label angle, use the -angle()- suboption of the -xlabel()- option. As in:

sysuse auto, clear
scatter mpg weight, scheme(RBN1MONO) xlab(, angle(0))

which gives an angle of 0 degrees.

By the way, I never knew that scheme names were case insensitive, but (thanks to Jason) I now find that they are.

I hope this helps.

Best wishes

Roger


Roger B Newson BSc MSc DPhil
Lecturer in Medical Statistics
Respiratory Epidemiology and Public Health Group
National Heart and Lung Institute
Imperial College London
Royal Brompton Campus
Room 33, Emmanuel Kaye Building
1B Manresa Road
London SW3 6LR
UNITED KINGDOM
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Email: r.newson@imperial.ac.uk
Web page: http://www.imperial.ac.uk/nhli/r.newson/
Departmental Web page:
http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respiration/popgenetics/reph/

On 04/03/2010 17:39, jasonm@ucla.edu wrote:
When I use scheme(RBN1MONO) with the code below the x-axis labels are
rotated 90 degrees.
How do I fix this?
Thank you.

twoway (scatter srbar geomeanut,sort)(line regsg geomeanut,sort
lpattern(solid))(line regsgs geomeanut,sort lpattern(dash)) ///
(line logsg geomeanut,sort lpattern(dot))(line logsgs geomeanut,sort
lpattern(dash_dot)) if geomeanut<=1, ///
legend(order(2 3 4 5) label(2 "Linear") label(3 "Linear Quad") label(4
"Logistic") label(5 "Logistic Quad") size(small)) ///
name(rsg) ylabel(0.0004(0.0002)0.001,labsize(small)) scheme(RBN1MONO)
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index