XYGetErrorData¶
XYGetErrorData returns the error data as a matrix with two columns. The data is used to display error bars.
-
rmError = XYGetErrorData(hData, ssXY)
Return Value
rmError is the 2 columned matrix of the data points. rmError[;1]
contains
the minus error and rmError[;2]
the plus error. If the dataset does not
contain any error values the function returns the scalar value 0.
Parameters
-
ssXY
ssXY is “X” for the x-error, “Y” for the y-error.
Comment
If the function returns all error data. The positive error values are added to the data point and the minus error is subtracted from the data value. An error value of 0 is not displayed. The number of data points is limited to 200,000. The number of error points must match the number of data points in the dataset.
History
Version | Description |
---|---|
R2018.1 | New. |
id-1771447