Using surf, did you take these steps?
L = membrane(3);
surf(L,"LineStyle","none")
view(2)
shading interp
If your x,y,z are in vector form rather than in X,Y grid format, you may need to first use a scatteredInterpolant and interpolate on a regular grid to use the surf() command.
2 Comments
Direct link to this comment
https://de.mathworks.com/matlabcentral/answers/665533-how-can-i-plot-this-type-of-figures#comment_1166663
Direct link to this comment
https://de.mathworks.com/matlabcentral/answers/665533-how-can-i-plot-this-type-of-figures#comment_1166663
Direct link to this comment
https://de.mathworks.com/matlabcentral/answers/665533-how-can-i-plot-this-type-of-figures#comment_1166673
Direct link to this comment
https://de.mathworks.com/matlabcentral/answers/665533-how-can-i-plot-this-type-of-figures#comment_1166673
Sign in to comment.