Changeset 6708
- Timestamp:
- 12/10/10 07:51:43 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/model/plot/processdata.m
r6497 r6708 126 126 if exist(options,'log'), 127 127 bounds=getfieldvalue(options,'caxis',[min(data(:)) max(data(:))]); 128 if any(data<=0) & min(bounds)<0, 128 data(find(data<bounds(1)))=bounds(1); 129 if any(data<=0), 129 130 error('Log option cannot be applied on negative values. Use caxis option (Rignot''s settings: [1.5 max(data)])'); 130 131 end
Note:
See TracChangeset
for help on using the changeset viewer.