Smoothing contour plot of isotherm
5 views (last 30 days)
Hi i have an argo data and I'm trying to make isotherm line. I choose 1999~2004 winter data and interpolation 1m.
And I want to more smooth isotherm line. Additionally, I'm so beginner of matlab. Thank you for considering.
- And Zi has NaN values, I guess this is cause. Why my zi has NaN......
DGM on 17 Feb 2022
I don't have your data, and your code is a picture, so I can't do anything with it.
That said, it looks like the problem is merely the size of the ZData.
Consider the example:
Z = peaks(10); % a very small array
Z = peaks(100); % a larger array
You should be able to change this resolution by reducing the stepsize when you generate the Xp and Yp vectors.