Would be nice and logical to extend a bit functionality of Simpleplot by allowing some dynamic run-time changes the same way and style as it is typically done in CWP by using @ -- in this case by %pl@ instead of fixed parameters %pl[parameters] :
text256 = 'x_axis='Width [rel.un.]',y_axis='Intensity [rel.un.]',&
&title='Intg (black), Inst (red)',colour=red,&
& X_ARRAY, LOG_LOG, N_GRAPHS=2'
i=winio@('%pv%pl@&', text256, 500, 300, npoints, Xarray, Yarray, Yinterp )
This would allow to set Y minimum and maximum, change LOG and LIN axis scales, change titles and axis names etc:
Another improvement would be allowing multiple plots with their own sets of (X,Y) pairs. Right now for multiplots Simpleplot allows just one common X set for multiple Y ones.