This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.

# Filling

 Fillingis an option for ListPlot, Plot, Plot3D, and related functions that specifies what filling to add under points, curves, and surfaces.
• The following settings can be used:
 None no filling (default) Axis fill to the axis Bottom fill to the bottom of the plot Top fill to the top of the plot v fill to value v {m} fill to the m object {i1->p1,i2->p2,...} fill from object to {i1->{p1,g1},...} use directive for the k filling {i1->{p1,{g1-,g1+},...}} use below and above
• For 2D graphics, filling is done in the y direction.
• For 3D graphics, filling is done in the z direction, and on the bounding xy plane.
• In ListPlot, filling effectively draws a "stem" to every point.
• For multiple curves, surfaces or lists of points, Filling->p is equivalent to Filling.
• In filling between lists of points that do not line up, the "stems" start at points in the first list, and extend to positions that linearly interpolate between points in the second list. »
• By default, the style specified by the setting for FillingStyle is used for all filling.
• Settings of the form can be used to override the default in particular cases.
• specifies that style should be used when lies below , and when it lies above.
• The and can be composite directives specified with Directive.
Fill to different levels:
Fill multiple curves:
Fill for a point-oriented plot:
Fill for a surface-oriented plot:
Fill to different levels:
 Out[1]=

Fill multiple curves:
 Out[1]=

Fill for a point-oriented plot:
 Out[1]=

Fill for a surface-oriented plot:
 Out[1]=
 Scope   (14)
Fill to different levels:
Overlapping fills by default combine using opacity:
Fill between curve 1 and the axis:
Fill between curves 1 and 2:
Fill between curves 1 and 2 with a specific style:
Fill between curves 1 and with yellow:
Fill between curves 1 and 2; use yellow when 1 is below 2, and green when 1 is above 2:
Use an overall FillingStyle specification:
Fill with opacity 0.5 orange:
Fill with orange below the axis, and yellow above:
Use a variable filling style obtained from a ColorFunction:
Point-oriented plot functions will fill using a stem:
Line-oriented plot functions will fill using an area:
Surface-oriented plot functions will fill along the boundary:
 Applications   (2)
Here styles indicate where the function differs from its step approximation:
Difference between the function and its linear approximation:
The Factorial function compared to an asymptotic expansion:
Eigenfunctions in a potential well:
New in 6