How can I display the axes on a video?
25 views (last 30 days)
Show older comments
I have used video writer to make a video but when is already recorded I can't see the axes or the colorbar I have in the plot.
2 Comments
Accepted Answer
Sebastian Castro
on 17 Mar 2015
The default syntax for getframe (without any input arguments) uses the current axes (so, everything that's inside the axes limits).
If you want to show the axes and the colorbar, try passing in the figure instead. For example, to do this with the current figure:
>> frame = getframe(gcf);
- Sebastian
1 Comment
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!