d">end</span>
plotLegend(legendStr, h)
<span class="comment">%axis_pct</span>
set(gca,<span class="string">'ylim'</span>,[-6 4])
<span class="keyword">end</span>

<span class="keyword">function</span> plotLegend(legendStr, h)
<span class="keyword">if</span> isOctave()
  legendStr = [{<span class="string">'Data'</span>}, legendStr];
  legend(legendStr, <span class="string">'location'</span>, <span class="string">'east'</span>);
<span class="keyword">else</span>
  legend(h, legendStr, <span class="string">'lo