printFigs2Files(var​argin)

版本 1.4.0.0 (15.3 KB) 作者: David J. Mack
Print figures to files in several formats for publication.
62.0 次下载
更新时间 2017/9/7

查看许可证

This function prints (finalized) figures to files in several formats, stores additional UserData as text files and creates also a folder with bitmap-thumbnails of the figures for quick check.
The intended workflow is the following:
1. Gather your data.
2. Create nice figures (set all important properties of the figures, most importantly 'PaperPositionMode').
3. (Optional) Store supplemental data as formatted string in the figure's 'UserData' (e.g. statistics, notes, etc.).
4. (Optional) Resize your legend (probably using RESIZELEGEND; ML-FEX ID:58914).
5. Call PRINTFIGS2FILES with your intended parameters.
The UserData can be additionally of type STRUCT or, if TABLE2CHAR (ML-FEX ID:58951) is present, of type TABLE/DATASET.
Feature request are welcome!
Links to the other files:
RESIZELEGEND: http://ch.mathworks.com/matlabcentral/fileexchange/58914
TABLE2CHAR: http://ch.mathworks.com/matlabcentral/fileexchange/58951

引用格式

David J. Mack (2024). printFigs2Files(varargin) (https://www.mathworks.com/matlabcentral/fileexchange/58980-printfigs2files-varargin), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2013b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Printing and Saving 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.4.0.0

[FIX] Missing check for TABLE2CHAR.
[FIX] Error when parsing STRUCTs with column fields.
[MOD] Now also uses the EVALC(DISP(.)) hack to convert STRUCT userData.
[MOD] Added sub-function OBJ2CHAR for the EVALC(DISP(.)) hack.

1.3.0.0

Several modifications & fixes (see m-file for details) and added functionality ('fig' & 'figc' formats to save as .fig-files using SAVEFIG).

1.2.0.0

[MOD] Optional input argument 'Directory' may now also be empty (in which case the default is used).
Minor error during upload.

1.1.0.0

ADDED: Now converts any non-emtpy UserData type to text by using a fallback solution for unsupported types.

1.0.0.0

Added links and note on dependency.