How to make movie

4 views (last 30 days)
TTA
TTA on 30 Sep 2016
Commented: Image Analyst on 2 Oct 2016
How can I make movie with the axis and title label inclusive, so that when the movie is playing both the axis and title label can be showing as well..............
thanks
  1 Comment
Geoff Hayes
Geoff Hayes on 30 Sep 2016
Toyese - please show some of your code so that we can get an idea as to how you are playing the frames of your movie. Is each frame shown in a fixed-sized axes object so that you can add labels for the x-axis and y-axis? Or does each frame use all of the figure?

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 1 Oct 2016
See attached demo.
  3 Comments
Walter Roberson
Walter Roberson on 2 Oct 2016
Use VideoWriter and writeVideo() to create the movie. You can use getframe to capture something that is on-screen.
Image Analyst
Image Analyst on 2 Oct 2016
That's what my demo does. I don't see why it works with surf() but not with contourf(). I haven't had time to dig into why, and Toyese forgot to post the mode of mine that he adapted, plus I'm leaving on a 5 day trip tomorrow so I may never have time.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!