Dear Luke, I know this is old post but can you provide an example how this works? I need the data and the error bars to behave the same way. Actually I think in the plot() you really must include the error bars. data without error bars is meaningless.
ErrorBarItem is not very flexible i am afraid (see my post https://groups.google.com/forum/#!topic/pyqtgraph/ZAx1fiNGg4Y) Thanks, Trifon On Monday, February 24, 2014 at 6:01:57 PM UTC+1, Luke Campagnola wrote: > > On Wed, Feb 19, 2014 at 5:21 PM, Aaron Adamson <[email protected] > <javascript:>> wrote: > >> I'm trying to add error bars to my log-scale plot - they show up >> accurately when I use a linear scale, but they both appear at a value of 1 >> (on the y-scale) when I change to a log plot, and don't change when data is >> updated. >> >> It looks like maybe the errorBarItem isn't made to handle log scale - >> could you point me in the right direction for modifying the class, or is it >> planned to add log-scale compatibility in a later release? >> > > You are correct--ErrorBarItem does not support log scaling. To get started > on this, you would need: > > 1. ErrorBarItem.setLogMode(x, y). This will be called by the PlotItem when > the error bar is first added and whenever the log scaling mode changes. > 2. ErrorBarItem.paint() must draw the error bars taking the x/y log modes > into account. > > Let me know if you need more help with this! > -- You received this message because you are subscribed to the Google Groups "pyqtgraph" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/e26269bd-94e7-4be0-89ec-c51919d84301%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
