Add useful plotting functions.