comparison scripts/plot/pareto.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
64 y = varargin {2}(:).'; 64 y = varargin {2}(:).';
65 if (! iscell (y)) 65 if (! iscell (y))
66 if (ischar (y)) 66 if (ischar (y))
67 y = cellstr (y); 67 y = cellstr (y);
68 else 68 else
69 y = cellfun (@num2str, num2cell (y), "UniformOutput", false); 69 y = cellfun (@num2str, num2cell (y), "uniformoutput", false);
70 endif 70 endif
71 endif 71 endif
72 else 72 else
73 y = cellfun (@int2str, num2cell (1 : numel(x)), 73 y = cellfun (@int2str, num2cell (1 : numel(x)),
74 "UniformOutput", false); 74 "uniformoutput", false);
75 endif 75 endif
76 76
77 [x, idx] = sort (x, "descend"); 77 [x, idx] = sort (x, "descend");
78 y = y (idx); 78 y = y (idx);
79 cdf = cumsum (x); 79 cdf = cumsum (x);