plot

2022-11-07

A plotting system for Common Lisp

Upstream URL

github.com/Lisp-Stat/plot

Author

Steve Nunez <steve@symbolics.tech>

License

msPl
README

Contributors Forks Stargazers Issues MS-PL License LinkedIn


Logo

Plot

A library for plotting with Common Lisp
Explore the tutorial »

Report Bug · Request Feature · Reference Manual

Table of Contents

  1. About the Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Resources
  6. Contributing
  7. License
  8. Contact

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:

  1. Clone the repositories
cd ~/common-lisp && \
git clone https://github.com/Lisp-Stat/plot
  1. From the REPL reset the ASDF source-registry to find the new systems:
    (asdf:clear-source-registry)
  2. 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

Dependencies (18)

  • alexandria
  • alexandria-plus
  • cl-ppcre
  • cl-spark
  • cl-who
  • data-frame
  • dfio
  • duologue
  • iterate
  • lass
  • let-plus
  • lisp-stat
  • local-time
  • numerical-utilities
  • parenscript
  • quri
  • select
  • yason

Dependents (0)

    • GitHub
    • Quicklisp