11 xh=([0:m-1]+0.5)*dx;
\r
12 yh=([0:n-1]+0.5)*dy;
\r
13 [xx,yy]=ndgrid(x,y);
\r
15 hsc=1e5; % scale for flux labels
\r
16 quiver(xx(ix,iy),yy(ix,iy),sc*u(ix,iy),sc*v(ix,iy),0,'k')
\r
18 %contour(y,x,l',[0 0],'y')
\r
19 h=pcolor(xh,yh,(1/hsc)*f');
\r
23 c(2:31,:)=cc(22:51,:);
\r
26 c(i,:)=t*cc(64,:)+(1-t)*cc(52,:);
\r
32 % title(hc,sprintf('%e J/m^2/s',hsc))
\r
33 title(hc,'10^5 J/m^2/s')
\r
35 mx=4e5; % max color displayed
\r
38 set(h,'edgecolor','none')
\r
43 zlabel('heat flux (J/m^2/s)')
\r
45 axis([0,m*dx,0,n*dy,0,mx])
\r