1.

How To Print Out Graphics In Gnuplot?

Answer»
  • 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

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



Discussion

No Comment Found