How do I customize the range of values for each color map in the colorbar

I created a four-column wave, and used one of the columns as a colorbar, so I set it to color as f(z) and created a colorwave myself, but I didn't know the range of values I defined for each color, especially the values were not uniform, such as 0~2.5, 2.5~ 3,3 ~3.25...

Color Index and Color Table waves are equal-interval waveforms. To implement constant colors over irregular intervals, use a lot of small intervals and set those which fall inside your ranges to the same color.

If you attach your color wave and a better description of what colors and ranges you want, we can show you how to do that.