I want to contour plot X,Y coordinate of temperature distribution heat map, the data field is a shape of ring as shown in below
According to Star Strider (https://www.mathworks.com/matlabcentral/answers/526273-creating-2d-contours-from-xyz-values) I have plot something like
But I am tring to get the rid of the inner circle bule color because it suppose to be blank space.
I dont know where went wrong….Can someone help? please …
code#:
xv = linspace(min(x), max(x), numel(x));yv = linspace(min(y), max(y), numel(y));[Xm,Ym] = ndgrid(xv, yv);Zm = griddata(x, y, t, Xm, Ym);figurecontourf(Xm, Ym, Zm)axis([34 54 10 28])
Best Answer