set clip
set clip xlo xhi ylo yhi
This command sets the coordinates for clipping the plot area for display and draw commands. The four arguments xlo, xhi, ylo, yhi
are the clipping coordinates in real page inches.
Usage Notes
-
The default clipping region is the area specified by the
set parea
command.set clip
overrides this default.
-
Every time a
display
command is executed, grads sets the clipping area to the region specified byset parea
orset clip
, draws the graphic, then resets the clipping region to the entire page.
-
The clipping region is reset to the default by entering
clear
ordisplay
.