Hello everyone!
I wanted to create a bar graph from three different dat. files. For the
x-value in 1918, the numbers of all files are displayed as a bar. The
structure of the data looks like this:
# num-nat.dat
1918 1542
1919 1478
...
# num-mem.dat
1918 13542
1919 14478
...
# num-small.dat
1918 17421
1919 16278
...
In the plot the bars are on top of each other and are covered by the
largest ones.
<Code>
set yrange [0:21000]
set xrange [1917.5:1929.5]
set xtics 1
set style data histogram
set style histogram clustered
set style fill solid border lt -1
#unset style fill
set boxwidth 0.25
set bars 1
plot "anzahl-nat.dat" title "FED" with boxes, "anzahl-mem.dat" title
"Member" with boxes, "anzahl-small.dat" title "Small" with boxes
</Code>
Can someone please give an example of the right plot command?
Thanks,
Tilly
|