package archimedes

  1. Overview
  2. Docs

Plotting Lists of floats.

val y : Viewport.t -> ?base:float list -> ?fill:bool -> ?fillcolor:Color.t -> ?style:style -> float list -> unit

See Array.y.

val xy : Viewport.t -> ?fill:bool -> ?fillcolor:Color.t -> ?style:[ `Lines | `Markers of string | `Linesmarkers of string ] -> float list -> float list -> unit

See Array.xy. The number of elements plotted the the minimum of the lengths of the two lists.

val xy_pairs : Viewport.t -> ?fill:bool -> ?fillcolor:Color.t -> ?style:[ `Lines | `Markers of string | `Linesmarkers of string ] -> (float * float) list -> unit