Hi. The data I wish to plot (or post-process) is CFD data (vorticity, pressure, etc) from fluent. The grid is non-uniform, as the image shows, with a finner mesh near the square cavity.
Obviously I can use either 'scatteredinterpolate' or 'griddata' with a regenerated grid, like:
xmin = min(xx); xmax = max(xx);
ymin = min(yy); ymax = max(yy);
vq = griddata(xx,yy,Vort,x,y);
However, I think this interpolation compromises the integrity of my data, since many details may be lost. I thought of using 'reshape', but since the grid is not non-uniform, this becomes very difficult. I attempted creating a uniform grid with lots of 'NaN' indicating no data. But plotting it just gave me no data at all. I have attached my code. The data is too big for attachment ~300Mb. Can someone please help? Much appreciated.