How to use scatteredInterpolant?
Afficher commentaires plus anciens
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 commentaires
John D'Errico
le 10 Juin 2018
Modifié(e) : John D'Errico
le 10 Juin 2018
Sorry. You cannot use scatteredInterpolant to smooth or enhance an image. That is not what it does, nor would it be of any value at all for that purpose.
Do you have data in the form of scattered data points?
Emmanouil Rachoutis
le 11 Juin 2018
John D'Errico
le 11 Juin 2018
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.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Discrete Data Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!