package biotk

  1. Overview
  2. Docs
module Font : sig ... end
type t
type croquis = t
module Axis : sig ... end
module Viewport : sig ... end
val bbox : t -> Gg.box2
val void : Gg.box2 -> t
type mark =
  1. | Bullet
  2. | Circle
type 'a labeling = [
  1. | `C of 'a
  2. | `A of 'a array
]
val points : ?col:Gg.Color.t labeling -> ?mark:mark labeling -> ?thickness:float labeling -> ?size:float -> x:float array -> y:float array -> unit -> t
val line : ?col:Gg.Color.t -> ?thickness:float -> ?arrow_head:bool -> ?cap:Vg.P.cap -> (float * float) -> (float * float) -> t
val lines : ?col:Gg.Color.t -> ?thickness:float -> ?arrow_head:bool -> ?cap:Vg.P.cap -> x:float array -> y:float array -> unit -> t
val rect : ?draw:Gg.Color.t -> ?fill:Gg.Color.t -> ?thickness:float -> xmin:float -> xmax:float -> ymin:float -> ymax:float -> unit -> t
val circle : ?draw:Gg.Color.t -> ?fill:Gg.Color.t -> ?thickness:float -> x:float -> y:float -> radius:float -> unit -> t
val text : ?col:Gg.Color.t -> ?size:float -> ?font:Font.t -> ?halign:[ `middle | `left | `right ] -> ?valign:[ `base | `middle | `top | `bottom ] -> x:float -> y:float -> string -> t
val group : t list -> t
val (++) : t -> t -> t
val translate : ?dx:float -> ?dy:float -> t -> t
val scale : ?center:[ `bbox_center | `origin ] -> ?sx:float -> ?sy:float -> t -> t
val reshape : t -> bbox:Gg.box2 -> t
val crop : t -> bbox:Gg.box2 -> t
val frame : t -> t
val pileup : t list -> t
val padding : ?delta:float -> ?left:float -> ?right:float -> ?top:float -> ?bottom:float -> t -> t
val vstack : ?align:[ `none | `centered | `left | `right ] -> t list -> t
val hstack : ?align:[ `none | `centered | `top | `bottom ] -> t list -> t
type target = [
  1. | `File of string
  2. | `Channel of Stdlib.out_channel
  3. | `Buffer of Stdlib.Buffer.t
]
val render : ?padding:float -> t -> [ `pdf | `svg ] -> target -> unit
module Plot : sig ... end
val plot : ?width:float -> ?height:float -> ?xlab:string -> ?ylab:string -> Plot.geom list -> t
module Colormap : sig ... end
val palette : Colormap.t -> t
OCaml

Innovation. Community. Security.