I have a need to visualize a 2d numpy array in python. Not a contour plot, not a surface plot. Plot a point on a z axis for every (x,y) element in the 3d array. My data is a 1024 x 1024 array, but I suppose I could decimate it if I had to. I need to be able to rotate the plot with mouse drags to see it from different perspectives.
Matplotlib cannot do this, even for a 100 x 100 array. It is much much too slow. A 100 x 100 array takes two or three seconds to redraw after dragging. 1024 x 1024 is out of the question.
mlab from Mayavi seems to have this capability, but the simplest trial crashes on my system with wx errors. As far as I can tell, packages that provide fast interactive rotation (e.g. VTK) are focused on rendering complex 3d shapes, and don't provide a simple API for plotting data.
Can you suggest options?
My current setup:
OS X 10.11.4
python 1.7.11
numpy 1.11.0
matplotlib 1.5.1
mayavi 4.4.0
wx 3.0.0.0