 class="n">MS</span> <span class="o">=</span> <span class="mi">3</span>
<span class="n">top</span> <span class="o">=</span> <span class="nb">max</span><span class="p">(</span><span class="n">diagram</span><span class="p">[</span><span class="mi">1</span><span class="p">]</span><span class="o">.</span><span class="n">T</span><span class="p">[</span><span class="mi">1</span><span class="p">])</span>
<span class="n">plt</span><span class="o">.</span><span class="n">plot</span><span class="p">([</span><span cla