Advertisement
Guest User

Untitled

a guest
May 24th, 2016
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.38 KB | None | 0 0
  1. global K, T, K0, KR
  2.  
  3.     end = math.pi * 2
  4.     step = end / 50
  5.    
  6.     frequency = np.arange(0, end, step)
  7.     W = list()
  8.    
  9.     for i in range(len(frequency)):
  10.         W.append(KR*K0 / (1 + (frequency[i] *T0)))
  11.  
  12.     plt.figure(2)
  13.     ax = plt.subplot(111, projection='polar', axisbg='#CCFFCC' )
  14.  
  15.     ax.set_rlim(6)
  16.     ax.plot(frequency * (-1), W , 'g')
  17.     ax.grid(True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement