A matplotlib graph is made, written to file and shown in a PsychoPy ImageStim. Then the graph is updated
A matplotlib graph is made, written to file and shown in a PsychoPy ImageStim. Then the graph is updated
−
and send directly to the ImageStim object to replace the old image. On the labcomputer this runs smoothly
+
and send directly to the ImageStim object (without writing to file) to replace the old image. On the
−
at 60Hz.
+
labcomputer this runs smoothly at 60Hz. This is a [https://www.socsci.ru.nl/wilberth/python/image/psychopy-matplotlib.ogv video] of the demo. Note that the video is not as smooth as the demo.