Skip to content
darksideprogramming edited this page Apr 27, 2015 · 9 revisions

LineFit

A simple and intuitive open source graphing program designed for educational uses.

To download the latest version just press this button!

Download LineFit Download LineFit

If you are looking for help as a user, a complete user manual/help PDF file is inside of LineFit and can be accessed in the Help menu -> LineFit Help... option.

Most of the documentation for coders is in the JavaDocs which can be found in the code itself or at http://darksideprogramming.github.io/LineFit/ for an online, navigable version.

This wiki will seek to provide a high level overview of many of the aspects and the structure of LineFit, since the other pieces are handled elsewhere as already mentioned (with the exception of the linefit.sty file), and may seem scarce because of that.

Packages Overview

LineFit is broken up into three packages and contains an internal resource folder. The three packages form a hierarchical pattern where each package is beneath the previous one. The first package is the LineFit package and this is where most of the code is stored. This package handles any IO, GUI, and drawing of the graphs. Inside the LineFit package lies the FitAlgorithm package which contains any of the classes pertinent to calculating linear fits for DataSets. This was done so that the algorithms are more distinct and separate from the rest of the files so that a tight couple would not be formed allowing for easier additions of fit algorithms. The last package, the Template package, is inside the FitAlgorithm package and contains only one file which is a template for creating new fit algorithms. This was done so that it will not be accidentally edited into a fit and so that it remains more obviously separate from the implemented fit algorithms. The Resource folder holds onto three things - a user help PDF/manual, the LineFit logo, and the linefit.sty file for exporting graphs to LaTex.

LinearFitAlgorithms and Classes

For an overview of how the FitAlgorithm package classes function see: https://github.com/darksideprogramming/LineFit/wiki/LinearFitFactory-and-LinearFitStrategy

For instructions on how to add a new Fit Algorithm to LineFit see: https://github.com/darksideprogramming/LineFit/wiki/Adding-an-Algorithm-to-LineFit

Clone this wiki locally