カラーバーの編集について
5 views (last 30 days)
Show older comments
shunya hara
on 19 Mar 2021
Answered: Tomohiro Takahashi
on 24 Mar 2021
image関数を用いたあと以下の図が表示されました。
カラーバーの値を変更したい(0~0.012の範囲に)のですがcaxis([0 0.012])と打ち込んでも変化しませんでした。
どなたか変更の方法を教えていただきたいです。
よろしくお願いします。
0 Comments
Accepted Answer
Tomohiro Takahashi
on 24 Mar 2021
image関数を使った場合,既定ではCDataMapping プロパティが'direct'なので,caxisは機能しないと思います.
image(C,'CDataMapping','scaled')
のようにCDataMappingをscaledに指定して使うか,imagesc関数を使うのがよいと思います.
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!