package archimedes
Module Archimedes.Array
Plotting float Arrays.
val y :
Viewport.t ->
?const_base:bool ->
?base:float array ->
?fill:bool ->
?fillcolor:Color.t ->
?style:style ->
?const_y:bool ->
float array ->
unity vp yvec draws the set of points (i, yvec.(i)).
val xy :
Viewport.t ->
?fill:bool ->
?fillcolor:Color.t ->
?style:style ->
?const_x:bool ->
float array ->
?const_y:bool ->
float array ->
unitval xy_pairs :
Viewport.t ->
?fill:bool ->
?fillcolor:Color.t ->
?style:[ `Lines | `Markers of string | `Linesmarkers of string ] ->
(float * float) array ->
unitSee Array.xy. The only difference is that this function takes an array of couples (x,y) instead of two arrays, one for x and a second of y.
val stack :
Viewport.t ->
?fill:bool ->
?fillcolors:Color.t array ->
?style:style ->
?const:bool ->
float array array ->
unitstack yvecs plot the data in a stacked fashion, the Y values contained in yvecs.(i) are represented as the deviation above yvecs.(i-1). This makes sense only if the data is non-negative.