comparison scripts/plot/axis.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 5b48695f3c13
children 6c8791cb35b1
comparison
equal deleted inserted replaced
11190:b1f4bdc276b6 11191:01ddaedd6ad5
320 else 320 else
321 data = get (kids, strcat (ax, "data")); 321 data = get (kids, strcat (ax, "data"));
322 if (iscell (data)) 322 if (iscell (data))
323 data = data (find (! cellfun (@isempty, data))); 323 data = data (find (! cellfun (@isempty, data)));
324 if (! isempty (data)) 324 if (! isempty (data))
325 lims_min = min (cellfun (@min, cellfun (@min, data, 'UniformOutput', false)(:))); 325 lims_min = min (cellfun (@min, cellfun (@min, data, 'uniformoutput', false)(:)));
326 lims_max = max (cellfun (@max, cellfun (@max, data, 'UniformOutput', false)(:))); 326 lims_max = max (cellfun (@max, cellfun (@max, data, 'uniformoutput', false)(:)));
327 lims = [lims_min, lims_max]; 327 lims = [lims_min, lims_max];
328 else 328 else
329 lims = [0, 1]; 329 lims = [0, 1];
330 endif 330 endif
331 else 331 else