Page
Library
Module
Module type
Parameter
Class
Class type
Source
GnuplotSourceA wrapper for calling Gnuplot from OCaml.
create ?verbose ?path () creates a channel to a Gnuplot process with the executable given by path. If verbose is true then plotting commands print debug information on standard output.
val set :
?output:Output.t ->
?title:string ->
?use_grid:bool ->
?fill:Filling.t ->
?labels:Labels.t ->
t ->
unitset ?output ?title ?fill t sets parameters of the Gnuplot session.
unset ?fill ?labels t resets parameters of the Gnuplot session.
val plot :
?output:Output.t ->
?title:string ->
?use_grid:bool ->
?fill:Filling.t ->
?range:Range.t ->
?labels:Labels.t ->
?format:string ->
t ->
Series.t ->
unitplot t series plots a single data series. The parameters for filling, range, etc are optional.
val plot_many :
?output:Output.t ->
?title:string ->
?use_grid:bool ->
?fill:Filling.t ->
?range:Range.t ->
?labels:Labels.t ->
?format:string ->
t ->
Series.t list ->
unitplot_many t series creates a plot of multiple data series. The parameters for filling, range, etc are optional.
val plot_func :
?output:Output.t ->
?title:string ->
?use_grid:bool ->
?fill:Filling.t ->
?range:Range.t ->
?labels:Labels.t ->
t ->
string ->
unitplot_func t f draws a graph of the function f given as a string. The function f has to be specified in the Gnuplot format, eg `sin(x)`. The parameters for the filling, range, etc are optional.