A desktop application for plotting mathematical functions built with Java Swing. Written as a personal project to explore GUI development and math expression parsing.
- Plot multiple equations simultaneously
- Supports standard math functions:
sin,cos,tan,log,sqrt, and more - Add and remove equation fields dynamically
- Smooth curve maybe?
- Java Swing (GUI)
- mXparser (expression evaluation)
- Java 11 or higher
- mXparser library added to your classpath
- Clone the repository
- Add the mXparser
.jarto your project dependencies - Run
Main.java
- Type a function in the
f(x) =field, e.g.sin(x),x^2,log(x) - Click
+ Add Equationto plot multiple functions at once - Click
Plot Graphsto render
src/
├── GUI/
│ ├── Frame.java
│ └── Plotter.java
├── Engine/
│ └── EquationHandler.java
└── Main.java
- X range is fixed as of right now
- No zoom or pan support
- Some functions may render as discontinued due to the zoom or pan