Error bars not located over correct bar in barplot [message #75106] |
Mon, 14 February 2011 21:56 |
Meredith Pind
Messages: 13 Registered: February 2011
|
Junior Member |
|
|
Hi all,
I am trying to create a bar plot with 4 bars each with their own error
bar. I have managed to plot the barplot and get the error bars to
show up, but I cannot figure out how to get them to position
themselves over their associated bar. Any ideas where I'm going
wrong?
Thanks,
Meredith
p19 = barplot(daily_avg_netK, nbars = 4, index = 0)
p20 = barplot(daily_avg_netL, /overplot, nbars = 4, index = 1)
p21 = barplot(daily_avg_netQn, /overplot, nbars =4, index = 2)
p22 = barplot(daily_avg_Qcalc, /overplot, nbars = 4, index = 3)
p23 = errorplot(daily_avg_netK, daily_stdev_netK, LINESTYLE = 6, /
overplot, nbars = 4, index = 0)
p24 = errorplot(daily_avg_netL, daily_stdev_netL, LINESTYLE = 6, /
overplot, nbars = 4, index = 1)
p25 = errorplot(daily_avg_netQn, daily_stdev_netQn, LINESTYLE = 6, /
overplot, nbars = 4, index = 2)
p26 = errorplot(daily_avg_Qcalc, daily_stdev_Qcalc, LINESTYLE = 6, /
overplot, nbars = 4, index = 3)
|
|
|