How do I specify the “font, angle, justify” values within the body of a text file or a multi-line text file that I want to plot using gmt text?
Note that I want to specify these parameters within the text file, not as parameters to the gmt text command.
The Modules>>text page specifies that records in a text file should be of the following format:
x, y[, font, angle, justify], text
Or using the -M (paragraph mode), the start of each text segment should be in this form:
> x y [font angle justify] linespace parwidth parjust
If I create a text file containing records like this:
176, -38, Some text here
Or a multi-line text file with records like this:
> 176 -38 0.32 1.7 c
More than
one line
of text.
I am able to plot these using the gmt text command and specifying the font, etc as a parameter.
However if I try to use multi-line text records something like this:
> 176 -38 7p,Helvetica,black 0 LT 0.32 1.7 c
More than
one line
of text.
I get an error along the lines of 7p,Helvetica,black not a valid number.
Is someone able to give an example of how these text files should be formatted to include all the font specifications?