Using the HP 7550A Plotter with Gnuplot
A D V E R T I S E M E N T
Gnuplot supports the Hewlett-Packard Graphics Language (HPGL) which is used
for sending plots to the HP 7550A Plotter located in Holmes 244. You must use
the set term command to set the terminal to hpgl, as
shown:
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 plotter. You can
first save the output to a file and send that file to the plotter, or you can
directly print to the plotter. In order to send the output to a file, use the
following set output command, substituting your own file name
for filename.hpgl:
set output "filename.hpgl"
You then send that file to the HP 7550A plotter with this command: (Typed at the
Unix prompt)
lp -dhp7550a filename.hpgl
You can also set the output file to plot directly to the plotter. However,
remember to note that you must bring your own paper when sending the output to
the plotter. In order to send the output to the plotter (thereby bypassing the
need to create a plot file), use the following set output
command:
set output "|lp -dhp7550a"
For both of these output methods, the file is not "sent" until another output
(or the same output) file is selected, or until Gnuplot terminates. After you
are done with one plot, simply type the same set output command
to "flush" the file.
|