From: Tschackad on
Hi, i want to make a movie file, from the axes in my GUI. There are several rectangles changing there colors.
The Problem is, that in the final avi file, it looks very different from the original.
Here are two links, the first link is a snapshot of the original axes in my GUI.
the second link shows a snapshot from the avi file, it looks very different :( and i dont know why!

Code:

aviobj = avifile('test.avi','compression','None','fps','3');

for i=1:100
for j=1:9
color = round(flow(j,i)* max);
set(handles.h(j),'FaceColor',(handles.cmap(color,:)));
F = getframe;
aviobj = addframe(aviobj,F);
end

end
%close(fig);
aviobj=close(aviobj);



I hope u can help me

Win 7 x64 and Matlab 2010a


http://rapidshare.com/files/409172221/bild1.jpg


http://rapidshare.com/files/409172238/bild2.jpg
From: us on
"Tschackad " <tschackad(a)aol.com> wrote in message <i2p34g$hqh$1(a)fred.mathworks.com>...
> Hi, i want to make a movie file, from the axes in my GUI. There are several rectangles changing there colors.
> The Problem is, that in the final avi file, it looks very different from the original.
> Here are two links, the first link is a snapshot of the original axes in my GUI.
> the second link shows a snapshot from the avi file, it looks very different :( and i dont know why!
>
> Code:
>
> aviobj = avifile('test.avi','compression','None','fps','3');
>
> for i=1:100
> for j=1:9
> color = round(flow(j,i)* max);
> set(handles.h(j),'FaceColor',(handles.cmap(color,:)));
> F = getframe;
> aviobj = addframe(aviobj,F);
> end
>
> end
> %close(fig);
> aviobj=close(aviobj);
>
>
>
> I hope u can help me
>
> Win 7 x64 and Matlab 2010a
>
>
> http://rapidshare.com/files/409172221/bild1.jpg
>
>
> http://rapidshare.com/files/409172238/bild2.jpg

do NOT triple post...

us
From: us on
"Tschackad " <tschackad(a)aol.com> wrote in message <i2p34f$hqb$1(a)fred.mathworks.com>...
> Hi, i want to make a movie file, from the axes in my GUI. There are several rectangles changing there colors.
> The Problem is, that in the final avi file, it looks very different from the original.
> Here are two links, the first link is a snapshot of the original axes in my GUI.
> the second link shows a snapshot from the avi file, it looks very different :( and i dont know why!
>
> Code:
>
> aviobj = avifile('test.avi','compression','None','fps','3');
>
> for i=1:100
> for j=1:9
> color = round(flow(j,i)* max);
> set(handles.h(j),'FaceColor',(handles.cmap(color,:)));
> F = getframe;
> aviobj = addframe(aviobj,F);
> end
>
> end
> %close(fig);
> aviobj=close(aviobj);
>
>
>
> I hope u can help me
>
> Win 7 x64 and Matlab 2010a
>
>
> http://rapidshare.com/files/409172221/bild1.jpg
>
>
> http://rapidshare.com/files/409172238/bild2.jpg

do NOT double post...

us
From: John on
"Tschackad " <tschackad(a)aol.com> wrote in message <i2p2uu$6uf$1(a)fred.mathworks.com>...
> Hi, i want to make a movie file, from the axes in my GUI. There are several rectangles changing there colors.
> The Problem is, that in the final avi file, it looks very different from the original.
> Here are two links, the first link is a snapshot of the original axes in my GUI.
> the second link shows a snapshot from the avi file, it looks very different :( and i dont know why!
>
> Code:
>
> aviobj = avifile('test.avi','compression','None','fps','3');
>
> for i=1:100
> for j=1:9
> color = round(flow(j,i)* max);
> set(handles.h(j),'FaceColor',(handles.cmap(color,:)));
> F = getframe;
> aviobj = addframe(aviobj,F);
> end
>
> end
> %close(fig);
> aviobj=close(aviobj);
>
>
>
> I hope u can help me
>
> Win 7 x64 and Matlab 2010a
>
>
> http://rapidshare.com/files/409172221/bild1.jpg
>
>
> http://rapidshare.com/files/409172238/bild2.jpg

I'm not totally sure if this is the same thing, but I have created movies using get frame and movie in the past with the help of the following blog article, hope this helps:

http://blinkdagger.com/?s=animation