Dr. John M. Morrison's Home Page

Creating a logplot for Covid
You need to have matplotlib and numpy installed. Get the updated data for this at here by hitting the download button at the bottom of the table. You can automate this with FileIO operations.

import matplotlib.pyplot as plt
import numpy as np
cases = [ 1, 2, 8, 9, 16, 19, 26, 33, 41, 65,
91, 134, 188, 272, 306, 411, 511, 607, 735, 887,
1044, 1167, 1307, 1498, 1584, 1857, 2093, 2402, 2585,
2870, 3221, 3426, 3651, 3908, 4312, 4520, 4816, 5024,
5123, 5465, 5859, 6140, 6764, 6951, 7220, 7608, 8052,
8542, 8830, 9142]
t = range(len(cases))
plt.xlabel("time (days)")
plt.ylabel("log_2(cases)")
plt.title("Log 2 Plot of NC Covid Cases")
plt.plot(t, np.log(cases)/np.log(2))
plt.grid(True, color="red")
plt.savefig("logplot.png")
plt.show()

rhino linked to Mike Birken's YouTube channel

Use the navigation bar in the left-hand frame and the menus above to get around the site. Below is my public Google calendar for school events and appointment making. See this page for contact information and appointment procedure, and this page for table showing my weekly schedule. Parents can visit this page for pertinent information.

The menus above will take you to many useful places on this site as well.

Yes, I do math! From here you can find my entire Stack Exchange Profile.

I am also an Elite 2017-2020 Yelper. See my page for my advice on restaurants and other establishments in a surprising array of places.

Do you want to meet? My Google Calendar is here. Any committee meetings or other meetings will be added as they occur. This is your first resource if you want to see me for an appointment. Parents, you can also use this to schedule an appointment in-person or via telephone.

About the Color Scheme The background is Cosmic Latte, the "average color of the universe." The header is Dook Blue, in honor of Erwin Road College at the other end of 9th street, and the navigation area is Commie Hill Blue, in honor of that school down 15-501.