Advertisement
MyNamesNotReallyDave

plot_sector

Mar 9th, 2020
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.30 KB | None | 0 0
  1. import matplotlib
  2. matplotlib.use('Agg')
  3. import matplotlib.pyplot as plt
  4.  
  5. def plot_sector(general, left_inner, right_inner, left_outer, right_outer, inner_arc, outer_arc):
  6.  
  7.     for item in inner_arc:
  8.         plt.plot(item[0], item[1], 'bo--', linewidth=1, markersize=2)  
  9.  
  10.     plt.savefig('graph')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement