import matplotlib.pyplot as plt
import numpy as np
import seaborn as sns
import math
#Plot.
sns.set()
fig = plt.figure(figsize = (14, 8))
ax = fig.add_subplot(111, xlim = (0, 100), ylim = (0, 6))
#Data.
floors = list(range(1,10001))
stops = EVs(10000)
estimate = [math.log(x)+ 0.577 for x in floors]
#Scatter.
ax.scatter(x = floors,
y = stops,
s = 15,
c = "#287D8E")
#ax.scatter(x = floors,
# y = estimate,
# s = 10,
# c = "#481567")
#Title.
ax.set_title("Average Number of Stops from Top of Tower to 1st Floor", fontsize = 24)
#Axes.
ax.set_xlabel("Tower Height (floors)", fontsize = 18)
ax.set_ylabel("Average Number of Stops", fontsize = 18)
ax.tick_params(axis = 'both', labelsize = 16)
ax.annotate("Stops ≈ ln(floors) + γ", (75, 4.5), color = "#481567", fontsize = 18)
fig.savefig("2022.05.06 Express1.png")