routine sets a new value for the LABEL component
of an existing NDF
The NDF is accessed in update mode and any pre-existing label is over-written with a
new value. Alternatively, if a ‘null’ value (
) is given for the LABEL parameter, then
the NDF’s label will be erased.
setlabel ndf label
The value to be assigned to the NDF’s LABEL component. This
should describe the type of quantity represented in the NDF’s data array (e.g.
"Surface Brightness" or
"Flux Density"). The value may later be used by other
applications, for instance to label the axes of graphs where the NDF’s data
values are plotted. The suggested default is the current value.
NDF = NDF
(Read and Write)
The NDF data structure whose label is to be modified.
setlabel ngc1068 "Surface Brightness" Sets the LABEL component of the
NDF structure ngc1068 to be
label="Flux Density" Sets the LABEL component of the NDF structure datastruct to
setlabel raw_data label=! By specifying a null value
!), this example erases any previous value of the LABEL component in the NDF