Changeset 735 for trunk/src/plot_field.m


Ignore:
Timestamp:
Apr 9, 2014, 9:37:44 AM (11 years ago)
Author:
sommeria
Message:

various corrections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/plot_field.m

    r729 r735  
    811811            MinA=double(PlotParam.Scalar.MinA); % min value set as input
    812812        else
    813             MinA=double(nanmin(nanmin(A))); % min value set as min of non NaN scalar values
     813            MinA=double(min(min(A))); % min value set as min of non NaN scalar values
    814814        end
    815815       
     
    824824            MaxA=double(PlotParam.Scalar.MaxA); % max value set as input
    825825        else
    826             MaxA=double(nanmax(nanmax(A))); % max value set as min of non NaN scalar values
     826            MaxA=double(max(max(A))); % max value set as min of non NaN scalar values
    827827        end
    828828       
Note: See TracChangeset for help on using the changeset viewer.