Hey, I’m looking to do real time plotting as data as being gathered. I am looking to use PsychoPy to manage experiments, but it seems that for graphing they typically use matplotlib. I know how to update a line graph as data comes in within matplotlib, but I don’t think I’m able to do so when I embed that inside of PsychoPy. It seems that most people are saving the plot as an image, making it into an ImageStim, and repeating the process. That seems like it is probably really slow.
I saw this, but it doesn’t seem like a clean solution… using ShapeStim for connecting each point on the line to the next and possible resizing seems like it would be really messy.
- How much time do you think that it will cost to save the matplotlib images and then add them as ImageStim? Is it efficient enough that it would be worth just doing that?
- Is there a better way to do this?