fig2img

Saves the current figure with user specified resolution as an image file or pdf file.

Vous suivez désormais cette soumission

Easy to use function. Let's you save the CURRENT FIGURE as an image file or pdf file. A pop-up dialog prompts user where to save the image and what image compression to use. Default dpi is 300 (print quality). User can specify any dpi. The user can also specify whether to use the default image size or the current figure size on the screen.

Citation pour cette source

John Ramshur (2026). fig2img (https://fr.mathworks.com/matlabcentral/fileexchange/26898-fig2img), MATLAB Central File Exchange. Extrait(e) le .

Remerciements

A inspiré : fig2img

Catégories

En savoir plus sur Printing and Saving dans Help Center et MATLAB Answers

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.6.0.0

Updated comments.

1.4.0.0

1. Fixed error found in how the function extracts the user selected image compressing setting.
2. Added more comments.
3. Added option to save as PDF.

1.1.0.0

I previously uploaded the .asm file and not the .m file. I also changed the usage details some. No changes were made to the code.

1.0.0.0