thrownewRuntimeException("Calculated position not in bounds: ("+x+","+y+"), ("+xDots+","+yDots+")");
}
finalintxGlobal=xOrigin+x;
finalintyGlobal=yOrigin-y-1;
LOG.debug("Placing token at local: ({},{}), global: ({},{}), rational: ({},{}) for data point: ({},{})",x,y,xGlobal,yGlobal,((double)x)/((double)xDots),((double)y)/((double)yDots),p.getX(),p.getY());
thrownewRuntimeException("Calculated position not in bounds: ("+x+","+y+"), ("+xDots+","+yDots+")");
}
finalintxGlobal=xOrigin+x;
finalintyGlobal=yOrigin-y-1;
LOG.debug("Placing token at local: ({},{}), global: ({},{}), rational: ({},{}) for data point: ({},{})",x,y,xGlobal,yGlobal,((double)x)/((double)xDots),((double)y)/((double)yDots),p.getX(),p.getY());
mat.setValue(yGlobal,xGlobal,true);
}
}
// 5. Render title and axis, or draw layout (for debugging purposes)
finalbooleanprintLayout=false;
if(!printLayout){
textRasterizer.rasterize(diagramTitle,canvas);
...
...
@@ -208,6 +219,10 @@ public class ScatterPlotRasterizer implements Rasterizer<ScatterPlot> {