ClippingStyle

ClippingStyle
is an option for plotting functions that specifies the style of what should be drawn when curves or surfaces would extend beyond the plot range.

DetailsDetails

  • ClippingStyle can be used not only for functions such as Plot3D and ArrayPlot, but also for functions such as Plot and ListLinePlot.
  • Possible settings are:
  • Automaticshow clipped areas using a default style
    Noneleave gaps where the curve or surface would be clipped
    gshow all clipped areas using graphics directive g
    {gmin,gmax}use different directives for upper and lower clipped areas
  • Each directive specified should be a color directive such as RGBColor or Hue, or a named color such as Red or Blue. The directives can also include Opacity.
  • In cases where regions defined by ClippingStyle are surfaces, directives such as EdgeForm, FaceForm and Specularity can be used.
  • When the regions defined by ClippingStyle are lines, directives such as Thickness and Dashing can also be used.
  • Directives can be combined using Directive[g1,g2,].

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

Use different styles for the clipped parts of a surface:

In[1]:=
Click for copyable input
Out[1]=

Use different styles for the clipped parts of a curve:

In[1]:=
Click for copyable input
Out[1]=

Use different styles at the top and bottom:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Introduced in 2007
(6.0)