getframe didn't capture my axes properly

1 view (last 30 days)
Osama Alkurdi
Osama Alkurdi on 5 Jul 2021
Edited: Osama Alkurdi on 5 Jul 2021
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)
but when I combined these frames in one single video file using VideoWriter this is what I get !
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 ?

Answers (0)

Tags

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by