Member of the plots class.
errorbar(x, e)
errorbar(x, y, e)
errorbar(x, y, b, a)
errorbar(x, e, attributes)
errorbar(x, y, e, attributes)
errorbar(x, y, b, a, attributes)
Generates a plot with error bars. The error bars represent the uncertainty of the data at each plot point.
| Name | Description | ||||||||||||||||||||||||||||||||||
| x | Specifies a vector or matrix you want to plot. | ||||||||||||||||||||||||||||||||||
| y | Specifies a vector or matrix you want to plot. size(y) must equal size(x). | ||||||||||||||||||||||||||||||||||
| e | Specifies the lengths of the error bars. The length of each error bar equals 2*e. The length below the plot point and the length above the plot point both equal e. e is a vector or matrix. size(e) must equal size(x). | ||||||||||||||||||||||||||||||||||
| b | Specifies the lengths of the error bars below the plot. b is a vector or matrix. size(b) must equal size(x). | ||||||||||||||||||||||||||||||||||
| a | Specifies the lengths of the error bars above the plot. a is a vector or matrix. size(a) must equal size(x). | ||||||||||||||||||||||||||||||||||
| attributes | Specifies valid plot attributes. Order the plot attributes by color, point style, and line style. For example, 'bo-' specifies that the plot is blue, marks points with circles, and uses solid lines. attributes is a string that accepts a combination of the following values.
|
This function is not supported in the LabVIEW Run-Time Engine. This function can remain in your scripts when you build a stand-alone application or shared library, but the LabVIEW Run-Time Engine does not execute this function.
x = -5:5;
e = rand(1, 11);
errorbar(x, e, 'bo-')