Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>> import numpy as np
- >>> z = np.linspace(0, 1, 50)
- >>> def somefunc(z):
- >>> with no.errstate(all='ignore'):
- >>> return (z**3)/(np.exp(z/(1-z)) * (1-z)**5)
- >>> import matplotlib.pyplot as plt
- >>> plt.figure()
- <matplotlib.figure.Figure object at 0x7f44eeebc1d0>
- >>> plt.plot(z, y, 'red')
- [<matplotlib.lines.Line2D object at 0x7f44ef17db90>]
- >>> plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement