saveaspub(h, name, format)
This is a functionally similar to Matlab "saveas" command and saves plots and figures as pdf or eps formats such that the saved file matches the proportions and margins as displayed on screen.
PDF and EPS formats allow the images to be saved in vector formats thus allowing them to be scaled to any sizes and are therefore preferred when used for publications. This is specially useful if Latex or its variants are being used as the document preparation system.
Citation pour cette source
Udit Gupta (2024). saveaspub(h, name, format) (https://www.mathworks.com/matlabcentral/fileexchange/59160-saveaspub-h-name-format), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 | Minor fix. |