/[MITgcm]/MITgcm_contrib/heimbach/cs_adj_advdiff/results_ad/myplotcube.m
ViewVC logotype

Annotation of /MITgcm_contrib/heimbach/cs_adj_advdiff/results_ad/myplotcube.m

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


Revision 1.2 - (hide annotations) (download)
Tue Oct 17 21:44:37 2006 UTC (18 years, 9 months ago) by heimbach
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +7 -2 lines
Updating CS adjoint to latest.

1 heimbach 1.1
2     xcg=rdmds('XG');
3     ycg=rdmds('YG');
4     xcs=rdmds('XC');
5     ycs=rdmds('YC');
6    
7     BBB=rdmds('adxx_theta.0000000000');
8    
9     AAA=squeeze(BBB(:,:,1));
10    
11 heimbach 1.2 mymin=min(min(AAA));
12     mymax=max(max(AAA));
13    
14 heimbach 1.1 missing = 0.;
15     [xxx,yyy] = find(AAA==missing);
16     nnn = length(xxx);
17     for iii = 1:nnn
18     AAA(xxx(iii),yyy(iii)) = NaN;
19     end
20    
21 heimbach 1.2 grph_CS(AAA,xcs,ycs,xcg,ycg,-0.E-2,1.E-2,0)
22 heimbach 1.1
23 heimbach 1.2 title( ['cubed-spere adv.-diff. adjoint: adxx\_theta', ...
24     ' min/max = ',num2str(mymin,3), ' / ', num2str(mymax,3)] )
25 heimbach 1.1
26     filename= [ 'cs_advdiff_adjoint_adxx_theta' ]
27     %%%eval([ 'print -depsc ', filename ])
28 heimbach 1.2 %%%eval([ 'print -djpeg ', filename ])

  ViewVC Help
Powered by ViewVC 1.1.22