for color plots

useful for older matlab versions