Adjacent subplot width colorbar
古いコメントを表示
How can I modify the colorbar width in an adjacent subplot? Thanks in advance
3 件のコメント
Hugo Ochoa
2016 年 8 月 30 日
Image Analyst
2016 年 8 月 30 日
You forgot to tell what version you have so someone can give you one answer instead of two possible answers.
Walter Roberson
2016 年 8 月 30 日
subfigures do not exist in MATLAB. subplot() exists and creates multiple axes.
Is the question about how, given a particular subplot, you can modify the width of the associated colorbar ? If so then by far the easiest way is to record the handle that is returned by the colorbar() call and modify its Position property.
回答 (1 件)
Walter Roberson
2016 年 8 月 30 日
0 投票
With R2014b or later, you can modify the Position property of the colorbar object.
With R2014a or earlier, a colorbar is actually an axes, and you can modify the axes Position property.
カテゴリ
ヘルプ センター および File Exchange で Subplots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!