MathGroup Archive 2012

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

Search the Archive

ContourPlot non rectangular evaluation?

  • To: mathgroup at
  • Subject: [mg127833] ContourPlot non rectangular evaluation?
  • From: Sam McDermott <samwell187 at>
  • Date: Sat, 25 Aug 2012 04:26:41 -0400 (EDT)
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:


I'd like to make a plot of level curves of a function, but this function becomes singular and passes from infinity to negative infinity, which really uglifies the plot. It is easy for me to identify where the function becomes singular (i.e., when the denominator becomes 0!), but I'm having trouble telling Mathematica to stop evaluating before then, because this singularity is sensitive to both of the variables on the axes of my ContourPlot. Is there a simple way of telling Mathematica where to stop?

In other words,  I have some function


and I can numerically find the zeroes of g[x,y]. Can I make a ContourPlot such that


does not evaluate below the curve



I think I'm basically looking for some way of setting assumptions of evaluating an "If" conditional inside of ContourPlot but can't find a good way of doing it. Any help would be much appreciated!

Thanks very much for your time!


  • Prev by Date: Re: Find the value of x & y
  • Next by Date: Re: How Expand?
  • Previous by thread: compile fct. output as table with elem. of unequal length (vrs. 8.01)
  • Next by thread: Re: ContourPlot non rectangular evaluation?