Using the Postscript Printer with Gnuplot
Gnuplot supports the PostScript page definition language which is used by
the PostScript printer located in Holmes 244. You must use the set
term command to set the terminal to postscript, as shown: set term postscriptThe PostScript terminal setting has a few options which affect the way a PostScript plot is created. These options are followed after the key word, postscript. Because the settings are optional, they may be omitted in the set term command.
In addition to setting the terminal type for Gnuplot, you must also set the
output file. There are two methods to plot your output to the printer. You can
first save the output to a file and send that file to the printer, or you can
directly print to the printer. In order to send the output to a file, use the
following set output command, substituting your own file name
for filename.ps:
You can also set the output file to plot directly to the printer. However,
remember to note that you must bring your own paper when sending the output to
the printer. In order to send the output to the printer (thereby bypassing the
need to create a plot file), use the following set output
command:
|
Author: Ben Yoshino (ben@wiliki.eng.hawaii.edu)Comments, Questions? | E-mail: webmaster@wiliki.eng.hawaii.edu Last updated on Thursday, August %.1d, 2002 Copyright © 2001 University of Hawai`i, College of Engineering, Computer Facility All rights reserved. |