Changeset 26963


Ignore:
Timestamp:
04/19/22 16:49:50 (3 years ago)
Author:
dmenemen
Message:

plot more variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/test/MITgcm/tools/lookat_4004.m

    r26962 r26963  
    88end
    99
    10 figure(2), orient tall, wysiwyg
    1110for ts=1:5
     11    figure(ts+1), clf, orient tall, wysiwyg
    1212    e=readbin([pn 'Eta.' myint2str(ts,10) '.data'],[3 200]);
    1313    p=readbin([pn 'PHL.' myint2str(ts,10) '.data'],[3 200]);
     
    2020    subplot(514), mypcolor(h); title('SHICE heatFlux'), colorbar
    2121    subplot(515), mypcolor(1:200,-1:-1:-90,squeeze(ph(2,:,:))'); title('PH'), colorbar
    22     pause
    2322end
     23
     24for ts=0:5
     25    figure(ts+7), clf, orient tall, wysiwyg
     26    s =readbin([pn 'S.' myint2str(ts,10) '.data'],[3 200 90]);
     27    t =readbin([pn 'T.' myint2str(ts,10) '.data'],[3 200 90]);
     28    u =readbin([pn 'U.' myint2str(ts,10) '.data'],[3 200 90]);
     29    v =readbin([pn 'V.' myint2str(ts,10) '.data'],[3 200 90]);
     30    w =readbin([pn 'W.' myint2str(ts,10) '.data'],[3 200 90]);
     31    in=find(~s); s(in)=nan; t(in)=nan;
     32    clf, subplot(711), mypcolor(r1); title(['draft @ ts=' int2str(ts)]), colorbar
     33    subplot(712), mypcolor(r2-r1); title('draft change'), colorbar
     34    subplot(713), pcolorcen(1:200,-1:-1:-90,squeeze(s(2,:,:))'); title('S'), colorbar
     35    subplot(714), pcolorcen(1:200,-1:-1:-90,squeeze(t(2,:,:))'); title('T'), colorbar
     36    subplot(715), pcolorcen(1:200,-1:-1:-90,squeeze(u(2,:,:))'); title('U'), colorbar
     37    subplot(716), pcolorcen(1:200,-1:-1:-90,squeeze(v(2,:,:))'); title('V'), colorbar
     38    subplot(717), pcolorcen(1:200,-1:-1:-90,squeeze(w(2,:,:))'); title('W'), colorbar
     39end
Note: See TracChangeset for help on using the changeset viewer.