1 function plot_state_2d(fig,red,s,tign,obs,time_now)
6 % tign = tign(1:10:end,1:10:end);
11 kk=find(x.data(:)>=7);
13 x.data=double(x.data);
15 x.data=x.data+3*floor((time_now-x.time)/0.25);
27 color={'k','b','-.r'};
36 z = z(1:10:end,1:10:end);
37 lon = lon(1:10:end,1:10:end);
38 lat = lat(1:10:end,1:10:end);
40 [c,h]=contour(lon,lat,z,[time_now,time_now],color{i});
43 h_legend=legend(s{:});
44 set(h_legend,'FontSize',16);
45 a=[red.min_lon,red.max_lon,red.min_lat,red.max_lat];