getframe didn't capture my axes properly
2 次查看(过去 30 天)
显示 更早的评论
why getframe function makes a strange behaves when I used it in my GUI ?
I call it to capture the plotted animation on my axes in the following GUI:
getframe(handles.myAxes)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/674953/image.png)
but when I combined these frames in one single video file using VideoWriter this is what I get !
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/674958/image.png)
you can notice that getframe doesn't capture my entire axes but a portion from it plus some area from the container panel, how to fix this issue ?
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!