Add some plotting functions that got deleted in the last commit.