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

Kursinnehåll

Visualization in Python with matplotlib

Visualization in Python with matplotlib

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

book
Customize Your Line Chart

Uppgift

Swipe to start coding

  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.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 11
toggle bottom row

book
Customize Your Line Chart

Uppgift

Swipe to start coding

  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.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 11
Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Vi beklagar att något gick fel. Vad hände?
some-alt