Very ugly code to plot some of the extracted data