Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import numpy as np
- import matplotlib.pyplot as plt
- x, y = np.loadtxt('CD+10mM_NaCl_2.txt', unpack=True, skiprows=18)
- #plt.figure(figsize=(15,5))
- plt.plot(x,y)
- plt.xlim(445.2,700)
- plt.title("Spettri di emissione", fontsize=16)
- plt.xlabel("Lunghezza d'onda (nm)", fontsize=13)
- plt.ylabel("(u.a.)", fontsize=13)
- #plt.legend
- plt.xticks(np.arange(min(x), max(x), 25.0))
- plt.rc('xtick', labelsize=12) # fontsize of the tick labels
- plt.rc('ytick', labelsize=12) # fontsize of the tick labels
- plt.grid(True)
- plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement