Move_to_subplots

版本 1.0.0.0 (1.7 KB) 作者: Charlie Hogg
Move axes to another figure window as a suplot
242.0 次下载
更新时间 2013/8/9

查看许可证

% This is a function to automatically move a selection of axis in
% preexisting plots to one subplot figure. This is helpful for comparing
% large amounts of data.
%
% Inputs:
% inputname: ax - array of axes handles.
% a (optional) - number of rows of figures in subplot.
% b (optional) - number of columns of figures in subplot.
% Outputs:
% name: figurewindow handle
% plots: new figure window
%
% Standard call:
% for i=1:n_i
% figure(i)
% ax_h(i)=gca;
% end
% move_to_subplots(ax_h,2,ceil(n_i/2))
%
% Can also be used to copy a figure by move_to_subplots(gca,1,1)
%
% Written by C. Hogg Date 2012_06_01
% Modified 20130808 Added the handle return

引用格式

Charlie Hogg (2024). Move_to_subplots (https://www.mathworks.com/matlabcentral/fileexchange/43015-move_to_subplots), MATLAB Central File Exchange. 检索来源 .

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

Community Treasure Hunt

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

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