Hi there,
I made a CPT using the log10 “3 increment” options :
makecpt -T1/100/3+l
Now I want a colorbar with that discrete palette, but it seems I can’t have it automatically generated.
The only thing I’ve found so far is this trick :
- use
colorbar -Q
without -B option to read .CPT directly - use
colorbar -Bx+l -By+l
to add the labels
(1) give the proper ticks, (2) the decoration … but none of them have color inside …
Am I missing something ?
gmt makecpt -Coslo -T1/100/3+l -A95 -H > cold.cpt
gmt colorbar -Ccold.cpt -DJCB+ef+w10c/0.3c+h -Bx+llegend -By+lunits
gmt colorbar -Ccold.cpt -DJCB+ef+w10c/0.3c+h -Q -Np