You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

472 B

Exercise 5 Matplotlib subplots

The goal of this exercise is to learn to use Matplotlib to create subplots.

  1. Reproduce this plot using a for loop:

alt text

The plot has to contain:

  • 6 subplots: 2 rows, 3 columns

  • Keep space between plots: hspace=0.5 and wspace=0.5

  • Each plot contains

    • Text (2,3,i) centered at 0.5, 0.5. Hint: check the parameter ha of text
    • a title: Title i