Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Science and Engineering > Visualization

    JavaPlot 0.4.0

    Download button

    No screenshots available
    Downloads: 885  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.6/5)
    18 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Panayotis Katsaloulis | More programs
    LGPL / FREE
    September 5th, 2008, 10:14 GMT [view history]
    ROOT / Science and Engineering / Visualization

     Read user reviews (0)  Refer to a friend  Subscribe

    JavaPlot description

    JavaPlot is a library that can be used as a way to create gnuplot plots on the fly through pure Java commands.

    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.


    Product's homepage

    Requirements:

    · Java SE Development Kit
    · gnuplot

    What's New in This Release: [ read full changelog ]

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

      


    TAGS:

    create gnuplot plots | Java commands | plot library | gnuplot | plots | Java

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM