グレースケールで表示されているfigureに色付け
Afficher commentaires plus anciens
MATLAB R2017bにおいて、グレースケールで表示されているfigureに色付けをしたいのですが、下記のコマンドでは出来ませんでした。
imshow(analaysSegment,[0 3], 'Borde','tight');
colormap jet
どのように修正すればよいでしょうか。 analaysSegment は512*512 のdoble型データです
Réponse acceptée
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と打ってください
Catégories
En savoir plus sur Orange dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!