Skip to content

Instantly share code, notes, and snippets.

@sol-prog
Created June 25, 2019 21:48
Show Gist options
  • Save sol-prog/5a79c496b148052009321b5808157347 to your computer and use it in GitHub Desktop.
Save sol-prog/5a79c496b148052009321b5808157347 to your computer and use it in GitHub Desktop.
# SciPy and Matplotlib installation test
# plotting a function
import scipy as sp
import matplotlib.pylab as plt
t = sp.arange(0, 10, 1/100)
plt.plot(t, sp.sin(1.7 * 2 * sp.pi *t) + sp.sin(1.9 * 2 * sp.pi * t))
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment