Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 831 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 831 Bytes

SciJava PlotService

UI-independent framework for creating scientific plots.

Usage and Demos

Run the following Groovy snippet from the Script Editor:

#@ UIService uiService
#@ PlotService plotService

plot = plotService.newXYPlot()
plot.setTitle("XY Plot")
series = plot.addXYSeries()
series.setLabel("Series 1")
series.setValues([1,2,3], [7,3,9])
uiService.show(plot)

Several Java demos (XY, BoxPlot, Category plots, etc.) are available in scijava-ui-swing.