Figure作成時にNaNとInfだけ黒に指定する方法
Ältere Kommentare anzeigen
matrix(matファイル)をカラーのfigureに変換するとき、NaNとInfだけ黒にしたいときはどうしたらいいんでしょうか?
figure;imagesc(matrix)
colorbar
とすると、単純にNanとInfがMinとMaxの色になってしまいます。
どうぞよろしくお願いします。
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu イメージ タイプの変換 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!