The bug for text of GMT6 within MATLAB

gmt(‘text -R-10/10/-10/10 -JX10c/10c -B1g1’,{‘3 4 NIHAO’,‘4 5 ni’})


GMT typed the coordinates as text. Is this a bug?

Yes, this looks like a bug. Possibly due to the fact that more recent versions of GMT unified the datasets and the textsets in a single structure and now the mex parser is not able to detect that first in sting should be read as coordinates. The solution is to put the text in a file and include its name in the gmt(pstext filename.txt ...).

Please open an issue with this.