FINALLYYY
Yes i have the point in the plot!!!
Thanks VERY VERY much!!
Congratulations!
You don’t have to define IO_COL_SEPARATOR
if you’re using space
as a delimiter. gmt
figures that out by itself.
Parameters like IO_COL_SEPARATOR
may be set in a line by itself:
gmt set IO_COL_SEPARATOR=tab
or as part of another command:
gmt plot [.....] --IO_COL_SEPARATOR=tab
At least in classic mode. Not sure in modern mode (which you’re using).
gmt begin test_data pdf,png
gmt set IO_COL_SEPARATOR=space
gmt info C:\programs\Anna.txt
gmt plot C:\programs\Anna.txt -Sc0.1c -R14.9440/15.0030/37.6630/38.1000 -JX10c -Bxafg+l"Long" -Byafg+l"Lat"
gmt end show
With these i can plot the point very well.
I controll all file .txt because i see that one data is writen 145.56 and not 14.556
So when i finish i run this script
gmt begin test_data pdf,png
gmt set IO_COL_SEPARATOR=space
gmt info C:\programs\lat_long.txt
gmt plot C:\programs\lat_long.txt -Sc0.1c -R14.9440/15.0030/37.6630/38.1000 -JX10c -Bxafg+l"Long" -Byafg+l"Lat"
gmt end show
and show these error:
C:\Users\Anna>gmt begin test_data pdf,png
C:\Users\Anna>gmt set IO_COL_SEPARATOR=space
C:\Users\Anna>gmt info C:\programs\lat_long.txt
gmtinfo [ERROR]: No data columns to work with - exiting
gmtinfo [ERROR]: Data file only has trailing text. GMT expects numerical columns followed by optional trailing text
C:\Users\Anna>gmt plot C:\programs\lat_long.txt -Sc0.1c -R14.9440/15.0030/37.6630/38.1000 -JX10c -Bxafg+l"Long" -Byafg+l"Lat"
plot [WARNING]: Mismatch between actual (1) and expected (2) fields near line 1 in file C:\programs\lat_long.txt
C:\Users\Anna>gmt end show
PS C:\Users\Anna>
Why?
I try the solution
The problem is in .txt file
Anna.txt is UFT-8
lat_long.txt is UTF-16
so this is the problem.
Now plot very well.
Reply thanks to help me immediatly