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

14 次查看(过去 30 天)
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
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 CenterFile Exchange 中查找有关 Colormaps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by