Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: Rectifying y-axis labels using a tiny .scheme


From   Ronan Conroy <[email protected]>
To   statalist edu <[email protected]>
Subject   st: Rectifying y-axis labels using a tiny .scheme
Date   Thu, 14 Apr 2011 13:21:51 +0100

For years I have been carefully writing

ylabel(,angle(0)

to ensure that the numbers on the vertical axis of graphs are written horizontally rather than vertically, which is the Stata default. 

Recently I came across Vince Wiggins' presentation on writing your own graph schemes, and lo and behold the answer was there. 

A tiny scheme file (in my case called rcs2color.scheme) as follows

#include s2color
anglestyle vertical_tick     horizontal

This makes just one change to the s2color scheme, and now my axes can be read without twisting my neck.

I can only recommend Vince's presentation: http://econpapers.repec.org/paper/bocusug06/11.htm




Ronán Conroy
[email protected]
Associate Professor
Division of Population Health Sciences
Royal College of Surgeons in Ireland
Beaux Lane House
Dublin 2


*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index