A typical trajectory of the magnetic pendulum (numerical simulation).
Magnets are represented by red, blue and yellow circles. The pendulum is released from rest from the small open circle. Because the pendulum comes to rest at the red magnet, the open circle will be colored red in the map of the basins of attraction.