Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 14 lines (11 sloc) 0.51 kb
da2fc13 Jeffrey Arnold added dofile to generate example stata graphs
authored
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.