VideoWriter clipping my axes
Ältere Kommentare anzeigen
I'm using the VideoWriter feature for a simple animation of motion of a 3-D surface. Running through the loop, I can see in my figure window that the plot looks great, but something in the process is removing several dozen pixels bounding the entire figure. The result is that I only see a small corner of the axes. Is getframe trimming away my edges? How can I fix it?
Akzeptierte Antwort
Weitere Antworten (1)
Sean de Wolski
am 9 Aug. 2013
I would guess getframe ios the culprit. Try cycling through the renderers - I would start with 'Painters'
set(gcf,'renderer','painters')
5 Kommentare
Chad Greene
am 9 Aug. 2013
Sean de Wolski
am 9 Aug. 2013
I'd be curious to see a reproducible example.
Chad Greene
am 9 Aug. 2013
Sean de Wolski
am 9 Aug. 2013
random values!
Chad Greene
am 9 Aug. 2013
Kategorien
Mehr zu Audio and Video Data finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!