| 1 |
lars |
1 |
<style type="text/css">
|
|
|
2 |
<!--
|
|
|
3 |
A:link {font-family: helvetica, arial, geneva, sans-serif; font-size: x-small; text-decoration: none; color: #0000ff}
|
|
|
4 |
A:visited {font-family: helvetica, arial, geneva, sans-serif; font-size: x-small; text-decoration: none; color: #0000ff}
|
|
|
5 |
A:hover {font-family: helvetica, arial, geneva, sans-serif; font-size: x-small; text-decoration: underline; color: #FF0000}
|
|
|
6 |
th {font-family: helvetica, arial; color : blue; font-size:85%; background : lightgrey; border-right:black solid 1pt; border-bottom:black solid 1pt;}
|
|
|
7 |
//-->
|
|
|
8 |
</style><hr><a name="_C_LINEERRORPLOT"><div style="background-color:yellow;font-family:courier new;"></a>CLASS <b>LineErrorPlot</b> EXTENDS <a href="ErrorPlot .html#_C_ERRORPLOT " style="font-face:arial;font-weight:bold;">ErrorPlot </a></div>
|
|
|
9 |
<i>(Defined in: jpgraph_error.php : 119)</i><table border=1><tr><td> <a href="LineErrorPlot.html" style="font-family:arial;font-weight:bold;color:darkblue;">LineErrorPlot</a> </td><td> <a href="ErrorPlot .html" style="font-family:arial;font-weight:bold;color:darkblue;">ErrorPlot </a> </td></tr><tr><td valign=top> <a href="LineErrorPlot.html#_LINEERRORPLOT_LINEERRORPLOT">LineErrorPlot()</a> <br>
|
|
|
10 |
</td><td valign=top> </td></tr></table> <p><div style="font-weight:bold;font-family:arial;font-size:100%;">Class usage and Overview</div>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.
|
|
|
11 |
|
|
|
12 |
This means that data array must be an even number of three values. <p>
|
|
|
13 |
<div style="font-weight:bold;font-family:arial;font-size:85%;">See also related classes:</div><a href="LinePlot.html">LinePlot</a> <p> <hr><span style="font-family:arial;font-size:120%;font-weight:bold;">Class Methods</span><hr><p>
|
|
|
14 |
<p> <p> <span style='font-size:110%;'><a name="_LINEERRORPLOT_LINEERRORPLOT"><div style="border-top:solid black 2pt;background-color:lightblue;font-family:courier new;font-size:90%;font-weight:bold;"><b><font color="#000000">
|
|
|
15 |
function LineErrorPlot(&$datay,$datax)</font>
|
|
|
16 |
</b></div></a></span>
|
|
|
17 |
|
|
|
18 |
<span style='font-family:arial;font-size:90%;'><i>Constructor for a line plot with error bars</i></span><p>
|
|
|
19 |
|
|
|
20 |
<table cellspacing=0 style='border:black solid 1pt;' width=100%>
|
|
|
21 |
<tr><th width=25%>Argument</th><th width=15%>Default</th><th width=60%>Description</th></tr>
|
|
|
22 |
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
|
|
|
23 |
&$datay</font>
|
|
|
24 |
|
|
|
25 |
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'> </td><td>Y-Data</td></tr>
|
|
|
26 |
|
|
|
27 |
<tr><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
|
|
|
28 |
$datax</font>
|
|
|
29 |
|
|
|
30 |
</td><td style='border-right:black solid 1pt;font-family:courier;font-size:90%;font-weight:bold;'><font color="#000000">
|
|
|
31 |
false</font>
|
|
|
32 |
</td><td>X-Data [optional]</td></tr>
|
|
|
33 |
</table>
|
|
|
34 |
|
|
|
35 |
<div style="font-weight:bold;font-family:arial;font-size:85%;">Description</div>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. <br>
|
|
|
36 |
|
|
|
37 |
<div style="font-weight:bold;font-family:arial;font-size:85%;"><p>Example</div><span style="font-family:courier;font-size:85%;"><font color="#000000">
|
|
|
38 |
$leplot = new LineErrorPlot($ydata);</font>
|
|
|
39 |
</span><br>
|
|
|
40 |
<p> <hr> <p>
|