next up previous
Next: AST_GRIDLINE - Draw a grid line (or axis) for a Plot
Up: AST Routine Descriptions
Previous: AST_GRFSET - Register a graphics routine for use by a Plot

AST_GRID - Draw a set of labelled coordinate axes   

Description:
This routine draws a complete annotated set of 2-dimensional coordinate axes for a Plot with (optionally) a coordinate grid superimposed. Details of the axes and grid can be controlled by setting values for the various attributes defined by the Plot class (q.v.).

Invocation:
CALL AST_GRID( THIS, STATUS )

Arguments:
THIS = INTEGER (Given)
Pointer to the Plot.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:
  • An error results if either the current Frame or the base Frame of the Plot is not 2-dimensional.
  • An error also results if the transformation between the base and current Frames of the Plot is not defined in either direction (i.e. the Plot's TranForward or TranInverse attribute is zero).



next up previous
Next: AST_GRIDLINE - Draw a grid line (or axis) for a Plot
Up: AST Routine Descriptions
Previous: AST_GRFSET - Register a graphics routine for use by a Plot

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