hi
As re Reeza suggested I would go for Proc SGPLOT, find below some sample code that can get you started.
data have;
infile cards dlm=",";
input x y;
cards;
0.249377,5.175325
0.623441,10.3494
1.122195,15.30481
1.745636,20.17191
2.535328,25.06026
3.532835,30.11836
4.655029,35.0611
5.985037,40.02055
7.564422,45.03658
9.476309,50.06652
11.7207,55.02452
14.42228,60.06016
17.58105,65.04058
21.28013,70.03401
25.68579,75.03019
30.96426,80.03419
37.73899,85.0182
47.00748,90.01258
61.01413,95.01025
100,100
;
data have2;
set have;
if int(y) = 50 then do;
x2 = x;
y2 = y;
group=1;
end;
if int(y) = 75 then do;
x2 = x;
y2 = y;
group=2;
end;
if 50 <= int(y) <= 75 then do;
x3 = x;
y3 = y;
end;
run;
proc sgplot data=have2 noautolegend;
styleattrs
datasymbols=(DiamondFilled)
datacontrastcolors=(red green)
;
series x=x y=y ;
scatter x=x2 y=y2 / group=group markerattrs=(size=20) ;
run;
proc sgplot data=have2 noautolegend;
series x=x y=y /;
series x=x3 y=y3 / lineattrs=(THICKNESS=5);
refline 50 75;
run;
Bruno
... View more