Hi There,
I am having trouble labeling my color bar with the date and time represented by the colors. Currently, the labels seem to be seconds since a certain time, but I want them to be date-time strings such as 2012-01-01-00-00-00. I am using GMT 6.1.1. Here is an excerpt of my codes:
gmt begin test pdf
Plot the coast lines
gmt coast -JH-88.5/8i -R-180/180/-90/90 -A10000 -Bwsne -Bxa0f0g0 -Bya0f0g0 -Dl -Ggray -Swhite -Cwhite
Make the colorscale
gmt makecpt -Cjet -T2012-06-29T08:00:00/2013-10-18T11:00:00
Plot the colorbar
gmt colorbar -DJMR -B
gmt end show
Thanks a lot!