Previous: concp Up: ../plot79_c.html Next: conit


CONGV

       SUBROUTINE  CONGV (Z1,ZE,Z2, MX,MY, NX,NY, NZ, T, PL2OR3)
 C$    (Contour Plot - General View)
 C$    Draw contours of  data stored  in an  array. Contour  lines
 C$    corresponding to  negative function  values will  be  drawn
 C$    with dashed lines,  and every fifth  contour will be  drawn
 C$    with a  heavy line  when the  plot device  can support  the
 C$    feature.  Contours  are  drawn  starting  at  Z  =  Z1  and
 C$    continuing in steps of DZ up to Z = Z2.  The arguments are:
 C$
 C$    (Z1,Z2).........Data range for the contouring.
 C$    (MX,MY).........Actual declared dimensions of ZE(*,*).
 C$    ZE(NX,NY).......Array containing data to be contoured.
 C$    NZ..............Number of  contours in  the  range (Z1,Z2),
 C$                    (NZ .GT. 1).
 C$    T(*,*)..........4-D transformation matrix  defining mapping
 C$                    onto  viewplane  of  the  xy  plane  (which
 C$                    contains  the  contours).   Normally,  this
 C$                    will be a unit matrix.  However, if this is
 C$                    the matrix  used to  produce a  hidden-line
 C$                    view, contours  will  be displayed  on  the
 C$                    bottom  face  of  the  box  containing  the
 C$                    hidden-line  drawing.   Just   as  in   the
 C$                    hidden-line routines,  the  coordinates  to
 C$                    which  this  matrix  is  applied  will   be
 C$                    assumed to  lie  in the  unit  cube.   This
 C$                    implies that  an internal  mapping will  be
 C$                    made of X, Y, and Z into the interval  0..1
 C$                    before  applying  the  matrix  T(*,*).   In
 C$                    particular, the range Z1..Z2 is mapped onto
 C$                    0..1 automatically.
 C$    PL2OR3..........2-D or 3-D pen movement subroutine, perhaps
 C$                    PL2CA or  PL3CA.   If 3-D  plotting  is  in
 C$                    effect (set via  CALL SET3D (.TRUE.)),  the
 C$                    3-D version  must be  used.  Otherwise  the
 C$                    3-D version is  required.  Correct  setting
 C$                    of the 3-D flag  is **ESSENTIAL** in  order
 C$                    to select the proper call to PL2OR3,  since
 C$                    the number  of  arguments  depends  on  the
 C$                    dimensionality.
 C$
 C$    (04-FEB-82)