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

📄 ytlpad.m

📁 JLAB is a set of Matlab functions I have written or co-written over the past fifteen years for the p
💻 M
字号:
function[str]=ytlpad(h,n)%YTLPAD  Pads the ytick labels with a leading space.%%   YTLPAD shifts the ytick labels of the current axis over slightly%   to the right by inserting a column of spaces on the left-hand%   side.%%   STR=YTLPAD returns the new string array.  %%   YTLPAD(H) applies itself to axes with handle H.   %   __________________________________________________________________%   This is part of JLAB --- type 'help jlab' for more information%   (C) 2002, 2004 J.M. Lilly --- type 'help jlab_license' for details    if nargin==0  h=gca;endyt=get(h,'yticklabel');sp=char(real(' ')*ones(size(yt(:,1))));yt=[sp yt];set(h,'yticklabel',yt);yt=get(h,'yticklabel');if nargout==1  str=yt;end

⌨️ 快捷键说明

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