[MITgcm-support] matlab visualization of plume of on shelf
Michael Schaferkotter (Contractor)
Michael.Schaferkotter at nrlssc.navy.mil
Fri Feb 20 15:04:47 EST 2004
hi all:
i/m trying to visualize the first run 'plume on shelf' and i/m following instructions given at:
http://mitgcm.org/sealion/online_documents/node95.html (looking at the output)
after starting matlab 6.1 (also tried 6.5) and issuing
H=rdmds('Depth');
on trying
contourf(H');
we meet:
> >> size(H)
>
> ans =
>
> 320 1
>
> >> contourf(H)
> ??? Index exceeds matrix dimensions.
>
> Error in ==> /common/matlab6.1/toolbox/matlab/specgraph/contourf.m
> On line 119 ==> xx = [2*x(:,1)-x(:,2), x, 2*x(:,nz)-x(:,nz-1)];
this makes some sense in that you wouldn/t probably contour a 1d array (i don/t consider 320x1 a 1d array, though apparently
matlab does).
so what/s the deal?
michael
More information about the MITgcm-support
mailing list