Mercurial > hg > octave-nkf
comparison scripts/plot/slice.m @ 8664:e07e93c04080
style fixes
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 04 Feb 2009 10:56:23 -0500 |
parents | 5e90111a28b3 |
children | eb63fbe60fab |
comparison
equal
deleted
inserted
replaced
8663:4238f2600a17 | 8664:e07e93c04080 |
---|---|
100 if (all ([isvector(x), isvector(y), isvector(z)])) | 100 if (all ([isvector(x), isvector(y), isvector(z)])) |
101 [x, y, z] = meshgrid (x, y, z); | 101 [x, y, z] = meshgrid (x, y, z); |
102 elseif (ndims (x) == 3 && size_equal (x, y, z)) | 102 elseif (ndims (x) == 3 && size_equal (x, y, z)) |
103 ## Do nothing. | 103 ## Do nothing. |
104 else | 104 else |
105 error ("slice: X, Y, Z size mismatch") | 105 error ("slice: X, Y, Z size mismatch"); |
106 endif | 106 endif |
107 sx = varargin{5}; | 107 sx = varargin{5}; |
108 sy = varargin{6}; | 108 sy = varargin{6}; |
109 sz = varargin{7}; | 109 sz = varargin{7}; |
110 else | 110 else |