Menu

MLPlot Home

Pascal Lehwark

MLPlot is a lightweight standalone plotting library written in Java. It produces vector graphics in SVG format aiming to imitate Matlab's 2D plotting functionality.
Usage:

1. Instantiate an MLPlot object:
MLPlot p=new MLPlot();

2. Draw your data:
p.linePlot(new double[]{0.1,0.2,0.14},..styles..);...

3. Customize your plot:
p.setGrid(true);...

4. Save as SVG:
p.save(new File("test.svg"));

6. ..or as PNG,JPG,.. :
p.save(new File("test.png"));


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.