Matlab uses griddata three-dimensional interpolation, and then draw contourf to show that the cloud image is incomplete, what should I do?

4 views (last 30 days)
Matlab draws contourf using known data. The contourf map displayed after using griddata griddata is incomplete and is truncated. How can it be displayed completely?
[X1,Y1,Z1]=griddata(x,y,f, linspace(min(x),max(x),1000),linspace(min(y),max(y),1000)','v4');
contourf(X1./1000,Y1./1000,Z1)
  3 Comments
Annie
Annie on 16 Aug 2019
I manually modify the display range of x y every time, but the inappropriate range will distort the image, which is not a good method.
[X1,Y1,Z1]=griddata(x,y,fx,linspace(min(x),max(x),2000),linspace(min(y)-600,max(y)+600,2000)','v4');
figure2.png
Steven Lord
Steven Lord on 16 Aug 2019
The contourf map displayed after using griddata griddata is incomplete and is truncated.
Why do you say that? What is missing or truncated from the image that you posted that you expected / wanted to see?

Sign in to comment.

Answers (0)

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!