= Matplotlib
{c}
{tag=Python library}
{wiki}
It does a huge percentage of what you want easily, and from <Python>[the language that you want to use].
Tends to be <Ciro Santilli>[Ciro]'s pick if <gnuplot> can't handle the use case, or if the project is really really serious.
Couldn't handle exploration of large datasets though: <Survey of open source interactive plotting software with a 10 million point scatter plot benchmark by Ciro Santilli>
Examples:
* \a[matplotlib/hello.py]
* \a[matplotlib/educational2d.py]
* \a[matplotlib/axis.py]
* \a[matplotlib/label.py]
* Line style
* \a[matplotlib/line_points.py]
* \a[matplotlib/tick.py]
* \a[matplotlib/prop_cycle.py]
* Subplots
* \a[matplotlib/subplots.py]
* \a[matplotlib/subplots_add.py]
* \a[matplotlib/two_lines.py]
* \a[matplotlib/plot_matrix.py]
* \a[matplotlib/plot_matrix_x.py]
* \a[matplotlib/legend_outside.py]
* Data from files
* \a[matplotlib/plotfile.py]
* Specialized
* \a[matplotlib/bloch_sphere_walk.py]
* \a[matplotlib/bloch_sphere.py]
Tested on Python 3.10.4, <Ubuntu 22.04>.
Back to article page