{"id":14173136,"url":"https://github.com/MLNLP-World/Paper-Picture-Writing-Code","last_synced_at":"2025-08-06T23:32:06.093Z","repository":{"id":58184212,"uuid":"517708426","full_name":"MLNLP-World/Paper-Picture-Writing-Code","owner":"MLNLP-World","description":"MLNLP: Paper Picture Writing Code","archived":false,"fork":false,"pushed_at":"2022-11-05T10:44:56.000Z","size":6232,"stargazers_count":1003,"open_issues_count":0,"forks_count":112,"subscribers_count":18,"default_branch":"main","last_synced_at":"2024-08-17T23:02:07.896Z","etag":null,"topics":["mlnlp"],"latest_commit_sha":null,"homepage":"","language":"TeX","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/MLNLP-World.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}},"created_at":"2022-07-25T14:55:04.000Z","updated_at":"2024-08-17T08:02:34.000Z","dependencies_parsed_at":"2022-09-24T16:25:18.133Z","dependency_job_id":null,"html_url":"https://github.com/MLNLP-World/Paper-Picture-Writing-Code","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MLNLP-World%2FPaper-Picture-Writing-Code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MLNLP-World%2FPaper-Picture-Writing-Code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MLNLP-World%2FPaper-Picture-Writing-Code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MLNLP-World%2FPaper-Picture-Writing-Code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MLNLP-World","download_url":"https://codeload.github.com/MLNLP-World/Paper-Picture-Writing-Code/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228967975,"owners_count":17999439,"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":["mlnlp"],"created_at":"2024-08-17T23:01:27.034Z","updated_at":"2025-08-06T23:32:06.052Z","avatar_url":"https://github.com/MLNLP-World.png","language":"TeX","funding_links":[],"categories":["Popular \u0026 New LaTeX Templates"],"sub_categories":["Others"],"readme":"\u003cp align=\"center\"\u003e\n\u003ch1 align=\"center\"\u003e \u003cimg src=\"./latex/imgs/icon/ai.png\" width=\"30\" /\u003ePaper Picture Writing Code\u003c/h1\u003e\n\u003c/p\u003e\n\n\n\u003cp align=\"center\"\u003e\n  \t\u003ca href=\"https://img.shields.io/badge/version-v0.1.0-blue\"\u003e\n      \u003cimg alt=\"version\" src=\"https://img.shields.io/badge/version-v0.1.0-blue?color=FF8000?color=009922\" /\u003e\n    \u003c/a\u003e\n  \u003ca \u003e\n       \u003cimg alt=\"Status-building\" src=\"https://img.shields.io/badge/Status-building-blue\" /\u003e\n  \t\u003c/a\u003e\n  \u003ca \u003e\n       \u003cimg alt=\"PRs-Welcome\" src=\"https://img.shields.io/badge/PRs-Welcome-red\" /\u003e\n  \t\u003c/a\u003e\n   \t\u003ca href=\"https://github.com/MLNLP-World/Paper-Picture-Writing-Code/stargazers\"\u003e\n       \u003cimg alt=\"stars\" src=\"https://img.shields.io/github/stars/MLNLP-World/Paper-Picture-Writing-Code\" /\u003e\n  \t\u003c/a\u003e\n  \t\u003ca href=\"https://github.com/MLNLP-World/Paper_Writing_Tips/network/members\"\u003e\n       \u003cimg alt=\"FORK\" src=\"https://img.shields.io/github/forks/MLNLP-World/Paper-Picture-Writing-Code?color=FF8000\" /\u003e\n  \t\u003c/a\u003e\n    \u003ca href=\"https://github.com/MLNLP-World/Paper-Picture-Writing-Code/issues\"\u003e\n      \u003cimg alt=\"Issues\" src=\"https://img.shields.io/github/issues/MLNLP-World/Paper-Picture-Writing-Code?color=0088ff\"/\u003e\n    \u003c/a\u003e\n    \u003cbr /\u003e\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#项目动机\"\u003e项目动机\u003c/a\u003e/\n  \u003ca href=\"#项目简介\"\u003e项目简介\u003c/a\u003e/\n  \u003ca href=\"#参考资源\"\u003e参考资源\u003c/a\u003e/\n  \u003ca href=\"#目录\"\u003e目录\u003c/a\u003e/\n  \u003ca href=\"#文件夹说明\"\u003e文件夹说明\u003c/a\u003e/\n  \u003ca href=\"#组织者\"\u003e组织者\u003c/a\u003e/\n  \u003ca href=\"#贡献者\"\u003e贡献者\u003c/a\u003e\n\u003c/p\u003e\n\u003c/div\u003e\n\n\n\n---\n\n## \u003cimg src=\"./latex/imgs/icon/motivation.png\" width=\"25\" /\u003e项目动机\n\n对于很多科研新手来说论文图片的绘制常常成为论文写作中一大难题，图像失真、图示不合规范等问题会导致论文质量的降低，LaTex原生支持的图包绘制的矢量图具有不会出现失真、便于实时修改和维护等优点，为了帮助一些同学提高论文写作画图的质量和效率、学会更好地利用**LaTex画图**和**Matplotlib画图**，本项目基于**LaTex**和**matplotlib**开源论文中常用的**画图代码**，希望能对大家的论文写作图片绘制有所帮助。\n\n\u003e本项目的特色：\n\u003e1. **代码开源**：为初学者提供了可学习和可复用的代码样例，方便大家快速入门。\n\u003e2. **笔记详细**：帮助此项目基础上进一步上手实践，也便于快速定位自己代码中的错误。 \n\u003e3. **类别广繁**：涵盖AI论文画图中常用的几类画图代码。\n\n\n由于我们的水平有限，如有错误与疏漏，还望谅解，有任何问题欢迎随时指出，我们会进行更正，谢谢大家。     \n本项目所用徽章来自互联网，如侵犯了您的图片版权请联系我们删除，谢谢。\n\n## \u003cimg src=\"./latex/imgs/icon/intro.png\" width=\"25\" /\u003e项目简介\n\n本项目目前基于LaTex和Matplotlib开源了几种AI论文中常用的画图代码，共包含**折线图**、**柱状图**、**散点图**、**注意力可视化**以及**结构图**五种图，供各位同学参考。此外，附有详细的代码笔记讲解，可供同学们进一步学习以及拓展实践。\n\n\n## \u003cimg src=\"./latex/imgs/icon/resource.png\" width=\"25\" /\u003e参考资源\n\n该项目部分代码参考了 [MT Book](https://github.com/NiuTrans/MTBook)，MT Book是一本高质量的机器翻译书籍。书中所有的latex代码已经开源，也可以作为大家latex画图的一个参考。\n\n## \u003cimg src=\"./latex/imgs/icon/catalogue.png\" width=\"25\" /\u003e目录\n\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003e图类别\u003c/th\u003e\n\u003cth\u003eLatex代码\u003c/th\u003e\n\u003cth\u003eLatex笔记\u003c/th\u003e\n\u003cth\u003eMatplotlib代码\u003c/th\u003e\n\u003cth\u003eMatplotlib笔记\u003c/th\u003e\n\u003cth\u003e贡献者\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cimg src=\"./matplotlib/imgs/category/intro.png\" width=\"100\" /\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"./README.md\"\u003e引言\u003c/a\u003e\u003c/td\u003e\n\u003ctd\u003e\u003c/td\u003e\n\u003ctd\u003e\u003c/td\u003e\n\u003ctd\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"https://github.com/YudiZh\"\u003e  \u003cimg src=\"./matplotlib/imgs/profile/yudi_zhang.jpg\"  width=\"50\" /\u003e\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cimg src=\"./matplotlib/imgs/category/line_chart.png\" width=\"100\" /\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"./latex/code/line_chart.tex\"\u003e折线图\u003c/a\u003e、\u003cbr /\u003e\n  \u003ca href=\"./latex/code/line_chart_with_error_bar.tex\"\u003e带误差条的\u003cbr /\u003e折线图\u003c/a\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"./latex/notes/line_chart.pdf\"\u003e折线图\u003c/a\u003e、\u003cbr /\u003e\n  \u003ca href=\"./latex/notes/line_chart_with_error_bar.pdf\"\u003e带误差条的\u003cbr /\u003e折线图\u003c/a\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"./matplotlib/code/line_chart.py\"\u003e折线图\u003c/a\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"./matplotlib/notes/line_chart.md\"\u003e折线图\u003c/a\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"https://github.com/JoeYing1019\"\u003e  \u003cimg src=\"./matplotlib/imgs/profile/shijue_huang.jpg\"  width=\"50\" /\u003e\u003c/a\u003e\u003ca href=\"https://github.com/yizhen20133868\"\u003e\u003cimg src=\"./matplotlib/imgs/profile/libo_qin.jpg\"  width=\"50\" /\u003e\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cimg src=\"./matplotlib/imgs/category/bar_chart.png\" width=\"100\" /\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"./latex/code/histogram.tex\"\u003e柱状图\u003c/a\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"./latex/notes/histogram-latex.pdf\"\u003e柱状图\u003c/a\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"./matplotlib/code/bar_chart.py\"\u003e柱状图\u003c/a\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"./matplotlib/notes/bar_chart.md\"\u003e柱状图\u003c/a\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"https://github.com/yizhen20133868\"\u003e  \u003cimg src=\"./matplotlib/imgs/profile/libo_qin.jpg\"  width=\"50\" /\u003e\u003c/a\u003e\u003ca href=\"https://github.com/JoeYing1019\"\u003e  \u003cimg src=\"./matplotlib/imgs/profile/shijue_huang.jpg\"  width=\"50\" /\u003e\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cimg src=\"./matplotlib/imgs/category/scatter_matplotlab.jpg\" width=\"100\" /\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"./latex/code/scatter_diagram.tex\"\u003e散点图\u003c/a\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"./latex/notes/scatter_diagram.md\"\u003e散点图\u003c/a\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"./matplotlib/code/scatter_chart.py\"\u003e散点图\u003c/a\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"./matplotlib/notes/scatter_chart.md\"\u003e散点图\u003c/a\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"https://github.com/libeineu\"\u003e  \u003cimg src=\"./matplotlib/imgs/profile/bei_li.jpg\"  width=\"50\" /\u003e\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cimg src=\"./matplotlib/imgs/category/attention.png\" width=\"100\" /\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"./latex/code/attention_distribution.tex\"\u003e注意力分布\u003c/a\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"./latex/code/attention_distribution.tex\"\u003e注意力分布\u003c/a\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"./matplotlib/code/attention.py\"\u003e注意力分布\u003c/a\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"./matplotlib/notes/attention.md\"\u003e注意力分布\u003c/a\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"https://github.com/libeineu\"\u003e  \u003cimg src=\"./matplotlib/imgs/profile/bei_li.jpg\"  width=\"50\" /\u003e\u003c/a\u003e\u003ca href=\"https://github.com/SivilTaram\"\u003e  \u003cimg src=\"./matplotlib/imgs/profile/qian_liu.jpg\"  width=\"50\" /\u003e\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cimg src=\"./latex/imgs/category/text_attention.png\" width=\"100\" /\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"./latex/code/text_attention.tex\"\u003e注意力序列\u003cbr /\u003e可视化\u003c/a\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"./latex/notes/text_attention.md\"\u003e注意力序列\u003cbr /\u003e可视化\u003c/a\u003e\u003c/td\u003e\n\u003ctd\u003e\u003c/td\u003e\n\u003ctd\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"https://github.com/SivilTaram\"\u003e  \u003cimg src=\"./latex/imgs/profile/qian_liu.jpg\"  width=\"50\" /\u003e\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cimg src=\"./latex/imgs/category/struct.png\" width=\"100\" /\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"./latex/code/transformer.tex\"\u003e结构图\u003c/a\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"./latex/notes/transformer.md\"\u003e结构图\u003c/a\u003e\u003c/td\u003e\n\u003ctd\u003e\u003c/td\u003e\n\u003ctd\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"https://github.com/libeineu\"\u003e  \u003cimg src=\"./latex/imgs/profile/bei_li.jpg\"  width=\"50\" /\u003e\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cimg src=\"./latex/imgs/category/taxonomy_tree.png\" width=\"100\" /\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"./latex/code/taxonomy_tree.tex\"\u003e分类图\u003c/a\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"./latex/code/taxonomy_tree.tex\"\u003e分类图\u003c/a\u003e\u003c/td\u003e\n\u003ctd\u003e\u003c/td\u003e\n\u003ctd\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"https://github.com/libeineu\"\u003e  \u003cimg src=\"./latex/imgs/profile/weihao_xia.png\"  width=\"50\" /\u003e\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cimg src=\"./latex/imgs/category/timeline.png\" width=\"100\" /\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"./latex/code/timeline.tex\"\u003e时间线\u003c/a\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"./latex/code/timeline.tex\"\u003e时间线\u003c/a\u003e\u003c/td\u003e\n\u003ctd\u003e\u003c/td\u003e\n\u003ctd\u003e\u003c/td\u003e\n\u003ctd\u003e\u003ca href=\"https://github.com/libeineu\"\u003e  \u003cimg src=\"./latex/imgs/profile/weihao_xia.png\"  width=\"50\" /\u003e\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n\n\n\n\n## \u003cimg src=\"./latex/imgs/icon/folders.png\" width=\"25\" /\u003e文件夹说明\n\n\n- **latex/code**、**matplotlib/code**：图片绘制代码\n- **latex/notes**、**matplotlib/note**: 图片绘制笔记\n- **latex/imgs**、**matplotlib/images**：项目中的图片\n\n\n## \u003cimg src=\"./latex/imgs/icon/organizer.png\" width=\"25\" /\u003e组织者\n感谢以下同学对本项目的组织\n\n\u003ca href=\"https://github.com/libeineu\"\u003e  \u003cimg src=\"./latex/imgs/profile/bei_li.jpg\"  width=\"80\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/SivilTaram\"\u003e  \u003cimg src=\"./latex/imgs/profile/qian_liu.jpg\"  width=\"80\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/JoeYing1019\"\u003e  \u003cimg src=\"./latex/imgs/profile/shijue_huang.jpg\"  width=\"80\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/YudiZh\"\u003e  \u003cimg src=\"./latex/imgs/profile/yudi_zhang.jpg\"  width=\"80\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/yizhen20133868\"\u003e  \u003cimg src=\"./latex/imgs/profile/libo_qin.jpg\"  width=\"80\" /\u003e\u003c/a\u003e\n\n\n\n## \u003cimg src=\"./latex/imgs/icon/heart.png\" width=\"25\" /\u003e贡献者\n感谢以下同学对本项目的支持与贡献\n\n\u003ca href=\"https://github.com/libeineu\"\u003e  \u003cimg src=\"./latex/imgs/profile/bei_li.jpg\"  width=\"80\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/SivilTaram\"\u003e  \u003cimg src=\"./latex/imgs/profile/qian_liu.jpg\"  width=\"80\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/JoeYing1019\"\u003e  \u003cimg src=\"./latex/imgs/profile/shijue_huang.jpg\"  width=\"80\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/YudiZh\"\u003e  \u003cimg src=\"./latex/imgs/profile/yudi_zhang.jpg\"  width=\"80\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/yizhen20133868\"\u003e  \u003cimg src=\"./latex/imgs/profile/libo_qin.jpg\"  width=\"80\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/weihaox\"\u003e  \u003cimg src=\"./latex/imgs/profile/weihao_xia.png\"  width=\"80\" /\u003e\u003c/a\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMLNLP-World%2FPaper-Picture-Writing-Code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMLNLP-World%2FPaper-Picture-Writing-Code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMLNLP-World%2FPaper-Picture-Writing-Code/lists"}