Resize figure window to reduce whitespace?

I have a script that automatically generates reports using wordreport, which includes copying figures to the Windows clipboard (print -dmeta) then pasting them into a Word document. Sometimes there is excess white space around the axis of my plots. For example, if normally there are 4 subplots in a figure generated with subplot(4,1,1) but in a particular instance I only generate the first 2 subplots, I would like to copy the figure to the clipboard without the excess whitespace.
Is there a straightforward way to do so? This is a "nice to have" not "need to have" item, so feel free to answer "no".

 Respuesta aceptada

per isakson
per isakson el 7 de En. de 2013

0 votos

1 comentario

K E
K E el 7 de En. de 2013
Editada: K E el 7 de En. de 2013
A file linked to those, tightfig, was just what I was looking for. Thanks!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Creating, Deleting, and Querying Graphics Objects en Centro de ayuda y File Exchange.

Preguntada:

K E
el 7 de En. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by