I have a data set consisting of xcoord, ycoord, and density in vectors, exported from Fluent. I would like to be able to view the data as an m x n matrix, rather than as a surface plot, surf(X,Y,Z), so that I can access specific elements of that matrix directly. (i.e., I would like to be able to say density(ii,jj) = ….). I've tried many methods for doing this, and all have resulted in a skewed looking plot.
MATLAB: Convert from XYZ surface plot to just Z surface plot
2d3dgriddataMATLABmeshgridsurf
Related Question
- I am trying to create a surface plot with nested loops and am getting the error “Z must be a matrix, not a scalar or vector.”
- How to truncate a prolate spheroid
- How to plot 2 surf plots in the same figure
- How to plot x^2+z^2=9 above the xy plane and between y=-1 and y=2
- Can surf or plot3 be modified to vary in x or y but not z
Best Answer