I have data in X, Y, Z, C format where all are 3d matrix, and C is the amplitude of the measurement at coordinate (X,Y,Z). I'd like to show this data as a contour plot where the contour color represents the value C(amplitude). How may I do that in matlab?
The X,Y,Z data are generated from meshgrid.
[X, Y, Z]=meshgrid(xi,yi,zi);
C = griddata(x,y,z,v,X,Y,Z,'natural');