Overlay plot items within ImageView

61 views
Skip to first unread message

Nick Gravish

unread,
Aug 30, 2016, 2:58:52 PM8/30/16
to pyqtgraph
Hi all, 

Great package! I have found it extremely useful. One question that I am scratching my head over is how to overlay plot items within the image portion of an ImageView? 

For my use case I have created a class inherited from ImageView where I would like to be able to supply 1) n x H x W image data, and 2) n x 2 array of xy points. I would then plot the xy point associated with the currently displayed frame over the image view, with the same axes.  

I have seen some other discussion of using images as backgrounds to plots by first creating a plot and then adding the image to it. But this is slightly different and will also require updating to the plot items.

Any obvious things I am missing would be much appreciated. If I come up with a solution I will report back. 

Thanks!
Nick   


Reply all
Reply to author
Forward
0 new messages