Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #7278 > unrolled thread
| Started by | dg <davide.guarisco@gmail.com> |
|---|---|
| First post | 2011-12-16 11:05 +0000 |
| Last post | 2011-12-17 07:50 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
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
| From | dg <davide.guarisco@gmail.com> |
|---|---|
| Date | 2011-12-16 11:05 +0000 |
| Subject | Transparent ContourPlot |
| Message-ID | <jcf8mi$716$1@smc.vnet.net> |
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]}]
[toc] | [next] | [standalone]
| From | Armand Tamzarian <mike.honeychurch@gmail.com> |
|---|---|
| Date | 2011-12-17 07:50 +0000 |
| Message-ID | <jchhkf$ij6$1@smc.vnet.net> |
| In reply to | #7278 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web