Graph-Plotter

Graph Plotter

A desktop application for plotting mathematical functions built with Java Swing. Written as a personal project to explore GUI development and math expression parsing.

Features

Tech Stack

Getting Started

Prerequisites

Running the Project

  1. Clone the repository
  2. Add the mXparser .jar to your project dependencies
  3. Run Main.java

Usage

  1. Type a function in the f(x) = field, e.g. sin(x), x^2, log(x)
  2. Click + Add Equation to plot multiple functions at once
  3. Click Plot Graphs to render

Project Structure

Graph Plotter/
├── src/
│   ├── main/
│       ├── java/
│       │   ├── Controller/
│       │   │   └── AppController.java
│       │   ├── Engine/
│       │   │   ├── PlotEngine.java
│       │   │   └── PlotSegment.java
│       │   ├── GUI/
│       │   │   ├── plotter/
│       │   │   │   └── PlotterPanel.java
│       │   │   └── Frame.java
│       │   └── Main.java
│       ├── resources/
├── README.md
└── pom.xml

Limitation