Win_twod()

Controls and creates two dimensional windows for plotting

WIN_TWOD dxmin=Real dxmax=Real dymin=Real dymax=Real x=RealArray y=RealArray [colour=Colour] Creates a Two dimensional window.

example:

	# Creating and displaying a Twod window,
	# where yarray and xarray have already 
	# been defined
	>> win_twod 0.1 0.9 0.1 0.9 y=yarray x=xarray

Note: d means the device co-ordinate. Giving the x/yarray the window is scaled automatically.

Win_Twod

Creates and displays a Two dimensional window ready for plotting a colour cell or contour plot. The area of the sceen to use for the window is specified with the four device co-ordinates and the supplied X and Y arrays are used to auto-scale the axes in the X and Y directions respectively. Currently all transformations are handled by the plotting commands so it is possible to scale the axes explicity by giving X and Y arrays with two elements each to specify the maximum and minimum values instead of the complete grid arrays (which would be needed for a non-linear grid).

Parameters:

Dxmin (Real)

Sets the minimum x device co-ordinate.

Dxmax (Real)

Sets the maximum x device co-ordinate.

Dymin (Real)

Sets the minimum y device co-ordinate.

Dymax (Real)

Sets the maximum y device co-ordinate.

X (RealArray)

Scales the two dimensional window.

Y (RealArray)

Scales the two dimensional window.

Colour (Colour)

Sets the colour of the window. By default the colour of the window is black.

RESULT = (TwoDWindow)

Returns all of the properties of the newly created window.