Contour_label()

Labels the contours in the contour plot

CONTOUR_LABEL/DRAW [text=String] [start=Integer] [end=Integer] [st=Integer] [intval=Integer] [minint=Integer] [font=Font] [size=Real] [colour=Colour] contour=Gobject Draw labels on a contour plot.
CONTOUR_LABEL/ALTER [text=String] [start=Integer] [end=Integer] [st=Integer] [intval=Integer] [minint=Integer] [font=Font] [size=Real] [colour=Colour] object=Gobject Alter labels on a contour plot.

example:

	# put labels on a contour plot, use
	# label formatting to add units.
	>> my_cont = Contour:Draw(w.y)
	>> Contour_label contour=my_cont &
	     text="%gmEV"

Note: Default for text is just to give the values.

Contour_Label/Draw

Add labels to the contours of the specified contour plot. The labels may be formatted by the optional "Text" parameter if required.

Parameters:

Text (String)

Sets the format of the labels if required. The default is just to print the numbers but by adding a format string it is possible to gain full control over the label format. A "%g" in the formatting string converts numbers in general format (G format in FORTRAN). A "%f" formats in floating point (F) format and "%e" formats in scientific (E) format.

Start (Integer)

Allows label values to be specified explicitly starting here.

End (Integer)

Allows label values to be specified explicitly.

St (Integer)

Allows label values to be specified explicitly, the steps between labels here.

Intval (Integer)

The number of cells crossed by a contour before another label is drawn. Gives control over the number of labels drawn on any one contour. The default is 20.

Minint (Integer)

The minium number of cells to be crossed by a contour to justify adding a label. Contours crossing less than this number of cells will remain unlabelled. The default is 10.

Font (Font)

Sets the labels font.

Size (Real)

Sets the label size.

Colour (Colour)

Sets the label colour.

Contour (Gobject)

Specifies the contour plot for the labels to draw on.

RESULT = (ContourLabels)

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

Contour_Label/Alter

Alters previously drawn contour labels.

Parameters:

Text (String)

Sets the format of the labels if required. The default is just to print the numbers but by adding a format string it is possible to gain full control over the label format. A "%g" in the formatting string converts numbers in general format (G format in FORTRAN). A "%f" formats in floating point (F) format and "%e" formats in scientific (E) format.

Start (Integer)

Allows label values to be specified explicitly starting here.

End (Integer)

Allows label values to be specified explicitly ending here.

St (Integer)

Allows label values to be specified explicitly, the steps between labels here..

Intval (Integer)

The number of cells crossed by a contour before another label is drawn. Gives control over the number of labels drawn on any one contour. The default is 20.

Minint (Integer)

The minium number of cells to be crossed by a contour to justify adding a label. Contours crossing less than this number of cells will remain unlabelled. The default is 10.

Font (Font)

Sets the labels font.

Size (Real)

Sets the label size.

Colour (Colour)

Sets the label colour.

Object (Gobject)

Specifies the contour label to alter.

RESULT = (ContourLabels)

Returns all of the properties of the altered contour labels.