Borrar filtros
Borrar filtros

VideoWriter Help

3 visualizaciones (últimos 30 días)
Paulina
Paulina el 21 de Mzo. de 2011
Hej. I want to save my animated 4D plot as an avi file. I can do this with videowriter function however it somehow cuts the edges of the graph (labels of axes and terminal values are invisible). Is there a possibility to adjust the captured image? Changing the size of my graph does not help at all
Any help will be really appreciated

Respuesta aceptada

Sarah Wait Zaranek
Sarah Wait Zaranek el 22 de Mzo. de 2011
You can set the rectangular frame you want to capture.
currFrame = getframe(gca,[-10 -10 400 400]);
The value of cdata in your captured frame (using the default settings) will give you a starting point.
or you can capture the entire window by using the figure handle as input:
F = getframe(figure_handle);
getframe help documentation spells this out in more detail:
  2 comentarios
Paulina
Paulina el 23 de Mzo. de 2011
Thanks! That's exactly what I've figured out yesterday night:P A wave of inspiration:P
Sarah Wait Zaranek
Sarah Wait Zaranek el 23 de Mzo. de 2011
Hah. Oh well, at least it is recorded for the next person who has the same issue :)

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Animation en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by