How to avoid connecting edges when plotting a surface

Hello everyone !
I would like to plot the following surface, but I don't want the surface to fill the space in the gap that you can see in front (that spoils everything to what I want to explain with that figure).
I cannot find any way to solve this... any suggestion ?
Thank you !
My code is the following :
surf(X,Y,unwrap(phi),'FaceColor','yellow','EdgeColor','none')
camlight left;
lighting phong
axis off

回答 (1 件)

Wilson Duarte
Wilson Duarte 2021 年 1 月 10 日

0 投票

please refer to the solution provided here:
https://www.mathworks.com/matlabcentral/answers/712893-why-surface-plot-is-connecting-its-edges

カテゴリ

質問済み:

2018 年 2 月 19 日

回答済み:

2021 年 1 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by