How to print out graphics in Gnuplot?

How to print out graphics in Gnuplot?



- To print graph, ‘set terminal’ is used.

- For example, ‘set terminal postscript’ produces the graph in PostScript format.

- The out put can be redirected by using ‘set output’ command.

- The following script allows to produce output of a graph sin(x) in PostScript format:

- gnuplot> plot [-6:6] sin(x)
gnuplot> set terminal postscript
gnuplot> set output "sin.ps"
gnuplot> replot
Post your comment