I am wondering is it possible to force Stata to change the max/min ranges of y-scale of a graph in the combined graph. In my combined graph, variable 'sa' ranges between -10 to 10 in the first graph, whereas in the second graph it varies from -6 to 6. To zoom the second graph, I would like to change the ranges of the y-scale of the second graph.
Codes:
PHP Code:
set scheme s1color
tw (scatter sa sb1 msize(small) mcolor(blue)), by(model, col(1) compact), || (lowess sa sb1, lcolor(blue)), ///
ylab(-10 -6 -4 -3 -2 0 2 4 6 10) xscale(log) ///
leg(all) xtitle("") ytitle("") ///
ylab(, nogrid) yline(0) xsize(3.8) ysize(6.5)
I would really appreciate if anyone may help me with this.
Many thanks
0 Response to different max/min ranges of y-scale for each graph in combined (compact) graph
Post a Comment