M0=load('all_accuracies.txt')
M=M0'
[m,n]=size(M)

Average=mean(M)
StandardError=std(M)/sqrt(m)


fig_pointsNum=n+1
OutputMatrix=zeros(3,fig_pointsNum)
OutputMatrix(1,:)=0:n
OutputMatrix(1,:)=10*OutputMatrix(1,:)
OutputMatrix(2,1)=100
OutputMatrix(2,2:fig_pointsNum)=Average
OutputMatrix(3,2:fig_pointsNum)=StandardError

OutputMatrix1=OutputMatrix'

dlmwrite('Acc_metagol.gp',OutputMatrix1,'delimiter','\t','precision','%.6f')
