Skip to content

eliaspfeffer/Plot-math-functions-easily-in-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Function Plotter Template

A simple Java template for plotting mathematical functions using JFreeChart.

Overview

This template allows you to plot any mathematical function within a specified range. You can plot multiple functions, and they will appear side by side in the same window.

Features

  • Plot Any Function: Easily plot any function of the form y = f(x).
  • Multiple Plots: Display multiple plots in a single window.
  • Customizable Range and Resolution: Adjust the xmin, xmax, and xIncrement to control the plotting range and detail.
  • Easy to Use: Simply define your function and call plotFunction.

Getting Started

Prerequisites

  • Java Development Kit (JDK): Ensure you have JDK 8 or higher installed.
  • JFreeChart Library: You need to include JFreeChart in your project.

Adding JFreeChart to Your Project

Maven

Add the following dependency to your pom.xml:

<dependency>
    <groupId>org.jfree</groupId>
    <artifactId>jfreechart</artifactId>
    <version>1.5.3</version>
</dependency>

About

Easily plot any mathematical function in java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages