How can I plot this type of figures?

1 回表示 (過去 30 日間)
Francesco Porretta
Francesco Porretta 2020 年 11 月 27 日
コメント済み: Rena Berman 2021 年 5 月 6 日
I have three vectors x,y,z with 3000 elements each one.
I want to obtain the same type of plot shown in the figure (with all the specific color zones and colorbar on the right). I suppose that there are specific command, but I do not know them.
I have just tried to use surf, but the obtained graph is different...
Thanks in advance!
  3 件のコメント
Ameer Hamza
Ameer Hamza 2020 年 11 月 28 日
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.
Rena Berman
Rena Berman 2021 年 5 月 6 日
(Answers Dev) Restored edit

サインインしてコメントする。

採用された回答

J. Alex Lee
J. Alex Lee 2020 年 11 月 27 日
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.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by