>>  <<  Ndx  Usr  Pri  Phr  Dic  Rel  Voc  !:  wd  Help  User

gnuplot: gnuplot

Supports creating gnuplot plot files from J.

This has been tested with gnuplot 4.0.

See also: ~system\packages\graphics\gnuplot.txt

For example under Windows, try:

   load 'gnuplot'
   GNUPLOTBIN_jgnuplot_=: 'c:\gnuplot\bin\'
   load '~system\examples\graphics\gnuplot\gpdemo.ijs'
   gp1''

Name Type Description
gplot verb main verb for gnuplot
gset verb set gnuplot options
gsplot verb main verb for surface gnuplot
GNUPLOTBIN noun gnuplot bin directory (under Windows)
GNUPLOTOUT noun directory for gnuplot graphics files

gplot

main verb for gnuplot

form:  options gplot data

example:

'with line' gplot sin steps 0 5 60

gset

set gnuplot options

form:  gset data

example:

   gset 'grid'
   gset 'title "sin(exp) vs cos(exp)"'
   gplot mydata

gsplot

main verb for surface gnuplot

form:  options gsplot data

example:

gsplot sin */~ steps 0 5 60

GNUPLOTBIN

gnuplot bin directory (under Windows)

This is used to determine the executable, wgnuplot.exe
and the configuration file, gnuplot.ini.

example:

  GNUPLOTBIN_jgnuplot_=: 'c:\gnuplot\bin\'

GNUPLOTOUT

directory for gnuplot graphics files

This defaults to ~temp


>>  <<  Ndx  Usr  Pri  Phr  Dic  Rel  Voc  !:  wd  Help  User