n>,<span class="string">'LineWidth'</span>,3);
    axis([-5,10,0,0.5]);
    set(gca,<span class="string">'YTick'</span>,0:0.1:0.5);
    legendStr = {<span class="string">'gaussian'</span>, <span class="string">'student T'</span>, <span class="string">'laplace'</span>};
    <span class="keyword">if</span> isOctave(),
        legend(legendStr{:})
    <span class="keyword">else</span>
        legend(h, legendStr{:})
    <span class="keyword">end</span>
<span class="keyword">end</span>
</pre><pre class="codeinp