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

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

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

revision 1.1 by adcroft, Wed Nov 21 19:18:10 2001 UTC revision 1.2 by adcroft, Fri Jun 4 17:09:11 2004 UTC
# Line 21  nz=prod(size(z)); Line 21  nz=prod(size(z));
21  if max(size(h)) ~= prod(size(h)) | prod(size(h)) ~= nx  if max(size(h)) ~= prod(size(h)) | prod(size(h)) ~= nx
22   error('H must have dimensions of size(X)');   error('H must have dimensions of size(X)');
23  end  end
24  ndims(squeeze(a))  %ndims(squeeze(a))
25  size(squeeze(a))  %size(squeeze(a))
26  if ndims(squeeze(a)) ~= 2 | sum(size(squeeze(a)) ~= [nx nz])  if ndims(squeeze(a)) ~= 2 | sum(size(squeeze(a)) ~= [nx nz])
27   error('A must have dimensions of size(X) x size(H)');   error('A must have dimensions of size(X) x size(H)');
28  end  end

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

  ViewVC Help
Powered by ViewVC 1.1.22