Back to home page

MITgcm

 
 

    


Warning, /utils/matlab/Graphix/GraphixPlotDefaults.m is written in an unsupported language. File is not indexed.

view on githubraw file Latest commit 4cf7d6e4 on 2006-06-29 18:52:07 UTC
5bbd0d07c9 Dani*0001 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                0002 %                           Plotting parameters                           %
                0003 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                0004 
                0005 % Tick label information.
                0006 lontick = [-180:60:180];
                0007 lattick = [ -60:30:60 ];
                0008 lonticklabel = {'180W','120W','60W','0','60E','120E','180E'};
                0009 latticklabel = {        '60S','30S','0','30N', '60N'       };
                0010 vertickA = [0:10000:100000];    % Top down.
                0011 vertickO = [-5000:1000:0];      % Bottom up.
                0012 verticklabelA = vertickA./100;  % Show in hPa rather than Pa.
                0013 verticklabelO = abs(vertickO);  % Have depth as positive quantity.
                0014 timtick = [0:1:12];
                0015 timticklabel = {0:1:12};
                0016 
4cf7d6e47a Dani*0017 clabelv = [];
                0018 
5bbd0d07c9 Dani*0019 % Title parameters.
                0020 FigureTitle      = 1;   % Put on figure title.
                0021 SubplotTitle     = 1;   % Put on subplot title.
                0022 SubplotExp       = 1;   % Put on subplot experiment name.
                0023 SubplotFld       = 1;   % Put on subplot experiment name.
                0024 SubplotSlc       = 0;   % Put on subplot sliceType information.
                0025 SubplotAvg       = 0;   % Put on subplot averaging information.
                0026 SubplotPst       = 0;   % Put on subplot plotStyle information.
                0027 SubplotMinMax    = 0;   % Put on subplot minimum and maximum.
                0028 SubplotModelTime = 0;   % Put on subplot model time.
4cf7d6e47a Dani*0029 SubplotTitleOverride = '';
                0030 
                0031 XLabel = '';
                0032 YLabel = '';
                0033 Edges  = 0;
5bbd0d07c9 Dani*0034 
                0035 UseColorbar       = 0;  % Throw on a colorbar.
                0036 UseNiceTickLabels = 1;  % Use nice tick labels (otherwise default)
                0037 
                0038 Orientation = 'tall';      % Options: 'landscape', 'tall'
                0039 Box         = 'on';        % Options: 'on', 'off'
                0040 Grid        = 'on';        % Options: 'on', 'off'
4cf7d6e47a Dani*0041 Coast       = 0;           % Earth coast line:  0 (off), 1 (on)
                0042 TickDir     = 'in';        % Options: 'in','out'
                0043 Shading     = '';
5bbd0d07c9 Dani*0044 
                0045 CaxisFixed  = 1;   % Use fixed color axis.
                0046 CaxisMinMax = 1;   % Use minimum and maximum for color axis.
                0047 AxesTrimX   = 1;   % Reset axis, trimming in x.
                0048 AxesTrimY   = 1;   % Reset axis, trimming in y.
                0049 ContFixed   = 1;   % Use fixed contour intervals.
                0050 UseConLabel = 1;   % Use 'contour' contour labels.
                0051 UseCnfLabel = 0;   % Use 'contourf' contour labels.
                0052 UseLegend   = 1;   % Put legend on (some) line plots.
                0053 
                0054 LegendPlacement = 1;  % See help for legend legend placement for options.
                0055 TseXaxMod = .5;       % Time averaging sequential tick label mod factor.
                0056 
                0057 % Page layout parameters.
                0058 dxl   = .07;       % Left side margin.
                0059 dxr   = .07;       % Right side margin.
                0060 dxm   = .075;      % Gap between subplots horizontally.
                0061 dxcb  = .025;      % DX for colorbar.
                0062 dxcbg = .005;      % DX for gap between plot and colorbar.
                0063 dyb   = .075;      % Bottom margin.
                0064 dyt   = .1;        % Top margin.
                0065 dym   = .08;       % Gap between subplots vertically.
                0066 titlefac = 0.5;    % Fractional distance from first subplot to top.
                0067 
                0068 % Fontsizes.
4cf7d6e47a Dani*0069 fs_title     = 14;   % Font size:  Title.
                0070 fs_sptitle   = 14;   % Font size:  Subplot title.
                0071 fs_colorbar  = 10;   % Font size:  Colorbar.
                0072 fs_axis      = 12;   % Font size:  Axes.
                0073 fs_axislabel = 12;   % Font size:  Axes label.
                0074 fs_tick      = 12;   % Font size:  Tick label.
                0075 fs_clabel    = 10;   % Font size:  Contour label.
                0076 fs_textbox   = 10;
5bbd0d07c9 Dani*0077 
                0078 % Line details.
4cf7d6e47a Dani*0079 linecolors = {'b','r','k','g','c','m','y','b--','r--','k--','g--','c--'};
                0080 linewidth = .5;
                0081 cmap = 'jet'; % 'jet','solid-dashed','BW'
5bbd0d07c9 Dani*0082 cmapcenter0 = 0;
                0083 labelspacing = 300;
                0084 
                0085 % Axis ranges.
4cf7d6e47a Dani*0086 xlim = [];
                0087 ylim = [];
5bbd0d07c9 Dani*0088 ylimO = [-5200,0];
                0089 ylimA = [0,100000];
4cf7d6e47a Dani*0090 
                0091 offset = 0;
                0092 
                0093 % Text box
                0094 TextBox = '';
                0095 TextPos = [0,0];