|
|
| File Information |
| Description |
PRINT_EPS saves a figure to an eps file, with:
- Figure borders cropped
- Fonts embedded (as subsets)
- Accurate vector graphics, compressed losslessly
- High quality bitmap graphics, compressed lossily
- Line dash lengths vary with line width (as on screen)
- Grid lines given their own dot style, instead of dashed
- No options to be set
PRINT_EPS requires only a target filename and an optional figure handle - there are no other options to be set. The output eps is exactly the size and layout of the figure on the screen. Additionally, line styles for dotted and dashed lines are improved for clarity, along with grid lines, resembling better those in the original figure. The function is perfect for generating eps figures for use in scientific publications.
PRINT_EPS uses ghostscript and pdftops (from the Xpdf package), so these must be installed on your system and the executables must be on your system's path. Get them from -
Ghostscript: http://www.ghostscript.com
Xpdf: http://www.foolabs.com/xpdf |
| Acknowledgements |
The author wishes to acknowledge the following in the creation of this submission:
savefig
|
| MATLAB release |
MATLAB 7.5 (R2007b)
|
| Other requirements |
Ghostscript, Xpdf |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 01 Dec 2008 |
Avoid changing figure position units |
| 11 Dec 2008 |
Fix line styles to look more like those on screen |
| 11 Dec 2008 |
Fix line styles, and set grid lines to a different style from dotted lines |
| 11 Dec 2008 |
Improve finding of grid lines to update line style |
| 12 Dec 2008 |
Change dash length with line width |
| 15 Dec 2008 |
Improved line styles for thinner lines |
|
Public Submission Policy
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Disclaimer prior to use.
Contact us at files@mathworks.com