Standard Library procedure that overplotserror bars over a previously-drawn plot.
low A vector containing the lower bounds of the error bars. The value of low(i) is equal to the data value at i minus the lower error bound.
high A vector containing the upper bounds of the error bars. The value of high(i) is equal to the data value at i plus the upper error bound.
y
contains the data values to be plotted, and that err
is the symmetrical error estimate. The commands to plot the data and overplot the error bars are:
y = [4.0, 5.0, 3.0, 3.0, 2.0] err = 0.2 PLOT, y, YRange=[1, 6] ERRPLOT, y-err, y+err
low = [3.5, 4.8, 2.5, 2.7, 1.9] high = [4.3, 5.1, 3.5, 3.2, 2.1] PLOT, y, YRange=[1, 6] ERRPLOT, low, high
Figure 2-35 In this example, asymmetrical error estimates have been constrained by using ERRPLOT's low and high parameters.
Figure 2-36 In this example, asymmetrical error estimates have been constrained by using ERRPLOT's low and high parameters.
points = [1.0, 3.0, 4.0, 6.0, 7.0] PLOT, points, y, YRange=[1, 6] ERRPLOT, points, low, high
Figure 2-37 In this example, error bars have been plotted over a vector containing specific points along the x-axis.
Figure 2-38 In this example, error bars have been plotted over a vector containing specific points along the x-axis.