Examining a metal sample with a microscope