Skip to content

Exporting graph as images

It is an obvious scenario to want to export graphs as images.

There are several ways to do this, both via the user interface and via the command line for automated processes.

On the user interface

Exporting images via the user interface is very simple. Several icons on the toolbar allow you to do this.

Icon Action
Copy image
(Windows only)
Copy graph to clipboard
Copy the graph to the clipboard in a vectorial image format.
Save image as Save graph to a file
Save the graph into an image file, PNG format by default, other formats available in the Preferences.
Print image Print the graph
Print the graph on a printer.

On command line

Exporting images on command line is performed through one of -saveXXX command. Replace XXX by a file format extension (png, gif, ...). See the complete description in the Command line options page.

Example:

-savepng "D:/mygraph.png"

In the same way, PrestoPlot has a command to save all graphs at once, in a directory. For this, use the -saveXXXallgraphs command.

Example:

-savepngallgraphs "D:/mydirectory/"