Add colorbar to .avi file

1 visualización (últimos 30 días)
Johan
Johan el 18 de Jun. de 2012
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')

Respuestas (0)

Categorías

Más información sobre Convert Image Type en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by