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.

Details

  • ClippingStyle can be used not only for functions such as Plot3D and ArrayPlot, but also for functions such as Plot and ListLinePlot.
  • ClippingStyle is also used in functions such as VectorPlot to style vectors whose magnitudes are outside the range given by VectorRange.
  • 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,].

Examples

open allclose all

Basic Examples  (3)

Use different styles for the clipped parts of a surface:

Use different styles for the clipped parts of a curve:

Use different styles at the top and bottom:

Scope  (4)

Use different styles for the clipped parts of a density:

Use different styles for clipped contour regions:

Use different styles for clipped array values:

Control the appearance of vectors with magnitudes outside a given range:

Wolfram Research (2007), ClippingStyle, Wolfram Language function, https://reference.wolfram.com/language/ref/ClippingStyle.html (updated 2020).

Text

Wolfram Research (2007), ClippingStyle, Wolfram Language function, https://reference.wolfram.com/language/ref/ClippingStyle.html (updated 2020).

CMS

Wolfram Language. 2007. "ClippingStyle." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2020. https://reference.wolfram.com/language/ref/ClippingStyle.html.

APA

Wolfram Language. (2007). ClippingStyle. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ClippingStyle.html

BibTeX

@misc{reference.wolfram_2024_clippingstyle, author="Wolfram Research", title="{ClippingStyle}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/ClippingStyle.html}", note=[Accessed: 07-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_clippingstyle, organization={Wolfram Research}, title={ClippingStyle}, year={2020}, url={https://reference.wolfram.com/language/ref/ClippingStyle.html}, note=[Accessed: 07-December-2024 ]}