next up previous
Next: PVj_m - FITS-WCS projection parameters
Up: AST Attribute Descriptions
Previous: NumLab(axis) - Draw numerical axis labels for a Plot?

   
NumLabGap(axis) - Spacing of numerical labels for a Plot

Description:
This attribute controls the appearance of an annotated coordinate grid (drawn with the astGrid function) by determining where numerical axis labels are placed relative to the axes they describe. It takes a separate value for each physical axis of a Plot so that, for instance, the setting "NumLabGap(2)=-0.01" specifies where the numerical label for the second axis should be drawn.

For each axis, the NumLabGap value gives the spacing between the axis line (or edge of the plotting area, if appropriate) and the nearest edge of the corresponding numerical axis labels. Positive values cause the descriptive label to be placed on the opposite side of the line to the default tick marks, while negative values cause it to be placed on the same side.

The NumLabGap value should be given as a fraction of the minimum dimension of the plotting area, the default value being +0.01.

Type:
Floating point.

Class Applicability:
Plot
All Plots have this attribute.

Notes:
  • If no axis is specified, (e.g. "NumLabGap" instead of "NumLabGap(2)"), then a "set" or "clear" operation will affect the attribute value of all the Plot axes, while a "get" or "test" operation will use just the NumLabGap(1) value.



next up previous
Next: PVj_m - FITS-WCS projection parameters
Up: AST Attribute Descriptions
Previous: NumLab(axis) - Draw numerical axis labels for a Plot?

AST A Library for Handling World Coordinate Systems in Astronomy
Starlink User Note 211
R.F. Warren-Smith & D.S. Berry
30th April 2003
E-mail:ussc@star.rl.ac.uk

Copyright (C) 2003 Central Laboratory of the Research Councils