Kai is a plotter library for Common Lisp.
With roswell, install this repository.
$ ros install komi1230/kai
And setup roswell REPL and load with Quicklisp:
(ql:quickload :kai)
First, clone this repository and load this:
In terminal:
$ git clone https://github.com/komi1230/kai
And load with ASDF:
(asdf:load-system :kai)
Check example
Prepare some data:
;; x-axis
(defparameter x
(loop for i from 0 below 10 by 0.1
collect i))
;; y-axis
(defparameter y
(mapcar #'sin x))
This example uses List data but Array is also OK.
(kai:line x y)
or
(kai:line y)
You can add some options:
(kai:line y
:color :magenta
:width 10)
(kai:title "hogehoge plot")
(kai:show)