From 20746e660ac6c1b7bb53a093d3a0d0a60b6d6a95 Mon Sep 17 00:00:00 2001 From: david <david@lipn.fr> Date: Mon, 9 Sep 2019 15:26:34 +0200 Subject: [PATCH] README.md et plot_reseult --- TP1/README.md | 2 +- TP1/plot_result | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/TP1/README.md b/TP1/README.md index 475d747..422ec13 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 538a9a6..4545ba8 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 -- GitLab