<p><b>dwj07@fsu.edu</b> 2012-03-26 09:41:09 -0600 (Mon, 26 Mar 2012)</p><p><br>
        -- BRANCH COMMIT --<br>
<br>
        Adding the V key to available commands.<br>
        This plays all time series as a video.<br>
</p><hr noshade><pre><font color="gray">Modified: branches/tools/mpas_draw/README
===================================================================
--- branches/tools/mpas_draw/README        2012-03-26 15:32:06 UTC (rev 1715)
+++ branches/tools/mpas_draw/README        2012-03-26 15:41:09 UTC (rev 1716)
@@ -52,6 +52,10 @@
                        The variable id (given as a number in the left most column) can be entered to
                        change the color of the current plot.
+                V: (video)
+                        The uppercase V key plays the time series of a current variable as a video.
+                        It iterates through each frame and attempts to make the framerate 30 fps.
+
                l, L: (level)
                        The lowercase l key cycles through available vertical levels.
                        The uppercase L key cycles through available vertical levels in reverse.
Modified: branches/tools/mpas_draw/mpas_draw.cpp
===================================================================
--- branches/tools/mpas_draw/mpas_draw.cpp        2012-03-26 15:32:06 UTC (rev 1715)
+++ branches/tools/mpas_draw/mpas_draw.cpp        2012-03-26 15:41:09 UTC (rev 1716)
@@ -6,6 +6,7 @@
#include <iomanip>
#include <string>
#include <vector>
+//#include <unistd.h>
#include "constants.h"
#include "vec_utils.h"
@@ -2059,6 +2060,16 @@
                        }
                        color_mesh();
                        break;
+                case KEY_V:
+                        cout << "playing video." << endl;
+                        cur_time = 0;
+                        for(int i = 0; i < ntime; i++){
+                                cur_time = i;
+                                color_mesh();
+                                display();
+                                usleep(3.3e4);
+                        }
+                        break;
                case KEY_R:
                        cout << " Trying regions. " << endl;
                        if(!regions_built){
</font>
</pre>