Advertisement
Guest User

Untitled

a guest
Jul 19th, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. import numpy as np
  2. import matplotlib.pyplot as plt
  3.  
  4. x, y = np.loadtxt('CD+10mM_NaCl_2.txt', unpack=True, skiprows=18)
  5. #plt.figure(figsize=(15,5))
  6. plt.plot(x,y)
  7. plt.xlim(445.2,700)
  8. plt.title("Spettri di emissione", fontsize=16)
  9. plt.xlabel("Lunghezza d'onda (nm)", fontsize=13)
  10. plt.ylabel("(u.a.)", fontsize=13)
  11. #plt.legend
  12. plt.xticks(np.arange(min(x), max(x), 25.0))
  13. plt.rc('xtick', labelsize=12) # fontsize of the tick labels
  14. plt.rc('ytick', labelsize=12) # fontsize of the tick labels
  15. plt.grid(True)
  16. plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement