1
$\begingroup$

I have a code that works in Mathematica 9 but not in Mathematica 10 which is very annoying. I just get a blank plot in Mathematica 10 on Mac OSX El Capitan.

Below is the code:

h = x*z - y^2;
g =  Norm[{x, y, z}, 2];
ContourPlot3D[{h == 0, g == 1}, {x, -1, 1}, {y, -1, 1}, {z, -1, 
1},MeshFunctions -> {Function[{x, y, z, f}, h - g]},MeshStyle -> 
{{Thick, Blue}}, Mesh -> {1},ContourStyle -> {{Orange}, {Red, Opacity[0.5]}}]

Anything that I am doing wrong here?

$\endgroup$
  • $\begingroup$ works well in V10.3/4 Win7 $\endgroup$ – Kuba Jul 8 '16 at 17:42
  • $\begingroup$ I am using Mac OSX El Capitan. I am getting a blank plot. $\endgroup$ – Abdulrahman Kalbat Jul 8 '16 at 17:47
  • $\begingroup$ Works in version 10.4.1 under Win 10. $\endgroup$ – Karsten 7. Jul 8 '16 at 17:49
  • $\begingroup$ On Linux I'm getting blank plot unless I press to hold and rotate. This is a common occurrence with 3d plots on UNIX. $\endgroup$ – Feyre Jul 8 '16 at 17:49
  • 1
    $\begingroup$ Works fine on MM 10.4.1, OSX 10.10.5 $\endgroup$ – Michael Seifert Jul 8 '16 at 18:24

Your Answer

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

Browse other questions tagged or ask your own question.