This exercise centres around the loading and plotting data from a file while using Numpy functions.
You have been given two dimensional data within three csv files and are required to plot the average, maximum and minimum of the columns of that data.
Looping over the filenames given:
loadtxt
function (use help
if you've forgotten how this works!)axis=0
) fig.add_subplot(1, 3, i)
, $i \in [1, 2, 3]$ for plotting the mean, max and min
In [1]:
import numpy as np
import matplotlib.pyplot as plt
%matplotlib inline
In [2]:
filename = ['data/inflammation-01.csv','data/inflammation-02.csv' ,'data/inflammation-03.csv']
In [3]:
# Implement your work here: