Hi everybody,

currently I mark spots with a infinite line everytime a (y) value is higher 
as the passed max value in my pyqtgraph.
This works well for an amount of ~7200 lines, but in cases with more lines 
the perfomance is not the best anymore.

So i tried to manipulate the infinite lines via the the parameter span to 
trim the lines, in the hope it will reduce the calculation time.
But in my inplemetation of the class i dont have these parameter in the 
__init__ method like in the reference page. 

Is there a better way to mark spots with a vertical line which is not 
infinite in a scattergraph? 
For example a method like addline(x,y). y specifies the interval of the 
vertical line with a tupel.

addline(x, (-1000,1000))

I would be great if you can help me :)

API reference.
http://www.pyqtgraph.org/documentation/graphicsItems/infiniteline.html

in my pyqtgraph library:


class InfiniteLine(GraphicsObject):


    def __init__(self, pos=None, angle=90, pen=None, movable=False, bounds=None,
                 hoverPen=None, label=None, labelOpts=None, name=None):

-- 
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/c3571e78-cb4f-41a1-946d-35653f763837%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to