CLIP changes the clipping rectangle. Lines, areas and labels are clipped so that portions outside the clipping rectangle are not displayed. The PLOTTER IS statement sets the clipping rectangle to the hard-clip limits (which are the user specified values or the maximum allowed by the device or page size). The VIEWPORT statement sets the clipping rectangle to the edge of the VIEWPORT.
When values are specified with the CLIP statement, the clipping rectangle is set to the values specified. The units used are WINDOW (or SHOW) units, not VIEWPORT units.
The CLIP OFF statement sets the clipping rectangle back to the hard-clip limits. The CLIP ON statement restores the clipping rectangle to the last clipping rectangle set up by CLIP or VIEWPORT. If no CLIP or VIEWPORT has been executed, CLIP ON sets the clipping rectangle to the hard-clip limits.
Execute CLIP to add labels, comments, graphics or any other plotting that is to be done outside the VIEWPORT (assuming the VIEWPORT is less than the hard-clip limits).