SAS Tips and Tricks
- Coutor Plot and 3D Surface Plot:
data demo;
do x = 60 to 100 by 5;
do y = 0 to 30 by 5;
z = 0.5 * x + 0.8 * y - 2 * x * y + 0.4 * x * x;
output;
end;
end;
run;
proc gcontour; plot x * y = z; run;
proc g3d; plot x * y = z / grid; run;
quit;
Back to Homepage
|