I am creating some figures in MATLAB and I have a command that I run that coverts them to .eps after the figure is created.
However, I want the figures to be maximized before they are saved to .eps. I am looking for a command that tells MATLAB to resize the figure to the screen size. Then I want to run my function which saves to a .eps.
Is there such a way?
I have heard it may be possible to specify the pixel widths of the figure. I forgot that command, so if you know it, that would be helpful.
What I really want is some type of maximize_figure()
function if possible.
When opening a new figure, you can pass arguments to the figure
function:
figure('units','normalized','outerposition',[0 0 1 1])
A full list of figure properties is also available here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With