Question: Now that you have your two solutions for the two guesses, plot the solution against the data that you have. Assume that you have access

Now that you have your two solutions for the two guesses, plot the solution against the data that you have. Assume that you have access to all of the variables that you've defined so far. Also, assume that you have access to the data for the observed position over time through a variable named observed_X (as a numpy array).
On a matplot lib plot, do the following:
Title the plot: Object position over time
Label the x-axis: Time (s)
Label the y-axis: Position (m)
Make a scatter plot of time vs. observed_X.
Label this plot: Observed position
Make a plot of the time vs, the position column in solution_1.
Label this plot: Guess 1 pasition
Add a legend to the plot
Hint: Remember to import matplot lib.pyplot!
1
2
3
4
5
On a matplot lib plot, do the following:
Title the plot: Object position over time
Label the x-axis: Time (s)
Label the y-axis: Position (m)
Make a scatter plot of time vs. observed_X.
Label this plot: Observed position
Make a plot of the time vs. the position column in solution_2.
Label this plot: Guess 2 position
Add a legend to the plot
Hint: Remember to import matplotlib. pyplot !
1
# Your code here
 Now that you have your two solutions for the two guesses,

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!