How to plot a surf-plot without data extrapoation?
이전 댓글 표시
I would like to plot the same surf plot but without extrapolating on areas where are not scatter data.
The following script generates the attached figure.

The final plot should interpolate below the black line (only where data exists) like:

댓글 수: 3
Star Strider
2020년 12월 3일
I have no idea what you want to do, however:
X = griddata(y,z,x,Y,Z,'nearest');
C = griddata(y,z,c,Y,Z,'nearest');
may get you where I believe you want to go.
Philippe Corner
2020년 12월 3일
편집: Philippe Corner
2020년 12월 3일
Philippe Corner
2020년 12월 6일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!