{"id":15966911,"url":"https://github.com/yannrichet/jmathplot","last_synced_at":"2025-04-07T17:12:04.283Z","repository":{"id":28692908,"uuid":"32213063","full_name":"yannrichet/jmathplot","owner":"yannrichet","description":"Java interactive 2D and 3D plots (no OpenGL)","archived":false,"fork":false,"pushed_at":"2021-03-16T17:02:32.000Z","size":1696,"stargazers_count":158,"open_issues_count":16,"forks_count":47,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-03-31T15:18:57.571Z","etag":null,"topics":["3d-plot","java","opengl","plot"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yannrichet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-14T13:25:32.000Z","updated_at":"2025-03-12T17:29:01.000Z","dependencies_parsed_at":"2022-08-29T01:11:00.727Z","dependency_job_id":null,"html_url":"https://github.com/yannrichet/jmathplot","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yannrichet%2Fjmathplot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yannrichet%2Fjmathplot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yannrichet%2Fjmathplot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yannrichet%2Fjmathplot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yannrichet","download_url":"https://codeload.github.com/yannrichet/jmathplot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247694877,"owners_count":20980733,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["3d-plot","java","opengl","plot"],"created_at":"2024-10-07T18:06:23.509Z","updated_at":"2025-04-07T17:12:04.247Z","avatar_url":"https://github.com/yannrichet.png","language":"Java","readme":"[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.yannrichet/JMathPlot/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.yannrichet/JMathPlot)\n[![Build Status](https://travis-ci.org/yannrichet/jmathplot.png)](https://travis-ci.org/yannrichet/jmathplot)\n[![codecov](https://codecov.io/gh/yannrichet/jmathplot/branch/master/graph/badge.svg)](https://codecov.io/gh/yannrichet/jmathplot)\n\n# JMathPlot: interactive 2D and 3D plots\n\nProvides interactive 2D/3D plot (without openGL) :\n\n    2D/3D scatter plot\n    2D/3D line plot\n    2D staircase plot\n    2D/3D histogram plot\n    2D/3D boxplot\n    3D grid plot\n    2D/3D quantiles on plots \n\nNote: for a true OpenGL java plot library, try the good jzy3d project\n\n## Example Java code ##\n\n```java\nimport org.math.plot.*;\n...\n  \n  double[] x = ...\n  double[] y = ...\n \n  // create your PlotPanel (you can use it as a JPanel)\n  Plot2DPanel plot = new Plot2DPanel();\n \n  // add a line plot to the PlotPanel\n  plot.addLinePlot(\"my plot\", x, y);\n \n  // put the PlotPanel in a JFrame, as a JPanel\n  JFrame frame = new JFrame(\"a plot panel\");\n  frame.setContentPane(plot);\n  frame.setVisible(true);\n  ```\n\n## Use it ##\n\nPut https://github.com/yannrichet/jmathplot/blob/master/dist/jmathplot.jar in your java classpath\n\nOr include maven dependency:\n```xml\n\u003cdependencies\u003e\n...\n    \u003cdependency\u003e\n      \u003cgroupId\u003ecom.github.yannrichet\u003c/groupId\u003e\n      \u003cartifactId\u003eJMathPlot\u003c/artifactId\u003e\n      \u003cversion\u003e1.0.1\u003c/version\u003e\n    \u003c/dependency\u003e\n...\n\u003c/dependencies\u003e\n```\n\nThen\n- create a new PlotPanel instance: `PlotPanel plot = new Plot2DPanel();`\n- add a plot inside `plot.addLinePlot(\"my plot\", x, y);`\n- use the PlotPanel as any Swing component (all PlotPanel extends JPanel, in fact) \n\n![Analytics](https://ga-beacon.appspot.com/UA-109580-20/jmathplot)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyannrichet%2Fjmathplot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyannrichet%2Fjmathplot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyannrichet%2Fjmathplot/lists"}