A library for plotting with Common Lisp
Explore the tutorial »
Report Bug
·
Request Feature
·
Reference Manual
The Plot system provides a way to visualise data. It includes functions for text-based plotting that work in the REPL, and JavaScript visualisations that are rendered in a browser. It is designed as a front end 'grammar', modeled after that Grammar of Graphics and implemented with various back ends. Currently Vega-Lite is complete as a backend. It is integrated with data-frame, and can also be used independently.
To get a local copy up and running follow these steps:
An ANSI Common Lisp implementation. Developed and tested with SBCL and CCL.
To make the system accessible to ASDF (a build facility, similar to make
in the C world), clone the repository in a directory ASDF knows about. By default the common-lisp
directory in your home directory is known. Create this if it doesn't already exist and then:
- Clone the repositories
cd ~/common-lisp && \
git clone https://github.com/Lisp-Stat/plot
- From the REPL reset the ASDF source-registry to find the new systems:
(asdf:clear-source-registry)
- Load the system
(asdf:load-system :plot/vega)
If you have installed the slime ASDF extensions, you can invoke this with a comma (',') from the slime REPL.
To get the third party systems that these system may depend on you can use a dependency manager, such as Quicklisp or CLPM Once installed, get the dependencies with either of:
(clpm-client:sync :sources "clpi") ;sources may vary
(ql:quickload :plot)
You need do this only once. After obtaining the dependencies, you can
load the system with ASDF
as described above without first syncing
sources.
For examples, please refer to the Documentation.
See the open issues for a list of proposed features and known issues.
This system is part of the Lisp-Stat project; that should be your first stop for information. Also see the resources and community pages for more information.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated. Please see CONTRIBUTING for details on the code of conduct, and the process for submitting pull requests.
Distributed under the MS-PL License. See LICENSE for more information.
Project Link: https://github.com/lisp-stat/plot