working generic cmap function
multiple colormaps