JavaPlot

Software Screenshot:
JavaPlot
Software Details:
Version: 0.5.0
Upload Date: 3 Jun 15
Distribution Type: Freeware
Downloads: 26

Rating: 2.0/5 (Total Votes: 2)

JavaPlot is a library that can be used as a way to create gnuplot plots on the fly through pure Java commands. In contrast with other common gnuplot Java libraries, it uses Java structures to store the various plot parameters, including datasets.

Moreover, it is flexible enough to give special parameters to gnuplot, even if the library does not yet support it. JavaPlot software uses Java's Exceptions to inform the user if something went wrong.

Java 1.5 (or better) is needed for this library. The reason is the extensive usage of various 1.5 technologies, such as Generics and autoboxing, to help maipulation of plot data. It has been tested with gnuplot 4.2. Older versions might or might not work.

This library has been checked in Windows XP, Linux (Debian) and Mac OS X (Tiger & Leopard). It should work on any other system, if you fine tune the special parameters needed.

Usage:

First you have to include this library in your classpath. Then the easiest way to start creating plots, is to create a new instance of JavaPlot object.

A test case can be found under test/com/panayotis/gnuplot/GNUPlotTest.java. It needs JUnit4 to run, but you can safely copy&paste the ocde from this example to match your needs. For more detailed information, see the provided javadoc. Most methods should be self explanatory.

If you want to go deeper into the library, it is important to understand "ProeprtiesHolder" class, which is the base properties holder of this library. . This class is able to store pairs of values (such as key-value pairs). Use the set() and unset() method of this class to add parameters which will be used when creating the gnuplot program.

There are some things that are not supported yet. These are mainly the multiplot environment and splot-family commands. Still, using methods like getPreInit() and getPostInit() you might be able to simulate them.

If you want to use SVG output in Java, you need a library to handle SVG files. Such a library is SVGSalamander provided with this package. There is a bug in this library, though, which ignores color values. Thus all colors in SVG graphs are black.

What is new in this release:

  • This release uses temporary files instead of pipes; improves compatibility with Windows.

What is new in version 0.4.0:

  • Basic support of Graph3d (splot).
  • Implementation of user-defined terminals.

Requirements:

  • Java SE Development Kit
  • gnuplot

Similar Software

Peak-o-mat
Peak-o-mat

20 Feb 15

OpenMap
OpenMap

2 Jun 15

basemap
basemap

14 Apr 15

OpenVRML
OpenVRML

14 Apr 15

Other Software of Developer Panayotis Katsaloulis

Jubler (64bit)
Jubler (64bit)

14 Aug 18

CrossMobile
CrossMobile

4 May 20

Jubler
Jubler

27 Apr 18

Comments to JavaPlot

Comments not found
Add Comment
Turn on images!