Adds a set of points that will be drawn as ARROWs. @param x1 the x-coodinates of the beginning of the arrow @param y1 the y-coodinates of the beginning of the arrow @param x2 the x-coodinates of the end of the arrow @param y2 the y-coodinates of the end of the arrow
(double[] x1, double[] y1, double[] x2, double[] y2)
| 966 | * @param y2 the y-coodinates of the end of the arrow |
| 967 | */ |
| 968 | public void drawVectors(double[] x1, double[] y1, double[] x2, double[] y2) { |
| 969 | allPlotObjects.add(new PlotObject(Tools.toFloat(x1), Tools.toFloat(y1), |
| 970 | Tools.toFloat(x2), Tools.toFloat(y2), currentLineWidth, currentColor)); |
| 971 | } |
| 972 | |
| 973 | /** |
| 974 | * Adds a set of 'shapes' such as boxes and whiskers |
no test coverage detected