{"id":13870206,"url":"https://github.com/leonhma/obsidian-functionplot","last_synced_at":"2025-07-15T20:31:45.306Z","repository":{"id":37031577,"uuid":"488378466","full_name":"leonhma/obsidian-functionplot","owner":"leonhma","description":"A obsidian.md plugin for rendering maths graphs.","archived":false,"fork":false,"pushed_at":"2023-09-08T13:23:33.000Z","size":1940,"stargazers_count":196,"open_issues_count":24,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-06T21:23:33.734Z","etag":null,"topics":["graph","maths","obsidian-md","obsidian-plugin","obsidianmd","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leonhma.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-05-03T22:17:10.000Z","updated_at":"2024-07-31T22:49:33.000Z","dependencies_parsed_at":"2024-01-16T08:10:44.743Z","dependency_job_id":"4cb2d742-7b2b-4963-b73e-f3264d5f8a5c","html_url":"https://github.com/leonhma/obsidian-functionplot","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonhma%2Fobsidian-functionplot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonhma%2Fobsidian-functionplot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonhma%2Fobsidian-functionplot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonhma%2Fobsidian-functionplot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leonhma","download_url":"https://codeload.github.com/leonhma/obsidian-functionplot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226068297,"owners_count":17568733,"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":["graph","maths","obsidian-md","obsidian-plugin","obsidianmd","typescript"],"created_at":"2024-08-05T20:01:34.038Z","updated_at":"2024-11-23T16:31:20.131Z","avatar_url":"https://github.com/leonhma.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# obsidian-functionplot\n\nA plugin for displaying mathematical graphs in obsidian.md.\n\n\u003e ⭐ _Remember to star this plugin on [Github](https://github.com/leonhma/obsidian-functionplot) if you like it!_\n\n_This file only contains basic instructions to get you to using this plugin quickly. If you want a more detailed documentation, take a look at the [wiki](https://github.com/leonhma/obsidian-functionplot/wiki)._\n\n---\n\n# 🔮 How to use\n\n### With Command\n\nSince version `1.1.0` you can create plots via a handy GUI with live-preview functionality.\n\n1. Open the command palette and select `Obsidian Functionplot: Plot a Function`\n\n2. Adjust the plot to your liking.\n\n    ![Create plot modal](./images/create-modal/light.png#gh-light-mode-only)\n    ![Create plot modal](./images/create-modal//dark.png#gh-dark-mode-only)\n\n3. This will create a coordinate system with bounds `-10 \u003c x \u003c 10, -10 \u003c y \u003c 10` and plot the functions f and g. If you havent disabled it, you can even drag and zoom the graph.\n\n\u003c!--     ![Graph image](./images/plot/light.png#gh-light-mode-only)\n    ![Graph image](./images/plot/dark.png#gh-dark-mode-only) --\u003e\n\n### With `functionplot` Block\n\n````\n```functionplot\n---\ntitle: string\nxLabel: string\nyLabel: string\nbounds: array[min x, max x, min y, max y]\ndisableZoom: boolean\ngrid: boolean\n---\n\u003cname\u003e(variable)=\u003cexpression\u003e\n```\n````\n\nExample:\n\n````\n```functionplot\n---\ntitle: The random graph\nxLabel: Time\nyLabel: Cost\nbounds: [0, 10, 0, 50]\ndisbaleZoom: 1\ngrid: true\n---\ng(x)=x^PI\nf(x)=E+log(x)*2\n```\n````\n\n## 🧮 Supported Math\n\nTo see the complete list of supported math functions, please check the [wiki](https://github.com/leonhma/obsidian-functionplot/wiki).\n\n## ⚙ Plugin Settings\n\nSince version `1.2.0` there's a dedicated settings page for this plugin. Here you can adjust things like font sizes for the text elements of the plot, line widths and various colors. To access this page, head to the obsidian settings and scroll down the list to 'Community Plugins \u003e Obsidian Functionplot'.\n\n![Settings Page](https://github.com/leonhma/obsidian-functionplot/blob/master/images/settings/dark.png)\n\n\u003e **Note**  \n\u003e For changes to be applied, Obsidian needs to \"re-render\" the chart. You can either restart Obsidian, or switch between view modes (eg. Reading mode \u003e Edit mode \u003e Reading mode).\n\n---\n\n## ❓ Questions\n\nIf you have any questions about the usage of the plugin, take a look at the [wiki](https://github.com/leonhma/obsidian-functionplot/wiki) or post a question in the [discussions](https://github.com/leonhma/obsidian-functionplot/discussions).\n\n## 🐞 Bugs and Errors\n\nIf you encounter any errors while using this plugin, please report them to us. To do so, click [this link](https://github.com/leonhma/obsidian-functionplot/issues/new?assignees=leonhma\u0026labels=bug\u0026template=BUG_REPORT.yml), fill out the form as best as you can and click `Submit new issue`. These issues are publically viewable, so please don't submit any personal information.\n\n## 🤝 Contributing\n\nContributions are always welcome! Be it submitting issues, editing the wiki or creating a pull request, contributions by people like you help keep the project evolving. Please adhere to the [contributing guidelines](CONTRIBUTING.md).\n\n## ©️ Attribution\n\nThis plugin is based on / uses:\n\n-   [function-plot](https://github.com/mauriciopoppe/function-plot): MIT License, Copyright (c) 2015 Mauricio Poppe\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleonhma%2Fobsidian-functionplot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleonhma%2Fobsidian-functionplot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleonhma%2Fobsidian-functionplot/lists"}