FillingStyle

FillingStyle
is an option for ListPlot, Plot, Plot3D, and related functions that specifies the default style of filling to be used.

DetailsDetails

  • FillingStyle->g specifies that all filling should be done by default with the specified graphics directive.
  • Possible directives include Opacity, Hue, and in the case of ListPlot also Thickness and Dashing.
  • Directives can be combined using Directive[g1,g2,].
  • FillingStyle->{g-,g+} specifies that the filling should be done with when a point, curve or surface lies below the object being filled to, and with when it lies above.
  • Settings of the form for Filling can be used to override the default style specified by FillingStyle.

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

Set an explicit FillingStyle:

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

Use automatic filling styles:

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

Use automatic filling style together with a ColorFunction:

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