Advertisement
Guest User

Untitled

a guest
Oct 15th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. Graf montazniho predpeti
  2. from google.colab import files
  3.  
  4. k_sig = np.arange(0.0, 1, 0.00001)
  5.  
  6.  
  7. k = (1-(k_sig)**2)**0.5
  8.  
  9. fig1, ax1 = subplots()
  10. plot(k_sig, k)
  11. vlines(0.5,0,0.5,linewidth=1)
  12. hlines(0.5,0,(1-0.5**2)**0.5, linewidth =1)
  13. plot([0], [0.5], 'bo')
  14. help_num = (1-0.5**2)**0.5 +0.02
  15. plot([0.5], [0.5], 'bo')
  16. plot([help_num], [0.5], 'bo')
  17. ax1.annotate('0', (0.02, 0.52), size="15")
  18. ax1.annotate('A', (0.52, 0.52), size="15")
  19. ax1.annotate('K', (help_num, 0.52), size="15")
  20.  
  21. #toto netusim proc nefunguje
  22. ax1.axis([0, 1, 0, 1])
  23. ax1.set_xlim(0,1)
  24. ax1.set_ylim(0,1)
  25.  
  26. ax1.grid()
  27. ax1.axis('equal')
  28. ax1.set(xlabel='$\Delta l $', ylabel='$F [n] $ ',
  29. title='NE SMITHUV DIAGRAM')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement