G2A Many GEOs
SHARE
TWEET

Untitled

a guest Apr 9th, 2020 138 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import numpy as np
  2. import matplotlib.pyplot as plt
  3.  
  4. # inicjalizacja
  5. fig = plt.figure()
  6. # dodanie "podwykresu" (zobacz: http://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.subplot )
  7. ax = fig.add_subplot(111)
  8.  
  9.  
  10. ax.set_ylabel('oś y')  # opis osi y
  11. ax.set_title('Parabola')  # tytuł wykresu
  12.  
  13. t = np.arange(10,100,2)
  14. d = np.arange(-1,2,0.01)
  15. s = (1-4)*(t**2) + (7-5)*t + (8-6)
  16. z = (np.e**x)/((np.e**x)+1)
  17. line = ax.plot(t, s, color='red', lw=2)
  18. line2= ax.plot(d,z, color ='blue',lw=2)
  19.  
  20. plt.show()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top