Hello everyone,
this is my code. It doesn’t work, i want to plot my seismicity events change the magnitude with colorbar…but don’t change.
If i use the column of depth it is work, if i use mag doesn’t work. Obviously in the file txt there isn’t the headers.
It is very strain.
The header of my file .txt
Longitude Latitude Day Month Year Hour Minute Second Depth Magnitude
13.0433 43.9588 10 01 2021 10 37 57 7.8 2.3
13.3822 43.9247 18 01 2021 14 04 22 7.9 2.2
Thanks you for the answers.
gmt begin italy png
gmt set IO_COL_SEPARATOR=tab
gmt set GMT_THEME cookbook
gmt info C:\programs\sequenza_marche.txt
gmt coast -R13.00000/13.60000/43.57919/44.2200 -Wthin -B -JM5i -Gbeige -Slightblue -I1
gmt grdimage @earth_relief_01s -R13.00000/13.60000/43.57919/44.2200 -I+d
gmt makecpt -T0.9/5.5 -Cjet -N
gmt colorbar -DJCB+ef+w10c/0.2c+h -Bx+llegend -By+lDepth(km) -G0.9/5.5 -I0.25 -Np
gmt plot C:\programs\SHP\ISS330.shp -Wthin,black
gmt plot C:\programs\SHP\DSS330.shp -Wthin,yellow
gmt plot C:\programs\SHP\CSSTOP330.shp -Wthin,green
gmt plot C:\programs\SHP\CSSPLN330.shp -Wthin,coral
gmt plot C:\programs\SHP\SUBDCNT330.shp -Wthin,purple
gmt plot C:\programs\SHP\SUBDZON330.shp -Wthin,gray
gmt plot C:\programs\sequenza_fino_a_18_gennaio.txt -C -Sci -Wfaint -i0,1,8,9+s0.15
gmt text C:\programs\ancona_1.txt -F+f18p,Times-Roman,black
gmt text C:\programs\senigallia_1.txt -F+f18p,Times-Roman,black
gmt plot C:\programs\ancona.txt -Ss0.50 -Wfaint -Gblack
gmt plot C:\programs\senigallia.txt -Ss0.50 -Wfaint -Gblack
gmt image c:\programs\north.jpg -Dg11.50000/38.70000+w0.50 -R11.50000/12.00000/38.70000/39.00000
gmt end show