How to avoid connecting edges when plotting a surface
3 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
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
0 Comments
See Also
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!