Chapter 3
Getting a Crash Course in Matplotlib
IN THIS CHAPTER
Creating a basic graph
Adding measurement lines to your graph
Dressing your graph up with styles and color
Documenting your graph with labels, annotations, and legends
Python makes the task of converting your textual data into graphics relatively easy using Matplotlib, which is actually a simulation of the MATLAB application. MATLAB and Matplotlib are both prominent data visualization tools, essentially with the same technical backbone. However, the tools cater to different preferences and environments. MATLAB is a comprehensive, commercial platform known for its numerical analysis and wide-ranging application-specific toolboxes, offering a cohesive environment. There is a financial cost associated with using MATLAB as it is distributed by a software vendor. In contrast, Matplotlib is a free, open-source plotting library within the Python ecosystem, specifically designed for data science-targeted activities. While MATLAB offers an all-in-one proprietary environment with robust support, Matplotlib appeals to those who ...
Get Data Analytics & Visualization All-in-One For Dummies now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.