Hi, This is certainly possible. You can just keep adding plot items over the top of the image. See the Image Analysis example, where a ROI is added over the image - you would instead a ScatterPlotItem or similar. You may just need to add things the in correct order (or setZValue on the items later) to keep the plot items over the top of the image etc, which is shown in the example.
Patrick On Wednesday, 27 March 2019 08:42:23 UTC+10:30, Nick Torenvliet wrote: > > Hi, > > I've got a pg.ImageItem() on pg.GraphicsLayoutWidet(). > > The image item is a heat map of a surface layed out in 2d (x, y) with the > map's heat indicating magnitude in the z direction. Pretty standard stuff. > > The heat map has a moving cross hair that tracks mouse activity in the > region on top of it. > > I have annotating data for the heat map such that I would like to draw > some scatter plots over top of the ImageItem to indicate data quality at > specific points on the map. > > Another way to do it might be to draw multiple images on top of the heat > map with transparency, wherever no annotations exist, to allow the colours > of the first heat map to be visible. > > Are either of these options possible? Is there another way I might > achieve my goal? > > Nick > > -- 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/57727339-1591-422b-8043-e81d9db67790%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
