On matrix plots the coordinates must be rounded from calculated values, and not casted

This commit is contained in:
2014-09-10 08:52:17 +02:00
parent 4a5df6042e
commit 0029eba2d9

View File

@@ -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);