Get rid of the white margin in saveas output

Version 1.6.0.0 (1,81 ko) par E Akbas
MATLAB's saveas pads your figure with a white margin. This m-file is prevents that.
4,4K téléchargements
Mise à jour 27 juin 2014

Afficher la licence

This m-file is an alternative to built-in saveas command. It saves your figure without the white box/margin around it.

Citation pour cette source

E Akbas (2024). Get rid of the white margin in saveas output (https://www.mathworks.com/matlabcentral/fileexchange/34024-get-rid-of-the-white-margin-in-saveas-output), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2010b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Printing and Saving dans Help Center et MATLAB Answers
Remerciements

A inspiré : tightfig(hfig)

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.6.0.0

Bugfix: an error was being produced when figure handle was given as input.

1.5.0.0

Outside legends were not handled correctly. Fixed.

1.4.0.0

Abbreviated author name in the license file.

1.3.0.0

Edited author's name in the m-file.

1.2.0.0

Updated the code to handle multiple axes within a figure, like subplots, colorbars.

1.0.0.0