Changes

Jump to navigation Jump to search
178 bytes added ,  15:24, 17 March 2016
viedeo link
Line 4: Line 4:     
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.
    
<syntaxhighlight lang="python" line="1" >
 
<syntaxhighlight lang="python" line="1" >

Navigation menu