Added animation and plotting examples.

From compendium. Added docstrings and interpreter-line.