ring">'markersize'</span>, 20);
    hold <span class="string">off</span>
    title(sprintf(<span class="string">'degree %d'</span>, deg))
    set(gca,<span class="string">'ylim'</span>,[-10 15]);
    set(gca,<span class="string">'xlim'</span>,[-1 21]);
    printPmtkFigure(sprintf(<span class="string">'polyfitDemo%d'</span>, deg))
<span class="keyword">end</span>
</pre><img vspace="5" hspace="5" src="linregPolyVsDegree_02.png" alt=""> <img vspace="5" hspace="5" src="linregPolyVsDegree_03.png" alt=""> <img vs