next up previous 278
Next: KPG1_ASGRP - Reads spatial positions from a GRP group
Up: Routine Descriptions
Previous: KPG1_ASGFW - Writes a line of an AST Object description to a GRP group


KPG1_ASGRD - Draws a border or an annotated co-ordinate grid over an AST Plot

Description:
This routine call AST_BORDER to draw a border, or AST_GRID to draw an annotated co-ordinate Grid over the supplied Plot. The current pgplot viewport can optionally be extended prior to drawing the grid so that it covers a specified AGI picture. If the pgplot viewport is left matching the plotting area supplied when the Plot was created, then certain component of the grid (i.e. exterior tick marks), are clipped by pgplot. To avoid this, IPIC should normally be given as the AGI identifier for the FRAME picture containing the plot.

Invocation:
CALL KPG1_ASGRD( IPLOT, IPIC, GRID, STATUS )

Arguments:

IPLOT = INTEGER (Given)
An AST pointer to the Plot.
IPIC = INTEGER (Given)
An AGI identifier for the FRAME picture. Supply this as -1 if the current pgplot viewport is not to be changed.
GRID = LOGICAL (Read)
Draw a grid using AST_GRID? If .FALSE. then a border only is drawn (using AST_BORDER).
STATUS = INTEGER (Given and Returned)
The global status.

Notes:



next up previous 278
Next: KPG1_ASGRP - Reads spatial positions from a GRP group
Up: Routine Descriptions
Previous: KPG1_ASGFW - Writes a line of an AST Object description to a GRP group

KAPLIBS -- Internal subroutines used within the KAPPA package.
Starlink User Note 238
D.S. Berry
Malcolm J. Currie
2011 April 12
E-mail:starlink@jiscmail.ac.uk

Copyright © 2013 Science and Technology Facilities Council