set terminal pngcairo size 1000,600 enhanced font 'Arial,12' set output 'averageDistanceOfThree.png' set title "Durée Bellman-Ford sur l'ensemble des graphes" set xlabel "Tests" set ylabel "Durée (ms)" set grid ytics # Si tu veux un log scale sur Y (optionnel) # set logscale y # set yrange [1:1000] # ajuste selon tes valeurs plot 'averageDistanceOf1000Node.dat' using 1:2 with linespoints title 'Normal', \ 'averageDistanceOf1000NodeForBarabasiAlbertGraph.dat' using 1:2 with linespoints title 'BarabasiAlbert', \ 'averageDistanceOf1000NodeForRandomGraph.dat' using 1:2 with linespoints title 'Random'