package prbnmcn-gnuplot
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Preparing line plots.
val line_2d :
points:r2 Data.t ->
?style:Style.t ->
?legend:string ->
?with_points:bool ->
?error_bars:r2 Data.t ->
unit ->
r2 spec
line_2d ~points ?style ?legend ?with_points ?error_bars ()
creates a 2d line plot.
- The optional argument
?style
defaults toStyle.default
- The optional argument
?legend
defaults to""
. - The optional argument
?with_points
set totrue
will display additional symbols (specified through thestyle
) at the positions corresponding topoints
. This argument is ignored if?error_bars
is passed. - The optional argument
?error_bars
, if present, is a sequence ofr2
elements such that each element(y1, y2)
is displayed as a vertical error bar. The error bar associated to the element(x, y)
then correspond to the segment starting at(x, y + y1)
and ending at(x, y - y2)
.
val line_3d :
points:r3 Data.t ->
?style:Style.t ->
?legend:string ->
?with_points:bool ->
unit ->
r3 spec
line_3d ~points ~style ~legend
creates a 3d line plot. See line_2d
for the meaning of the other options.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>