next up previous 264
Next: AST_BOX - Create a Box
Up: AST Routine Descriptions
Previous: AST_BORDER - Draw a border around valid regions of a Plot


AST_BOUNDINGBOX - Return a bounding box for previously drawn graphics

Description:
This routine returns the bounds of a box which just encompasess the graphics produced by the previous call to any of the Plot methods which produce graphical output. If no such previous call has yet been made, or if the call failed for any reason, then the bounding box returned by this routine is undefined.
Invocation:
CALL AST_BOUNDINGBOX( THIS, LBND, UBND, STATUS )
Arguments:
THIS = INTEGER (Given)
Pointer to the Plot.
LBND( 2 ) = REAL (Returned)
A two element array in which is returned the lower limits of the bounding box on each of the two axes of the graphics coordinate system (the base Frame of the Plot).
UBND( 2 ) = REAL (Returned)
A two element array in which is returned the upper limits of the bounding box on each of the two axes of the graphics coordinate system (the base Frame of the Plot).
STATUS = INTEGER (Given and Returned)
The global status.
Notes:
  • An error results if the base Frame of the Plot is not 2-dimensional.


next up previous 264
Next: AST_BOX - Create a Box
Up: AST Routine Descriptions
Previous: AST_BORDER - Draw a border around valid regions of a Plot

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

Copyright (C) 2009 Science \& Technology Facilities Council