is it possible to shift and resize a plot in the figure without using subplot?

6 次查看(过去 30 天)
I would like to shift and resize a plot relative to the whole figure.

回答(1 个)

Walter Roberson
Walter Roberson 2015-9-28
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
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
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 CenterFile Exchange 中查找有关 Data Exploration 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by