- ←Prev
- KAPLIBS – Internal subroutines used within the KAPPA package.
- Next→
- TOC ↑
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:
-
There is a routine for the data types real or double precision: replace "
x"
in the routine name by R or
D respectively, as appropriate. The axis array, and the returned scale and offset should have this data
type as well.
- ←Prev
- KAPLIBS – Internal subroutines used within the KAPPA package.
- Next→
- TOC ↑