Gnuplot
is a command-driven interactive function and data plotting program
which is included in many Unix distributions like Gnu/Linux. While often
used it as a graphics calculator its features go much beyond that.
|
To start, type "gnuplot" from a terminal and type in
gnuplot> plot sin(x)
An other good start is
gnuplot> help example
|
Example 1:
|
An external
C program randdata.c
produces a data file, which is plotted by
the gnuplot program example1.gp .
|
Example 2:
|
The example example2.gp shows
how to plot a surface bounded by other surfaces.
|
Example 3:
|
The example example3.gp shows
how to plot level curves and how to redirect the output as a
ps file.
|
Example 4:
|
The example example4.gp shows
how to draw a graph as a LaTeX
picture.
|
More examples can be found on
gnuplot-faq
site.
|