Changed the way that program creates colormap and plots to only one method