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: Using ContourPlot when between x and y variables there is a constriant

  • To: mathgroup at smc.vnet.net
  • Subject: [mg69370] Re: [mg69353] Using ContourPlot when between x and y variables there is a constriant
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Sat, 9 Sep 2006 03:26:49 -0400 (EDT)
  • Reply-to: hanlonr at cox.net

ContourPlot[Sin[x*y], {x, -5, 5}, {y, -5, 5},
    ContourLines->False,PlotPoints->40];

ContourPlot[Sin[x*y]*Boole[x>2y], 
    {x, -5, 5}, {y, -5, 5},
    ContourLines->False,PlotPoints->40];


Bob Hanlon

---- "diego.aristizabal" <daristi at gmail.com> wrote: 
> Hi,
> 
> I have a problem with the command ContourPlot. The point is that I want
> to contour plot a function which is real defined only for x>2y. In
> other words what I want to plot is something like this:
> ContourPlot[f(x,y),{x,xmin,xmax},{y,2*x,xmax}]. The problem is that
> Mathematica does not understand the lower bound on y when specified as
> 2*x. I appreciate some help.
> 
> Diego.
> 


  • Prev by Date: Dot Product in Cylindrical Coordinates
  • Next by Date: Re: Fit rectangle to set of points
  • Previous by thread: Using ContourPlot when between x and y variables there is a constriant
  • Next by thread: Integration or Evaluation Bug