MATLAB Answers

How can I plot this type of figures?

1 view (last 30 days)
Francesco Porretta
Francesco Porretta on 27 Nov 2020
Edited: Rik on 28 Nov 2020
This question was flagged by Ameer Hamza
- error -
  2 Comments
Ameer Hamza
Ameer Hamza on 28 Nov 2020
Deleting question details make the answer useless. Since this forum is the public forum, removing the question makes the answer useless for anyone else coming to this page. Therefore, I have added your original question as a comment.

Sign in to comment.

Accepted Answer

J. Alex Lee
J. Alex Lee on 27 Nov 2020
Using surf, did you take these steps?
L = membrane(3);
surf(L,"LineStyle","none") % don't display mesh
view(2) % view from top
shading interp % interpolated colors instead of faceted colors
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.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by