Changeset 2872


Ignore:
Timestamp:
01/20/10 10:54:37 (15 years ago)
Author:
Eric.Larour
Message:

ensure log values in caxis are correct.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/classes/public/plot/applyoptions.m

    r2829 r2872  
    9090        if exist(options,'log'),
    9191                logvalue=getfieldvalue(options,'log');
     92                if any(getfieldvalue(options,'caxis')<=0),
     93                        error('applyoptions error message: negative log values when trying to apply caxis option');
     94                end
    9295                caxis(log(getfieldvalue(options,'caxis'))/log(logvalue));
    9396        else
Note: See TracChangeset for help on using the changeset viewer.