{"id":15047599,"url":"https://github.com/szymon423/yapl","last_synced_at":"2026-02-14T00:46:42.609Z","repository":{"id":247828253,"uuid":"826943070","full_name":"Szymon423/YAPL","owner":"Szymon423","description":"Another C++ plot library","archived":false,"fork":false,"pushed_at":"2024-07-16T16:13:07.000Z","size":303,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-13T20:21:26.759Z","etag":null,"topics":["cario","chart","cpp17","plot"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Szymon423.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-07-10T17:33:10.000Z","updated_at":"2024-07-16T16:13:10.000Z","dependencies_parsed_at":"2024-09-24T21:01:11.252Z","dependency_job_id":null,"html_url":"https://github.com/Szymon423/YAPL","commit_stats":null,"previous_names":["szymon423/sillyplot","szymon423/yapl"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Szymon423%2FYAPL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Szymon423%2FYAPL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Szymon423%2FYAPL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Szymon423%2FYAPL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Szymon423","download_url":"https://codeload.github.com/Szymon423/YAPL/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243475330,"owners_count":20296714,"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":["cario","chart","cpp17","plot"],"created_at":"2024-09-24T21:01:07.969Z","updated_at":"2025-10-03T17:25:45.080Z","avatar_url":"https://github.com/Szymon423.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"![logo](./img/logo.png)\n\n# Yet Another Plot Library\nThis is my attempt to create simple plot library for `C++`. Especially one that is willing to work on `Raspberry Pi` devices on `arm64` OS. \n\n\u003e [!NOTE]\n\u003e This library will not display any plots. It can only save them to `.png`\n\n## But Why?\nWhy to choose this library when you can use `python` and all it goodness like `matplotlib`?\n\nWell.. I also do not know. But maybe when writing somethig that need to work without any other programs like amazing `gnuplot`, running on constrained hardware resources system maybe it is worth checking out on this something.\n\n## Example\n\n```cpp\n#include \"yapl.hpp\"\n#include \u003ciostream\u003e\n\nint main() {\n    try {\n        yapl::Plot plot;\n        plot.addData({10, 50, 30, 10}, {10, 90, 50, 90});\n        plot.addData({80, 120, 160, 140, 100}, {10, 90, 10, 50, 50});\n        plot.addData({190, 190, 240, 240, 190}, {10, 90, 90, 50, 50});\n        plot.addData({270, 270, 320}, {90, 10, 10});\n        plot.grid(true);\n        plot.xLabel(\"X value\");\n        plot.yLabel(\"Y value\");\n        plot.title(\"Yet Another Plot Library\");\n        plot.setLabelMaker([](double val) -\u003e std::string {\n            return \"X: \" + std::to_string((int)val);\n        });\n        plot.save(\"/YAPL/img/test/example_plot.png\", 800, 600);\n    }\n    catch (const yapl::Exception\u0026 e) {\n        std::cout \u003c\u003c \"Caught error during plot generation\" \u003c\u003c std::endl;\n    }\n    return 0;\n}\n```\n\n![output](./img/example_plot.png)\n\n## Documentation\nTo run documentation just use:\n```sh\ncd docs \u0026\u0026 mkdocs serve\n```\n\n## Dependencies\n- [cario](https://www.cairographics.org/)\n\n## License\nThis software is released under `GPLv2+` license.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszymon423%2Fyapl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fszymon423%2Fyapl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszymon423%2Fyapl/lists"}