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

📄 m_ungrid.m

📁 M_MAP教你如何用MATLAB绘制海洋、大气类的图。可以使用各种投影
💻 M
字号:
function m_ungrid(goptn);% M_UNGRID Removes a grid;%          M_UNGRID deletes a map grid, but leaves any plotted%          data.%%          M_UNGRID XXX%          or%          M_UNGRID('XXX')%%          can be used to remove other parameters plotted using an%          M_XXX command (e.g. M_UNGRID COAST).% Rich Pawlowicz (rich@ocgy.ubc.ca) 4/Apr/97 %% 14/11/98 - Added possible option to remove other tagged items.%% This software is provided "as is" without warranty of any kind. But% it's mine, so you can't sell it.if nargin==0,  mstr='m_grid_';else  mstr=['m_' lower(goptn)];end;hh=get(gca,'children');things=get(hh,'tag');if length(hh)==1, things={things}; end;for i=1:length(hh),  if ~isempty(things{i}) & strmatch(mstr,things{i}),   delete(hh(i)); end;end;if strmatch('m_grid',mstr),  set(gca,'visible','on');end;

⌨️ 快捷键说明

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