next up previous
Next: NDF_ACRE - Ensure that an axis coordinate system exists for an NDF
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_ACMSG - Assign the value of an NDF axis character component to a message token

   
NDF_ACPUT - Assign a value to an NDF axis character component

Description:
The routine assigns a value to the specified axis character component of an NDF (i.e. to the LABEL or UNITS component of an NDF axis).

Invocation:
CALL NDF_ACPUT( VALUE, INDF, COMP, IAXIS, STATUS )

Arguments:
VALUE = CHARACTER * ( * ) (Given)
The value to be assigned.
INDF = INTEGER (Given)
NDF identifier.
COMP = CHARACTER * ( * ) (Given)
Name of the axis character component whose value is to be assigned: 'LABEL' or 'UNITS'.
IAXIS = INTEGER (Given)
Number of the axis to receive the new value.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:
  • The entire VALUE string (including trailing blanks if present) is assigned to the specified axis component, whose length is adjusted to accommodate it.
  • A value of zero may be given for the IAXIS argument, in which case the routine will assign the same value to all the NDF axes.
  • This routine may only be used to assign values to the axes of a base NDF. If an NDF section is supplied, then it it will return without action. No error will result.



next up previous
Next: NDF_ACRE - Ensure that an axis coordinate system exists for an NDF
Up: FORTRAN ROUTINE DESCRIPTIONS
Previous: NDF_ACMSG - Assign the value of an NDF axis character component to a message token


Starlink User Note 33
R.F. Warren-Smith
11th January 2000
E-mail:rfws@star.rl.ac.uk

Copyright © 2000 Council for the Central Laboratory of the Research Councils