 magnetic ordering wave vector is <b>k</b>=(0,0,e_H*1/7), the spins are lying in the <b>ab</b>-plane and we use a single cell to describe the structure (default value of nExt = [1 1 1]). We plot the triangular plane magnetic structure.</p><pre class="codeinput">S0 = [1 -1/2 -1/2;0 eD*sqrt(3)/2 -eD*sqrt(3)/2;0 0 0];
banb.genmagstr(<span class="string">'mode'</span>,<span class="string">'helical'</span>,<span class="string">'S'</span>,S0,<span class="string">'k'</span>,[0 0 eH*1/7],<span class="string">'n'</s