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

14 vues (au cours des 30 derniers jours)
Nobeth Bastanta Ginting
Nobeth Bastanta Ginting le 23 Juin 2022
colormap and colorbar in ansys

Réponses (1)

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

Connectez-vous pour commenter.

Catégories

En savoir plus sur Colormaps dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by