グレースケールで表示されているfigureに色付け
Ältere Kommentare anzeigen
MATLAB R2017bにおいて、グレースケールで表示されているfigureに色付けをしたいのですが、下記のコマンドでは出来ませんでした。
imshow(analaysSegment,[0 3], 'Borde','tight');
colormap jet
どのように修正すればよいでしょうか。 analaysSegment は512*512 のdoble型データです
Akzeptierte Antwort
Weitere Antworten (1)
Shigenori Nakamura a.k.a. SHiGE3
am 28 Jun. 2018
Bearbeitet: Jiro Doke
am 28 Jun. 2018
x=0:pi/180:pi;
y=sin(x);
figure('Color','red');
plot(x,y,'g-.');
figureのリリースノートに色の指定方法が書いてあります help figureと打ってください
Kategorien
Mehr zu Orange finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!