Figure作成時にNaNとInfだけ黒に指定する方法
Mostrar comentarios más antiguos
matrix(matファイル)をカラーのfigureに変換するとき、NaNとInfだけ黒にしたいときはどうしたらいいんでしょうか?
figure;imagesc(matrix)
colorbar
とすると、単純にNanとInfがMinとMaxの色になってしまいます。
どうぞよろしくお願いします。
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre イメージ タイプの変換 en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!