Plotting in Python

D. Báez-López, David Alfredo Báez Villegas · 2024

An important characteristic of any program is its ability for data visualization. This allows to see how data is behaving. For example, the behavior of the stock market can be better appreciated with a plot. Plotting trigonometric functions allows users to see that they are periodic functions. Programs written in Python can take advantage of data visualization thanks to John D. Hunter (1968-2012) who designed the module or library matplotlib . This module is freely available and produces very high-quality two and three-dimensional plots. Instructions for downloading matplotlib are available in the Appendix A . The examples presented in this chapter cover many of the typical plots used in academia and industry. For more examples, the reader can consult the matplotlib page: https://matplotlib.org/stable/gallery/index.html .

Read the paper · More papers on PaperTik