comparison scripts/plot/private/__patch__.m @ 11191:01ddaedd6ad5

Reverse changeset b1f4bdc276b6. Use all lower case for "uniformoutput" option.
author Rik <octave@nomad.inbox5.com>
date Thu, 04 Nov 2010 12:18:08 -0700
parents 4cb1522e4d0f
children fd0a3ac60b0e
comparison
equal deleted inserted replaced
11190:b1f4bdc276b6 11191:01ddaedd6ad5
207 t1 = isnan (idx); 207 t1 = isnan (idx);
208 if (any (t1(:))) 208 if (any (t1(:)))
209 t2 = find (t1 != t1([2:end,end],:)); 209 t2 = find (t1 != t1([2:end,end],:));
210 idx (t1) = idx (t2 (cell2mat (cellfun (@(x) x(1)*ones(1,x(2)), 210 idx (t1) = idx (t2 (cell2mat (cellfun (@(x) x(1)*ones(1,x(2)),
211 mat2cell ([1 : nc; sum(t1)], 2, ones(1,nc)), 211 mat2cell ([1 : nc; sum(t1)], 2, ones(1,nc)),
212 "UniformOutput", false)))); 212 "uniformoutput", false))));
213 endif 213 endif
214 x = reshape (vert(:,1)(idx), size (idx)); 214 x = reshape (vert(:,1)(idx), size (idx));
215 y = reshape (vert(:,2)(idx), size (idx)); 215 y = reshape (vert(:,2)(idx), size (idx));
216 if (size(vert,2) > 2) 216 if (size(vert,2) > 2)
217 z = reshape (vert(:,3)(idx), size (idx)); 217 z = reshape (vert(:,3)(idx), size (idx));