CLASS LineErrorPlot EXTENDS ErrorPlot (Defined in: jpgraph_error.php : 119)

LineErrorPlot | ErrorPlot
LineErrorPlot() |

Class usage and Overview
A line error plot is in principle a line plot but with the added feature that each point also have a two error values. Low and high error. This means that data array must be an even number of three values.

See also related classes:
LinePlot

Class Methods

function LineErrorPlot(&$datay,$datax)
Constructor for a line plot with error bars

Argument | Default | Description
--- | --- | ---
&$datay |  | Y-Data
$datax | false | X-Data [optional]

Description
Same as a line plot but each data point has three values, the value, and error min, and error max. The error bars are then drawn as vertical lines at each data point.

Example

$leplot = new LineErrorPlot($ydata);