I want to plot my thermal analysis results on a 2D mesh. I have a 2xN matrix named "coord", which basically has the X and Y coordinates of the nodes of my mesh. At each node, I have a temperature value which is saved as a 1xN matrix. How do I plot a heatmap or a contour plot for my results? I've tried Surf fucntion, which expects a matrix of minimum size 2x2.. Where as my temperatures are saved as "nodeDisp" which is a 1xN vector leading to "Error using surf (line 71) Z must be a matrix, not a scalar or vector." I tried scatteredInterpolant, with which I could plot my mesh but no signs of the colored plot of displacements I wanted.