How to avoid connecting edges when plotting a surface

3 views (last 30 days)
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

Answers (1)

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

Community Treasure Hunt

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

Start Hunting!