[wip]…Low level bindigs to the GR plotting framework (gr-framework.org)
  • OCaml 99.4%
  • Dune 0.6%
Find a file
Marcello Seri 76fa254064 Update changes
Signed-off-by: Marcello Seri <marcello.seri@gmail.com>
2021-08-03 10:46:09 +02:00
examples Move example -> examples 2021-08-03 10:35:44 +02:00
src Update README and DOC 2021-08-03 10:45:16 +02:00
.gitignore first commit 2019-09-09 16:08:22 +02:00
.ocamlformat Move to ocaml 4.10 and drop use of stdcompat 2021-08-03 10:18:21 +02:00
CHANGES.md Update changes 2021-08-03 10:46:09 +02:00
dune-project Move to ocaml 4.10 and drop use of stdcompat 2021-08-03 10:18:21 +02:00
gr.opam Move to ocaml 4.10 and drop use of stdcompat 2021-08-03 10:18:21 +02:00
gr.opam.template Update syntax 2019-09-25 16:58:50 +02:00
LICENSE Add license and changes 2019-09-25 17:00:41 +02:00
README.md Update README and DOC 2021-08-03 10:45:16 +02:00

Lowlevel bindigs to the GR plotting framework

Based on version 0.37.0, the one installed by hombrew on osx (brew install libgr) at the time of creating the bindings.

To install, first install libGR and set the GRDIR env variable, then run opam install gr.

The documentation is published here: online documentation.

Currently libGr is only looked via GRDIR or through the default library paths of your system. You can customise this by unsetting GRDIR and specifying the path to libGR.so (or libGR.dylib) with the environment variable LIBGRPATH.

The tests are only compiling the examples. You can run them as follows:

$ GRDIR=~/gr dune exec examples/example_simple.exe
$ GRDIR=~/gr dune exec examples/example_complex.exe
$ GRDIR=~/gr dune exec examples/example_lowlevel.exe
$ GRDIR=~/gr dune exec examples/example_dynamic.exe

Make sure that GRDIR or LIBGRPATH are pointing to the right path.

Disclaimer

Very incomplete: I don't know how to deal with the ``meta thingy'' in ctypes, and I have yet to bind the GKS library.

At some point I would like to add a high level interface, but I cannot predict when I will be able to put in thee time.

Contributions are welcome.