Outputing to Graphics files
You cannot output directly from GnuPlot to Graphics files. You could
use the convert command (convert test.ps test.jpeg) if you had
printed to a file, or you can use the screen grab option in Image
Magick. Do the following to get a graphics files version of a graph.
For more information on ImageMagick, see here for information on the display
program or here for information on the convert
- Have the graph you want displayed in a graphics window.
- Have ImageMagick started. You can do this by typing display
& in a shelltool or commandtool (not at the gnuplot prompt).
- If you didn't have Gnuplot already running, choose Load from the
menues that pop up when you hold a mouse button down over Image
- Choose Grab
- Move the Grab window if you have to, and make sure that the
window with your graph in it is unobstructed.
- Click Okay in the Grab Window. Then click the left mouse button
in the window with the Graph you want.
- After a couple of seconds, a copy of the graph should pop up in
GnuPlots' window. You can resize it or apply effects to it within
- Choose Save from ImageMagick's menu.
- Choose format from the Save screen.
- Select the graphics type you want (i.e., .jpeg or
- Give the file the name you want, and click on Save.
Table of Contents - Previous - Outputting to a Postscript File - Next - Saving and Working from a File
College of Natural Sciences /
University of Northern Iowa /
Copyright © 1996 College of Natural Sciences. All Rights Reserved.
Last Modified: 10/29/96