Changeset 6908


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

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