How to re-scale color response legend in SGPLOT? This is what I'm getting:
The "solid" values are in the range of 0 to 1, yet the procedure generates color scale from 0 to 300, such that variation on the graph is invisible (i.e. all dots are green). I made a number of these graphs for different data sets, and the legend changes, but the range is always 100-500 times wider than needed.
scatter x=ntod2c y=ntod1c / colorresponse=ntos2w
markerattrs=(symbol=CircleFilled size=9)
colormodel=(CX99D594 CXFEE08B CXFC8D59 V000FFFF);
gradlegend / title='Solid, mg' titleattrs=(color=black family=arial size=10);
xaxis min=0 valueattrs=(color=black size=10pt); yaxis min=0 valueattrs=(color=black size=10pt);
lineparm x=0 y=0 slope=1;
xaxis label="Liquid 2, mg/L";
yaxis label="Liquid 1, mg/L";
Interestingly, I ran the same script few months ago and the legend optimized automatically. Now it's giving me trouble.