<div dir="ltr"><div>Hi,</div><div><br></div><div>I suppose you always excange the current data of the already existing Matplot with new Frame data?</div><div><br></div><div>Otherwise you would add a axis-children each time you excecute "Matplot "..hence for each frame.</div><div><br></div><div>This will make you function become very slow after short time.</div><div><br></div><div>you can check with:</div><div><br></div><div>a = gca()</div><div>a.children</div><div><br></div><div>a.children should have only one entry.</div><div><br></div><div>I had this behaviour as described above building a GUI for scolling through a set of Images.</div><div><br></div><div>My work around:</div><div><br></div><div>- create an empty Matplot first.</div><div><br></div><div>- At the real displaying of data I only exchange the "matplot.data" such as:    a.children.data. = new_image;</div><div><br></div><div><br></div><div>Greetings,</div><div>Philipp</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-17 6:42 GMT+02:00 Shamika Mohanan <span dir="ltr"><<a href="mailto:shamika.i.nair@gmail.com" target="_blank">shamika.i.nair@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hello,<br><br></div>We are building a computer vision toolbox which requires developing a video player. <br><br></div>We developed imshow using Matplot and then looped imshow over the number of frames in the video to play the video. This method makes the video player very slow. Is there any other way to play a video in Scilab using any scripting tool/ GUI developer? Any leads would be appreciated. <br><span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888">Shamika<br></font></span></div>
<br>_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@lists.scilab.org">users@lists.scilab.org</a><br>
<a href="http://lists.scilab.org/mailman/listinfo/users" target="_blank" rel="noreferrer">http://lists.scilab.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>In Kanada is' ka' na' da. Sonst wär' Kanada Jemanda.</div><div><br></div><div>There we have the salad.</div></div></div>
</div>