MathGroup Archive 2008

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

Search the Archive

Re: Problem with RegionFunction

  • To: mathgroup at smc.vnet.net
  • Subject: [mg88056] Re: Problem with RegionFunction
  • From: "Fred Klingener" <gigabitbucket at gmail.com>
  • Date: Wed, 23 Apr 2008 04:07:59 -0400 (EDT)
  • References: <fukern$s4l$1@smc.vnet.net>
  • Reply-to: "Fred Klingener" <gigabitbucket at gmail.com>

"zac" <replicatorzed at gmail.com> wrote in message 
news:fukern$s4l$1 at smc.vnet.net...
> Dear Group,
>
> any idea what is the problem with the output of this Manipulate?
>
> Manipulate[
> Plot3D[Sin[x]*Cos[y],{x,1,10},{y,2,10},RegionFunction->Function[{x,y},
> 45<=(y^x)]]
> ,{dummy,{True,False}}]

The error I get (in XP, 6.0.1) relates to the 0^0 in the RegionFunction 
specification.

Try:

Manipulate[
Plot3D[Sin[x]*Cos[y], {x, 1, 10}, {y, 2, 10},
RegionFunction ->
Function[{x, y}

, x >= 1
&& y >= 2
&& 45 <= (y^x)

]], {dummy, {True, False}}]

Hth,
Fred Klingener 



  • Prev by Date: Re: waveform
  • Next by Date: Re: Column Product of a Matrix of zeros and 1's
  • Previous by thread: Problem with RegionFunction
  • Next by thread: Re: Problem with RegionFunction