How to avoid connecting edges when plotting a surface

조회 수: 2 (최근 30일)
Morgan facchin
Morgan facchin 2018년 2월 19일
답변: Wilson Duarte 2021년 1월 10일
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일
please refer to the solution provided here:
https://www.mathworks.com/matlabcentral/answers/712893-why-surface-plot-is-connecting-its-edges

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by