Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

7
  • 1
    $\begingroup$ Why don't you just write the body of the Function in the Function? Then you don't need the Module at all. $\endgroup$ Commented Apr 20 at 6:11
  • 1
    $\begingroup$ RegionFunction -> Function[{x, y}, z > 0] is wrong syntax. "Function" has the attribute "HoldAll". Therefore, z is not evaluated. You either need: Function[{x, y},x+y > 0] or Function[{x, y}, Evaluateüz > 0] $\endgroup$ Commented Apr 20 at 7:31
  • $\begingroup$ @lericr thank you but how to do that $\endgroup$ Commented Apr 20 at 7:35
  • $\begingroup$ @DanielHuber thank you but how to rewrite my RegionFunction $\endgroup$ Commented Apr 20 at 7:35
  • 1
    $\begingroup$ Strongly related: mathematica.stackexchange.com/q/302595/1871 $\endgroup$ Commented Apr 24 at 5:58