Skip to content
This repository
Newer
Older
100644 13 lines (11 sloc) 0.51 kb
da2fc13c »
2012-09-22 added dofile to generate example stata graphs
1 sysuse auto
2 local schemelist s2color s2mono s2manual s2gmanual s1rcolor s1mono s1manual economist sj
3
4 foreach scheme of local schemelist {
5 scatter mpg headroom turn weight, ///
6 title("Plot title") legend(title("Legend title")) scheme(`scheme')
7 graph export "graph_twoway_scatter_`scheme'.png"
8
9 scatter mpg headroom turn weight, ///
10 by(foreign, title("Plot title")) ///
11 legend(title("Legend title")) scheme(`scheme')
12 graph export "graph_twoway_scatter_by_`scheme'.png"
13 }
Something went wrong with that request. Please try again.