pscoast
The command pscoast contains the data for global coastline.
Visit pscoast page for detailed documentation.
-Rg
-R stands for the region of interest. g is global. So, -Rg will plot a global map.
If you are interested to plot Indian coastline, this option will be changed to -R60/100/0/40.
These four numbers are longitude and latitudes
in west/east/south/north format. Change these values and play with different maps.
-Jx0.025id
-Jx stands for the projection type. Jx is for retangular projection. 0.025id stands for size of the map. i is for inches and
d is for diagonal. So, the map is 0.025 inches long along the diagonal of a rectangle. For global map, this dimension works well.
You can try finding out how the map size changes by using different values. May try with -Jx0.2id, see how it changes!
-B30
-B stands for longitude latitude annotations. For B30, it will annotate the boundary for every 30 degrees. Change into -B60 and see.
What value of B will you choose for Indian map?
-W1
-W stands for thickness of coastline. Change it to W2 and see what happens.
world.ps
.ps is a postscript format. This can be converted to eps, jpg, pdf, tiff or png formats. GMT produces ps format files by default.
Mollweide projection (-JW)
Mercator (-Jm)