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

John D'Errico
John D'Errico 2018년 6월 10일
편집: John D'Errico 2018년 6월 10일
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
Emmanouil Rachoutis 2018년 6월 11일
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일

0 개 추천

Have a look on imresize and/or interp2

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

질문:

2018년 6월 10일

댓글:

2018년 6월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by