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

Diff of /MITgcm_contrib/enderton/Diagnostics/DiagPlotTitles.m

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

revision 1.1 by enderton, Mon Jan 31 15:43:27 2005 UTC revision 1.2 by enderton, Wed Feb 2 15:38:21 2005 UTC
# Line 27  if SubplotTitle Line 27  if SubplotTitle
27      info = page{inrow}{incol};      info = page{inrow}{incol};
28            
29      % Experiment information.      % Experiment information.
30      exptxt = '';      trltxt = '';
31      if SubplotExp      if SubplotExp
32          exptxt = [info{iexp},'; '];          trltxt = [info{itrl},'; '];
33      end      end
34            
35      % Field and unit information.      % Field and unit information.
# Line 85  if SubplotTitle Line 85  if SubplotTitle
85      if SubplotMinMax      if SubplotMinMax
86          clear mn mx;          clear mn mx;
87          if ismember(cmp,{'OvC','OvE','OvF'})          if ismember(cmp,{'OvC','OvE','OvF'})
88              for inexp = 1:nexp              for intrl = 1:ntrl
89                  mn(inexp) = min(data{inrow}{inexp}(:));                  mn(intrl) = min(data{inrow}{intrl}(:));
90                  mx(inexp) = max(data{inrow}{inexp}(:));                  mx(intrl) = max(data{inrow}{intrl}(:));
91              end              end
92              mn = num2str(min(mn(:)));              mn = num2str(min(mn(:)));
93              mx = num2str(max(mx(:)));              mx = num2str(max(mx(:)));
# Line 99  if SubplotTitle Line 99  if SubplotTitle
99      end      end
100    
101      % Throw on the subplot title.      % Throw on the subplot title.
102      titlestr = [exptxt,fldtxt,timtxt,contxt,minmaxtxt];      titlestr = [trltxt,fldtxt,timtxt,contxt,minmaxtxt];
103      titlestr = AddSlashesBeforeUnderscores(titlestr(1:end-2));      titlestr = AddSlashesBeforeUnderscores(titlestr(1:end-2));
104      title(titlestr,'fontsize',fs_sptitle);      title(titlestr,'fontsize',fs_sptitle);
105  end  end

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.22