diff --git a/TP1/README.md b/TP1/README.md index 475d7471d5de794ebb863fbb6c4b046876639e47..422ec13f86a90b528899f8ed5b26bb197c8026c7 100644 --- a/TP1/README.md +++ b/TP1/README.md @@ -49,4 +49,4 @@ more plot_result gnuplot -### puis copiez le contenu du fichier plot_result dans gnuplot \ No newline at end of file +### puis copiez le contenu du fichier plot_result dans gnuplot (3 lignes, une par une) \ No newline at end of file diff --git a/TP1/plot_result b/TP1/plot_result index 538a9a6b1f2d51e9468f2e870673b63c485065f5..4545ba8c91907faec2e7eb6550c3b776fe3c1dc2 100644 --- a/TP1/plot_result +++ b/TP1/plot_result @@ -1 +1,5 @@ -plot [0:1000000][0:600] 'dynamic_array_time_c.plot' using 1:3 w lines title "Amortized C", 'dynamic_array_time_cpp.plot' using 1:3 w lines title "Amortized C++", 'dynamic_array_time_java.plot' using 1:3 w lines title "Amortized JAVA", 'dynamic_array_time_python.plot' using 1:3 w lines title "Amortized Python", 'dynamic_array_copy_c.plot' using 1:2 w boxes title "Memory Allocation" \ No newline at end of file +plot [0:1000000][0:600] 'dynamic_array_time_c.plot' using 1:3 w lines title "Amortized C", 'dynamic_array_time_cpp.plot' using 1:3 w lines title "Amortized C++", 'dynamic_array_time_java.plot' using 1:3 w lines title "Amortized JAVA", 'dynamic_array_time_python.plot' using 1:3 w lines title "Amortized Python", 'dynamic_array_copy_c.plot' using 1:2 w boxes title "Memory Allocation" + +plot 'dynamic_array_memory_c.plot' using 1:2 w lines title "Espace memoire inutilise" + +plot 'dynamic_array_copy_c.plot' using 1:2 w boxes title "Nombre de copies de valeurs effectuees" \ No newline at end of file