Working version of plotting capabilities.