フィルターのクリア

How can I get different colors for two meshes(3D) in same plot?

2 ビュー (過去 30 日間)
Vishal Srivastava
Vishal Srivastava 2018 年 2 月 9 日
コメント済み: Vishal Srivastava 2018 年 2 月 9 日
I want to display two different meshes(3d) simultaneously. I tried using pdeplot3D(model) twice with hold on but they had same color.

回答 (1 件)

Aletta Wilbrink
Aletta Wilbrink 2018 年 2 月 9 日
You can do it with the code colormap
  1 件のコメント
Vishal Srivastava
Vishal Srivastava 2018 年 2 月 9 日
Thank you for this. But it didn't worked. I am displaying only the 3D mesh, not PDEsolution. I think colormap perhaps changes the color scheme of solutions, not the mesh. I am still getting the same 'Cyan' color.

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

カテゴリ

Help Center および File ExchangeColormaps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by