Hi!
Im doing a temperature illustration and saving it as an avi-file. My problem is that the colorbar doesn't shows in the avi-file. Is there any one who can help me to add the bar in the avi file?
H(1:(round(xvarde(2))-round(xvarde(1)))) = struct('cdata',[],'colormap',[]);
g=1
for n=round(xvarde(1)):round(xvarde(2))
figure(5)
pcolor(x,y,z(:,:,n)), caxis([Tmin Tmax]), colorbar;
for i=g
H(i)=getframe
g=g+1
end
end
movie(H(1:(g-1)))
movie2avi(H(1:(g-1)),'Inspelning')
0 Comments
Sign in to comment.