Resize figure window to reduce whitespace?

조회 수: 2 (최근 30일)
K E
K E 2013년 1월 7일
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".

채택된 답변

per isakson
per isakson 2013년 1월 7일
  댓글 수: 1
K E
K E 2013년 1월 7일
편집: K E 2013년 1월 7일
A file linked to those, tightfig, was just what I was looking for. Thanks!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Printing and Saving에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by