Draws a line using a normalized 0-1, 0-1 coordinate system, with (0,0) at the top left and (1,1) at the lower right corner. This is the same coordinate system used by addLabel(x,y,label).
(double x1, double y1, double x2, double y2)
| 1228 | * This is the same coordinate system used by addLabel(x,y,label). |
| 1229 | */ |
| 1230 | public void drawNormalizedLine(double x1, double y1, double x2, double y2) { |
| 1231 | allPlotObjects.add(new PlotObject(x1, y1, x2, y2, currentLineWidth, 0, currentColor, PlotObject.NORMALIZED_LINE)); |
| 1232 | } |
| 1233 | |
| 1234 | /** Draws a line using the coordinate system defined by setLimits(). */ |
| 1235 | public void drawDottedLine(double x1, double y1, double x2, double y2, int step) { |