plot
2024-10-12
A plotting system for Common Lisp
Plot
A library for plotting with Common Lisp
Explore the tutorial »
Report Bug
·
Request Feature
·
Reference Manual
Table of Contents
About the Project
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.
Built With
Getting Started
To get a local copy up and running follow these steps:
Prerequisites
An ANSI Common Lisp implementation. Developed and tested with SBCL and CCL.
Installation
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.
Getting dependencies
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.
Usage
For examples, please refer to the Documentation.
Roadmap
See the open issues for a list of proposed features and known issues.
Resources
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.
Contributing
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.
License
Distributed under the MS-PL License. See LICENSE for more information.
Contact
Project Link: https://github.com/lisp-stat/plot