comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Error bars not located over correct bar in barplot
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Error bars not located over correct bar in barplot [message #75106] Mon, 14 February 2011 21:56
Meredith Pind is currently offline  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)
[Message index]
 
Read Message
Previous Topic: Re: IDL Book is Finished!
Next Topic: Optimization Question: Sum at each element of array

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 14:07:51 PDT 2025

Total time taken to generate the page: 2.08189 seconds