Horizontale Histogramm in gnuplot

Ich versuche zu zeichnen eine horizontale Histogramm in gnuplot.

Dies ist meine aktuelle vertival (üblicher Art) Histogramm:

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

Nun, was ich brauche, ist das genau das gleiche Ergebnis aber gedreht 90degrees im Uhrzeigersinn.

Habe ich versucht, weiter unten 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
InformationsquelleAutor Noel | 2012-06-29
Schreibe einen Kommentar