For example, a value of AST__CURRENT causes clipping to be performed in physical coordinates, while a value of AST__BASE would clip in graphical coordinates. Clipping may also be removed completely by giving a value of AST__NOFRAME. In this case any clipping bounds supplied (below) are ignored.
Only one clipping Frame may be active at a time. This routine will deactivate any previously-established clipping Frame before setting up new clipping limits.
The clipping produced by this routine is in addition to that specified by the Clip attribute which occurs at the edges of the plotting area established when the Plot is created (see AST_PLOT). The underlying graphics system may also impose further clipping.
When testing a graphical position for clipping, it is first transformed into the clipping Frame. The
resulting coordinate on each axis is then checked against the clipping limits (given by LBND and
UBND). By default, a position is clipped if any coordinate lies outside these limits. However, if a
non-zero value is assigned to the Plot
’ s ClipOp attribute, then a position is only clipped if the
coordinates on all axes lie outside their clipping limits.
If the lower clipping limit exceeds the upper limit for any axis, then the sense of clipping for that axis
is reversed (so that coordinate values lying between the limits are clipped instead of those lying
outside the limits). To produce a
" in a coordinate space (that is, an internal region where
nothing is plotted), you should supply all the bounds in reversed order, and set the ClipOp attribute
for the Plot to a non-zero value.
Either clipping limit may be set to the value AST__BAD, which is equivalent to setting it to infinity (or minus infinity for a lower bound) so that it is not used.
If a graphical position results in any bad coordinate values (AST__BAD) when transformed into the clipping Frame, then it is treated (for the purposes of producing graphical output) as if it were clipped.
An error results if the base Frame of the Plot is not 2-dimensional.