how to make colormap and color bar from ansys to like out in matlab

14 ビュー (過去 30 日間)
Nobeth Bastanta Ginting
Nobeth Bastanta Ginting 2022 年 6 月 23 日
colormap and colorbar in ansys

回答 (1 件)

KSSV
KSSV 2022 年 6 月 23 日
編集済み: KSSV 2022 年 6 月 23 日
Try the below after pcolor.
cmap = jet(10) ;
colormap(cmap)
caxis([85 100]) % mention your limits
  1 件のコメント
Nobeth Bastanta Ginting
Nobeth Bastanta Ginting 2022 年 6 月 23 日
sir i want to make range [85.502 88.626 ; 88.626 91.75 ; 91.75 94.874 ; 94.874 97.997 ; 97.997 101.12 ; 101.12 104.24 ; 104.24 107.37 ; 107.37 110.49].
85.502 88.626 with RGB 0 0 255
88.626 91.75 with RGB 0 189 255
91.75 94.874 with RGB 0 255 233
94.874 97.997 with RGB 0 255 102
97.997 101.12 with RGB 101 255 0
101.12 104.24 with RGB 233 255 0
104.24 107.37 with RGB 255 189 0
107.37 110.49 with RGB 255 0 0
can you teach how to work it?

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

カテゴリ

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