<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p><font face="serif">Some of you have asked me about slowing down
the speed at which you plot things (like you circle) so you can
see if it is being drawn properly. For things like this you
could easily use the sleep function from the <unistd.h> C
header file. The problem is that this function takes an integer
argument in seconds -- that is generally WAY TOO SLOW. I
recommend using the microsleep function (usleep) from the same
header file. It takes an argument in microseconds. So
usleep(100000) should click off every 10th of a second. You
can easily tailor that to your liking.</font></p>
<p><font face="serif"><br>
</font></p>
<div class="moz-signature">-- <br>
<b><i>Andrew J. Pounds, Ph.D.</i></b><br>
<i>Professor of Chemistry and Computer Science</i><br>
<i>Director of the Computational Science Program</i><br>
<i>Mercer University, Macon, GA 31207 (478) 301-5627</i></div>
</body>
</html>