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.
>