Win_autoscaled()

Creates a scaled window automatically from supplied data.

WIN_AUTOSCALED dxmin=Real dxmax=Real dymin=Real dymax=Real x=RealArray y=RealArray e=RealArray [minmode=Integer] [maxmode=Integer] [colour=Colour] Creates an autoscaled window.

example:

	# Creating and displaying an autoscaled
	# window, where yarray, xarray and earray
	# have already been defined
	>> win_autoscaled 0.1 0.9 0.1 0.9 xarray yarray earray

Note: d means the device co-ordinate.

Win_Autoscaled

Creates and displays a scaled window, without the knowledge of the exact co-ordinates needed for the scaling of the window. The scaling is fairly intelligent and can be controlled by the "maxmode" and "minmode" parameters. Obviously for this routine to work, the data must be available already, if not the Win_scaled() command can be used.

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 autoscaled window.

Y (RealArray)

Scales the autoscaled window.

E (RealArray)

Scales the autoscaled window.

Minmode (Integer)

Specify how the axes are scaled by setting the minimum mode where, 0=absolute values, 1 or 3 = +10%, 2 or 3 = round down, and 4 = force zero.

Maxmode (Integer)

Specify how the axes are scaled by setting the maximum mode where, 0=absolute values, 1 or 3 = +10%, 2 or 3 = round down, and 4 = force zero.

Colour (Colour)

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

RESULT = (WindowScaled)

Returns all of the properties of the newly created window.