>len</span><span class="p">(</span><span class="n">xaxis</span><span class="p">)):</span>
                <span class="k">if</span> <span class="p">(</span><span class="n">legendary</span><span class="p">[</span><span class="n">num</span><span class="p">]</span> <span class="o">==</span> <span class="n">algo</span><span class="p">[</span><span class="n">num2</span><span class="p">]):</span>
                    <span class="n">latexwriter</span><span class="o">.</span><span class="n">write</span><span class=