saveas
Save figure to specific file format.
Syntax
saveas(fig, filename)
saveas(fig, filename, formattype)
Input argument
fig - figure object.
filename - character vector or scalar string: destination filename.
formattype - character vector or scalar string: extension filename.
Description
saveas save figure to specific file format.
supported formats:
Option
Format
File extension
svg
SVG (scalable vector graphics)
.svg
Full page Portable Document Format (PDF) color
png
PNG 24-bit
.png
jpg
JPEG 24-bit
.jpg
gif
Graphics Interchange Format
.gif
tif
Tagged Image File Format
.tif
Example
See also
gcf.
History
Version
Description
1.0.0
initial version
1.13.0
tiff format added
Author
Allan CORNET
Last updated
Was this helpful?