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

Re: st: Re: iMultiple graphs in Stata 8


From   Ricardo Ovaldia <ovaldia@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Re: iMultiple graphs in Stata 8
Date   Wed, 5 Feb 2003 05:35:54 -0800 (PST)

--- Scott Merryman <smerryman@kc.rr.com> wrote:

> You want to use graph combine g1.gph g2.gph
> 
> See -graph_combine- various display options.
> 

Thank you Scott. I tried -combine- before my first
post and got an error:
. webuse auto
(1978 Automobile Data)

. graph  twoway scatter mpg price, saving(g1,replace)
(file g1.gph saved)

. graph  twoway scatter mpg  weight,
saving(g2,replace)
(file g2.gph saved)

. graph combine g1 g2
g1 is not a memory graph
invalid syntax
invalid syntax
r(198);

However, I just did it again except I included the
-gph- extension and that work.

So:

   -graph combine g1 g2-    does not work 

but 
   -graph combine g1.gph g2.gph-  does work.

Is this a bug? Shouldn't it always work?

Best,
Ricardo.

=====
Ricardo Ovaldia, MS
Statistician 
Oklahoma City, OK

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index