Macrospin energy landscape

K1.00
field H0.45
field angle0

Single-domain toy model: E(theta)=K sin²(theta)-H cos(theta-alpha). Minima are stable or metastable magnetization directions.