All Projects → yannrichet → Jmathplot

yannrichet / Jmathplot

Licence: bsd-2-clause
Java interactive 2D and 3D plots (no OpenGL)

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Jmathplot

Visbrain
A multi-purpose GPU-accelerated open-source suite for brain data visualization
Stars: ✭ 172 (+52.21%)
Mutual labels:  opengl, plot
Fna3d
FNA3D - 3D Graphics Library for FNA
Stars: ✭ 111 (-1.77%)
Mutual labels:  opengl
Covid19 Dashboard
🦠 Django + Plotly Coronavirus dashboard. Powerful data driven Python web-app, with an awesome UI. Contributions welcomed! Featured on 🕶Awesome-list
Stars: ✭ 100 (-11.5%)
Mutual labels:  plot
Voxelman
Plugin-based client-server voxel game engine written in D language
Stars: ✭ 105 (-7.08%)
Mutual labels:  opengl
Tinyraycaster
486 lines of C++: old-school FPS in a weekend
Stars: ✭ 1,383 (+1123.89%)
Mutual labels:  opengl
Orb Slam2 Based Ar On Android
This is a Android Augmented Reality APP based on ORB-SLAM2 and OpenGL,which can work well on both outdoor and indoor environments
Stars: ✭ 107 (-5.31%)
Mutual labels:  opengl
Openrct2
An open source re-implementation of RollerCoaster Tycoon 2 🎢
Stars: ✭ 10,115 (+8851.33%)
Mutual labels:  opengl
Bgrabitmap
📜 BGRABitmap graphics library made with Lazarus (Free Pascal).
Stars: ✭ 112 (-0.88%)
Mutual labels:  opengl
Awesome Opengl
A curated list of awesome OpenGL libraries, debuggers and resources.
Stars: ✭ 1,577 (+1295.58%)
Mutual labels:  opengl
Sh3redux
SILENT HILL 3 Engine Remake in OpenGL and C++
Stars: ✭ 105 (-7.08%)
Mutual labels:  opengl
Glutin
A low-level library for OpenGL context creation, written in pure Rust.
Stars: ✭ 1,520 (+1245.13%)
Mutual labels:  opengl
Clapper
A GNOME media player built using GJS with GTK4 toolkit and powered by GStreamer with OpenGL rendering.
Stars: ✭ 103 (-8.85%)
Mutual labels:  opengl
Matplotlib4j
Matplotlib for java: A simple graph plot library for java with powerful python matplotlib
Stars: ✭ 107 (-5.31%)
Mutual labels:  plot
Physics3d
A 3D physics engine
Stars: ✭ 101 (-10.62%)
Mutual labels:  opengl
Android Gpuimage Plus
Android Image & Camera Filters Based on OpenGL.
Stars: ✭ 1,554 (+1275.22%)
Mutual labels:  opengl
Engine
Go 3D Game Engine
Stars: ✭ 1,362 (+1105.31%)
Mutual labels:  opengl
Vkgl
Core OpenGL over Vulkan
Stars: ✭ 105 (-7.08%)
Mutual labels:  opengl
Grafica.js
A simple and configurable plotting library for p5.js
Stars: ✭ 106 (-6.19%)
Mutual labels:  plot
Kimera
Low-latency hardware accelerated codec based video streaming utility.
Stars: ✭ 113 (+0%)
Mutual labels:  opengl
Java Ascii Render
ASCII renderer in pure java with no external dependencies
Stars: ✭ 112 (-0.88%)
Mutual labels:  plot

Maven Central Build Status codecov

JMathPlot: interactive 2D and 3D plots

Provides interactive 2D/3D plot (without openGL) :

2D/3D scatter plot
2D/3D line plot
2D staircase plot
2D/3D histogram plot
2D/3D boxplot
3D grid plot
2D/3D quantiles on plots 

Note: for a true OpenGL java plot library, try the good jzy3d project

Example Java code

import org.math.plot.*;
...
  
  double[] x = ...
  double[] y = ...
 
  // create your PlotPanel (you can use it as a JPanel)
  Plot2DPanel plot = new Plot2DPanel();
 
  // add a line plot to the PlotPanel
  plot.addLinePlot("my plot", x, y);
 
  // put the PlotPanel in a JFrame, as a JPanel
  JFrame frame = new JFrame("a plot panel");
  frame.setContentPane(plot);
  frame.setVisible(true);

Use it

Put https://github.com/yannrichet/jmathplot/blob/master/dist/jmathplot.jar in your java classpath

Or include maven dependency:

<dependencies>
...
    <dependency>
      <groupId>com.github.yannrichet</groupId>
      <artifactId>JMathPlot</artifactId>
      <version>1.0.1</version>
    </dependency>
...
</dependencies>

Then

  • create a new PlotPanel instance: PlotPanel plot = new Plot2DPanel();
  • add a plot inside plot.addLinePlot("my plot", x, y);
  • use the PlotPanel as any Swing component (all PlotPanel extends JPanel, in fact)

Analytics

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].