fig2img

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

您现在正在关注此提交

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.

引用格式

John Ramshur (2026). fig2img (https://ww2.mathworks.cn/matlabcentral/fileexchange/26898-fig2img), MATLAB Central File Exchange. 检索时间: .

致谢

启发作品: fig2img

类别

Help CenterMATLAB Answers 中查找有关 Printing and Saving 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 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