comparison scripts/plot/clabel.m @ 11149:fe3c3dfc07eb

style fix: break lines before && and ||, not after
author John W. Eaton <jwe@octave.org>
date Sat, 23 Oct 2010 03:00:31 -0400
parents be55736a0783
children fd0a3ac60b0e
comparison
equal deleted inserted replaced
11148:c9ec943ebe65 11149:fe3c3dfc07eb
64 print_usage() 64 print_usage()
65 elseif (nargin == 1) 65 elseif (nargin == 1)
66 hparent = gca (); 66 hparent = gca ();
67 else 67 else
68 arg = varargin{1}; 68 arg = varargin{1};
69 if (isscalar (arg) && ishandle(arg) && 69 if (isscalar (arg) && ishandle(arg)
70 strcmp (get (arg, "type"), "hggroup")) 70 && strcmp (get (arg, "type"), "hggroup"))
71 obj = get (arg); 71 obj = get (arg);
72 if (! isfield (obj, "contourmatrix")) 72 if (! isfield (obj, "contourmatrix"))
73 error ("clabel: expecting the handle to be a contour group"); 73 error ("clabel: expecting the handle to be a contour group");
74 endif 74 endif
75 hg = arg; 75 hg = arg;