Statalist


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

Re: st: Black and White Graphs


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

--- On Sun, 30/8/09, [email protected] 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:
http://www.maartenbuis.nl/stata/exampleFAQ.html )

Hope this helps,
Maarten

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

http://www.maartenbuis.nl/
-----------------------------------------


      

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index