4
$\begingroup$

Save your work before attempting: Could someone confirm what looks like a bug (definitely occurs in v10 and OSX 10.8.5):

In the documentation for Background and under Neat Examples, the following snippet

ContourPlot3D[x^4 + y^4 + z^4 - (x^2 + y^2 + z^2) == -1/2, {x, -1, 1}, {y, -1, 
  1}, {z, -1, 1}, Mesh -> 15, MeshFunctions -> {#1^2 + #2^2 + #3^2 &},
  MeshShading -> {None, Directive[Blue, Specularity[White, 50]], None,
    Directive[Yellow, Specularity[White, 50]]}, PlotPoints -> 35, 
 MeshStyle -> Opacity[.3], Axes -> False, Boxed -> False, 
 Background -> GrayLevel[.1]]

is found. Evaluating it on my system, crashes my Kernel. Is it a bug or..? without any options, it evaluates fine:

ContourPlot3D[x^4 + y^4 + z^4 - (x^2 + y^2 + z^2) == -1/2, {x, -1, 1}, {y, -1, 
      1}, {z, -1, 1}]

and with the option Mesh->15 Mathematica becomes unresponsive and requires a restart:

ContourPlot3D[x^4 + y^4 + z^4 - (x^2 + y^2 + z^2) == -1/2, {x, -1, 1}, {y, -1, 
       1}, {z, -1, 1}, Mesh->15]
$\endgroup$
  • $\begingroup$ I cannot reproduce this error in v9 on Windows, which is the only version I have access to at the moment. $\endgroup$ – bobthechemist Feb 26 '15 at 17:23
  • 1
    $\begingroup$ Confirmed (v10.0.2 & v9, OSX10.9.5). The problem is None value in MeshShading. For example MeshShadind->{Red,Blue,Yellow} works but not MeshShadind->{Red,None,Yellow}. $\endgroup$ – SquareOne Feb 26 '15 at 17:37
  • $\begingroup$ And no problem concerning your last example with Mesh->15 (even Mesh->50 works for me). $\endgroup$ – SquareOne Feb 26 '15 at 17:40
  • $\begingroup$ @SquareOne After evaluating the code once, without any Nones in MeshShading as you suggested, it works with Mesh-> anything. Odd... $\endgroup$ – gpap Feb 26 '15 at 17:43
  • 1
    $\begingroup$ Confirmed for me on OS X 10.10.2 $\endgroup$ – Mike Honeychurch Feb 26 '15 at 22:21
3
$\begingroup$

This was not acknowledged (yet) by Wolfram but appears to have been fixed on version 10.2.0.0

$\endgroup$
  • $\begingroup$ It also does not crash on Win7x64 MMA 10.1 $\endgroup$ – LLlAMnYP Jul 31 '15 at 14:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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