I have a text file with latitude and longitude of some points. How can I plot them with including political boundaries?
Hi @Mahsa
you’d need two GMT calls to do this:
- generate a basemap with
gmt coastwith an appropriate choice for the-Noption - plot your points with
gmt plot, using a symbol (-S). If the data islatitude longitudethen you’d have to change the input column read order using the-ioption.
So a script could look like this:
gmt begin
gmt figure YourFigure pdf
gmt coast -R<your region/AOI> -J<your choice of projection> -N1 -B
gmt plot <YourPointsFile> -Sc0.4 -Gred
gmt end
Cheers,
Christian