Question: 2. (20 pts) Write a Python script to load and plot the data in file river stage-Chicaggo.River.txt. This file contains the river stage records in

 2. (20 pts) Write a Python script to load and plot

2. (20 pts) Write a Python script to load and plot the data in file "river stage-Chicaggo.River.txt". This file contains the river stage records in meters at two gauge stations on the Chicago River. Make a plot to show the relationship between the stages at the two stations. Show the data with scatter plot. Make sure you have all the basic elements of a "good" plot, e.g., axis title including units, ticks, marks, proper font size, etc. Note: the provided data file uses "tab" as separator for the two columns of data. So when you load the data file in, you should specify the delimiter as delimiter=' \t ' (not comma as in the the Python plotting tutorial). See the documentation of the data file reader Python functions for details. The following is one example plot

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!