#plot "Fe\ 1.48kV\ hikaru_s.txt" g(x)=a*exp(-(x-b)**2/(2*c**2)) #gg(x)=aa*exp(-(x-bb)**2/(2*cc**2)) #ggg(x)=aaa*exp(-(x-bbb)**2/(2*ccc**2)) #f(x)=g(x)+gg(x)+ggg(x) a=50 b=130 c=40 #aa=34.3306 #bb=193.992 #cc=33.9364 #aaa=261.677 #bbb=365.846 #ccc=29.6213 fit [70:200] g(x) "Fe\ 1.48kV\ masu.txt" via a,b,c#,aa,bb,cc,aaa,bbb,ccc #set grid #set xlabel "Channel" #set ylabel "Count" #set xrange[0:600] plot "Fe\ 1.48kV\ masu.txt",g(x)#,gg(x),ggg(x) #set terminal postscript enhanced color #set output "test.ps" #replot #set output #set terminal windows