Horizontales Histogramm im Gnuplot
Ich versuche, ein horizontales Histogramm in Gnuplot zu zeichnen.
Dies ist mein aktuelles (normales) Vertivalitätshistogramm:
width=0.5
hist(x,width)=width*floor(x/width)+width/2.0
set boxwidth width*0.9
set style fill solid 0.5
plot "a" u (hist($2,width)):(1.0) smooth freq w boxes lc 3 notitle
Was ich jetzt brauche, ist das exakt gleiche Ergebnis, aber im Uhrzeigersinn um 90 Grad gedreht.
Ich habe dies unten versucht, aber die Ergebnisse sind wirklich nicht das, was ich erwarte.
width=0.5
hist(x,width)=width*floor(x/width)+width/2.0
set boxwidth width*0.9
set style fill solid 0.5
plot "a" u (1.0):(hist($2,width)) smooth freq w boxes lc 3 notitle