/[MITgcm]/MITgcm/utils/matlab/displaytiles.m
ViewVC logotype

Diff of /MITgcm/utils/matlab/displaytiles.m

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

revision 1.1 by adcroft, Fri Aug 17 18:07:08 2001 UTC revision 1.2 by adcroft, Fri Jun 4 17:03:50 2004 UTC
# Line 6  function [] = displaytiles(A) Line 6  function [] = displaytiles(A)
6  global cmin cmax  global cmin cmax
7  clf  clf
8    
9    if size(A,3)==1
10     A=tiles(A,1:6);
11    end
12    
13  cmin=min(min(min(A)));  cmin=min(min(min(A)));
14  cmax=max(max(max(A)));  cmax=max(max(max(A)));
15  if isnan(cmin)  if isnan(cmin)
# Line 34  myplot(A(:,:,6)') Line 38  myplot(A(:,:,6)')
38    
39  %Colorbar  %Colorbar
40  subplot(3,10,30)  subplot(3,10,30)
41  x=1;  x=[0 1];
42  y=(0:63)'/63*(cmax-cmin)+cmin;  y=(0:63)'/63*(cmax-cmin)+cmin;
43  pcol(x,y,y);  pcol(x,y,[y y]);
44  set(gca,'XTickLabel',[]);  set(gca,'XTickLabel',[]);
45    
46  function [] = myplot( Q )  function [] = myplot( Q )

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

  ViewVC Help
Powered by ViewVC 1.1.22