Module Cgr.Repartition


module Repartition: Cgr_repartition
Creating and drawing repartitions (using OCaml-gnuplot).


type interval_method =
| Fixed_number_of_intervals of int
| Proportional_number_of_intervals of int
| Intervals_by_step of float (*of n -> number_of_intervals = number_of_samples / n **)
val repartition_of_samples : interval_method ->
float array -> float * float * (float * int) array
module G: Gnuplot
val draw_repartition : ?pen:int ->
G.handle ->
string * (float * float * (float * int) array) -> unit
val draw_repartitions : ?f_draw:(G.handle -> unit) ->
?xsize:float ->
?ysize:float ->
?font_size:int ->
title:string ->
outfile:string ->
(string * (float * float * (float * int) array)) list -> unit
val draw_repartitions_on_screen : ?f_draw:(G.handle -> unit) ->
?xsize:float ->
?ysize:float ->
?font_size:int ->
title:string -> (string * (float * float * (float * int) array)) list -> unit