Save Plot To Disk¶
Save the plot to a file.
The Advanced Plotting Toolkit supports vector output in PDF format, as well as common raster image formats like PNG, TIFF and JPEG.
Wire a file path to the Path terminal; any existing file will be overwritten. The output format is determined using the file extension (case-insensitive).
Plot ID/Plot ID Out- Plot identifier. Plot ID Out always contains the same value as Plot ID.
Path- The plot will be saved to this file. Any existing file will be overwritten. An error occurs if the destination is not writable, or is a directory.
Error In/Out- Terminals for standard error functionality.
Example¶
Download Saving to Disk.vi,
or see Examples for a complete list of examples.
Supported formats¶
| Format | Description | Extension | Kind |
|---|---|---|---|
| Portable Document Format | Vector | ||
| PNG | Portable Network Graphics | .png | Bitmap |
| BMP | Windows Bitmap | .bmp | Bitmap |
| TIFF | Tagged Image File Format | .tiff, .tif | Bitmap |
| JPEG | Joint Photographic Experts Group | .jpeg, .jpg | Bitmap |
| GIF | Graphics Interchange Format | .gif | Bitmap |
Errors¶
- 402904 - Failed to Save File. An error occured when saving; for example, invalid permissions or a missing directory.
- 402903 - Unrecognized File Extension
- 402902 - Invalid Plot Identifier
- 402901 - Error in Plotting Library
- 402900 - Failed to Initialize Plotting Library