Skip to content

mirkov/gnuplot-interface

 
 

Repository files navigation

gnuplot-interface package

Low level interface to gnuplot that provides:

  • start of gnuplot process
  • passing raw gnuplot commands
  • examining of sent commands

Typical usage:

(start-gnuplot) ;; starts the process
(init-gnuplot) ;; optional, to initializes terminal
(hello-world) ;;  test output
(command "command-string") ;; send command to gnuplot
(echo-command) ;; sell last sent command

For passing complex gnuplot commands that consists of many lines, use the send-line and send-line-break commands

The interface has been developed and tested on sbcl on Linux and clisp on Cygwin. On Cygwin it works with Cygwin’s gnuplot and also the Windows executable wgnuplot.

For use of Cygwin and wgnuplot, one needs to provide the feature :wgnuplot. Furthermore, one needs to set :wgnuplot’s property list as

(setf (symbol-plist :wgnuplot)
   (list :executable "posix compliant path to executable"))

For example, the path can be:

“/c/Program\ Files/wgnuplot/binary/gnuplot.exe”

Caveats:

  • stream plumbing is not thoroughly tested
  • windows management is not implemented

Todo:

  • Use trivial-shell for communication to the process
  • multiple windows management

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors