The plot title set via
-B+t is always centered (2). I could make good use of an option to align it with the left (1) or right (3) map frame as in the mockup below.
Currently I’m using
gmt text to achieve this but this is pretty tedious. I can’t really automate that step.
Maybe there is an undocumented option similar to
-B+tr"HAWAII" to achieve (3) or
-B+tl"HAWAII" to achieve something like (1)? And yes, I tried those just to be sure
Your ideas how to achieve this are greatly appreciated!
Some code to play with (adjusted to use default fonts):
gmt begin map_style gmt set FORMAT_GEO_OUT ddd:mm:ssG gmt set MAP_FRAME_TYPE plain gmt set MAP_FRAME_AXES WESN gmt set MAP_FRAME_PEN 1.8p,black gmt set MAP_GRID_PEN 0.7p,black gmt set MAP_TICK_LENGTH 0 gmt set MAP_ANNOT_OFFSET 6.5p gmt set FONT_ANNOT Helvetica,13p gmt set FONT_TITLE Helvetica-Bold,15p gmt set PS_LINE_JOIN round gmt coast -RUS.HI+e1 -N1/6p,white -W0.7p,black -B+f -Bg -B+t"HAWAII" gmt coast -W2.7p,white gmt coast -W0.7p,black gmt end show