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

📄 info2label.m

📁 matlab程序
💻 M
字号:
function label=info2label(info)
% Create label for axis annotation from two-element or three-element 
% cell array such as those found in structures for seismic data, well logs, 
% p.d.f.s, etc. only the last two entries of "info" are used.
%
% Written by: E. Rietsch: June 23, 2003
% Last updated: July 28, 2006: streamlining
%
% INPUT
% info   2- or 3-element cell array
%        only the last two entries are used
% OUTPUT
% label  string with label for plot annotation

units=info{end-1};

if ~isempty(units)  &&  ~strcmpi(units,'n/a')
   label=[info{end},' (',units2tex(units),')'];

else
   label=info{end};
end

⌨️ 快捷键说明

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