Figure作成時にNaNとInfだけ黒に指定する方法
Afficher commentaires plus anciens
matrix(matファイル)をカラーのfigureに変換するとき、NaNとInfだけ黒にしたいときはどうしたらいいんでしょうか?
figure;imagesc(matrix)
colorbar
とすると、単純にNanとInfがMinとMaxの色になってしまいます。
どうぞよろしくお願いします。
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur イメージ タイプの変換 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!