Plotting multiple data points This program will be a follow-on to the program from last week’s individual assignment, Activity #3. In that assignment, you read in weather data from a file.
In this assignment, you are to again read in that weather data from the file, but instead of answering statistical queries, you are to plot the data in a set of graphs. You may re-use the code from the previous assignment for reading in data from a file. Using matplotlib, you are to create the following 4 graphs. (Please do not spend time dealing with "date data type." Please just consider the dates in the data to be strings, or, you may simply consider the days as integers for plotting.) a) Create a line graph that shows both average temperature and pressure plotted over the period of time. Both should be plotted on the same graph, with date on the x-axis, and different y axes for the two different measurements. b) Create a histogram showing amounts of precipitation. The x axis should cover a reasonable range of precipitation levels, and the y axis should show number of days that had precipitation in the specific range. c) Create a scatterplot indicating relationships between average temperature and average dew point (one on each axis). d) Create a bar chart, with one bar per month, showing the average temperature along with error bars indicating the high and low temperatures from that month. a. Note: You will want to create new lists of data, but you may find it useful to use the max/min/sum functions on lists. Be sure to include legends, labels, title, etc. on all charts, and be sure your scales/ranges and such are set appropriately to display all the data.