カラーバーの編集について

2 visualizaciones (últimos 30 días)
shunya hara
shunya hara el 19 de Mzo. de 2021
Respondida: Tomohiro Takahashi el 24 de Mzo. de 2021
image関数を用いたあと以下の図が表示されました。
カラーバーの値を変更したい(0~0.012の範囲に)のですがcaxis([0 0.012])と打ち込んでも変化しませんでした。
どなたか変更の方法を教えていただきたいです。
よろしくお願いします。

Respuesta aceptada

Tomohiro Takahashi
Tomohiro Takahashi el 24 de Mzo. de 2021
image関数を使った場合,既定ではCDataMapping プロパティが'direct'なので,caxisは機能しないと思います.
image(C,'CDataMapping','scaled')
のようにCDataMappingをscaledに指定して使うか,imagesc関数を使うのがよいと思います.

Más respuestas (0)

Categorías

Más información sobre イメージ en Help Center y File Exchange.

Productos


Versión

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!