/dmelt_jhplot

The core jhplot library of the DMelt project

Primary LanguageJavaOtherNOASSERTION

DataMelt (jhplot package)

The core jhplot library of the DMelt project

This library is a core of the DMelt - a free mathematics software for numeric computation, statistics, symbolic calculations, data analysis and data visualization. It links various components of the DataMelt libraries maintained by the jWork.ORG.

How to compile

To compile the jhplot package into jhplot.jar, you need to download DataMelt from the DMelt web site and extract the "lib" directory. Put this directory inside the jhplot directory (where abuild.properties is located). Make sure that the ant buid tool is installed.

  1. Get this package: wget https://github.com/chekanov/dmelt_jhplot/archive/master.zip unzip master.zip

  2. Add additional third-party libraries from DMelt:

    wget -O dmelt.zip http://sourceforge.net/projects/dmelt/files/latest/download
    unzip dmelt.zip;
    
  3. Copy these libraries:

    cp -rf dmelt/lib dmelt_jhplot-master/

  4. Assuming you have the "lib" directory, build the project:

    cd dmelt_jhplot-master/
    ant
    ant run
    

The last command runs a simple Java example showing a log scale for a canvas filled with random numbers.

  1. Now you can move the created file under DMelt location:
  cp jhplot.jar ../dmelt/lib/system/
  

and you can start the DMelt as dmelt.sh (or dmelt.bat)

This version of jhplot is licensed under the GNU public license and included in the community edition of DMelt. A version with more permissive license is available from the DMelt web page.

S.Chekanov DMelt (http://jwork.org/dmelt/)