imat_vtkplot/contourstyle (+FEA)


Purpose

Set the contour style.

Syntax

hplot.contourstyle([style][,nbands])
hplot.contourstyle('continuous')
hplot.contourstyle('banded',8)

Description

CONTOURSTYLE controls the style of the contours and the number of contour colors.

STYLE is an optional string specifying the type of contour plot. STYLE can be either 'continuous' or 'banded'. Passing 'continuous' will cause the contour plot to have smooth, continuous colors. Passing 'banded' will cause the contour plot to show level, banded colors. The number of colors used can be set with the NBANDS input. If not specified, the value will be taken from the nbands field of the s structure of HPLOT.

NBANDS is an optional integer specifying the number of colors to use for the banded contour plot. The default value is 8. This value is stored in the nbands field of the s structure of HPLOT.

If no values are passed in, the COLORRANGE GUI will be displayed.