I create this colorbar with a gap (-L0.1)
and I would like to add a text “Years” (-B+l"Years") like here:
So I try this but I get an error. How can I do it? Is it a bug?
gmt begin map
gmt makecpt -T1990/2000/1 -Crainbow
gmt colorbar -Dx8c/1c+w12c/0.5c+jTC+h -B+l"Years" -L0.1
gmt end show
colorbar [ERROR]: Option -L: Cannot be used if -B option sets increments.