next up previous
Next: MatchEnd - Match trailing axes?
Up: AST Attribute Descriptions
Previous: LonAxis - Index of the longitude axis

   
MajTickLen(axis) - Length of major tick marks for a Plot

Description:
This attribute controls the appearance of an annotated coordinate grid (drawn with the AST_GRID routine) by determining the length of the major tick marks drawn on the axes of a Plot. It takes a separate value for each physical axis of the Plot so that, for instance, the setting "MajTickLen(2)=0" specifies the length of the major tick marks drawn on the second axis.

The MajTickLen value should be given as a fraction of the minimum dimension of the plotting area. Negative values cause major tick marks to be placed on the outside of the corresponding grid line or axis (but subject to any clipping imposed by the underlying graphics system), while positive values cause them to be placed on the inside.

The default behaviour depends on whether a coordinate grid is drawn inside the plotting area (see the Grid attribute). If so, the default MajTickLen value is zero (so that major ticks are not drawn), otherwise the default is +0.015.

Type:
Floating point.

Class Applicability:
Plot
All Plots have this attribute.

Notes:
  • If no axis is specified, (e.g. "MajTickLen" instead of "MajTickLen(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 MajTickLen(1) value.



next up previous
Next: MatchEnd - Match trailing axes?
Up: AST Attribute Descriptions
Previous: LonAxis - Index of the longitude axis

AST A Library for Handling World Coordinate Systems in Astronomy
Starlink User Note 210
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