Example

The figure below was produced by the following commands:

     X = {1;0;1;0;.2;.5;.8}
     Y = {1;0;0;1;.2;.5;.8}
     Z = {0;0;0;0;10;0;-5}
     GRID\XYOUT X Y Z M XOUT YOUT   ! interpolate a matrix
     SET %LEGENDSIZE 2.3            ! legend label size
     WINDOW 5
     SET XLABEL 'CONTOUR\LEGEND XOUT YOUT M'
     CONTOUR\LEGEND XOUT YOUT M 10  ! 10 contours of matrix M
     WINDOW 7
     SET XLABEL 'CONTOUR\LEGEND X Y Z'
     CONTOUR\LEGEND X Y Z 10        ! 10 contours of scattered points
     WINDOW 6
     SCALES 0 .5 5 0 .5 5           ! set axes scales for zooming in
     SET XLABEL 'CONTOUR\PARTIAL XOUT YOUT M'
     CONTOUR\PARTIAL XOUT YOUT M 10 ! contour plot with no legend
     WINDOW 8
     SET XLABEL 'CONTOUR XOUT YOUT M'
     CONTOUR XOUT YOUT M 10         ! 10 contours, no legend
     DEFAULTS

Matrix data