Add colorbar to .avi file
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Convert Image Type en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!