<div dir="ltr"><div>Hi, if you are dealing with a surface, your system has a two-dimensional–like band structure as a function of the in-plane momenta E(kx,ky).<br><br>In this case you can:<br><br>1) perform a band-structure calculation as you did and plot the bands using dots whose color and or size are proportional to the x, y, or z component of the spin;<br><br>2) compute the dispersion on a uniform grid sampling the entire Brillouin zone, plot the energy as a three-dimensional surface as a function of the two in-plane momentum components, and then, at each point in this three-dimensional space (kx,ky,E) </div><div>draw a vector whose direction is given by the three spin components and whose magnitude is proportional to the (Sx,Sy,Sz) magnitude. This plot is for a single band, and in this way you can visualize the full three-dimensional spin field;<br><br>3) compute the dispersion on a uniform grid over the whole Brillouin zone and plot only the spin texture in two dimensions: at each point in momentum space draw a vector whose direction is given by the in-plane spin components (Sx,Sy) and whose length </div><div>is proportional to the (Sx,Sy) magnitude, while the arrow color represents the out-of-plane Sz spin component. On this type of plot you can superimpose constant-energy contours (for an example, see Fig. 2 of Phys. Rev. B 110, 165411 (2024), </div><div>although many similar examples can be found in the literature).<br><br>As for the codes that can produce this kind of plot, there are certainly some packages where these features are already implemented. Personally, I usually write this kind of post-processing tools myself, typically in Python.<br><br>Giovanni</div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span style="color:rgb(0,0,0)">-- <br><br>Prof. Giovanni Cantele<br>Dipartimento di Fisica "Ettore Pancini"<br>Universita' degli Studi di Napoli "Federico II"<br>Complesso Universitario M. S. Angelo - Ed. 6<br>Via Cintia, I-80126, Napoli, Italy<br>e-mail: <a href="mailto:giovanni.cantele@unina.it" target="_blank">giovanni.cantele@unina.it</a><br>Phone: +39 081 676910<br><br>Web page: </span><a href="https://sites.google.com/view/giovanni-cantele/home" style="color:rgb(17,85,204)" target="_blank">https://sites.google.com/view/giovanni-cantele/home</a><br></div></div></div><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">Il giorno mar 13 gen 2026 alle ore 05:16 박기명 <<a href="mailto:knppkm@naver.com">knppkm@naver.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg4467656662673853615"><div><div style="font-size:14px;font-family:Gulim,굴림,sans-serif">Dear users,<div><br></div><div>I’d like to hear about your experiences and advice.<br></div><div><br></div><div>I obtained the 2D surface data on the [111] plane using calculations='bands' and the crystal_c option. I also used bands.x to obtain <Sx>, <Sy>, and <Sz>. However, I faced a problem because data on the [111] plane effectively has four components (x, y, z + <Sx> or <Sy> or <Sz>), which makes it difficult to plot the spin texture.</div><div><br></div><div>Could you recommend a good approach to handle this, or any related programs/tools?</div><div><br></div><div>Best regards,</div><div>GiMyung Park</div><div>Yonsei University</div></div></div><table style="display:none"><tbody><tr><td><img src="https://mail.naver.com/readReceipt/notify/?img=3fRR1XImW4nwaxK%2FFqmsMqUXpoMXF6KwK4K9pAurpA0oKrEXa6KqKzFotzFXp6UmKxE5W4dQaXkqpBiqtzwGbX3q7NJ9M6ld%2B6dRpBFmb4kqbrY5WXiN.gif" border="0"></td></tr></tbody></table>_______________________________________________________________________________<br>
The Quantum ESPRESSO Foundation stands in solidarity with all civilians worldwide who are victims of terrorism, military aggression, and indiscriminate warfare.<br>
--------------------------------------------------------------------------------<br>
Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu" rel="noreferrer" target="_blank">www.max-centre.eu</a>)<br>
users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a><br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></div></blockquote></div>