 <span class="comment">%   where hardware OpenGL acceleration is available.</span>
0058 
0059 <span class="comment">% programmer note -- at some point, should allow non-square X-Y grid</span>
0060 
0061 <span class="comment">%state = warning;  warning off;</span>
0062 surfimg_cutoff = 2500;    <span class="comment">% pixels</span>
0063 
0064 <span class="comment">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Setup %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span>
0065 <span class="keyword">if</span>     (nargin == 1),  frame = 1; 