Statalist


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

Re: st: 4 graphs in 1


From   "Tim Wade" <[email protected]>
To   [email protected]
Subject   Re: st: 4 graphs in 1
Date   Tue, 18 Dec 2007 11:08:29 -0500

Ben, regarding the "Graphs by" note in twoway scatter with by, this
can be suppressed, as follows (in Stata 9.2 at least):

sysuse auto.dta
twoway scatter price mpg, by(foreign, note(""))

good luck, Tim

On 12/17/07, Benjamin Allaire <[email protected]> wrote:
> Hi stata-listers-
>
> I was trying to put  4 graphs together in one.  I know of three ways to accomplish this, each with problems:
>
> 1) Create 4 separate graphs and then use graph combine.  Pros: Can easily add notes and a title to these graphs. Cons:  I would like only one legend for all 4 graphs.  I don't see how to do this/if it can be done.
>
> 2) twoway scatter with by.  Pros: Only one legend for all 4 graphs. Cons: Notes and title show up 4 times when I use this command and the annoying "Graphs by" in lower left hand corner.
>
> 3) Use #1 - graph a fake legend in another graph cut and paste the legend in word in a wmf.  Pros - gets me everything I want. Cons: What a pain!
>
> Does anyone know any way to get everything I want within stata?  Any help would be most appreciated!!!
>
> Thanks,
> Ben
> _________________________________________________________________
> i'm is proud to present Cause Effect, a series about real people making a difference.
> http://im.live.com/Messenger/IM/MTV/?source=text_Cause_Effect
> *
> *   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/
>
*
*   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