Advertisement
Guest User

Untitled

a guest
Mar 6th, 2015
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. >>> import numpy as np
  2. >>> z = np.linspace(0, 1, 50)
  3.  
  4. >>> def somefunc(z):
  5. >>> with no.errstate(all='ignore'):
  6. >>> return (z**3)/(np.exp(z/(1-z)) * (1-z)**5)
  7.  
  8. >>> import matplotlib.pyplot as plt
  9. >>> plt.figure()
  10. <matplotlib.figure.Figure object at 0x7f44eeebc1d0>
  11. >>> plt.plot(z, y, 'red')
  12. [<matplotlib.lines.Line2D object at 0x7f44ef17db90>]
  13. >>> plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement