next up previous 530
Next: Grid - Draw grid lines?
Up: Descriptions of Plotting Attributes
Previous: Font(element) - Character fount for a plot element


Gap(axis) - Interval between major axis values

Description:
This attribute controls the appearance of annotated axes by determining the interval between the major axis values at which (for example) major tick marks are drawn. It takes a separate value for each physical axis so that, for instance, the setting Gap(2)=3.0  specifies the interval between major values along the second axis.

The Gap value supplied will usually be rounded to the nearest `nice' value, suitable (e.g.) for generating axis labels, before use. To avoid this `nicing' you should set an explicit format for the axis using the Format(axis)  or Digits/Digits(axis)  attribute. The default behaviour is for the application to generate its own Gap value when required, based on the range of axis values to be represented.


Type:
Floating point.

Notes:
  • The Gap value should use the same units as are used internally for storing co-ordinate values on the corresponding axis. For example, with a celestial co-ordinate system, the Gap value should be in radians, not hours or degrees.

  • If no axis is specified, (e.g. Gap instead of Gap(2)), then both axes are affected.




next up previous 530
Next: Grid - Draw grid lines?
Up: Descriptions of Plotting Attributes
Previous: Font(element) - Character fount for a plot element

KAPPA --- Kernel Application Package
Starlink User Note 95
Malcolm J. Currie & David S. Berry
2010 February 26
E-mail:ussc@star.rl.ac.uk

Copyright © 2010 Science and Technology Facilities Council