Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: Problem with RegionFunction

  • To: mathgroup at smc.vnet.net
  • Subject: [mg88084] Re: Problem with RegionFunction
  • From: zac <replicatorzed at gmail.com>
  • Date: Thu, 24 Apr 2008 05:56:23 -0400 (EDT)
  • References: <fukern$s4l$1@smc.vnet.net> <fumqti$sc8$1@smc.vnet.net>

Thank you for the answers.

I understand that the case where x=0 and y=0 is undefined, but I don't
understand why does Mathematica compute this case when ranges are
given explicitely to avoid such situations? Why do I have to define
the regionfunction to exclude x=0 and y=0 (as Fred suggested it)? Is
it not trivial to exclude these as the PlotRange dictates it? Why is
it that the problem does not surface when I omit the Manipulate[...]
wrap?
Istvan



On Apr 23, 10:10 am, Jens-Peer Kuska <ku... at informatik.uni-leipzig.de>
wrote:
> Hi,
>
> try
>
> Manipulate[
>   Plot3D[Sin[x]*Cos[y], {x, 1, 10}, {y, 2, 10},
>    RegionFunction -> Function[{x, y}, 45 <= (y^x)],
>    Exclusions -> x == 0], {dummy, {True, False}}]
>
> because y^x for x==0 and y==0 is undefined.
>
> Regards
>    Jens


  • Prev by Date: Re: need help with Plot
  • Next by Date: Re: Create array of data files
  • Previous by thread: Re: Problem with RegionFunction
  • Next by thread: Re: Re: Problem with RegionFunction