set preamble "\usepackage{amsmath}" set width 14*unit(cm) set axis x arrow nomirrored set axis y arrow nomirrored set key bottom left #set xrange [0:1] #set yrange [1:1e20] set grid set terminal pdf set output "SN.pdf" set key top right set xlabel "Number of cycles $N$" set ylabel "Stress amplitude $S_a$ [MPa]" set logscale x 10 set logscale y 10 set yrange [10:1e4] set xrange [10:1e11] plot "SN.dat" u 1:2 w lp pt 2 lw 2 lt 2 color black ti "SA~106~GrB ($E=207$~MPa)",\ "SN.dat" u 1:3 w lp pt 3 lw 3 lt 3 color blue ti "SA~312~TP~304L, ($E=195$~MPa)"