Read your data and store into x, y, u, v .
uF = scatteredInterpolant(x, y, u);
vF = scatteredInterpolant(x, y, v);
[X, Y] = ndgrid( linspace(min(x), max(x)), linspace(min(y), max(y)));
U = uF(X, Y);
V = vF(X, Y);
subplot(1,2,1);
contourf(X, Y, U);
title('u')
subplot(1,2,2)
contourf(X, U, V);
title('v')
1 Comment
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/365679-filled-2d-contour-plot#comment_502218
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/365679-filled-2d-contour-plot#comment_502218
Sign in to comment.