Programming > QUESTIONS & ANSWERS > Coding > This program will be a follow-on to the program from last week's individual assignment, Act (All)
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 rea... d 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. a) Make 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) Make 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) Make a scatterplot indicating relationships between average temperature and average dew point (one on each axis). d) Make 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. [Show More]
Last updated: 2 years ago
Preview 1 out of 6 pages
Buy this document to get the full access instantly
Instant Download Access after purchase
Buy NowInstant download
We Accept:
Can't find what you want? Try our AI powered Search
Connected school, study & course
About the document
Uploaded On
Jan 06, 2023
Number of pages
6
Written in
This document has been written for:
Uploaded
Jan 06, 2023
Downloads
0
Views
80
In Scholarfriends, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Scholarfriends · High quality services·