Short Description
JMath Plot scriptVersions
-
Version 2 • Released on: 2016-04-27 15:19:44Download1234567891011121314151617181920importClass(Packages.icy.gui.frame.IcyFrame)importClass(Packages.plugins.adufour.jmathplot.JMathPlot)importClass(Packages.org.math.plot.Plot2DPanel)// prepare the XY datax = [1, 2, 3]y = [10,30,20]// create the plot panelplot = new Plot2DPanel()plot.addLinePlot("my plot", x, y)// create the windowwindow = new IcyFrame("My window")window.addToDesktopPane()// add the plot to the windowwindow.add(plot)// show the window on screenwindow.setVisible(true)
-
Version 1 • Released on: 2016-04-22 16:51:56DownloadDescription:
initial version
12345678910111213importClass(Packages.plugins.adufour.jmathplot.JMathPlot)seq = getSequence()Plot2DPanel plot = new Plot2DPanel()plot = plot.addlinePlot ("my plot", 200, 200)JFrame frame = new JFrame("a plot panel");frame.setContentPane(plot);frame.setVisible(true);gui.addSequence(plot)