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

st: saving graphs


From   "Zang, Hailing" <hailing-zang@neo.tamu.edu>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: saving graphs
Date   Fri, 15 Aug 2003 22:23:09 -0000

Hi,
I used the following code to save graphs in a loop before:
levels t , local(levels)
foreach l of local levels {
 graph bidprice cumq  if t == `l', c(l) by(bid_qse) yscale(.,570) xscale
(.,1000) saving(c:\g`l') t1(`l')
translator query gph2wmf
translator set gph2wmf scheme blackbg
translator query gph2wmf
translate c:\g`l'.gph c:\g`l'.wmf
}

But now when I type in the first line, there's a message saying "version 8
not supported". So how to do such kind of saving graphs in the loop now?

Also, if I need to save graphs such as:
by T zone: graph price quantity

Is it sufficient just to change to "levels T zone, local levels"?

Thanks a lot!
Hailing




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