Finished up some plotting routines.