lass="keyword">if</span> (showdata)
0080     hold on;
0081     <span class="keyword">if</span> (length(ydata)==1) ydata = zeros(n,1); <span class="keyword">end</span>;
0082     <a href="plotbyfactor.html" class="code" title="function plotbyfactor(x,y,f)">plotbyfactor</a>(xdata,ydata,cdata);
0083     hold off;
0084   <span class="keyword">end</span>;
0085 <span class="keyword">end</span>;
0086 
0087 <span class="keyword">if</span> (d==2)
0088   x1 = xfit{1};
0089   x2 = xfit{2};
0090   yfit = resh