Dispersion plot

27 views
Skip to first unread message

JEWELL KAYCEE

unread,
Feb 21, 2026, 8:27:41 PM (12 days ago) Feb 21
to mumax2
Hi everyone,

I am currently attempting to plot a dispersion curve. Attached are my .mx3 script and MATLAB script. The MATLAB script processes CSV files converted via mumax3-convert (using the command: mumax3-convert -csv -comp 2 *.ovf ).

My current result is shown in the first image. However, I noticed that in most published papers, the dispersion plots typically look like the second image(https://doi.org/10.1063/5.0101394). I would like to know if there is an error in my MATLAB code, or if my current result is considered normal?

Thank you very much for your help, and I look forward to hearing from you soon!

Best regards!

Jewell Kaycee

dispersion.png屏幕截图 2026-02-12 104442.png

mumax3_script.txt
matlab_code.txt

Антон Луценко

unread,
Feb 22, 2026, 4:33:57 AM (11 days ago) Feb 22
to mumax2
Hi, judging by the plot, you just accidentally transposed the k axis with ω axis. I'd recommend first plotting the raw data with t and x axes, then applying FFT only to the t axis and plotting the data versus ω and x axes, and then applying second FFT to the x axis and then plotting with ω and k axes. That should provide enough trace to get the correct image. 
Reply all
Reply to author
Forward
0 new messages