diff --git a/Utils/scripts/histTime.gnu b/Utils/scripts/histTime.gnu new file mode 100644 index 0000000000000000000000000000000000000000..420657a165a7e65942e66359e789b6098388dfd9 --- /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