Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Graf montazniho predpeti
- from google.colab import files
- k_sig = np.arange(0.0, 1, 0.00001)
- k = (1-(k_sig)**2)**0.5
- fig1, ax1 = subplots()
- plot(k_sig, k)
- vlines(0.5,0,0.5,linewidth=1)
- hlines(0.5,0,(1-0.5**2)**0.5, linewidth =1)
- plot([0], [0.5], 'bo')
- help_num = (1-0.5**2)**0.5 +0.02
- plot([0.5], [0.5], 'bo')
- plot([help_num], [0.5], 'bo')
- ax1.annotate('0', (0.02, 0.52), size="15")
- ax1.annotate('A', (0.52, 0.52), size="15")
- ax1.annotate('K', (help_num, 0.52), size="15")
- #toto netusim proc nefunguje
- ax1.axis([0, 1, 0, 1])
- ax1.set_xlim(0,1)
- ax1.set_ylim(0,1)
- ax1.grid()
- ax1.axis('equal')
- ax1.set(xlabel='$\Delta l $', ylabel='$F [n] $ ',
- title='NE SMITHUV DIAGRAM')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement