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

📄 undo.m

📁 hi i have a huge collection are you interested
💻 M
字号:
function undo(N)%UNDO   Erase the last object plotted on the graph.  The object can%       be a curve or text.  Repeating "undo" erases further back in%       time. UNDO does not work for title and labels; to erase%       these, use "title('')" or "xlabel('')"   %       kwong@mcs.anl.gov 1/19/93
 % 		Modified A. Knight, April 1999 
h = get(gca,'children');
if length(h) > 0    if nargin==0	  delete(h(1))	else	  delete(h(1:N));  end
end

⌨️ 快捷键说明

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