KPG1_DWSOx

Obtains for the scale and offset for a linear transformation from world to data co-ordinates

Description:

This routine determines a linear transformation between world (pixel) co-ordinates and data co-ordinates obtained from the axis structure. A linear equation is solved using the two boundary conditions for the lower and upper bounds in world and data co-ordinates.

Invocation

CALL KPG1_DWSOx( LBND, UBND, AXIS, SCALE, OFFSET, STATUS )

Arguments

LBND = INTEGER (Given)
The lower bound of the axis array.
UBND = INTEGER (Given)
The upper bound of the axis array.
AXIS( LBND:UBND ) = ? (Given)
The axis array.
SCALE = ? (Returned)
The scale factor of the linear axis to transform from world co-ordinates to data co-ordinates.
OFFSET = ? (Returned)
The offset of the linear axis at pixel 0 to transform from world co-ordinates to data co-ordinates.
STATUS = INTEGER (Given and Returned)
The global status.

Notes: