Does anyone know or have any sample code that would help on such feature?

I have a PolyLineROI that defines a road path and a plot that defines the 
vertical level bellow or above it. I would like a ruler that can snap to 
the plot points (the plot is defined as PLotWidget.plot(x=Xlist, y=Ylist, 
symbol="o") so snap to the o's i mean) and the ROI's segments, displaying 
the text between them,

I thought about a ROI with a single segment that can be dragged all around 
but I have no idea how to make that snapping works.But maybe I'm 
reinventing the wheel and this is already implemented with another name or 
maybe someone has already some sample for this that you wouldn't mind to 
share?

Thanks in advance!

-- 
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/13ca12f2-8876-4ee8-bd09-ef11690a5b43%40googlegroups.com.

Reply via email to