Save Figures

バージョン 1.0.0.0 (1.65 KB) 作成者: Matthew
This function provides a quick and easy way to save all current plots.
ダウンロード: 3.5K
更新 2010/7/27

ライセンスの表示

This function is intended for people who plot lots of data and need a quick and easy way to save a large number of plots. When the function is called, it brings each open figure object to the foreground by calling its handle. This lets you see it. It prompts you in the main console window of Matlab to supply a filename. It then saves this figure with your filename using multiple file formats, and cycles to the next figure until all of the figures have been saved or skipped.

It has been designed to save in the following four formats:
-Matlab Figure (.FIG)
-Windows Enhanced Metafile (.EMF)
-Portable Network Graphics (.PNG)
-Enhanced Postscript Level 2 Color (.EPS)

These formats were picked to suit my particular needs. The .FIG lets you go back and change figures later in Matlab, .EMF is best for Microsoft Office programs since it is vectorized, EPS is best for LaTeX as a vectorized image, and PNG is good for general purpose use like websites. If you want different file formats it is easy to go into the code and either comment out undesired formats, or add new ones.

引用

Matthew (2026). Save Figures (https://jp.mathworks.com/matlabcentral/fileexchange/28312-save-figures), MATLAB Central File Exchange. 取得日: .

MATLAB リリースの互換性
作成: R2009b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersPrinting and Saving についてさらに検索
バージョン 公開済み リリース ノート
1.0.0.0