From 81e4a797a95a77571c0b578b9f49390c840844ab Mon Sep 17 00:00:00 2001 From: Olivier Coulaud <olivier.coulaud@inria.fr> Date: Tue, 16 Jun 2015 17:31:48 +0200 Subject: [PATCH] script to compare time --- Utils/scripts/histTime.gnu | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Utils/scripts/histTime.gnu diff --git a/Utils/scripts/histTime.gnu b/Utils/scripts/histTime.gnu new file mode 100644 index 000000000..420657a16 --- /dev/null +++ b/Utils/scripts/histTime.gnu @@ -0,0 +1,36 @@ +# +# used to plot the histogram of particles +# Read output.txt generated by statisticsOnOctree +# output the histogram in Histogram.eps file +# +clear +reset +set key off +set border 3 +# Add a vertical dotted line at x=0 to show centre (mean) of distribution. +#set yzeroaxis +# +# +# +set title "Time comparaison for unitsphere distribution +set ylabel "Time (s)" +set xlabel "Number of core" +# +# OUTPUT +#set terminal postscript enhanced color 'Helvetica' 20 +set terminal postscript enhanced color "times-roman,24" +set output 'HistogramTime.eps' +# +# PLOT +# +set style data histograms +set style histogram rowstacked + +#set style histogram cluster gap 1 +#unset ytics +set boxwidth 0.75 +set style fill solid 1.0 border + +set xtics border ("4" 0, "8" 1, "12" 2, "16" 3, "20" 4, "24" 5) +#plot "RES-Cheb-openmp-unitsphere-basic.out" using 3 t "P2P", "" using 4 lc 4 t "M2L" , "" using ($2-$4-$3) lc 5 t "Remain operators" +plot "RES-Cheb-openmp-unitsphere-basic.out" using 3, "" using 4 lc 4 , "" using ($2-$4-$3) lc 5 -- GitLab