/[MITgcm]/MITgcm_contrib/enderton/Diagnostics/DiagPlotDefaults.m
ViewVC logotype

Annotation of /MITgcm_contrib/enderton/Diagnostics/DiagPlotDefaults.m

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (hide annotations) (download)
Wed Aug 10 19:58:03 2005 UTC (19 years, 11 months ago) by enderton
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +11 -9 lines
Added functionality to specify colormap, overridding and/or centering caxis.

1 enderton 1.1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2     % Plotting parameters %
3     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4    
5     % Tick label information.
6     lontick = [-180:60:180];
7     lattick = [ -60:30:60 ];
8     lonticklabel = {'180W','120W','60W','0','60E','120E','180E'};
9     latticklabel = { '60S','30S','0','30N', '60N' };
10     vertickA = [0:10000:100000]; % Top down.
11     vertickO = [-5000:1000:0]; % Bottom up.
12     verticklabelA = vertickA./100; % Show in hPa rather than Pa.
13     verticklabelO = abs(vertickO); % Have depth as positive quantity.
14     timtick = [0:1:12];
15     timticklabel = {0:1:12};
16    
17     % Title parameters.
18     FigureTitle = 1; % Put on figure title.
19     SubplotTitle = 1; % Put on subplot title.
20     SubplotExp = 1; % Put on subplot experiment name.
21     SubplotFld = 1; % Put on subplot experiment name.
22     SubplotSlc = 0; % Put on subplot sliceType information.
23     SubplotAvg = 0; % Put on subplot averaging information.
24     SubplotPst = 0; % Put on subplot plotStyle information.
25     SubplotMinMax = 0; % Put on subplot minimum and maximum.
26     SubplotModelTime = 0; % Put on subplot model time.
27    
28     UseColorbar = 1; % Throw on a colorbar.
29     UseNiceTickLabels = 1; % Use nice tick labels (otherwise default)
30    
31     Orientation = 'tall'; % Options: 'landscape', 'tall'
32     Box = 'on'; % Options: 'on', 'off'
33     Grid = 'on'; % Options: 'on', 'off'
34 molod 1.3 Coast = 0;
35 enderton 1.1
36     CaxisFixed = 1; % Use fixed color axis.
37     CaxisMinMax = 1; % Use minimum and maximum for color axis.
38     AxesTrimX = 1; % Reset axis, trimming in x.
39     AxesTrimY = 1; % Reset axis, trimming in y.
40     ContFixed = 1; % Use fixed contour intervals.
41     UseConLabel = 1; % Use 'contour' contour labels.
42     UseCnfLabel = 0; % Use 'contourf' contour labels.
43     UseLegend = 1; % Put legend on (some) line plots.
44    
45 enderton 1.4 LegendPlacement = -1; % See help for legend legend placement for options.
46     TseXaxMod = .5; % Time averaging sequential tick label mod factor.
47 enderton 1.1
48     % Page layout parameters.
49     dxl = .07; % Left side margin.
50     dxr = .07; % Right side margin.
51     dxm = .075; % Gap between subplots horizontally.
52     dxcb = .025; % DX for colorbar.
53     dxcbg = .005; % DX for gap between plot and colorbar.
54     dyb = .075; % Bottom margin.
55     dyt = .1; % Top margin.
56     dym = .08; % Gap between subplots vertically.
57     titlefac = 0.5; % Fractional distance from first subplot to top.
58    
59     % Fontsizes.
60 enderton 1.4 fs_title = 16; % Font size: Title.
61     fs_sptitle = 16; % Font size: Subplot title.
62 enderton 1.1 fs_colorbar = 12; % Font size: Colorbar.
63 enderton 1.4 fs_axis = 14; % Font size: Axes.
64     fs_tick = 14; % Font size: Tick label.
65     fs_clabel = 11; % Font size: Contour label.
66 enderton 1.1
67     % Line details.
68     linecolors = {'b','r','k','g','c','m','y'};
69     linewidth = 1.5;
70 enderton 1.4 cmap = 'jet';
71     cmapcenter0 = 0;
72 enderton 1.1
73     % Axis ranges.
74 enderton 1.4 ylimO = [-5200,0];
75     ylimA = [0,100000];

  ViewVC Help
Powered by ViewVC 1.1.22