changed plot colors and added func_split