Guest User

Untitled

a guest
Jun 21st, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. import matplotlib.pyplot as plt
  2. import pandas as pd
  3.  
  4. #####read and organize data
  5. alldata = pd.read_csv('[![enter image description here][1]][1]Fig_1.csv')
  6.  
  7. NOIC_Pos = list(zip(alldata.iloc[:,1],alldata.iloc[:,2]))
  8. IC_Pos = list(zip(alldata.iloc[:,7],alldata.iloc[:,8]))
  9.  
  10. ### make the figure
  11. fig, ax = plt.subplots()
  12.  
  13. plt.plot(alldata['Temperature'],NOIC_Pos,linewidth = 1,c='k', linestyle = '--',label = 'No Inhibition control')
  14. plt.plot(alldata['Temperature'],IC_Pos,linewidth = 1,c='k', label = "Inhibition control")
  15. ax.legend(numpoints=1)
  16.  
  17. plt.show()
Add Comment
Please, Sign In to add comment