Changeset 6909


Ignore:
Timestamp:
01/03/11 17:36:54 (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

    r6908 r6909  
    156156        if exist(options,'log'),
    157157                bounds=getfieldvalue(options,'caxis',[min(data(:)) max(data(:))]);
     158                data(find(data<bound(1)))=bound(1);
    158159                if any(data<=0),
    159160                        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.