The gnuplot scripts support gnuplot for Windows. They require gnuplot
V3.4 or later, and are based on J scripts developed by L. Fraser
Jackson.

gnuplot.js
==========
main script - load this to use gnuplot

gputil.js
===========
defines utilities in gnuplot locale

Method
------
There are 3 main functions: plot, splot, set

[cmd] plot data

  plots 2D graphics

  data  = data, either as an open array for a single plot,
          or as a boxed list for multiple plots.
          a vector is treated as a 2 column matrix, with
          the first column being corresponding indices.

  cmd   = options in a list delimited by , in gnuplot format, except
          keywords should be spelled in full, e.g. use 'title' not 't'.      
          there may be one option list per plot.
          the first option list may start with a range indication.
          the last option list applies thereafter

[cmd] splot data

  plots surface graphics

  the arguments are as for plot

set optionlist

  set one or more gnuplot options, in gnuplot format. You can set
  more than one option at a time, by delimiting each option with ;

  set 'default' is treated specially - it reloads the gnuplot.ini
  file to reset default values.


Notes
-----
titles default to empty

You can use the double quote character to delimit strings, e.g.
  set 'title "mydata"'

instead of 

  set 'title ''mydata''' 

Strings MUST be delimited, i.e. not:  set 'title mydata'

You should ensure gnuplot is in the DOS path, or else define the global
GNUPLOTEXE in gnuputil.js appropriately. The simplest method is to move
all wg*.* files, plus the gnuplot.ini file, to your \windows directory.

Define GNUPLOTDIR as the directory for files written by J. These are
gnu.plt, gnu0.dat, gnu1.dat etc.

Set gnuplotini in your DOS autoexec.bat to point to the
directory containing gnuplot.ini, e.g. set gnuplotini=c:\windows. This
ensures the default values are read on start up.

Reduce the gnuplot session window as far as possible to minimize screen 
clutter. Load gnuplot and enter:  load 'gnu.plt' to display a graph,
using the full filename if necessary.

See demos in examples\graphics\gnuplot\gpdemo.js.
