{"id":18604972,"url":"https://github.com/finmath/finmath-lib-plot-extensions","last_synced_at":"2025-04-10T20:30:54.633Z","repository":{"id":45006716,"uuid":"134271404","full_name":"finmath/finmath-lib-plot-extensions","owner":"finmath","description":"Convenient abstraction layer for different visualisation frameworks and demos of finmath lib","archived":false,"fork":false,"pushed_at":"2025-02-28T08:38:17.000Z","size":2209,"stargazers_count":1,"open_issues_count":1,"forks_count":4,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-25T03:41:34.498Z","etag":null,"topics":["finmath-lib","graphs","plot-library"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/finmath.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-21T13:15:09.000Z","updated_at":"2025-02-27T15:40:10.000Z","dependencies_parsed_at":"2023-11-25T02:22:32.073Z","dependency_job_id":"67ecb137-b816-44fa-974b-54248f87baa4","html_url":"https://github.com/finmath/finmath-lib-plot-extensions","commit_stats":null,"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finmath%2Ffinmath-lib-plot-extensions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finmath%2Ffinmath-lib-plot-extensions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finmath%2Ffinmath-lib-plot-extensions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finmath%2Ffinmath-lib-plot-extensions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/finmath","download_url":"https://codeload.github.com/finmath/finmath-lib-plot-extensions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248290019,"owners_count":21078923,"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":["finmath-lib","graphs","plot-library"],"created_at":"2024-11-07T02:19:31.899Z","updated_at":"2025-04-10T20:30:54.131Z","avatar_url":"https://github.com/finmath.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# finmath lib plot extensions\n- - - -\n**Convenient abstractions of some plotting libraries and example usages of finmath lib.**\n- - - -\n\nThis project provides abstractions for some plotting libraries (JFreeChart, JavaFX, \nJZY3D) and demo usages for finmath lib.\nIt is provided for convenience to test and explore finmath lib.\n\nMain features:\n- Create 2D and 3D graphs (using JFreeChart (2D), JavaFX (2D) and JZY3D (3D)).\n- Animated 3D visualization (using JZY3D (which uses OpenGL)).\n- Save the graphs as PDF (using iText).\n- Save the graphs as SVG (using JFreeSVG)\n- Easy to use classes and methods with a default style.\n\n## Usage\n\n### Easy and lightweight plot creation\n\nAiming at quick creation of plots, plots can be specified using a function / operator (e.g. via a lambda expression) and a few parameters specifying the discretization:\n\n\t\tPlot plot = new Plot2D(0.0, 300.0, 100, function);\n\t\tplot.setTitle(\"Black-Scholes Model European Option Value\").setXAxisLabel(\"strike\").setYAxisLabel(\"value\");\n\t\tplot.show();\n\nwhere function is, e.g.,\n\n\t\tDoubleUnaryOperator function = (optionStrike) -\u003e {\n\t\t\treturn AnalyticFormulas.blackScholesOptionValue(initialStockValue, riskFreeRate, volatility, optionMaturity, optionStrike);\n\t\t};\n\n(taken from `net.finmath.plots.demo.Plot2DDemo`).\n\n### Live visualization or 'reactive plots'\n\nThe ``Plot2D``supports live updates and can be used as an observer registering to a \n(reactive) stream via\n\n        plotable -\u003e plot.update(plotable)\n\nwhere `plotable` is a  `List\u003cPlotables2D\u003e` where a `Plotable2D` can be a function (`DoubleUnaryOperator`) \nor a series of `Point2D`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffinmath%2Ffinmath-lib-plot-extensions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffinmath%2Ffinmath-lib-plot-extensions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffinmath%2Ffinmath-lib-plot-extensions/lists"}