Hi everyone,
I am plotting seismic events with color according to their date of occurrence, and want to show the corresponding colorbar as reference. Next is the code I am using: (cpt is previously created with makecpt)
gmt colorbar -C -DjBR+o0.52c/0.35c+w-4c/0.4c+m -F+p1+gwhite+r+c-0.5/0.1/0.1/0.1 -Baf -By+l"Fecha" --FONT_ANNOT_PRIMARY=8p
–FONT_LABEL=8p --MAP_FRAME_PEN=0.8p --MAP_TICK_LENGTH=0.1c --GMT_LANGUAGE=ES --FORMAT_DATE_MAP=dd-mm
The problem is that the automatic tick setting (-Baf) will do things like the following:
But if I try to set the tick interval to a fixed value, like -Ba15d, I lose the date format that I am trying to use (dd-mm), like you can see here:
Is there a workaround for this? I want to have a colorbar that will display ticks every 15 days in dd-mm format, no matter the total timespan (one, two, three months or any other amount of days in between)
I am using GMT 6.3 due to some issues we had when trying to update to the latest in our server.
Thank you in advance for your help