## Clip

Syntax:

         set clip {points|one|two}
         unset clip {points|one|two}
         show clip

Default state:

         unset clip points
         set clip one
         unset clip two

Data points whose center lies inside the plot boundaries are normally drawn even if the finite size of the point symbol causes it to extend past a boundary line. set clip points causes such points to be clipped (i.e. not drawn) even though the point center is inside the boundaries of a 2D plot. Data points whose center lies outside the plot boundaries are never drawn.

Normally a line segment in a plot is not drawn if either end of the segment lies outside the plot boundaries (i.e. xrange and yrange). set clip one causes gnuplot to draw also the in-range portion of line segments with one endpoint out of range. set clip two causes gnuplot to draw also the in-range portion of line segments with both endpoints out of range. Line segments that lie entirely outside the plot boundaries are never drawn.

Notes:

* set clip affects only points and lines produced by plot styles lines, linespoints, points, and vectors.

* Clipping of colored quadrangles drawn for pm3d maps and surfaces is controlled set pm3d clip1in and set pm3d clip4in.

* Object clipping is controlled by the {clip3#3noclip} property of the individual object.