package prbnmcn-gnuplot
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Module Plot.LineSource
Preparing line plots.
Source
val line_2d :
points:r2 Data.t ->
?style:Style.t ->
?legend:string ->
?with_points:bool ->
?error_bars:r2 Data.t ->
unit ->
r2 specline_2d ~points ?style ?legend ?with_points ?error_bars () creates a 2d line plot.
- The optional argument
?styledefaults toStyle.default - The optional argument
?legenddefaults to"". - The optional argument
?with_pointsset totruewill display additional symbols (specified through thestyle) at the positions corresponding topoints. This argument is ignored if?error_barsis passed. - The optional argument
?error_bars, if present, is a sequence ofr2elements 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).
Source
val line_3d :
points:r3 Data.t ->
?style:Style.t ->
?legend:string ->
?with_points:bool ->
unit ->
r3 specline_3d ~points ~style ~legend creates a 3d line plot. See line_2d for the meaning of the other options.