position_figure

Similar to subplot(), position_figure() divides the screen into panes to position figures in.
669.0 次下载
更新时间 2020/4/2

查看许可证

Similar to subplot(), position_figure() divides the screen into
rectangular panes to position figures in.

Syntax:
position_figure(no_rows, no_columns, fig_no)

where
'no_rows' is the total number of figure-rows
'no_columns' is the total number of figure-columns
'fig_no' is the running number of the current figure
(numbered row-wise) or vector of running numbers,
to stretch figure over multiple tiles

Examples:

* position_figure(2, 3, 4) divides the screen into 6 rectangles
that are arranged in 2 rows and 3 columns. The current figure is
placed in the lower left corner of the screen. If no figure
exists yet, a figure window is opened and placed accordingly.

* position_figure(1, 1, 1) makes the figure appear full-screen.

* position_figure(2, 3, [3 6]) divides the screen into 6 rectangles
that are arranged in 2 rows and 3 columns. The current figure is
placed on the right two panes.

引用格式

Christoph Feenders (2024). position_figure (https://www.mathworks.com/matlabcentral/fileexchange/35511-position_figure), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2019b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Subplots 的更多信息
致谢

启发作品: Position fo a ball with time

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.2.0.0

* function now supports stretching figures over multiple panes (just as subplot does)
* simplified code

1.1.0.0

* gave variables speaking names
* improved usage example
* changed tags

1.0.0.0