From 0029eba2d95bb37b2425961782d590b9d81abc55 Mon Sep 17 00:00:00 2001 From: Alexandre Gobbo Date: Wed, 10 Sep 2014 08:52:17 +0200 Subject: [PATCH] On matrix plots the coordinates must be rounded from calculated values, and not casted --- ch.psi.plot/src/test/java/MatrixPlotTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ch.psi.plot/src/test/java/MatrixPlotTest.java b/ch.psi.plot/src/test/java/MatrixPlotTest.java index 2d445ee..b802fdc 100644 --- a/ch.psi.plot/src/test/java/MatrixPlotTest.java +++ b/ch.psi.plot/src/test/java/MatrixPlotTest.java @@ -26,8 +26,8 @@ public class MatrixPlotTest { public static void main(final String[] args) throws InterruptedException { PlotBase.setLighweightPopups(false); - final ch.psi.plot.MatrixPlot plot = new ch.psi.plot.jzy3d.MatrixPlot(); - //final ch.psi.plot.MatrixPlot plot=new ch.psi.plot.jfree.MatrixPlot(); + //final ch.psi.plot.MatrixPlot plot = new ch.psi.plot.jzy3d.MatrixPlot(); + final ch.psi.plot.MatrixPlot plot=new ch.psi.plot.jfree.MatrixPlot(); //plot.getAxis(Plot.AxisId.Z).setRange(0.0, 4.0); //final XYZGenerator generator = new XYZGenerator(new Sinus2D(2, 4), startX, stepSizeX, stepsX, startY, stepSizeY, stepsY, false);