begin 
Initiate a new GMT session using modern mode 
clear 
Delete current history, conf, cpt, or the cache directory 
end 
Terminate GMT modern mode session and produce optional graphics 
figure 
Set attributes for the current figure 
subplot 
Manage figure subplot configuration and selection 

Filtering of 1D and 2D Data 
blockmean 
L (x,y,z) table data filter/decimator 
blockmedian 
L (x,y,z) table data filter/decimator 
blockmode 
Mode estimate (x,y,z) table data filter/decimator 
filter1d 
Time domain filtering of 1D data tables 
grdfilter 
Filter 2D gridded data sets in the space domain 

Plotting of 1D and 2D Data 
logo 
Plot the GMT logo on maps 
grdcontour 
Contouring of 2D gridded data sets 
grdimage 
Produce images from 2D gridded data sets 
grdvector 
Plotting of 2D gridded vector fields 
grdview 
3D perspective imaging of 2D gridded data sets 
basemap 
Create a basemap plot 
clip 
Use polygon files to define clipping paths 
coast 
Plot (and fill) coastlines, borders, and rivers on maps 
contour 
Contour or image raw table data by triangulation 
histogram 
Plot a histogram 
image 
Plot Sun raster files on a map 
legend 
Plot a legend on a map 
mask 
Create overlay to mask out regions on maps 
rose 
Plot sector or rose diagrams 
colorbar 
Plot gray scale or color scale on maps 
ternary 
Plot data on ternary diagrams 
text 
Plot text strings on maps 
wiggle 
Draw table data timeseries along track on maps 
plot 
Plot symbols, polygons, and lines on maps 
plot3d 
Plot symbols, polygons, and lines in 3D 

Gridding of Data Tables 
greenspline 
Interpolation with Green’s functions for splines in 1–3 D 
nearneighbor 
Nearestneighbor gridding scheme 
sphinterpolate 
Spherical gridding in tension of data on a sphere 
surface 
A continuous curvature gridding algorithm 
triangulate 
Perform optimal Delauney triangulation and gridding 

Sampling of 1D and 2D Data 
simplify 
Line reduction using the DouglasPeucker algorithm 
grdsample 
Resample a 2D gridded data set onto a new grid 
grdtrack 
Sample 2D gridded data sets at specified (x,y) locations 
sample1d 
Resampling of 1D table data sets 

Projection and Maptransformation 
grdproject 
Project gridded data sets onto a new coordinate system 
mapproject 
Transformation of coordinate systems for table data 
project 
Project table data onto lines or great circles 

Retrieve Information 
defaults 
List the current default settings 
get 
Retrieve selected parameters in current file 
info 
Get information about table data files 
set 
Change selected parameters in current file 
grdinfo 
Get information about grid files 

Mathematical Operations on Tables or Grids 
math 
Mathematical operations on table data 
makecpt 
Make color palette tables 
spectrum1d 
Compute various spectral estimates from timeseries 
sph2grd 
Compute grid from spherical harmonic coefficients 
sphdistance 
Create grid of NN or distances to nearest points on a sphere 
sphtriangulate 
Delaunay or Voronoi construction of spherical (lon,lat) data 

Convert or Extract Subsets of Data 
connect 
Connect segments into more complete lines or polygons 
convert 
Convert data tables from one format to another 
select 
Select subsets of table data based on multiple spatial criteria 
spatial 
Geospatial operations on lines and polygons 
vector 
Operations on Cartesian vectors in 2D and 3D 
grd2kml 
Create KML image quadtree from single grid 
grd2xyz 
Conversion from 2D grid file to table data 
grdblend 
Blend several partially overlapping grid files onto one grid 
grdconvert 
Converts grid files into other grid formats 
grdcut 
Cut a subregion from a grid file 
grdpaste 
Paste together grid files along a common edge 
splitxyz 
Split xyz files into several segments 
xyz2grd 
Convert an equidistant table xyz file to a 2D grid file 

Determine Trends in 1D and 2D Data 
fitcircle 
Finds the bestfitting great or small circle for a set of points 
regress 
Linear regression of 1D data sets 
grdtrack 
Sample 2D gridded data sets at specified (x,y) locations 
trend1d 
Fits polynomial or Fourier trends to series 
trend2d 
Fits polynomial trends to series 

Other Operations on 2D Grids 
grd2cpt 
Make color palette table from a grid files 
grdclip 
Limit the zrange in gridded data sets 
grdedit 
Modify header information in a 2D grid file 
grdfft 
Perform operations on grid files in the frequency domain 
grdfill 
Interpolate across holes in a grid 
grdgradient 
Compute directional gradient from grid files 
grdhisteq 
Histogram equalization for grid files 
grdlandmask 
Create masking grid files from shoreline data base 
grdmask 
Reset grid nodes in/outside a clip path to constants 
grdmath 
Mathematical operations on grid files 
grdvolume 
Calculate volumes under a surface within specified contour 

Miscellaneous Tools 
2kml 
Like plot but plots KML for use in Google Earth 
kml2gmt 
Extracts coordinates from Google Earth KML files 
movie 
Create animation sequences and movies 
psconvert 
Crop and convert PostScript files to raster images, EPS, and PDF 