0

Hi I need to create an interactive scatter plot in python. With interactive I mean that the user can draw rectangular area of interests over the scatter plot. These ROI are enclosing some region of the points and are meant to gate out outliers from the center of the distribution. Is it possible to do something like this in python? Matplotlib does not seem a viable option because of the complex interactions required here, maybe it is possible with Qt. Does anybody has a hint how to start?

Luca Fiaschi
  • 3,145
  • 7
  • 31
  • 44

1 Answers1

0

I believe pyQt and matplotlib are the right choice.

Have a look at this: http://eli.thegreenplace.net/2009/08/07/a-live-data-monitor-with-python-pyqt-and-pyserial/

You could use spinboxes to define your rectangle interactively as I am not sure if this was possible by using the mouse pointer on the plot window.

some_weired_user
  • 556
  • 1
  • 5
  • 15