Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Customize Your Line Chart | Basics: Line Charts
Visualization in Python with matplotlib
course content

Course Content

Visualization in Python with matplotlib

Visualization in Python with matplotlib

1. Basics: Line Charts
2. Bar Charts
3. Scatter Plots

Customize Your Line Chart

Task

  1. Customize the lines so that:
    • the first line (for the usa data) will be red ('r'), dashdotted (-.) and with star points ('*');
    • the second line (for the can data) will be green ('g'), dotted (':') and with circle points ('.').
  2. Add a legend to the plot.

Task

  1. Customize the lines so that:
    • the first line (for the usa data) will be red ('r'), dashdotted (-.) and with star points ('*');
    • the second line (for the can data) will be green ('g'), dotted (':') and with circle points ('.').
  2. Add a legend to the plot.

Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

Section 1. Chapter 11
toggle bottom row

Customize Your Line Chart

Task

  1. Customize the lines so that:
    • the first line (for the usa data) will be red ('r'), dashdotted (-.) and with star points ('*');
    • the second line (for the can data) will be green ('g'), dotted (':') and with circle points ('.').
  2. Add a legend to the plot.

Task

  1. Customize the lines so that:
    • the first line (for the usa data) will be red ('r'), dashdotted (-.) and with star points ('*');
    • the second line (for the can data) will be green ('g'), dotted (':') and with circle points ('.').
  2. Add a legend to the plot.

Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

Section 1. Chapter 11
toggle bottom row

Customize Your Line Chart

Task

  1. Customize the lines so that:
    • the first line (for the usa data) will be red ('r'), dashdotted (-.) and with star points ('*');
    • the second line (for the can data) will be green ('g'), dotted (':') and with circle points ('.').
  2. Add a legend to the plot.

Task

  1. Customize the lines so that:
    • the first line (for the usa data) will be red ('r'), dashdotted (-.) and with star points ('*');
    • the second line (for the can data) will be green ('g'), dotted (':') and with circle points ('.').
  2. Add a legend to the plot.

Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

Task

  1. Customize the lines so that:
    • the first line (for the usa data) will be red ('r'), dashdotted (-.) and with star points ('*');
    • the second line (for the can data) will be green ('g'), dotted (':') and with circle points ('.').
  2. Add a legend to the plot.

Switch to desktop for real-world practiceContinue from where you are using one of the options below
Section 1. Chapter 11
Switch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt