Changeset 6911


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

problem with log

File:
1 edited

Legend:

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

    r6910 r6911  
    155155        %log?
    156156        if exist(options,'log'),
    157                 bounds=getfieldvalue(options,'caxis',[min(data(:)) max(data(:))]);
    158                 data(find(data<bounds(1)))=bounds(1);
    159                 if any(data<=0),
    160                         error('Log option cannot be applied on negative values. Use caxis option (Rignot''s settings: [1.5 max(data)])');
    161                 end
     157                %if any(data<=0),
     158                %       error('Log option cannot be applied on negative values. Use caxis option (Rignot''s settings: [1.5 max(data)])');
     159                %end
    162160                data=log(data)/log(getfieldvalue(options,'log'));
    163161        end
Note: See TracChangeset for help on using the changeset viewer.