Changes

Jump to navigation Jump to search
viedeo link
Line 5: Line 5:  
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 (without writing to file) to replace the old image. On the  
 
and send directly to the ImageStim object (without writing to file) to replace the old image. On the  
labcomputer this runs smoothly at 60Hz. This is what it looks [https://www.socsci.ru.nl/wilberth/python/image/psychopy-matplotlib.ogv like].
+
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.
    
<syntaxhighlight lang="python" line="1" >
 
<syntaxhighlight lang="python" line="1" >

Navigation menu