package gnuplot

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t

Represents a series of data for the plot functions in the Gp module.

val lines : ?title:string -> ?color:Color.t -> ?weight:int -> float list -> t

lines data creates a data series for a line plot of Y values.

val lines_xy : ?title:string -> ?color:Color.t -> ?weight:int -> (float * float) list -> t

lines_xy data creates a data series for a line plot of X and Y values.

val lines_timey : ?title:string -> ?color:Color.t -> ?weight:int -> zone:timezone -> (time * float) list -> t

lines_timey ~zone data creates a data series for a line plot with time axis in the given time zone.

val lines_datey : ?title:string -> ?color:Color.t -> ?weight:int -> (date * float) list -> t

lines_datey data creates a data series for a line plot of date and Y values.

val lines_func : ?title:string -> ?color:Color.t -> ?weight:int -> string -> t

lines_func f creates a data series for a line plot of the values given by a function f specified in the Gnuplot format, eg `sin(x)`. The X values come from the range object that was supplied to one of the plot functions in the Gp module.

val points : ?title:string -> ?color:Color.t -> ?weight:int -> float list -> t

points data creates a data series for a point plot of Y values.

val points_xy : ?title:string -> ?color:Color.t -> ?weight:int -> (float * float) list -> t

points_xy data creates a data series for a point plot of X and Y values.

val points_timey : ?title:string -> ?color:Color.t -> ?weight:int -> zone:timezone -> (time * float) list -> t

points_timey ~zone data creates a data series for a point plot with time axis in the given time zone.

val points_datey : ?title:string -> ?color:Color.t -> ?weight:int -> (date * float) list -> t

points_datey data creates a data series for a point plot of date and Y values.

val points_func : ?title:string -> ?color:Color.t -> ?weight:int -> string -> t

points_func f creates a data series for a point plot of the values given by a function f specified in the Gnuplot format, eg `sin(x)`. The X values come from the range object that was supplied to one of the plot functions in the Gp module below.

val linespoints : ?title:string -> ?color:Color.t -> ?weight:int -> float list -> t

linespoints data creates a data series for a lines and points plot of Y values.

val linespoints_xy : ?title:string -> ?color:Color.t -> ?weight:int -> (float * float) list -> t

linespoints_xy data creates a data series for a lines and points plot of X and Y values.

val linespoints_timey : ?title:string -> ?color:Color.t -> ?weight:int -> zone:timezone -> (time * float) list -> t

linespoints_timey ~zone data creates a data series for a lines and points plot with time axis in the given time zone.

val linespoints_datey : ?title:string -> ?color:Color.t -> ?weight:int -> (date * float) list -> t

linespoints_datey data creates a data series for a lines and points plot of date and Y values.

val linespoints_func : ?title:string -> ?color:Color.t -> ?weight:int -> string -> t

linespoints_func f creates a data series for a lines and points plot of the values given by a function f specified in the Gnuplot format, eg `sin(x)`. The X values come from the range object that was supplied to one of the plot functions in the Gp module below.

val steps : ?title:string -> ?color:Color.t -> ?weight:int -> float list -> t

steps data creates a data series for a step function of Y values.

val steps_xy : ?title:string -> ?color:Color.t -> ?weight:int -> (float * float) list -> t

steps_xy data creates a data series for a step function of X and Y values.

val steps_timey : ?title:string -> ?color:Color.t -> ?weight:int -> zone:timezone -> (time * float) list -> t

steps_timey ~zone data creates a data series for a step function with time axis in the given time zone.

val steps_datey : ?title:string -> ?color:Color.t -> ?weight:int -> (date * float) list -> t

steps_datey data creates a data series for a step function of date and Y values.

val histogram : ?title:string -> ?color:Color.t -> ?weight:int -> ?fill:Filling.t -> float list -> t

histogram data creates a data series for a histogram of Y values.

val candles_time_ohlc : ?title:string -> ?color:Color.t -> ?weight:int -> ?fill:Filling.t -> zone:timezone -> (time * (float * float * float * float)) list -> t

candles_time_ohlc ~zone data creates a data series for a candlestick chart with time axis in the given time zone.

val candles_date_ohlc : ?title:string -> ?color:Color.t -> ?weight:int -> ?fill:Filling.t -> (date * (float * float * float * float)) list -> t

candles_date_ohlc data creates a data series for a candlestick chart indexed by date.

OCaml

Innovation. Community. Security.