Directly from www.matplotlib.org.
Matplotlib is a Python 2D plotting library which produces publication quality figures in a variety of hardcopy formats and interactive environments across platforms.
Matplotlib tries to make easy things easy and hard things possible. You can generate plots, histograms, power spectra, bar charts, errorcharts, scatterplots, etc., with just a few lines of code.
Evan Panagiotopoulos is working on a new Python workshop that is full of math applications. Python, though, needs to have the “matplotlib” module. Don’t worry because the installation on a Raspberry pi is just easy.
Open a command window and fire-up the following command:
sudo apt-get install python3-matplotlib
Click on the icon and the command window will open up.
What? You don’t know what “sudo” means? It is a shortcut for “super user do”.
What? You don’t know what a “super user” is? No worries. Every Linux or Unix system has one of those users and s/he is authorized to do just everything on that computer, including deleting all files!
What? You don’t know what “apt-get” is? No worries, yet again. apt-get is the command-line tool for working with APT software packages. APT (the Advanced Packaging Tool) is an evolution of the Debian .deb software packaging system. It is a rapid, practical, and efficient way to install packages on your system.
Phew! Too many definitions.
So, with the patplotlib module installed you have the ability to create professional looking plots of mathematical functions. SWEET!