Next: , Previous: , Up: Internal Routines   [Contents][Index]


15.5.109 contour

contour, image=image [, levels=levels, xmin=xmin, xmax=xmax, ymin=ymin, ymax=ymax, style=style, dashsize=dashsize, /autocontour, /usercontour]

Draw a contour plot.

image

The image of which a contour plot is desired.

levels

The data value levels at which contours are to be drawn (if an array), or the desired number of contour levels (if a scalar). Defaults to !contour_nlev.

xmin xmax ymin ymax

The coordinate limits of the part of image that is to be shown.

style

The line style used in drawing the contours. Defaults to !contour_style.

dashsize

The relative size of the dashes (if any) in the chosen line style. Defaults to 1.

/autocontour

Indicates that the contour levels must be calculated from the spread of the data and returned in $CONTOURS.

/usercontour

Indicates that the contour levels should be taken from $CONTOURS.

Contour levels are calculated from the data if /autocontour is specified, or if /autocontours is not specified but !autocon is unequal to zero. Otherwise, contour levels are taken from $CONTOURS.

Various options may be set through system variables:

!contour_nlev

contains the default number of levels (and defaults to 5).

!autocon

flags automatic calculation of contour levels.

$CONTOURS

specifies the contour levels when !autocon is zero and /autocontour was not specified. The used contour levels are returned in $CONTOURS.

!contour_mode

selects the type of automatic countouring:

  1. linear
  2. square root
  3. logarithm
!contour_box

flags the drawing of a one-bin box at the origin.

!contour_border

indicates the thickness of the border around the contour plot.

!contour_ticks

governs the size of contour tick marks, in device-independent (dvi) coordinates.

!contour_tick_pen

specifies the thickness of the contour tick marks, in device-independent coordinates.

!contour_tick_fac

Unknown function.

!contour_dash_lev

holds the contour level below which contours are dashed.

See also: !autocon, !contour_border, !contour_box, !contour_dash_lev, !contour_mode, !contour_nlev, !contour_ticks, !contour_tick_fac, !contour_tick_pen, plot, Plots


Next: , Previous: , Up: Internal Routines   [Contents][Index]