matplotlib the Matrix Plotting Library for Python (Spyder 5 IDE)

Channel:
Subscribers:
7,760
Published on ● Video Link: https://www.youtube.com/watch?v=zxnHqj39S74



Duration: 1:52:33
1,504 views
15


This guide will look at the use of matplotlib, which is an abbreviation for the matrix plotting library. When using matplotlib, typically the pyplot module is used, an abbreviation for Python plot. This guide will first explore the basics of pyplot via procedural programming and then look at further customisation using object orientated programming (OOP). This guide will use the Spyder 5 IDE as it has a Variable Explorer which fully supports matplotlib.

Before getting started with matplotlib you should be comfortable with the Python programming language and numpy. The ndarray data structure will be used to store the data that is to be plotted.

Written Guides:
https://dellwindowsreinstallationguide.com/python/
Python Playlist:
https://www.youtube.com/playlist?list=PL1RkaknDn7v-EO4V38oDBkZNd6_530nan

0:00:37 Importing the Data Science Libraries
0:02:25 Automatic vs Inline Plotting
0:05:49 pyplot Procedural Programming (figure, axes, plot, xlabel, ylabel, title, xlim, ylim, xscale, yscale)
0:20:10 fig, ax, lines Object Orientated Programming
0:30:52 Subplots numpy array (subplots) and Subplot Mosaic dictionary (subplot_mosaic)
0:36:21 Understanding how to encode color
0:40:20 Line2D (plot, step, semilogx, semilogy, axvline, axhline, axline)
0:52:50 Gridlines (grid)
0:55:53 PathCollection (scatter)
1:04:14 Patches (bar, barh, pie, hist)
1:20:00 Text, Annotate and Latex (text and annotate)
1:24:30 Tick Parameters (xaxis, yticks, ticks, ticklabels)
1:26:06 Latex
1:31:20 Twinned AxesSubplots (tick_params, twinx and twiny)
1:34:00 Distribution Plots (boxplot and violinplot)
1:35:28 3D Data as 2D arrays (meshgrid)
1:39:28 3D Visualisation in 2D using a colormap (matplot, pcolor, pcolormesh, contour, contourf)
1:44:54 3D Visualisation in 2D using a Axes3DSubplot (plot_wireframe, plot_surface, contour3D, contourf3D)
1:47:50 Working with images (imread and imshow)

#matplotlib #python #Spyder




Other Videos By Philip Yip


2022-11-13Installing Windows Subsystem for Linux WSL2 (Ubuntu) on Windows 11
2022-11-10Chrome OS Flex Install on a Dell XPS 13 9365
2022-11-06Installing Python on Ubuntu Linux (Mambaforge, IDLE, Spyder, JupyterLab, VSCode)
2022-11-05Markdown Syntax (JupyterLab IDE)
2022-11-04Python Introduction and Fundamental Datatypes (JupyterLab IDE)
2022-11-04Python Fundamental Datatypes str, int, float and bool (JupyterLab IDE)
2022-08-07Creating a Windows 11 or 10 USB on Ubuntu 22.04 LTS using WoeUSB-NG
2022-08-07A Clean Install of Linux Mint 21 (Dell UEFI BIOS with Secure Boot and MOK)
2022-07-03Ubuntu 22.04 LTS GNOME Touchscreen Keyboard
2022-05-28seaborn the DataFrame Plotting Library for Python (Spyder 5 IDE)
2022-05-21matplotlib the Matrix Plotting Library for Python (Spyder 5 IDE)
2022-04-03Essential Terminal Commands for Ubuntu 22.04 LTS
2022-04-02Creating a Windows 10 or 11 UEFI Bootable USB on Ubuntu 22.04 LTS
2022-04-02Ubuntu 22.04 LTS Clean Install Dell XPS 13 9305 UEFI BIOS with Secure Boot and MOK
2022-01-18pandas the Python and Data Analysis Library (Spyder 5 IDE)
2022-01-08numpy the Numeric Python library (Spyder 5 IDE)
2021-12-14Dell Firmware Update to TPM Version 2.0 or Downgrade to TPM Version 1.2 (OptiPlex 7050)
2021-12-12winget The Windows Command Line Package Manager
2021-12-09Windows 11 Direct ISO Download Link (UEFI Bootable USB with Intel VMD and Dell Driver Pack)
2021-11-30Installing Windows 11 OEM on a Dell XPS 13 9305 (Intel 11th Gen) UEFI BIOS, Secure Boot, TPM
2021-11-11Elegoo Arduino Uno IDE Installation on Zorin OS 16 (Ubuntu 20.04 LTS Based)