Scientists have created a new microscope method that can see magnetic patterns inside materials at the scale of single atoms for the first time.