필터 지우기
필터 지우기

How can I do an image like this in Matlab?

조회 수: 2 (최근 30일)
Miguel Lopes
Miguel Lopes 2015년 1월 27일
댓글: Star Strider 2015년 1월 27일
I got the data in 3 vectors like this:
X Y Intensity
0 1 4
0 2 3
1 0 9
etc
I want to interpolate between the points, to have a continuous plot.
I just need to know the name of that kind of plot please or the name of the command in Matlab, I'll do the code myself.
Thank you very much!

답변 (1개)

Star Strider
Star Strider 2015년 1월 27일
From the data you presented, I would use scatteredInterpolant class.
  댓글 수: 6
Miguel Lopes
Miguel Lopes 2015년 1월 27일
Hello,
I already did it, thanks!
I didn't need to interpolate because contour does it by itself!
Now i wanted to do a legend like assigning the value of the intensity to a color, can you give me any tips regarding that??
Thanks!
Star Strider
Star Strider 2015년 1월 27일
My pleasure!
The colour legend won’t look like the one in your Question, but the functions you want are colorbar and colormap.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Orange에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by