Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Getting rid of -subtitle()- in -twoway [graphtype], by()-


From   "Clive Nicholas" <[email protected]>
To   [email protected]
Subject   st: Getting rid of -subtitle()- in -twoway [graphtype], by()-
Date   Sun, 23 Jan 2005 02:01:27 -0000 (GMT)

All,

I've been successfully been generating some very good, but simple, -twoway
line- graphs by using this long command (to use a not entirely meaningful,
but accessible, toy-data example):

. webuse census
. g lpop=ln(pop)
. g ldeath=ln(death)
. g ldivorce=ln(divorce)
. label var death "Natural log of the death rate"
. label var divorce "Natural log of the population rate"
. twoway (line ldeath lpop) (line logdivorce lpop), xtitle("") ///
  ylabel(6(1)13, angle(0)) xlabel(11(1)17) legend(cols(1) stack) ///
  scheme(s2mono) by(region)

But I find that, even though the option is not specified above, -twoway,
by()- produces a subtitle at the bottom of the graph, but I don't need
them for the graphs I'm generating. I've checked the help files
(specifically, -whelp title_options-) and Mitchell's (2004: 154; 281-4;
314) book for guidance. But although they all mention how to _use_ the
-subtitle()- option, I could find nothing in these sources that tell you
how to switch it off: even if I type -subtitle("")-, I'm stuck with
subtitles I don't want.

Is there a solution to this? Thanks in anticipation.

CLIVE NICHOLAS        |t: 0(044)7903 397793
Politics              |e: [email protected]
Newcastle University  |http://www.ncl.ac.uk/geps

Reference:

Mitchell M (2004) A Visual Guide to Stata Graphics, College Station: Stata
Press.

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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