Skip to content

Commit

Permalink
fix(Grid2GMT): "FONT_HEADING" option in gmtset is diabled due to the …
Browse files Browse the repository at this point in the history
…option only supports GMT 6.x
  • Loading branch information
sean0921 committed Feb 19, 2023
1 parent c6903bb commit 163fd30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Grid2GMT.c
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ int GenGMTCommands(char cplotmode, char cdatatype,
#ifdef GMT_VER_5
fprintf(fp_gmt, GMT_COMMAND_PREFIX"gmtset FONT_ANNOT_PRIMARY 14 FONT_ANNOT_SECONDARY 14 FONT_TITLE 14\n\n");
fprintf(fp_gmt, GMT_COMMAND_PREFIX"gmtset PS_PAGE_ORIENTATION portrait MAP_ORIGIN_X 0.5 MAP_ORIGIN_Y 0.5 \n\n");
fprintf(fp_gmt, GMT_COMMAND_PREFIX"gmtset FONT_ANNOT_PRIMARY 8 FONT_ANNOT_SECONDARY 6 FONT_HEADING 12 FONT_LABEL 10\n\n");
fprintf(fp_gmt, GMT_COMMAND_PREFIX"gmtset FONT_ANNOT_PRIMARY 8 FONT_ANNOT_SECONDARY 6 FONT_LABEL 10\n\n"); // "FONT_HEADING 12" is diabled due to he option only supports GMT 6.x
fprintf(fp_gmt, GMT_COMMAND_PREFIX"gmtset MAP_LABEL_OFFSET 0.1c MAP_ANNOT_OFFSET_PRIMARY 0.1c MAP_ANNOT_OFFSET_SECONDARY 0.1c\n\n");
fprintf(fp_gmt, GMT_COMMAND_PREFIX"gmtset GMT_VERBOSE i\n\n");
#else
Expand Down

0 comments on commit 163fd30

Please sign in to comment.