MATLAB Answers

RuiQi
0

Automatically remove white space from figure

Asked by RuiQi
on 16 Jul 2017
Latest activity Answered by Pankaj
on 7 Oct 2018
How do I remove the white space from the figures ? I don't want to have to save the image then manually crop it.
Instead of Matlab's dumb figure it would be something like
smart_figure('NoWhiteSpace');
plot(..);
or
figure;
plot(..);
smart_clean('NoWhiteSpace');
Is there such a function ?

  0 Comments

Sign in to comment.

Tags

2 Answers


Answer by Image Analyst
on 16 Jul 2017

Attach images showing what you have and what you want.
You can change the amount of gray padding about your axes by setting the Position property of the axes.

  0 Comments

Sign in to comment.