next up previous 264
Next: MapLocked - Prevent new entries being added to a KeyMap?
Up: AST Attribute Descriptions
Previous: LutInterp - Look-up table interpolation method


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

Description:
This attribute controls the appearance of an annotated coordinate grid (drawn with the astGrid function) 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 264
Next: MapLocked - Prevent new entries being added to a KeyMap?
Up: AST Attribute Descriptions
Previous: LutInterp - Look-up table interpolation method

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

Copyright (C) 2009 Science \& Technology Facilities Council