set title 'titulo_que_voce_escolher' //escolhe o titulo
set xlabel 'x_{i}' //titulo eixo x
set ylabel 'y_{i} //titulo eixo y set key bottom right //posicao da "caixa" de legenda f(x)=a*x+b //define sua funcao plot 'diretorio_do_seu_arquivo/arquivo.dat' u 1:2 w points pt 6 ps 1 lc rgb 'black' notitle, f(x) w lines lc rgb 'red'