グレースケールで表示されているfigureに色付け
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Takashi Ichihara
le 28 Juin 2018
Commenté : Takashi Ichihara
le 6 Juil 2018
MATLAB R2017bにおいて、グレースケールで表示されているfigureに色付けをしたいのですが、下記のコマンドでは出来ませんでした。
imshow(analaysSegment,[0 3], 'Borde','tight');
colormap jet
どのように修正すればよいでしょうか。 analaysSegment は512*512 のdoble型データです
0 commentaires
Réponse acceptée
Ichiro Maruta
le 28 Juin 2018
imshow(analaysSegment,[0 3], 'Borde','tight')
colormap(gca,jet)
でどうでしょうか?
1 commentaire
Plus de réponses (1)
Shigenori Nakamura a.k.a. SHiGE3
le 28 Juin 2018
Modifié(e) : Jiro Doke
le 28 Juin 2018
x=0:pi/180:pi;
y=sin(x);
figure('Color','red');
plot(x,y,'g-.');
figureのリリースノートに色の指定方法が書いてあります help figureと打ってください
0 commentaires
Voir également
Catégories
En savoir plus sur Language Support 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!