Module type Gnuplot.DATA

module type DATA = sig .. end

The vector and matrix types together with their iterators.


type vec 

1D vectors, y coordinate only

val iter : (float -> unit) -> vec -> unit
type vec2 

2D vectors, x and y coordinates

val iter2 : (float -> float -> unit) -> vec2 -> unit
type vec4 

2D vectors with additional info, x and y coordinates plus two more fields (for vector coordinates, errors,...).

val iter4 : (float -> float -> float -> float -> unit) -> vec4 -> unit
type mat 

Matrix type

val iter_mat : (float -> float -> float -> unit) ->
vec -> vec -> mat -> unit