How to plot a surf-plot without data extrapoation?
Ältere Kommentare anzeigen
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 Kommentare
Star Strider
am 3 Dez. 2020
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
am 3 Dez. 2020
Bearbeitet: Philippe Corner
am 3 Dez. 2020
Philippe Corner
am 6 Dez. 2020
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Surface and Mesh Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!