|
|
| File Information |
| Description |
PRINT2IM outputs a rasterized figure to an array or image file, with:
- Figure borders cropped
- Anti-aliased graphics
PRINT2IM requires an optional target filename and/or target variable, and an optional figure handle - there are no other options to be set. The output image is exactly the size and layout of the figure on the screen.
The image file type is determined by the extension of the filename. If there is no valid extension (".png", ".jpg", ".tif" or ".bmp") then the default extension, ".png", is added.
PRINT2IM is especially useful for saving 3-d graphics to a high quality bitmap, for inclusion in a publication. |
| Acknowledgements |
The author wishes to acknowledge the following in the creation of this submission:
Myaa - My Anti-Alias for Matlab
|
| MATLAB release |
MATLAB 7.5 (R2007b)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 15 Nov 2008 |
Use bilinear interpolation (previously bicubic) for smoother output & faster rendering. |
| 18 Nov 2008 |
Generalized to output to several image formats and output to an array if wanted. Name changed from PRINT_PNG as a result. |
| 01 Dec 2008 |
Avoid changing figure position units |
|
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