repo.or.cz
/
wrf-fire-matlab.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
added arrays to read_fmw_wrfout.m
[wrf-fire-matlab.git]
/
util1_jan
/
diff_fig.m
blob
f0432e93ad2b5b35f12365b322a72f108fcae91e
1
function diff_fig(old,new,var,i,j)
2
var_old=old.(var);
3
var_old=var_old(i,j);
4
var_new=new.(var);
5
var_new=var_new(i,j);
6
[ii,jj]=ndgrid(i,j);
7
subplot(1,3,1)
8
mesh(ii,jj,var_old)
9
title([var,' old'],'Interpreter','none')
10
subplot(1,3,2)
11
mesh(ii,jj,var_new)
12
title([var,' new'],'Interpreter','none')
13
subplot(1,3,3)
14
mesh(ii,jj,var_new-var_old)
15
title([var,' dif'],'Interpreter','none')
16
end
17
18
19