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/