Adds horizontal error bars to the last data passed to the plot (via the constructor or addPoints).
(float[] xErrorBars)
| 1007 | |
| 1008 | /** Adds horizontal error bars to the last data passed to the plot (via the constructor or addPoints). */ |
| 1009 | public void addHorizontalErrorBars(float[] xErrorBars) { |
| 1010 | PlotObject mainObject = getLastCurveObject(); |
| 1011 | if (mainObject != null) |
| 1012 | mainObject.xEValues = xErrorBars; |
| 1013 | else throw new RuntimeException("Plot can't add x error bars without data"); |
| 1014 | } |
| 1015 | |
| 1016 | /** Adds horizontal error bars to the last data passed to the plot (via the constructor or addPoints). */ |
| 1017 | public void addHorizontalErrorBars(double[] xErrorBars) { |
no test coverage detected