new plotter

This commit is contained in:
Sergey Solovyev 2013-01-19 00:34:37 +04:00
parent ccfe8f752b
commit fc2d89c1ed

View File

@ -14,8 +14,6 @@ import org.solovyev.common.math.Point2d;
import java.text.DecimalFormat;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.Executor;
import java.util.concurrent.Executors;
public class CalculatorGraph2dView extends View implements GraphView {
@ -357,10 +355,11 @@ public class CalculatorGraph2dView extends View implements GraphView {
for (int i = 0; i < functionPlotDefs.size(); i++) {
final PlotFunction fpd = functionPlotDefs.get(i);
final GraphData graph = graphsData.get(i);
graphCalculator.computeGraph(fpd.getXyFunction(), xMin, xMax, graphsData.get(i), graphsData, dimensions);
graphCalculator.computeGraph(fpd.getXyFunction(), xMin, xMax, graph, graphsData, dimensions);
graphToPath(graphsData.get(i), path);
graphToPath(graph, path);
path.transform(matrix);