Changeset 6910


Ignore:
Timestamp:
01/03/11 17:37:41 (14 years ago)
Author:
Mathieu Morlighem
Message:

problem with caxis

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/model/plot/processdata.m

    r6909 r6910  
    156156        if exist(options,'log'),
    157157                bounds=getfieldvalue(options,'caxis',[min(data(:)) max(data(:))]);
    158                 data(find(data<bound(1)))=bound(1);
     158                data(find(data<bounds(1)))=bounds(1);
    159159                if any(data<=0),
    160160                        error('Log option cannot be applied on negative values. Use caxis option (Rignot''s settings: [1.5 max(data)])');
Note: See TracChangeset for help on using the changeset viewer.