I am making a twoway graph using the scheme plotplain. The user written scheme by
Daniel Bischof (@danielbischof)
is very elegant, except the axis don't join at the origin (see attached image). I would like the x and y axes to intersect as they usually do. I plotted the graph using the following code:Code:
set scheme plotplain
twoway (bar y1 type if counter==1, barwidth(.10) bcol(maroon*.35)) || ///
(scatter y1 type if counter==1, msym(sh) mcol(maroon)) || ///
(rcap y1_lci y1_uci type if counter==1, lcol(maroon)) || ///
(bar y2 type2 if counter==1, barwidth(.10) bcol(ebblue*.35)) || ///
(scatter y2 type2 if counter==1, msym(oh) mcol(ebblue)) || ///
(rcap y2_lci y2_uci type2 if counter==1, lcol(ebblue)) ///
(bar y3 type3 if counter==1, barwidth(.10) bcol(dkgreen*.35)) || ///
(scatter y3 type3 if counter==1, msym(Th) mcol(dkgreen)) || ///
(rcap y3_lci y3_uci type3 if counter==1, lcol(dkgreen)), ///
yline(0, lcolor(cranberry)) ///
legend(off) ///
xtitle("")Many thanks,
Sumedha.
Array
0 Response to Axis inteserction in scheme plotplain
Post a Comment