# gnuplot load file to make and print postscript file # generate postscript graphics instead of screen graphics # "encapsulated" postscript that can be inserted in other files set terminal postscript eps monochrome "Times-Roman" 24 # send it to a file rather than the input window set output "gnuplot.eps" # eps makes half-size landscape by default # make it a bit bigger set size 1.4, 1.4 # re-generate the most recent plot replot # next line is sent back to operating system # to print the postscript file ! lpr gnuplot.eps # restore size to default set size 1, 1 # restore output to default, and flush buffer set output # restore graphics to screen set terminal x11