Tag: jmathplot

jmathplot在swing应用程序中不起作用

我正在尝试在swing应用程序中使用jmathplot库。 问题是,当我将它添加到JPanel时它似乎不起作用,如下所示: // create your PlotPanel (you can use it as a JPanel) double[] x = new double[] { 0, 1, 2, 3, 4, 5 }; double[] y = new double[] { 10, 11, 12, 14, 15, 16 }; // create your PlotPanel (you can use it as a JPanel) Plot2DPanel graph = new Plot2DPanel(); […]