matplotlib教程

2023年07月17日星期一晴北京市北京师范大学, 因为我的论文中需要做图,由于 MatLab 在使用的时候还需要注册且安装软件很大, 于是决定将之前写的代码转为 python 绘图。 虽然上学期学了一些 Python 课程,但是对于绘图并没有做详细讨论, 一个软件或者宏包, 最详细的使用手册莫过于官网。 所以本文列出相关网站,以期逐步学习之用。

  1. matplotlib in github

  2. matplotlib 官网

  3. 一本相当好的书和源代码 SCIENTIFIC VISUALIZATION PYTHON & MATPLOTLIB

    下载图书和源码
    1
    git clone git@github.com:rougier/scientific-visualization-book

Matplotlib logotype

Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations in Python.

Check out our home page for more information.

image

Matplotlib produces publication-quality figures in a variety of hardcopy formats and interactive environments across platforms. Matplotlib can be used in Python scripts, Python/IPython shells, web application servers, and various graphical user interface toolkits.

Install

See the install documentation, which is generated from /doc/users/installing/index.rst

Contribute

You've discovered a bug or something else you want to change — excellent!

You've worked out a way to fix it — even better!

You want to tell us about it — best of all!

Start at the contributing guide!

Contact

Discourse is the discussion forum for general questions and discussions and our recommended starting point.

Our active mailing lists (which are mirrored on Discourse) are:

Gitter is for coordinating development and asking questions directly related to contributing to matplotlib.

Citing Matplotlib

If Matplotlib contributes to a project that leads to publication, please acknowledge this by citing Matplotlib.

A ready-made citation entry is available.