Dear All
I have created an eclplot on stata (in horzontal form). However, some of the confidence intervals are very largecompared to others on the graph.
The problem is that the graph automatically extends to the extent of the largest confidence interval.
Can anyone show me how I can cut off the graph at a certain limit on the x-axis? so that it does not extend beyond the alocated range on the x axis.
The code that I currently have is below.
eclplot or loci hici model1, eplottype(scatter) horizontal supby(model1) legend(off) graphregion(color(white)) ///
xscale (range(0 30) noextend) xline(1, lcolor(black)) ylabel(1 (1) 8,angle(h) format(%3.1f) nogrid) ///
xlabel(0 (1) 13) yscale(off) ///
xtitle(" ", justification(right) placement(c)) ///
text(14 1.3 "Odds Ratio (OR)", color(black) placement(e)) ///
title("") bgcolor(white)
would appreciate any help I can get with this.
Thank you
I have created an eclplot on stata (in horzontal form). However, some of the confidence intervals are very largecompared to others on the graph.
The problem is that the graph automatically extends to the extent of the largest confidence interval.
Can anyone show me how I can cut off the graph at a certain limit on the x-axis? so that it does not extend beyond the alocated range on the x axis.
The code that I currently have is below.
eclplot or loci hici model1, eplottype(scatter) horizontal supby(model1) legend(off) graphregion(color(white)) ///
xscale (range(0 30) noextend) xline(1, lcolor(black)) ylabel(1 (1) 8,angle(h) format(%3.1f) nogrid) ///
xlabel(0 (1) 13) yscale(off) ///
xtitle(" ", justification(right) placement(c)) ///
text(14 1.3 "Odds Ratio (OR)", color(black) placement(e)) ///
title("") bgcolor(white)
would appreciate any help I can get with this.
Thank you