xlima.m

来自「hspice toolbox with matlab.」· M 代码 · 共 18 行

M
18
字号
% Set X-limits for all plots in current figure.
% Usage: xlima([xs xe])
%  Note:  xlima('auto') resets to autoscaling on all graphs
%    Or: 'xlima' to set all curves to same as current axis
% Written by Scott Willingham
%   Copyright 1999 by Silicon Laboratories, Inc.

function xlima(xx)

if nargin == 0
    xx = xlim;
end

h=get(gcf,'Children');
for i = 1:length(h)
    xlim(h(i), xx);
end

⌨️ 快捷键说明

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