Bringing the north poles of two bar magnets close together causes the magnets to repel each other. Scattering iron filings on paper placed over the magnets shows a pattern of lines of force diverging between the two north poles. Bringing a north and south pole together causes the magnets to be attracted to each other, and iron filings show a pattern of lines of force converging between the opposite poles.