Hello GMT users and developers. I’m posting this question because I had a problem with psconvert.
Running the following code will create a postscript file called figure1.ps.
However, an unusually large value appears on line 721 of the figure1.ps file.
0 0 M
4724 0 D
0 4724 D
-4724 0 D
P
PSL_clip N
V
4 W
O1
236 945 945 Sx
405 60 7.09e+194 C
236 1890 1890 Sx
236 2835 2835 Sx
236 3780 3780 Sx
U
PSL_cliprestore
23 W
0 A
/PSL_slant_y 0 def /PSL_slant_x 0 def
2 setlinecap
N 0 4724 M 0 -4724 D S
“7.09e+194” is the number. It seems that ghostscript could not interpret this postscript file properly because of this value. If I delete only that line manually, there is no problem. This weird value appears only when drawing with x, y, +, - symbols. Does anyone know a solution to this problem?
My gmt version is 6.5, the operating system is Ubuntu 24.04 LTS, and gmt was installed via apt.
That’s the CookBook for the version 6.2 and I don’t think that option was ever meant for external use and probably is not used internally too, although it shows up in the Postscript comments. 6.5 does not mention it.