set term pdf set out "plot.pdf" set size .6,.6 set tics out set xlabel "x" set ylabel "sin(x)" plot \ "data" using 1:2 with lines title "calculated" \ ,"data" using 1:3 with points title "exact" \