Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #7308

Re: Transparent ContourPlot

From Armand Tamzarian <mike.honeychurch@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Transparent ContourPlot
Date 2011-12-17 07:50 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jchhkf$ij6$1@smc.vnet.net> (permalink)
References <jcf8mi$716$1@smc.vnet.net>

Show all headers | View raw


On Dec 16, 10:05 pm, dg <davide.guari...@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

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Transparent ContourPlot dg <davide.guarisco@gmail.com> - 2011-12-16 11:05 +0000
  Re: Transparent ContourPlot Armand Tamzarian <mike.honeychurch@gmail.com> - 2011-12-17 07:50 +0000

csiph-web