Marigold is probably the plant I use the most in this way. Apparantly African Marigolds produce something called thiopene which repels nematodes. This makes it a good companion plant for root crops which are attacked by nematodes.
Try this list to find out what plants work well with each other -
Ecolocal - Beanstalk Project - Companion Planting