Is there some way of using the surf()
style data format to create a heat map?
I have a bunch of scattered data of the form z=f(x,y)
(so I used TriScatteredInterp
to make it work with meshgrid
) and I'd like to visualize z
with a heat map. surf
already does something similar to what I want, except you have to manually rotate the graph so the view is top down looking at the XY plane.
Basically, I'd like something similar to this:
But surf gives you this by default:
pcolor
. Didn't know about that function. Thanks! – Stockist