Module Mlpost.Real_plot


module Real_plot: sig .. end
A simple and limited way of plotting functions from float to float.

type 'a curve 
'a store the information about :
val curve : (float -> float) -> 'a -> 'a curve
create a curve from a function and some information of drawing
val curve_opt : (float -> float option) -> 'a -> 'a curve
create a curve from a function and some information of drawing. If the function return None the function is not defined on this value
val curve_l : (float -> float option) list -> 'a -> 'a curve
create a curve from multiple function and some information of drawing. The different functions symbolize different part of the curve which mustn't be connected
val draw : ?logarithmic:bool ->
?curve_brush:('a -> Brush.t) ->
?label:('a -> string) ->
?ymin:float ->
?ymax:float ->
xmin:float ->
xmax:float ->
pitch:float ->
width:Num.t ->
height:Num.t -> 'a curve list -> Command.t