mnem2tex.m
来自「实现地震勘探中」· M 代码 · 共 16 行
M
16 行
function mnemo=mnem2tex(mnemi)% Function substitutes TeX-style mnemonics for input mnemonics (used for% axis annotation plots, legends, titles, etc); e.g. DT_S ==> DT\_S%% Written by: E. R.: May, 6, 2000% Last updated: September 20, 2001: Handle case when the substitution % has already been made% mnemo=mnem2tex(mnemi)% INPUT% mnemi string or cell with input text% OUTPUT% mnemo string with text where backslashes, "\", preceed any underscores "_".mnemo=strrep(mnemi,'\_','_'); % If the substitution has already been made: reverse itmnemo=strrep(mnemo,'_','\_');
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?