OpacityFunction

OpacityFunction

is an option for graphics functions that specifies a function to apply to determine opacity of elements.

Details

Examples

Basic Examples  (3)

The Automatic setting attempts to create approximately 80% transparency in the volume:

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

Use None to get a fully opaque visualization:

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

Set opacity as a function of the scaled function value f:

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

See Also

OpacityFunctionScaling  ColorFunction  DensityPlot3D  ListDensityPlot3D

Introduced in 2015
(10.2)