 
 
 
 
 
 
Re: Transparent ContourPlot
- To: mathgroup at smc.vnet.net
- Subject: [mg123751] Re: Transparent ContourPlot
- From: Armand Tamzarian <mike.honeychurch at gmail.com>
- Date: Sat, 17 Dec 2011 02:46:31 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- References: <jcf8mi$716$1@smc.vnet.net>
On Dec 16, 10:05 pm, dg <davide.guari... at gmail.com> wrote:
> I have been trying to create a contour plot where the contour shading is 
transparent, so that I can draw gridlines and see them through the contours
. I can't seem to figure this one out....
>
> This produces a mess:
>
> ContourPlot[x y^2 + 2, {x, -2, 2}, {y, -2, 2}, PlotRange -> {-10, 10},
>   ContourShading -> {Orange, Opacity[0.5]}]
I'm guessing this might be what you want:
ContourPlot[x y^2 + 2, {x, -2, 2}, {y, -2, 2}, PlotRange -> {-10, 10},
  ContourShading -> {{Orange, Opacity[0.5]}}]
{Orange, Opacity[0.5]} are in a list to indicate they apply together.
Mike

