MathGroup Archive 2000

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

Search the Archive

Re: ContourPlot doesn't work properly?

  • To: mathgroup at
  • Subject: [mg23848] Re: [mg23829] ContourPlot doesn't work properly?
  • From: BobHanlon at
  • Date: Mon, 12 Jun 2000 01:17:38 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

In a message dated 6/10/2000 3:31:49 AM, higra at writes:

>Let's take a common function like y=Exp[x]
>If I try to make a picture of this function in an implicit way with 
>ContourPlot in the form
>with the option PlotPoints->30 in order to have a more precise picture
>I obtain an error message:
>    ContourGraphics::ctpnt:
>    The contour is attempting to traverse a cell in which some of the
>    points have not evaluated to numbers, and it will be dropped.
>and no picture.
>But if I let the option PlotPoints his default value the message is the
>same, but now the picture is drawn.
>Could anyone explain what happens?

With the default value it is more tolerant of errors and draws whatever it 

You need to avoid specifying a region where Log[y] is complex. Use

ContourPlot[Log[y] - x, {x, -10, 10}, {y, 0.000001, 10}, 
PlotPoints -> 30, Contours -> {0}, ContourShading -> False];


BobHanlon at

  • Prev by Date: Re: Re: joining lists.
  • Next by Date: ListCorrelate applied to the Dow Jones
  • Previous by thread: ContourPlot doesn't work properly?
  • Next by thread: Re: ContourPlot doesn't work properly?