Fig. 2: DC magnetometry.
From: Virtual experiments in computational magnetism with mag2exp

The first cell shows the code to produce a hysteresis curve using micromagnetic simulations and mag2exp with the applied field along the z direction. Only the z component of the magnetization is plotted for the down (blue) and up (red) sweep. The second cell shows the magnetization structure of the z = 0 nm plane of the sample in the down sweep of the hysteresis curve at 0.06 T. The arrows show the direction of in-plane magnetization while the color indicates the z component of the normalized magnetization. The green diamond in the first plot shows data used for the 0.06 T magnetization plot in the second cell.