Standard Library procedure that plots data points with accompanying symmetrical error bars.
y A real vector containing the y-coordinates of the data to plot.
error A vector containing the error bar values of every point to be plotted.
Type Specifies the type of plot to produce. Valid values are:
y
contains the data values to be plotted, and that error
is the vector containing the error bar values. The commands to plot the data points with accompanying symmetrical error bars are:
y = [2, 1, 3, 3, 1] error = [0.0, 0.5, 1.0, 0.5, 0.0] PLOTERR, y, error, Psym = 4
OPLOT, y
Figure 2-71 In this example, PLOTERR was first used to plot data points with their accompanying symmetrical error bars, and then OPLOT was used to overplot a line through the error bar.
Figure 2-72 In this example, PLOTERR was first used to plot data points with their accompanying symmetrical error bars, and then OPLOT was used to overplot a line through the error bar.