⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 packboth.m

📁 JLAB is a set of Matlab functions I have written or co-written over the past fifteen years for the p
💻 M
字号:
function[h]=packboth(i1,i2,i3)%PACKBOTH   Squeeze together rows and columns of the current figure.%  %   PACKBOTH(M,N) squeezes together all rows and all columns in the%   current figure, which has M rows and N columns generated with%   SUBPLOT. This is used when all subplots in a given column share a%   x- and y-axes.%  %   X- and y-axes tickmarks and labels are adjusted as described in%   PACKROWS and PACKCOLS.%  %   H=PACKBOTH(M,N) returns a vector of handles H into the subplots.%%   PACKBOTH(H,M,N) also works, where H is a vector of handles.%%   After calling PACKBOTH, do not call SUBPLOT again, as this will%   destroy the subplots; instead, access the subplots through%   AXES(H(I)) where I is an integer. %   _________________________________________________________________%   This is part of JLAB --- type 'help jlab' for more information%   (C) 2004 J.M. Lilly --- type 'help jlab_license' for details           if nargin==2  m=i1;  n=i2;  h=subplots(m,n);elseif nargin==3  h=i1;  m=i2;  n=i3;endpackrows(h,m,n);packcols(h,m,n);if nargout==0  clear hend

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -