Changeset 749 for trunk


Ignore:
Timestamp:
Apr 23, 2014, 5:28:35 PM (7 years ago)
Author:
sommeria
Message:

bug corrected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/plot_field.m

    r748 r749  
    102102if ~exist('PlotParam','var'),PlotParam=[];end;
    103103PlotType='text'; %default
    104 if ~isfield(PlotParam,'Coordinates')
     104if ~isfield(PlotParam,'Axes')
    105105    PlotParam.Axes=[];
    106106    if isfield(Data,'CoordUnit')
     
    12101210    PlotParamOut.Axes.y_units=y_units;
    12111211end
    1212 if isfield(PlotParam,'Coordinates') && isfield(PlotParam.Axes,'CheckFixAspectRatio') && isequal(PlotParam.Axes.CheckFixAspectRatio,1)
     1212if isfield(PlotParam,'Axes') && isfield(PlotParam.Axes,'CheckFixAspectRatio') && isequal(PlotParam.Axes.CheckFixAspectRatio,1)
    12131213    set(haxes,'DataAspectRatioMode','manual')
    12141214    if isfield(PlotParam.Axes,'AspectRatio')
Note: See TracChangeset for help on using the changeset viewer.