package gr

  1. Overview
  2. Docs
OCaml bindings to the GR plotting library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

gr-0.0.2.tbz
sha256=0be3daf1c5dc15db75257018d7e963fdd30d5227a12c8386ab4e4cbc2fc906c1
sha512=fa8965b84becabed37ef773ab976dfa3d69a0bdfd218ac13709b9af5265cb689972f1ac0d2daf8eaafefc54b617aac792e48bd4f9eea8482b12484c79aa80b37

doc/gr/Gr/Graphics/index.html

Module Gr.GraphicsSource

Sourcetype t
Sourceval beging : t -> unit

beging path Open a file for graphics output.

beging allows to write all graphics output into a XML-formatted file until the endg functions is called. The resulting file may later be imported with the import function.

Parameters

  • path: Filename for the graphics file.
Sourceval endg : unit -> unit
Sourceval get : unit -> t
Sourceval draw : t -> int
Sourceval import : string -> int