is it possible to shift and resize a plot in the figure without using subplot?
5 ビュー (過去 30 日間)
古いコメントを表示
I would like to shift and resize a plot relative to the whole figure.
0 件のコメント
回答 (1 件)
Walter Roberson
2015 年 9 月 28 日
Yes, you set the axes Position properties. See http://www.mathworks.com/help/matlab/examples/changing-axes-properties.html
Note: if you set the Position of an axes yourself, be sure to do it after you have created all subplots() you are using.
3 件のコメント
Stephen23
2015 年 9 月 29 日
編集済み: Stephen23
2015 年 9 月 29 日
You can set it any number of times. The location depends on what units you choose and how the figure is resized. Your main control over how the axes are sized relative to the figure is to select the Units property. The axes properties are described in detail here:
In particular you should read about the position property:
Walter Roberson
2015 年 9 月 29 日
Location is relative to the parent container. Most often the parent is the figure, but it could also be a uipanel or uitabgroup .
参考
カテゴリ
Help Center および File Exchange で Data Exploration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!