Ignore:
Timestamp:
Jan 21, 2021, 3:59:54 PM (3 years ago)
Author:
sommeria
Message:

system of mirror output path introduced, and series/sliding_average added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/plot_field.m

    r1077 r1090  
    968968            colormap('jet'); % default matlab colormap ('jet')
    969969        end
    970        
    971         if isfield(PlotParam.Axes,'CheckFixAspectRatio') && isequal(PlotParam.Axes.CheckFixAspectRatio,1)
    972             set(haxes,'DataAspectRatioMode','manual')
    973             if isfield(PlotParam.Axes,'AspectRatio')
    974                 set(haxes,'DataAspectRatio',[PlotParam.Axes.AspectRatio 1 1])
    975             else
    976                 set(haxes,'DataAspectRatio',[1 1 1])
    977             end
    978         end
    979970    else %usual images (no contour)
    980971        % set  colormap for  image display
     
    10521043                set(hima,'AlphaData',1)% full opacity (no transparency) by default
    10531044            end
     1045        end
     1046    end
     1047    if isfield(PlotParam.Axes,'CheckFixAspectRatio') && isequal(PlotParam.Axes.CheckFixAspectRatio,1)
     1048        set(haxes,'DataAspectRatioMode','manual')
     1049        if isfield(PlotParam.Axes,'AspectRatio')
     1050            set(haxes,'DataAspectRatio',[PlotParam.Axes.AspectRatio 1 1])
     1051        else
     1052            set(haxes,'DataAspectRatio',[1 1 1])
    10541053        end
    10551054    end
Note: See TracChangeset for help on using the changeset viewer.