I want to make two comparative histograms out of one data file, using columns 1,2 and 1,3.
(Data file name is 'Cumulos por Edades.tab')
6.25 46 60
6.75 29 65
7.25 79 70
7.75 87 75
8.25 80 80
8.75 41 84
9.25 28 89
9.75 13 94
I have been able to make something out, but is not what i want. Here is the code.
(Sorry I can't upload an image of the result)
set terminal postscript enhanced color dashed lw 2 "Helvetica" 14
set output "Histograma.ps"
set key horizontal below height 1
set key box lt 1 lc -1 lw 2
set xlabel "log(t)"
set ylabel "N(t)"
set xrange [6:10]
set xtics 6,0.5,10
set grid ytics ls 2 lc rgb "black"
set title "Histograma de Cumulos Abiertos por Edades"
set style data histogram
set style histogram cluster gap 1
plot "Cumulos por Edades.tab" u 1:2 w boxes lc rgb 'blue' t 'Generacion Real',\
"Cumulos por Edades.tab" u 1:3 w boxes lc rgb 'red' t 'Generacion Constante'
What I want to get is an histogram where I can see both columns, but all I can get is the superposition of one over the other.
I would really appreciate if any of you could give me a hand with this.