Visualizing the Plot3D axis labels on a RaspberryPi?

When I do any 3D plots, the axis labels show up as unreadable gray squares. For instance:

Plot3D[Sin[x+y^2],{x,-3,3},{y,-2,2}]

2D plots look fine, so it’s only the 3D stuff that’s affected. I’ve tried changing fonts with the FrameStyle command but no change. I’m running Mathematica 10.3.1 on Raspbian 4.1.19. Everything is as up to date as I can make it.

Does anyone know what’s going on? I searched the Web for others with this problem but I seem to be the only one.

Thanks for any help.

I cannot imagine how this would happen.

Most likely, this is some very strange configuration in your preferences. I recommend clearing that out. Please see this article on doing that:

This is due to the Raspberry Pi using 16-bit color depth by default, try using 24-bit color.

Thanks for the reply Sean, but this didn’t help. Knowing how to clear Mma preferences may be useful in the future though, so thanks for that.

Ilian, you’re a genius! Changing to 24-bit color depth fixed the problem and I now have axis labels in 3D plots. I can’t believe that more people haven’t run across this since I was running a completely stock configuration. I hope this thread will save someone else the same frustration.

Thanks for bringing the issue up. I have seen it myself but since the 3D graphics performance still needs some tweaking, I haven’t bothered debugging. Glad to hear that the 16-24 bit color fix is an easy one to implement.