Hello, I am trying to produce a set of boxplots with y-axis like this one: However for some plot that have more points on y-axis they come out like this one: The code used to produce the plot is: GOPTIONS FTEXT=SWISS htitle=7pt htext=7pt hpos=140 vpos=40 ;
axis1 label=none value=(h=1 f='simplex') minor=none split='/' order=(&ordx.) offset=(0.15cm,0.15cm) value=(a=270 f='simplex') major=none ;
axis2 order= (&min_v to %eval(&max_v+&bymax) by &bymax) label=(a=90 f='simplex' height=1.5 &vslbly. r=0) minor=none
value = (height = 1.5 f='simplex');
symbol1 interpol =boxt color=black value = circle cv=black width=0.5 height=0.5 bwidth=0.7 ;
title4 &pop.;
proc gplot data=final1 ;
plot aval*visitgrph / haxis=axis1 vaxis=axis2 /*noframe vref=(35 38.5 ) */ lvref=2 hminor=0 vminor=0;
format visitgrph grphn.;
run;
quit; it uses a lot of macro variables as the program produces 40 plots. the warning message i get in the log for the plots that don't work properly is: WARNING: The intervals on the axis labeled visitgrph are not evenly spaced. I am just trying to find a way of making the yaxis wider and therefore fit all points on and have them all looking the same, i have tried using hsize and horigin option to try move the origin but neither have worked, the only way so far that works is making the text size 5pt but then it is far too small to read, if anybody has any suggestions then that would be very helpful! Jessica
... View more