Voici mon script.gnuplot ne montre pas correctement l'histogramme rowstacked
set style data histogram
set style histogram rowstack gap 1
set style fill solid border -1
set boxwidth 0.8
set grid ytics linestyle 1
set key autotitle columnheader
set key below horizontal right
set ylabel "Overhead (%)"
set xlabel "Benchmark"
plot newhistogram "bm1" lt 2, 'plot1.txt' u 2:xtic(1), '' u 3, '' u 4, \
newhistogram "bm2" lt 2, 'plot1.txt' u 5:xtic(1) notitle, '' u 6 notitle, '' u 7 notitle, \
newhistogram "bm3" lt 2, 'plot1.txt' u 8:xtic(1) notitle, '' u 9 notitle, '' u 10 notitle, \
newhistogram "bm4" lt 2, 'plot1.txt' u 11:xtic(1) notitle, '' u 12 notitle, '' u 13 notitle
Et voici mes données.
Threads "Overhead 1" "Overhead 2" "Overhead 3"
w1 6 47 58 8 0 0 15 4 45 12 5 5
w2 4 6 6 5 0 2 1 3 2 10 20 30
Le graphique obtenu est présenté ci-dessous. Notez le problème avec la barre de droite du 4ème benchmark (bm4
, w2
). Pourquoi la barre a un décalage? Je ne comprends pas ça.
J'ai soumis un rapport de bogue. Cela ressemble à une régression, bien que je ne puisse pas dire quand exactement gnuplot a régressé ... – mgilson