Bug introduced in 11.0 and persisting through 11.1

Running the code:

c1 = 3*^-20;
c2 = 0.8*^-2;
c3 = 5*^16;
a = 1*^-9;

Plot3D[(c1 + c2 q^2) (1 - Cos[2 Pi (x - q)/a]) + (c3 q^4), {x, 0, 
  5*^-8}, {q, 0, 1*^-9}, PlotPoints -> 100]

results in the plot

enter image description here

that is to say, a plot that is missing colour, or rather it colours everything black, the Roling stones style. Running the same code on my windows machine, the plot becomes coloured. My linux machine runs mathematica 11, my windows mathematica 10.

Any ideas what might cause this behaviour and more importantly how to fix it?


  • $\begingroup$ The bug tag has to be added by someone else if a bug is confirmed. I cannot reproduce the issue on debian. You could try downloading proprietary software for your graphics card. $\endgroup$
    – Feyre
    Feb 22, 2017 at 14:40
  • 2
    $\begingroup$ Confirmed bug. It has to do with the size of the inputs. If you rescale it away from the nearly machine limit sized numbers then it is fine. Oh, and I can reproduce this on a mac. $\endgroup$
    – rcollyer
    Feb 22, 2017 at 14:48
  • 1
    $\begingroup$ I can't reproduce the lack of color on MMA 11.0.1 and Win7-64 with the code provided; this is what I get. $\endgroup$
    – MarcoB
    Feb 22, 2017 at 15:54
  • $\begingroup$ Thanks for the comments, I'll look into the rescaling! $\endgroup$ Feb 22, 2017 at 19:17
  • $\begingroup$ Has any one solved this one? I have the same issue $\endgroup$
    – David Vega
    Oct 17, 2017 at 2:39


Your Answer

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

Browse other questions tagged or ask your own question.