nocontours.m

来自「JLAB is a set of Matlab functions I have」· M 代码 · 共 27 行

M
27
字号
function[h]=nocontours(h)%NOCONTOURS  Removes contours from a CONTOURF plot.%%   NOCONTOURS(H) where H is an array of handles to lines, output by%   CONTOURF, sets the linestyle for all the lines to 'none'.  This%   removes the contours from the CONTOURF plot.%%   NOCONTOURS with no input arguments sets the linestyle of patch%   objects in the current axes to 'none'.%%   H=NOCONTOURS also returns the handles to the patch objects.  %   _________________________________________________________________%   This is part of JLAB --- type 'help jlab' for more information%   (C) 2004 J.M. Lilly --- type 'help jlab_license' for details          if nargin==0  h=patchhandles(gca);endset(h,'linestyle','none')  if nargout ==0  clear hend

⌨️ 快捷键说明

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