Mathematical plotting library for ocaml
2D plot and LaTeX | 3D surface |
|---|---|
![]() | ![]() |
2D plots
y = f(x)gsl3D plots
z = f(x,y)Many renderers
Examples and API documentation.
An official standalone GUI for oplot: goplot
The top directory contains examples that can be run from the ocaml toplevel. See the README file.
The current version does not require lablgl, but instead you should install tgls and gl-legacy:
opam install tgls
opam pin https://github.com/sanette/gl-legacy.git
opam pin https://github.com/sanette/oplot.gitoplot<0.80 requires lablgl. If you have any trouble with this, try this one.:opam pin add https://github.com/sanette/lablgl-lib.git
opam install lablgl.1.07-lib
opam install oplot.0.72fig2dev system package.texlive system package.gsl opam package:opam install gsloplot-graphics opam package.