imagesc and movie file creation

1 view (last 30 days)
George
George on 22 Apr 2013
Hi
I have a question regarding the creation of a movie file using 'imagesc'.
I have created the follwoing program to produce a video.
%for n=1:10
%imagesc(r,z,T2);colorbar;
%title(['t=' num2str(t(n))]);
%pa=xlabel('X (\mum)') ;
%set(pa,'FontSize',20,'FontWeight','b');
%pa=ylabel('Y (\mum)') ;
%set(pa,'FontSize',20,'FontWeight','b');
%F(n) = getframe;
%end
unforunately when i play the video using the command movie(F) the resulting video does not either the axes or the colormap. How could i correct it?
regards
george
  1 Comment
Matt Kindig
Matt Kindig on 22 Apr 2013
What exactly is the loop supposed to do? You are not changing the input to imagesc() each iteration, for one.
Does the title() update as it should?

Sign in to comment.

Answers (0)

Categories

Find more on Images in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!