next up previous
Next: ID - Object identification string
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
Next: ID - Object identification string
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
30th April 2003
E-mail:ussc@star.rl.ac.uk

Copyright (C) 2003 Central Laboratory of the Research Councils