Changeset 582 for trunk/src/plot_field.m


Ignore:
Timestamp:
Mar 13, 2013, 12:46:21 AM (8 years ago)
Author:
sommeria
Message:

various bugs corrected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/plot_field.m

    r581 r582  
    104104if ~isfield(PlotParam,'Coordinates')
    105105    PlotParam.Coordinates=[];
     106    if isfield(Data,'CoordUnit')
     107        PlotParam.Coordinates.CheckFixAspectRatio=1;
     108        PlotParam.Coordinates.AspectRatio=1; %set axes equal by default if CoordUnit is defined
     109    end
    106110end
    107111PlotParamOut=PlotParam;%default
Note: See TracChangeset for help on using the changeset viewer.