matlabfrag

版本 1.26.0.0 (732.0 KB) 作者: Zebb Prime
A matlab figure to .eps and .tex file exporter, similar to LaPrint
17.4K 次下载
更新时间 2010/5/4

查看许可证

matlabfrag is a function which exports a Matlab figure to .eps and .tex files for use in LaTeX/pdfLaTeX/LyX. It is inspired by LaPrint, but is intended to be more WYSIWYG, by respecting figure handles better.

Some of the advantages of matlabfrag compared to LaPrint are:
- Much more emphasis on WYSIWYG.
- Handles figures that need the OpenGL or Z-Buffer renderers.
- Text objects are sized correctly (such as with a legend).
- Tick labels are handled better.
- Reduced number of options (which could also be viewed as a disadvantage).
- A great user manual ;-)

To include the figures in LaTeX, pdfLaTeX and LyX I recommend the pstool package. More information can be found in the User Guide.

Please email any bug reports to me (see my account for more details). I'm unlikely to notice any bug reports posted in the comments.

This is version 0.6.16 of matlabfrag, uploaded 04-Apr-2010.
- Fixed a bug that occurred when a figure wasn't frontmost.

引用格式

Zebb Prime (2024). matlabfrag (https://www.mathworks.com/matlabcentral/fileexchange/21286-matlabfrag), MATLAB Central File Exchange. 检索时间: .

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

Community Treasure Hunt

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

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

Fixed a bug that occurred when a figure wasn't frontmost.

1.25.0.0

Documentation update: for plain LaTeX, \input should be used instead of \include.

1.24.0.0

Fixed a version checking bug which caused it to break in r2010a, and a EPS integer overflow bug.

1.23.0.0

Fixed a bug to do with blank strings, and a bug to do with baseline alignment.

1.22.0.0

Changed default painters dpi to 3200, and fixed my broken usage of inputParser.

1.21.0.0

Fixed a bug that occurred with [xyz]ticks set outside [xyz]lims.

1.20.0.0

- Added a test for empty ticks, while ticklabels are not empty.
- Added sections for Legends and the 'Unable to interpret TeX string' warning in the userguide.

1.19.0.0

- Removed AutoTick test from axis scalings, and updated the user guide to reflect this.

1.18.0.0

- Text alignment tweaks (hopefully for the better). In particular, x-tick labels should be vertically aligned better.
- Bug fixes: z-tick label alignment and no-text detection.

1.17.0.0

Fixed a bug that occurred if some (but not all) the tick labels are empty.

1.16.0.0

Fixed the horribly broken compatibility for r2007a and r2007b.

1.15.0.0

Improved alignment of negative xtick labels.
Legend callback should be suppressed during printing.

1.14.0.0

Improved tick label positioning.

1.13.0.0

Fixed some of the annoying resizing issues again.

1.12.0.0

Fixed support for rotated text when using the zbuffer and opengl renderers.

1.11.0.0

- Preliminary support for the opengl and zbuffer renderers.

1.10.0.0

- Fixed a bug that occurred when the figure being exported had no text in it.

1.9.0.0

- Better handling of axis tick labels and changed the substitution text format.
- More examples.
- Improved User Guide.