Contour_function()

Plots contours for ungridded data.

CONTOUR_FUNCTION/DRAW [/LOG] [/SQRT] values=RealArray contours=RealArray ncont=Integer function_name=String [colour=Colour] [line_type=LineStyle] [line_thickness=Real] Draw a contour function onto a graphics device.
CONTOUR_FUNCTION/ALTER [/LOG] [/SQRT] [values=RealArray] [contours=RealArray] [ncont=Integer] [function_name=String] [colour=Colour] [line_type=LineStyle] [line_thickness=Real] object=Integer Alter a previously drawn contour function on a graphics device.

example:

	# Plot some ungridded data with a
	# a user specified module function
	>> Contour_function/Draw values=my_points &
	      function_name="my_gridding_function"

Note: Use contours or ncont, not both.

Contour_Function/Draw

Draws a colour cell plot using a user written module function to supply the location of the data points, for example a non-uniform grid for S(Q) plots. This is the most general of the contour plotting functions and requires that the user writes or uses a pre-existing FORTRAN module to calculate the grid for the data. For more information on writing modules, see the Module() command and also the "user notes" section of this manual. If a the function can be plotted on a linear or non-linear grid, you may be able to use the Contour() or Contour_array() commands to avoid the need to use a module.

Parameters:

/Log

Draws a logarithmic contour function.

/Sqrt

Draws a square root contour function.

Values (RealArray)

Defines the values of the contour function, values=(xarray,yarray).

Contours (RealArray)

Sets the contours explicity by specifying the heights (in raw data values) of the countours. If this is specified, the number of contours will be taken from the data array and Ncont is ignored.

Ncont (Integer)

Draws ncont contours, by default, evenly spaced between Valmin and Valmax.

Function_name (String)

This is the function name of a function previously written and compiled in fortran.

Colour (Integer)

Sets the contour functions colour.

Line_type (Integer)

Sets the line type of the contour function. Such as $full, $dash, $dot_dash and $dot.

Line_thickness (Real)

Sets the contour functions line width.

RESULT = (ContourFunction)

Returns all of the properties of the newly created contour function.

Contour_Function/Alter

Alters a contour function previously drawn on a graphics device.

Parameters:

/Log

Draws a logarithmic contour function.

/Sqrt

Draws a square root contour function.

Values (RealArray)

Defines the values of the contour function, values=(xarray,yarray).

Contours (RealArray)

Sets the contours explicity by specifying the heights (in raw data values) of the countours. If this is specified, the number of contours will be taken from the data array and Ncont is ignored.

Ncont (Integer)

Draws ncont contours, by default, evenly spaced between Valmin and Valmax.

Function_name (String)

This is the function name of a function previously written and compiled in fortran.

Colour (Integer)

Sets the contour functions colour.

Line_type (Integer)

Sets the line type of the contour function. Such as $full, $dash, $dot_dash and $dot.

Line_thickness (Real)

Sets the contour functions line width.

Object (Gobject)

The contour function plot to be altered

RESULT = (ContourFunction)

Returns all of the properties of the altered contour function.