0% found this document useful (0 votes)
3 views10 pages

Mat Plot Lib

Uploaded by

adilkhalili9999
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views10 pages

Mat Plot Lib

Uploaded by

adilkhalili9999
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 10

Selected Topics in Python

Using Matplotlib
Objectives

Objectives
• Discover how to use
Matplotlib?
• Explore the different types of
plots
Matplotlib

| What is Matplotlib?
Line Plot

| Line plots
- Used to show trends.
- Compare multiple values.
- Changes of values over time.
- Numerical data.
- Make predictions.
Line Plot

| Line plots
- linestyles
- linewidth
- color
- legend
Bar Plot

| Bar plots
- Normal and/or ordinal
categories.
- Compare data against different
categories.
- Use when greater than 3.
- Compare large data sets over
time.
Scatter Plot

| Scatter plots
- Visualize the relationship between
multiple numerical values.
- Visualize the correlation in a large
data set.
- Predict behavior based on the
measurement of the independent
variable.
Box Plot

| Box plots
- Show whisker plots.
- Displays statistical graph for sets
of numerical data.
- Shows the range, spread and
center.
- Used to compare data from
different categories.
Histograms

| Histograms
- Used for continuous data.
- Displays the frequency
distribution.
- Summarizes large data sets
graphically.
- Compare multiple distributions.

You might also like