package statocaml_plots

  1. Overview
  2. Docs

Module Statocaml_plots.UtilsSource

Sourcemodule S = Statocaml
Sourcemodule Log = Statocaml.Log
Sourceval gen_file : file:Lwt_io.file_name -> string -> unit Lwt.t
Sourceval gen_xml_file : Lwt_io.file_name -> Xr.X.tree list -> unit Lwt.t
Sourceval cdata : ('a, unit, string, Xr.tree) format4 -> 'a
Sourceval lwt_temp_file : ?prefix:string -> ?suffix:string -> unit -> string Lwt.t
Sourceval set_gnuplot_svg_title : Xr.P.attr_value -> string -> Xr.P.attr_value
Sourceval svg_load_and_delete : ?gnuplot_title:string -> Lwt_io.file_name -> Xr.P.attr_value Lwt.t
Sourceval plot_to_svg : ?title:string -> ?w:int -> ?h:int -> (Plot.gp -> unit Lwt.t) -> Xr.P.attr_value Lwt.t
Sourceval bar_chart : Plot.gp -> ?with_titles:bool -> ?legend_pos:string -> (float * string * string) list -> unit Lwt.t
Sourceval bar_chart_svg : ?title:string -> ?w:int -> ?h:int -> ?with_titles:bool -> ?legend_pos:string -> (float * string * string) list -> Xr.P.attr_value Lwt.t
Sourceval year_lines_chart : Plot.gp -> ?with_titles:bool -> ?legend_pos:string -> ((int * float) list * string * string) list -> unit Lwt.t
Sourceval year_lines_chart_svg : ?title:string -> ?w:int -> ?h:int -> ?with_titles:bool -> ?legend_pos:string -> ((int * float) list * string * string) list -> Xr.P.attr_value Lwt.t
Sourceval add_events_by_month : Plot.gp -> (int * int) -> (int * int) -> Statocaml__Types.event list -> unit
Sourceval add_events_for_periods : Plot.gp -> ?font_size:int -> Statocaml__Types.event list -> 'a Stdlib__Map.Make(Statocaml__Period.Ordered).t -> unit
Sourceval mk_year_steps : ?div12:bool -> int Plot.Mmap.t -> float list
Sourceval mk_sliding_sums : ?div:bool -> ?window_size:int -> int Plot.Mmap.t -> float list
Sourceval float_mean : float list -> float option
Sourceval float_median : ?sorted:bool -> Float.t list -> Float.t option
Sourceval sd : float list -> float -> float
Sourceval classes_of_data : Float.t list -> unit
Sourceval to_quantiles : ?quantiles:int -> Float.t list -> float list