Last active
March 15, 2020 14:30
-
-
Save santiagocasas/6f6f8a302cc96b788eb6268c9835202a to your computer and use it in GitHub Desktop.
plotmodels
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tt= np.linspace(0,100,100) | |
plt.plot(tt, logistic_model(tt,4.8,50,100000), c='b', label='Logisitc') | |
plt.plot(tt, expo_model(tt, 0.23), c='g', label='Exponential') | |
plt.plot(tt, gompertz_model(tt, 12, 49, 100000), c='r', label='Gompertz') | |
plt.legend() | |
plt.xlabel('Time') | |
plt.ylabel('Cases') | |
plt.ylim(-1000,150000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment