MatPlotLib
MatPlotLib is a (usually) simple and useful Python library for plotting figures. In ORIE, we (like most others) use MatPlotLib mainly for data visualizations.
MatPlotLib works very well with NumPy, another well-used Python library. In fact, many of the examples linked below (even the ones on the official MatPlotLib website) use NumPy heavily.
Installation
You can install MatPlotLib with the following command in your terminal:
python -m pip install matplotlib
.
Really, though, you should follow this great guide on their website: MatPlotLib website.
If you don't have pip
installed, read instructions on installing it here: pip website.
If you don't have Python installed, download it here (Python website), or use Anaconda instead.
Usage
Documentation on MatPlotLib can be found here: https://matplotlib.org/stable/api/index.html.
Examples
Examples of MatPlotLib can be found on this wiki page, under "Using Modules > MatPlotLib Examples": https://orpy.wiki/concepts/index.html.
More examples can be found on the MatPlotLib website: Examples on MatPlotLib website.