</span>,5)
        banb.addcoupling(<span class="string">'mat'</span>,<span class="string">'J5'</span>,<span class="string">'bond'</span>,4)
<span class="keyword">end</span>

plot(banb,<span class="string">'range'</span>,[-0.5 1.5;-0.5 1.5;0 0.5],<span class="string">'atomLegend'</span>,false)
swplot.zoom(1.3)
</pre><img vspace="5" hspace="5" src="tutorial15_02.png" style="width:560px;height:420px;" alt=""> <h2 id="4">Magnetic structure</h2><p>We fix the magnetic structure with the predefined chirality. The