Figure作成時にNaNとInfだけ黒に指定する方法
Show older comments
matrix(matファイル)をカラーのfigureに変換するとき、NaNとInfだけ黒にしたいときはどうしたらいいんでしょうか?
figure;imagesc(matrix)
colorbar
とすると、単純にNanとInfがMinとMaxの色になってしまいます。
どうぞよろしくお願いします。
Accepted Answer
More Answers (0)
Categories
Find more on イメージ タイプの変換 in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!