#------------------------------------------------------------
#
#     Sample code
#                ----------- Draw the axes
#
#------------------------------------------------------------

axes1=sur{[sin(x)*cos(y)][x=-pi:pi][y=-pi:pi]\
          [axes: origin=(0,0,0),X=(4,0,0),Y=(0,4,0),\
           Z=(0,0,2),ticmark=20] };
axes2=sur{[sin(x)*cos(y)-2][x=-pi:pi][y=-pi:pi]\
          [axes: automatic]};
#------------------------------------------------------------
plot axes1, axes2;
#------------------------------------------------------------


