data a; format x 6.2;
label study="_Study_";
input oddsratio @@;
logodd=log10(oddsratio);
study=_N_;
cards;
0.92 . 1.11 0.86 . 0.86 0.93 . 0.74 0.97 . 1 0.9 . 0.83 0.95
;
goptions reset=global gunit=pct border
cback=cyan
colors=(black blue green red)
ftitle=swissb ftext=swiss htitle=5
htext=3;
title1 "A test for logbase and logstyle";
axis2 label=(h=3 j=r ) order=(-.15 to .1 by .05) offset=(2,2)
major=(h=-1) minor=(n=4 h=-.5)
logbase=10 logstyle=power;
axis21 label=(h=3 j=r c=black '_log10(Oddsratio)_') offset=(2,2)
major=(h=-1) minor=(n=4 h=-.5);
symbol v=circle i=j c=blue h=2;
proc gplot data=a;
title2 "by logbase and logstyle options";
plot study*oddsratio/ noframe haxis=axis2 href=0 lhref=18;
run;
title2 "by SAS expression ";
plot study*logodd/ noframe haxis=axis21 href=0 lhref=18;
run;
quit;




雷达卡





京公网安备 11010802022788号







