Add colorbar to .avi file
4 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Audio and Video Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!