module Bigarray: sig
.. end
include Gnuplot_common.T
type 'a
vec = (float, Bigarray.float64_elt, 'a) Bigarray.Array1.t
type 'a
mat = (float, Bigarray.float64_elt, 'a) Bigarray.Array2.t
2D Plots
val x : handle ->
?tag:int ->
?style:style ->
?label:string ->
?n0:int -> ?ofsx:int -> ?incx:int -> 'a vec -> unit
x g ?style ?label ?n0 xvec
draws the points (n0 + i
,
xvec.{i}
) for 0 <= i < Array1.dim xvec
according to the style
chosen. Infinite and NaN values will be shown as discontinuities
(i.e., no line will join the points before and after such values).
style
: style of the graph (default = Lines
)
label
: label for this graph (default: none)
n0
: x-coordinate of the first elements in xvec
(default = index of the first element of xvec
)
val xy : handle ->
?tag:int ->
?style:style ->
?label:string ->
?ofsx:int ->
?incx:int ->
'a vec ->
?ofsy:int -> ?incy:int -> 'a vec -> unit
xy g ?style ?label xvec yvec
draws the points (xvec.{i}
,
yvec.{i}
) for 0 <= i < min(Array1.dim xvec)(Array1.dim yvec)
according to the style chosen.
style
: style of the graph (default = Lines
)
label
: label for this graph (default: none)
val bin : handle ->
?tag:int ->
?label:string ->
?center:bool ->
?ofsx:int ->
?incx:int ->
'a vec ->
?ofsy:int -> ?incy:int -> 'a vec -> unit
val vector : handle ->
?tag:int ->
?label:string ->
?ofsx:int ->
?incx:int ->
'a vec ->
?ofsy:int ->
?incy:int ->
'a vec ->
?ofsdx:int ->
?incdx:int ->
'a vec ->
?ofsdy:int -> ?incdy:int -> 'a vec -> unit
val err : handle ->
?tag:int ->
?xerr:'a vec ->
'a vec ->
?yerr:'a vec -> 'a vec -> unit
3D Plots
val xyz : handle ->
?tag:int ->
?style:style ->
?label:string ->
'a vec ->
'a vec -> 'a mat -> unit
xyz g ?style ?label x y z