next up previous 264
Next: GrismAlpha - The angle of incidence of the incoming light on the grating surface
Up: AST Attribute Descriptions
Previous: Grf - Use Grf functions registered through astGrfSet?


Grid - Draw grid lines for a Plot?

Description:
This attribute controls the appearance of an annotated coordinate grid (drawn with the astGrid function) by determining whether grid lines (a grid of curves marking the "major" values on each axis) are drawn across the plotting area.

If the Grid value of a Plot is non-zero, then grid lines will be drawn. Otherwise, short tick marks on the axes are used to mark the major axis values. The default behaviour is to use tick marks if the entire plotting area is filled by valid physical coordinates, but to draw grid lines otherwise.

Type:
Integer (boolean).
Class Applicability:
Plot
All Plots have this attribute.
Notes:
  • The spacing between major axis values, which determines the spacing of grid lines, may be set using the Gap(axis) attribute.


next up previous 264
Next: GrismAlpha - The angle of incidence of the incoming light on the grating surface
Up: AST Attribute Descriptions
Previous: Grf - Use Grf functions registered through astGrfSet?

AST A Library for Handling World Coordinate Systems in Astronomy
Starlink User Note 211
R.F. Warren-Smith & D.S. Berry
7th December 2012
E-mail:starlink@jiscmail.ac.uk

Copyright (C) 2012 Science \& Technology Facilities Council