DoubleDiffer d = new DoubleDiffer(.0000001);
LinearXYAxis axis = new LinearXYAxis(XYDimension.Y);
axis.setSize(10, 100);
axis.setStart(1);
axis.setEnd(2);
d.assertClose(2, axis.toLogical(0));
d.assertClose(1.5, axis.toLogical(50));
d.assertClose(1, axis.toLogical(100));
axis.setSize(10, 130);
axis.setStartMargin(10);