Changeset 6911
- Timestamp:
- 01/03/11 17:39:49 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/model/plot/processdata.m
r6910 r6911 155 155 %log? 156 156 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 162 160 data=log(data)/log(getfieldvalue(options,'log')); 163 161 end
Note:
See TracChangeset
for help on using the changeset viewer.