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]

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


From   "Airey, David C" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   re: st: Rectifying y-axis labels using a tiny .scheme
Date   Thu, 14 Apr 2011 09:24:52 -0500

.

After failing to reach Vince at home for technical support, here's my tiny scheme:

*** contender for tiny scheme statalist contest  ***

#include s1color

symbol p circle_hollow

***

Just create a file called "myscheme.scheme" (a text file) and drop it in your personal folder. You may need to restart Stata.

Then,

sysuse auto
scatter price weight

gives greater joy.

-Dave

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

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