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

Re: st: Black and White Graphs

From   Maarten buis <>
Subject   Re: st: Black and White Graphs
Date   Sun, 30 Aug 2009 09:39:19 +0000 (GMT)

--- On Sun, 30/8/09, wrote:
> Does anyone know how to shrink the y-axis labels so they
> fit well on the graph when I use grc1leg?

Making those labels look right when combining graphs always 
requires a bit of trial and error. The look of these labels 
is governed by sub-options of the axis label options, see 
-help axis label options-. Probably the most useful ones are 
-labsize()- and -angle()-, for a silly demonstration see the 
example below:

*---------- begin example -------------------
sysuse auto, clear
scatter mpg gear_ratio if foreign == 1, ///
    name(for, replace)                  ///
    ylab(5(10)45, angle(90))

scatter mpg gear_ratio if foreign == 0, ///
    name(dom, replace)                  ///
    ylab(5(10)45, labsize(vsmall))

grc1leg for dom
*------------- end example -------------------
( For more on how to use examples I sent to statalist see: )

Hope this helps,

Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen


*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index