0
$\begingroup$

Mathematica (12.0.0 or 12.3.0) crashes and kernel quits on my computer (Win 10) when I try the simple exercise of plotting over a region (taken from this Wolfram page):

Plot3D[x y, {x, y} \[Element] 
Disk[{0, 0}, 1], ImageSize -> 
500, 
PlotTheme -> "Web"]

A similar problem happens when I work with StreamPlot over a Disk region.

Any advice on how to stop this from happening?

$\endgroup$
2
  • $\begingroup$ Plot3D[x y, {x, -1, 1}, {y, -1, 1}, ImageSize -> 500, RegionFunction -> Function[{x, y}, x^2 + y^2 <= 1], PlotPoints -> 80, PlotTheme -> "Web"] $\endgroup$
    – cvgmt
    Jul 31, 2021 at 0:52
  • $\begingroup$ @cvgmt many thanks. Your method works! Any ideas on why the original code didn't work? I even upgraded to version 12.3 but it still doesn't like it $\endgroup$
    – user135626
    Jul 31, 2021 at 1:14

1 Answer 1

1
$\begingroup$

works in 12.3.1

Plot3D[x y, {x, y} \[Element] Disk[{0, 0}, 1], ImageSize -> 500, PlotTheme -> "Web"]

enter image description here

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.