MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Transparent ContourPlot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg123734] Re: Transparent ContourPlot
  • From: Bob Hanlon <hanlonr357 at gmail.com>
  • Date: Sat, 17 Dec 2011 02:40:37 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201112161052.FAA06915@smc.vnet.net>

Perhaps you want Mesh

ContourPlot[x y^2 + 2, {x, -2, 2}, {y, -2, 2},
 PlotRange -> {-10, 10},
 Mesh -> 7,
 MeshFunctions -> {#1 &, #2 &},
 Axes -> False,
 ColorFunction -> (Lighter[Orange, #] &)]


Bob Hanlon

On Fri, Dec 16, 2011 at 5:52 AM, dg <davide.guarisco 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]}]
>



--
Bob Hanlon



  • Prev by Date: Re: NMinimize problem: fct minimized uses FindRoot
  • Next by Date: Re: reliably sort?
  • Previous by thread: Transparent ContourPlot
  • Next by thread: Re: Transparent ContourPlot