Gnuplot

by Anu Rao


Running Gnuplot

To run gnuplot, at the Unix prompt simply type

gnuplot

To access gnuplot's online help, at the gnuplot prompt type

gnuplot> help

There are handy examples that come with the gnuplot distribution. On the Linux systems, they are in the "/usr/share/doc/gnuplot-3.7.3/demo" directory (version number may change). To view these demos, you must be running the X11 window system and have changed ("cd" command) to the above demo location directory. In an xterm (or other such) window, run gnuplot and enter the gnuplot command, load "all.dem", at the gnuplot prompt.


Gnuplot Examples

We have some sample gnuplot scripts available online: Once you save these examples to your directory, you can run the scripts yourself. For example, to run the rs1.gnu example, copy the rs1.gnu and mydata.dat files to your directory. Run gnuplot; at the gnuplot prompt type

gnuplot> load "rs1.gnu"

and a separate window with the plot will pop up.


Helpful Hints/Notes for Gnuplot

http://math.arizona.edu/~swig/documentation/gnuplot/index.php
Last modified: Fri, 14 Dec 2007 15:50:51 -0700
E-mail: swig@math.arizona.edu
Valid XHTML 1.0! Valid CSS!