plot 'output1D.dat' index n1 u 1:2 with lines\ , 'output.dat' u 1:2 with lines n1=n1+1 count=count+1 if(count<50) reread