Adds vertical error bars to the last data passed to the plot (via the constructor or addPoints).
(float[] errorBars)
| 994 | |
| 995 | /** Adds vertical error bars to the last data passed to the plot (via the constructor or addPoints). */ |
| 996 | public void addErrorBars(float[] errorBars) { |
| 997 | PlotObject mainObject = getLastCurveObject(); |
| 998 | if (mainObject != null) |
| 999 | mainObject.yEValues = errorBars; |
| 1000 | else throw new RuntimeException("Plot can't add y error bars without data"); |
| 1001 | } |
| 1002 | |
| 1003 | /** Adds vertical error bars to the last data passed to the plot (via the constructor or addPoints). */ |
| 1004 | public void addErrorBars(double[] errorBars) { |
no test coverage detected