I have two BarChart
:
BarChart[{0.35, 1.27, 0.33, 0.83, 0.7, 0.25, 0, 0.004, 0.16},ChartLabels -> {"Voc","Pyth", "Idio", "Inf", "Pap", "Math","H-La", "H-Math", "H-Poe"}, ChartStyle -> "DarkRainbow", Frame -> True]
BarChart[{N[0.3], N[81/90], N[30/45], N[210/90], N[645/600],N[15/120], N[0/60],N[30/150], N[75/90]}, ChartLabels -> {"Voc", "Pyth", "Idio", "Inf", "Pap", "Math","H-La", "H-Math", "H-Poe"}, ChartStyle -> "DarkRainbow", Frame -> True]
My main questions are:
How can I draw a horizontal line crossing the unity (1.0
) in a BarChart
.
Also, How can I combine two charts so that two charts overlies on each other? However, the cost of this may be to change the color of the graphs, which is not a problem.
I try:
{{0.35, 1.27, 0.33, 0.83, 0.7, 0.25, 0, 0.004, 0.16},{N[0.3], N[81/90], N[30/45], N[210/90], N[645/600],N[15/120], N[0/60],N[30/150], N[75/90]}}
and
{{0.35,N[0.3]}, {1.27,N[81/90]}, {0.33,N[30/45]},...{}};
But they are not the desired goal.
BarChart[..., , Epilog -> {Black, Thick, Line[{{0.5, 1}, {9.5, 1}}]}]
where 9.5 is becaues there are 9 data points. $\endgroup$