Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Overall title on bygraphs


From   Philipp Rehm <[email protected]>
To   [email protected]
Subject   Re: st: Overall title on bygraphs
Date   Fri, 19 Oct 2007 09:00:20 +0200

Something like this?

sysuse auto, clear
scatter mpg weight, by(foreign, title("One title only"))

HTH,
Philipp

David Elliott wrote:
I want to have an overall title on a 3x4 bygraph and have searched for
a way to do this.  Use of title() results in the title being place on
every bygraph.  I have resorted to the following kludge:

tw histogram k_comb_paid, freq by(month, note("")) width(5)
xtitle("Income Distribution ($1,000s)")
graph combine Graph,  t1title("Monthly Income Distribution by Month,"
"fiscal 2006-2007") ///
  note("Incomes were summarized by month for each physician," "then
the distribution of monthly incomes was plotted")

This means, of course, that the entire graph has to be re-rendered
and, trust me, it more than doubles the amount of time necessary.  I
apologize if this is in some obvious place in the manuals, but as you
know, the graphing section kind of jumps all over the place at times
and you don't always end up where you need to be...

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