Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: level curve selection

  • To: mathgroup at smc.vnet.net
  • Subject: [mg66511] Re: level curve selection
  • From: Bill Rowe <readnewsciv at earthlink.net>
  • Date: Wed, 17 May 2006 03:30:25 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

On 5/15/06 at 11:48 PM, chris at chiasson.name (Chris Chiasson) wrote:

>Did you try that?

Actually, no since what I proposed seemed the obvious way.

>(Mathematica colors the background of the second
>plot white, so showing them both overwrites the contours of the
>first plot with white.

Hmm.. this isn't the result I get For example try

In[15]:=
Show[Block[{$DisplayFunction = Identity}, 
    {ContourPlot[Sin[x*y], {x, -5, 5}, {y, -5, 5}, 
      ContourShading -> False, PlotPoints -> 50], 
     ContourPlot[Sin[x*y], {x, -5, 5}, {y, -5, 5}, 
      ContourShading -> False, Contours -> {0}, 
      ContourStyle -> Red, PlotPoints -> 50]}]]; 

This results in a graphic with a multitude of black lines and considerably fewer red lines. The default number of contour lines makes this graphic rather difficult to interpret. So, I would use

In[14]:=
Show[Block[{$DisplayFunction = Identity}, 
    {ContourPlot[Sin[x*y], {x, -5, 5}, {y, -5, 5}, 
      ContourLines -> False, PlotPoints -> 50], 
     ContourPlot[Sin[x*y], {x, -5, 5}, {y, -5, 5}, 
      ContourShading -> False, Contours -> {0}, 
      ContourStyle -> Red, PlotPoints -> 50]}]];
      
which superimposes red contours = 0 over the shaded graphic.

But regardless of your preferences in graphics, I am seeing contours from both contour plots using

In[16]:=
$Version

Out[16]=
5.2 for Mac OS X (June 20, 2005)
--
To reply via email subtract one hundred and four


  • Prev by Date: NonlinearFit problem
  • Next by Date: Re: Reconstructing data points from a InterpolatingFunction object
  • Previous by thread: RE: Re: Re: level curve selection
  • Next by thread: Re: Re: level curve selection