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

3 vues (au cours des 30 derniers jours)
shunya hara
shunya hara le 19 Mar 2021
image関数を用いたあと以下の図が表示されました。
カラーバーの値を変更したい(0~0.012の範囲に)のですがcaxis([0 0.012])と打ち込んでも変化しませんでした。
どなたか変更の方法を教えていただきたいです。
よろしくお願いします。

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur イメージ dans Help Center et File Exchange

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!