Short Description
JMath Plot scriptVersions
-
Version 2 • Released on: 2016-04-27 15:19:44Download
importClass(Packages.icy.gui.frame.IcyFrame) importClass(Packages.plugins.adufour.jmathplot.JMathPlot) importClass(Packages.org.math.plot.Plot2DPanel) // prepare the XY data x = [1, 2, 3] y = [10,30,20] // create the plot panel plot = new Plot2DPanel() plot.addLinePlot("my plot", x, y) // create the window window = new IcyFrame("My window") window.addToDesktopPane() // add the plot to the window window.add(plot) // show the window on screen window.setVisible(true)
-
Version 1 • Released on: 2016-04-22 16:51:56DownloadDescription:
initial version
importClass(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)