Unit(axis)Unitaxis - Axis physical units

Description:
This attribute contains a textual representation of the physical units used to represent coordinate values on a particular axis of a FrameFrame. The astSetActiveUnitastSetActiveUnit function controls how the Unit values are used.
Type:
String.
Class Applicability:
Frame
The default supplied by the Frame class is an empty string.
SkyFrameSkyFrame
The SkyFrame class re-defines the default Unit value (e.g. to "hh:mm:ss.sss") to describe the character string returned by the astFormatastFormat function when formatting coordinate values.
SpecFrameSpecFrame
The SpecFrame class re-defines the default Unit value so that it is appropriate for the current SystemSystem value. See the System attribute for details. An error will be reported if an attempt is made to use an inappropriate Unit.
TimeFrameTimeFrame
The TimeFrame class re-defines the default Unit value so that it is appropriate for the current System value. See the System attribute for details. An error will be reported if an attempt is made to use an inappropriate Unit (e.g. "km").
FrameSetFrameSet
The Unit attribute of a FrameSet axis is the same as that of its current Frame (as specified by the CurrentCurrent attribute).
Notes:
  • When specifying this attribute by name, it should be subscripted with the number of the Frame axis to which it applies.