{"id":13525154,"url":"https://github.com/johannes-wolf/typst-plot","last_synced_at":"2025-04-01T04:31:13.860Z","repository":{"id":151070909,"uuid":"619800696","full_name":"johannes-wolf/typst-plot","owner":"johannes-wolf","description":"Typst Plotting Library","archived":true,"fork":false,"pushed_at":"2023-07-27T03:17:28.000Z","size":1110,"stargazers_count":89,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-28T18:05:24.903Z","etag":null,"topics":["plot","typst"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johannes-wolf.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,"governance":null}},"created_at":"2023-03-27T13:19:14.000Z","updated_at":"2025-03-03T15:14:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"3690bbfb-1c9c-4ba6-9a20-27f3b7bd27e1","html_url":"https://github.com/johannes-wolf/typst-plot","commit_stats":{"total_commits":40,"total_committers":3,"mean_commits":"13.333333333333334","dds":"0.050000000000000044","last_synced_commit":"62a0b79f19517bb4c97b2b7f29a02a1daf164964"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johannes-wolf%2Ftypst-plot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johannes-wolf%2Ftypst-plot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johannes-wolf%2Ftypst-plot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johannes-wolf%2Ftypst-plot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johannes-wolf","download_url":"https://codeload.github.com/johannes-wolf/typst-plot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246586080,"owners_count":20801024,"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":["plot","typst"],"created_at":"2024-08-01T06:01:16.411Z","updated_at":"2025-04-01T04:31:13.559Z","avatar_url":"https://github.com/johannes-wolf.png","language":"Shell","funding_links":[],"categories":["Templates \u0026 Libraries","库和工具类"],"sub_categories":["Plotting","图形 色彩"],"readme":"# Note\n**I have implemented improved plotting in [CeTZ](https://github.com/johannes-wolf/typst-canvas)'s \"plot\" library. This package will not receive any new features. Please use CeTZ as an replacement for typst-plot.**\nExamples of CeTZ plot and chart capabilities can be found here:\n- [CeTZ main page](https://github.com/johannes-wolf/typst-canvas)\n- [CeTZ manual](https://github.com/johannes-wolf/typst-canvas/blob/master/manual.pdf?raw=true)\n- [CeTZ plot test image](https://github.com/johannes-wolf/typst-canvas/blob/master/tests/plot/ref.png)\n- [CeTZ chart test image](https://github.com/johannes-wolf/typst-canvas/blob/master/tests/chart/ref.png)\n\n# Typst Plotting Library\nA simple [Typst](https://typst.app) library for plotting line charts.\n\n## Getting Started\n\n```typst\n// Install the package locally by running `just install`\n#import \"@local/typst-plot:0.0.1\": plot, sample\n\n#plot(sample(x =\u003e calc.sin(x), min: 0, max: 2 * calc.pi))\n```\n\n## Examples\n\u003ctable\u003e\u003ctr\u003e\n  \u003ctd\u003e\n    \u003ca href=\"gallery/simple.typ\"\u003e\n      \u003cimg src=\"gallery/simple.png\" width=\"250px\"\u003e\n    \u003c/a\u003e\n  \u003c/td\u003e\n  \u003ctd\u003e\n    \u003ca href=\"gallery/multi.typ\"\u003e\n      \u003cimg src=\"gallery/multi.png\" width=\"250px\"\u003e\n    \u003c/a\u003e\n  \u003c/td\u003e\n  \u003ctd\u003e\n    \u003ca href=\"gallery/tic-label.typ\"\u003e\n      \u003cimg src=\"gallery/tic-label.png\" width=\"250px\"\u003e\n    \u003c/a\u003e\n  \u003c/td\u003e\n\u003c/tr\u003e\u003ctr\u003e\n  \u003ctd\u003eSimple Plot\u003c/td\u003e\n  \u003ctd\u003eMultiple Plots\u003c/td\u003e\n  \u003ctd\u003eCustom Tick labels\u003c/td\u003e\n\u003c/tr\u003e\u003ctr\u003e\n  \u003ctd\u003e\n    \u003ca href=\"gallery/parametric.typ\"\u003e\n      \u003cimg src=\"gallery/parametric.png\" width=\"250px\"\u003e\n    \u003c/a\u003e\n  \u003c/td\u003e\n  \u003ctd\u003e\u003c/td\u003e\n  \u003ctd\u003e\u003c/td\u003e\n\u003c/tr\u003e\u003ctr\u003e\n  \u003ctd\u003eParametric\u003c/td\u003e\n  \u003ctd\u003e\u003c/td\u003e\n  \u003ctd\u003e\u003c/td\u003e\n\u003c/tr\u003e\u003c/table\u003e\n\n*Click on the example image to jump to the code.*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohannes-wolf%2Ftypst-plot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohannes-wolf%2Ftypst-plot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohannes-wolf%2Ftypst-plot/lists"}