discrete_coloring_range function

Generates the parameters necessary for discrete coloring and colorbar