package oplot

  1. Overview
  2. Docs
Mathematical plotter library for ocaml

Install

Dune Dependency

Authors

Maintainers

Sources

0.71.tar.gz
md5=3c7dd21874dc7bef4bf639b9313df477
sha512=0485dfb849d69389655ac6da0f6483baa763c961722723a0b7bf235396040045b45fae1ebd0e3537e5c9bbfb836c4cb5c9ff83c90270922f2cc757320c5d502e

Description

High-quality plotting of 2D usual mathematical functions, including animations and LaTeX formulas. Supports also 3D surfaces with interactive rotating.

Tags

plot 2D 3D math

Published: 11 Jan 2023

README

Oplot

Mathematical plotting library for ocaml

  • 2D plots

    • function y = f(x)

    • parametric curves

    • can use mathematical functions from other libraries like gsl

    • can use LaTeX to display text and formulas

    • animations

    • Matrix or grid display

    • ...

  • 3D plots

    • parametric surfaces

    • 3D graphs z = f(x,y)

    • interactive 3D rotation and zoom

    • ...

  • Many renderers

    • GPU graphics (opengl/sdl)

    • Graphics package

    • high quality vector graphics in EPS or PDF files

    • xfig files

    • image screenshots

Documentation

API documentation.

GUI

An official standalone GUI for oplot: goplot

Examples

The top directory contains examples that can be run from the ocaml toplevel. See the README file.

Dependencies

  • For PDF output you need to install the fig2dev system package.

  • For LaTeX display you need a working LaTeX installation; for instance install the texlive system package.

  • For using the Gnu Scientific Library, install the gsl opam package:

opam install gsl
  • For rendering via the OCaml Graphics library (currently not recommended), you need to use the oplot-graphics opam package.

Dependencies (6)

  1. ocaml >= "4.05.0"
  2. lablgl >= "1.06"
  3. tsdl >= "0.9.6"
  4. tsdl-ttf >= "0.3"
  5. tsdl-image >= "0.3.0"
  6. dune >= "2.7"

Dev Dependencies (1)

  1. odoc with-doc

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.