Gnuplot is a portable command-line driven interactive data and function plotting utility for UNIX, IBM OS/2, MS Windows, DOS, Macintosh, VMS, Atari and many other platforms. The software is copyrighted but freely distributed (i.e., you don't have to pay for it). It was originally intended as to allow scientists and students to visualize mathematical functions and data. It does this job pretty well, but has grown to support many non-interactive uses, including web scripting and integration as a plotting engine for third-party applications like Octave. Gnuplot has been supported and under development since 1986.

[hptc@iliadaccess01 ~]$ cd gnuplot/
[hptc@iliadaccess01 gnuplot]$ cat multi.gp
set terminal postscript portrait
set output "multiplot.eps"
set xrange [-pi:pi] set size 1,1
set origin 0,0
set multiplot
set size 0.5,0.5
set origin 0,0.5
plot sin(x)
set size 0.5,0.5
set origin 0,0
plot 1/sin(x)
set size 0.5,0.5
set origin 0.5,0.5
plot cos(x)
set size 0.5,0.5
set origin 0.5,0
plot 1/cos(x)
unset multiplot
set terminal x11
[hptc@iliadaccess01 gnuplot]$ module load hpc/gnuplot-4.2.5
Loading module hpc/gnuplot-4.2.5.
[hptc@iliadaccess01 gnuplot]$ gnuplot

Version 4.2 patchlevel 5
last modified Mar 2009
System: Linux 2.6.18-92.1.17.el5

Copyright (C) 1986 - 1993, 1998, 2004, 2007 - 2009
Thomas Williams, Colin Kelley and many others

Type help to access the on-line reference manual.
The gnuplot FAQ is available from http://www.gnuplot.info/faq/

Send bug reports and suggestions to http://sourceforge.net/projects/gnuplot

Terminal type set to 'x11'
gnuplot> load 'multi.gp'
gnuplot> quit
[hptc@iliadaccess01 gnuplot]$ module load hpc/gv
Loading module hpc/gv.
[hptc@iliadaccess01 gnuplot]$ gv multiplot.eps

CC BY-NC 4.0 This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License. Permissions beyond the scope of this license may be available at Attribution.