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

6 views (last 30 days)
colormap and colorbar in ansys

Answers (1)

KSSV
KSSV on 23 Jun 2022
Edited: KSSV on 23 Jun 2022
Try the below after pcolor.
cmap = jet(10) ;
colormap(cmap)
caxis([85 100]) % mention your limits
  1 Comment
Nobeth Bastanta Ginting
Nobeth Bastanta Ginting on 23 Jun 2022
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?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!