Library
QN Plot version 1.6
Add to favorites
JDK version:1.5
Web site: [License]
Books:Click here to see recommendations

QN Plot

Charts with Swing

This chart implementation provides graphs of one or more functions as Swing components. The design was made to render large amounts of real-time data. Java 5 or newer is required. Please try the Web Start demonstration.

Properties

  • Free software (3-clause BSD)
  • Coordinates are of type BigDecimal for arbitrary-precision
  • High performance
  • All classes are completely thread-safe
  • The axis have schemes to automatically choose stepsizes for the index

By example


// Deploy graph:
Graph graph = new InteractiveGraph();
jComponent.add(graph);

// Add function:
Function f = new Function("Example");
graph.addFunction(f);

// Define ten random coordinates:
int i = 10;
while (--i >= 0) {
	BigDecimal x = new BigDecimal(Math.random());
	BigDecimal y = new BigDecimal(Math.random());
	f.addPoint(x, y);
}

// Apply changes:
graph.render();
graph.repaint();

Resources

Change log

Version 1.6

Version 1.5

  • SVG export feature
  • Handle external dependencies through reflection
  • Minor code modifications and cleanup

Version 1.4

Version 1.3

Version 1.2

Version 1.1

Thank you

TODO

  • Interpolation
  • Implement scatterplot and histogram
  • Create a Java Bean class
  • i18n
Statistics
Packages
Comments
Books
Packages
NameDescription
net.quies.math.plotChart implementation with Swing.
Search