Mathematical plotting library for ocaml
See the codeMathematical plotting library for ocaml
| 2D plot and LaTeX | 3D surface | Isocurve |
|---|---|---|
![]() | ![]() | ![]() |
2D plots
y = f(x)f(x,y) = 0gsl3D plots
z = f(x,y)Many renderers
Examples and API documentation.
An official standalone GUI for oplot.0.72:
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 uses instead tgls and gl-legacy.
They will be automatically installed if you use opam install oplot.
If you need the newest versions:
opam install tgls
opam pin https://github.com/sanette/gl-legacy.git
opam pin https://github.com/sanette/oplot.git
On Windows, you may need to select these tsdl* versions:
opam pin https://github.com/sanette/tsdl
opam pin https://github.com/sanette/tsdl-ttf.git
opam pin https://github.com/sanette/tsdl-image.git
opam install oplot
oplot<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.72
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
oplot-graphics opam
package.It's easy to add another backend by using the GRAPHICS signature, see https://github.com/sanette/oplot-graphics
144 commits
OCaml
92.9%
Perl
5.2%
Standard ML
1.1%
Mathematical plotting library for ocaml
See the codeMathematical plotting library for ocaml
| 2D plot and LaTeX | 3D surface | Isocurve |
|---|---|---|
![]() | ![]() | ![]() |
2D plots
y = f(x)f(x,y) = 0gsl3D plots
z = f(x,y)Many renderers
Examples and API documentation.
An official standalone GUI for oplot.0.72:
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 uses instead tgls and gl-legacy.
They will be automatically installed if you use opam install oplot.
If you need the newest versions:
opam install tgls
opam pin https://github.com/sanette/gl-legacy.git
opam pin https://github.com/sanette/oplot.git
On Windows, you may need to select these tsdl* versions:
opam pin https://github.com/sanette/tsdl
opam pin https://github.com/sanette/tsdl-ttf.git
opam pin https://github.com/sanette/tsdl-image.git
opam install oplot
oplot<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.72
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
oplot-graphics opam
package.It's easy to add another backend by using the GRAPHICS signature, see https://github.com/sanette/oplot-graphics
144 commits
OCaml
92.9%
Perl
5.2%
Standard ML
1.1%