Making Graphs In Python Using Matplotlib For Beginners

Learn how to start visualizing all your data directly in your code

Last updated 2022-01-10 | 4.4

- Make line plots in Python
- Make scatter plots in Python
- Make 1-dimensional and 2-dimensional histogram plots

What you'll learn

Make line plots in Python
Make scatter plots in Python
Make 1-dimensional and 2-dimensional histogram plots
Customize your plots by adding colour and changing line styles
Customize your axis by changing the tick labels
Add custom titles and labels to your plots
Add custom text to your plots
Adjust the size of your figures
Add a legend to your plots
Be able to save your figures in a desired format to your computer
Change the scale of the axis to better graph logarithmic data

* Requirements

* Basic Python knowledge
* A Python 3 Environment to Code in

Description

  • Make line plots in Python
  • Make scatter plots in Python
  • Make 1-dimensional and 2-dimensional histogram plots
  • Customize your plots by adding colour and changing line styles
  • Customize your axis by changing the tick labels
  • Add custom titles and labels to your plots
  • Add custom text to your plots
  • Adjust the size of your figures
  • Add a legend to your plots
  • Be able to save your figures in a desired format to your computer
  • Change the scale of the axis to better graph logarithmic data

Course content

6 sections • 29 lectures

Introduction to Matplotlib and Installing Anaconda Preview 05:36

Jupyter Notebooks Intro Preview 21:34

Inline Plotting Preview 01:39

Making a Scatter Plot Preview 22:43

Understanding Figures Preview 08:34

Creating Axes Preview 12:35

Making a Line Plot Preview 13:41

Changing the X and Y Limits Preview 06:41

Adding a Title and Axis Labels Preview 09:06

Adding in Equations Into Text Preview 02:42

Adding and Formatting Axis Ticks Preview 12:18

Customizing Tick Labels Preview 10:59

Adding a Legend Preview 06:24

Adding Text Annotations Preview 11:29

Customizing our Graph Edges Preview 08:03

Using Plot Styles Preview 04:15

Saving Our Plots Preview 06:55

Histograms Preview 14:23

Advanced Histograms and Patches Preview 14:02

Bar Graphs Preview 11:30

Error Bars on Bar Graphs Preview 06:01

Box and Whisker Plots Preview 09:53

Pie Charts Preview 12:41

2-Dimensional Histograms Preview 09:12

Loading and Showing Images Preview 10:26

Colormaps Preview 17:56

Adding a Colorbar to Our Axis Preview 11:00

3D Line and Scatter Plots Preview 10:28

Changing View Angles and Animating Our Graphs Preview 10:23