KPG1_GAXLB

Obtains an axis annotation for an NDF axis

Description:

This routine obtains an axis annotation from the parameter system. The suggested default is of the form " label (units)" when there is both an axis label and units, or " label" if the label but not the units are present. If neither are present a supplied default is used instead. If a bad status, other than abort, is returned by the parameter system when getting the value, the error is annulled and the output annotation is the suggested default value.

Invocation

CALL KPG1_GAXLB( NDF, IAXIS, PNAXL, DEFAUL, AXSLAB, STATUS )

Arguments

NDF = INTEGER (Given)
The NDF identifier.
IAXIS = INTEGER (Given)
The number of the axis whose character components are to be used.
PNAXL = CHARACTER ∗ ( ∗ ) (Given)
The name of the ADAM parameter from which the annotation will be obtained.
DEFAUL = CHARACTER ∗ ( ∗ ) (Given)
The suggested default when the NDF axis does not have a label, and the actual value returned when a null (!) value or any other non-abort bad status is obtained from the parameter system.
AXSLAB = CHARACTER ∗ ( ∗ ) (Returned)
The annotation obtained from the parameter system. The dynamic default is limited to 128 characters.
STATUS = INTEGER (Given and Returned)
The global status.