How to use scatteredInterpolant?

5 次查看(过去 30 天)
Dear all,
I am trying to make the plot below look better, and since I don't have enough data for that I would like to use the scatterdInterpolant command. However, what I am using so far does not work. Do you have any ideas?
I thank you in advance.
Cheers, Manolis
  3 个评论
Emmanouil  Rachoutis
I have some scattered data points, that's how I created this plot.
John D'Errico
John D'Errico 2018-6-11
Then you already know how to use scatteredInterpolant. Just apparently, not how to use it well, or even if scatteredInterpolant is the correct tool.
Show what you did then. Because the answer is not how to modify the plot AFTER you used scatteredInterpolant, but how to use the tool properly (or the proper tool) to produce a better result.
Thus, since scatteredInterpolant will only provide at best a piecewise linear surface, you may want to use a tool like griddata or my own gridfit. If you attach the data, then I could suggest better tools. But without seeing the data, I am left with suggesting that POSSIBLY, one of those alternatives would be a better choice than the use of tools to resize an array AFTER it has been created.

请先登录,再进行评论。

采纳的回答

KSSV
KSSV 2018-6-11
Have a look on imresize and/or interp2

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Scatter Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by