Generate the surface plot. GRID draws reference lines for all x, y, and z axis tick marks. ROTATE= specifies a rotation angle of 45°. CTOP= and CBOTTOM= change the colors of the plot's top and bottom surfaces. YTICKNUM= and ZTICKNUM= specify the number of tick marks for the y and z axes. ZMIN= and ZMAX= specify minimum and maximum values for the z axis. Specifying a minimum value that is below the minimum value in the data effectively raises the plot above the horizontal plane.
proc g3d data=reflib.hat;
   plot y*x=z / grid
                rotate=45
                ctop=red
                cbottom=black
                yticknum=5
                zticknum=5
                zmin=-3
                zmax=1;
run;
quit;