I have a 3D matrix (i.e., grid) (x,y,z)
, each of which has a value f
. Let's assume that the grid is bounded, i.e., the matrix forms a cubic lattice.
I want to plot it as a heatmap (or surface), like this surface. In MATLAB, there is a function called pcolor3 which can efficiently do this.
Is there a way of doing this using matplotlib?
EDIT: Or can any python package solve this problem? (still hoping for a matplotlib workaround)