Added control of color of graphs.