Description Usage Arguments Value Author(s) References Examples
This function saves a plot view to a image file like PNG or JPEG, etc.
1 |
obj |
the view object (usually returned by a plotting function) |
filename |
the file name (must have an explicit extension; see the references for supported image formats) |
width |
the desired width (pixels) |
height |
the desired height |
TRUE
if the plot is successfully saved; otherwise FALSE
Yihui Xie
Supported image formats: http://doc.qt.nokia.com/latest/qimagewriter.html#supportedImageFormats
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.