Concept Flow - Discrete colorbars
Define color levels
Create colormap with discrete colors
Normalize data to levels
Plot data with colormap
Add colorbar with discrete ticks
Display plot
This flow shows how to create a colorbar with distinct color segments by defining levels, mapping colors discretely, and displaying the colorbar.