How to | Add Transparency to Plots
Transparency is useful in plots when you need an unobstructed view of multiple components of one plot, or simply want to lighten a single plot component against a white background. Mathematica uses the graphics directive Opacity to apply transparency to graphics objects. Opacity can be used with most visualization functions.
Here is a 2D plot:
| Out[50]= |  |
Use the PlotStyle option with Opacity to make the plot 70% transparent:
| Out[51]= |  |
Here is a 3D plot:
| Out[1]= |  |
Make the plot 60% transparent:
| Out[2]= |  |
Add different transparency settings for plots of multiple functions:
| Out[54]= |  |
Here is a 2D region determined by two inequalities:
| Out[55]= |  |
Make the plot 50% transparent:
| Out[56]= |  |
Use Opacity to see the inner parts of a plot:
| Out[4]= |  |
Use the ContourStyle option of ContourPlot3D with Opacity:
| Out[5]= |  |
You can also add transparency to graphics.
Make a 75% transparent disk:
| Out[21]= |  |
Opacity can have values between 0 and 1, with 0 corresponding to perfect transparency:
| Out[42]= |  |
Use Opacity with a color:
| Out[41]= |  |
Opacity interacts well with other Mathematica functions: