- data point_slope;
- x=0;
- y=1.1*x-0.1;
- slope=1.1;
- output;
- y=x;
- slope=1;
- output;
- y=0.9*x+0.1;
- slope=0.9;
- output;
- run;
- proc sgplot data=point_slope noautolegend;
- scatter x=x y=y/markerattrs=(color=white);
- lineparm x=x y=y slope=slope;
- xaxis min=0 max=100;
- yaxis min=0 max=100;
- run;