OOF2: The Manual

Name

Filled Contour (FilledContourDisplay) — Draw a filled contour plot of the given output data.

Synopsis

FilledContourDisplay(when,what,where,min,max,levels,nbins,colormap)

Details

  • Base class: DisplayMethod
  • Parameters:

    when
    Time at which to plot Type: A floating point number, or the earliest or latest time.
    what
    Quantity to be plotted Type: An Output object whose value is a real number.
    where
    Plot at displaced or original position? Type: An Output object whose value is a position in the xy plane.
    min
    level of lowest contour, or 'automatic' Type: An integer, a real number, or the string 'automatic'.
    max
    level of highest contour, or 'automatic' Type: An integer, a real number, or the string 'automatic'.
    levels
    number of levels or list of levels (in []) Type: An integer, or a list of numbers.
    nbins
    number of internal subdivisions per element Type: Integer.
    colormap
    color scheme Type: An object of the ColorMap class.

Description

FilledContourDisplay draws a contour plot of a ScalarOutput quantity on a Mesh. The regions between successive contour levels are colored according to a color map.

The arguments what, where, min, max,levels, and nbins have the same meaning as in PlainContourDisplay.

The colormap argument determines how the output values are translated into colors. The map translates real numbers in the range (0,1) into colors. Contour levels are associated with colors by scaling the range (min, max) to (0, 1), and applying the color map. The region between one contour level and the next higher level is filled with the color associated with the lower of the two levels.