模塊手冊

主程序/腳本  
gmt GMT主程序
gmt-config 返回 GMT 動態函數庫的基本信息
現代模式會話管理  
begin 初始化一個新的GMT現代模式會話
end 結束現代模式會話,生成並顯示圖片
figure 設置當前圖片的屬性
subplot 管理和設置子圖模式
inset 管理和設置圖中圖模式
docs 打開指定模塊的HTML文件
clear 刪除緩存目錄、數據目錄或會話目錄,以及當前配置文件
繪圖相關模塊  
basemap 繪製底圖
coast 在地圖上繪製海岸線、河流、國界線
plot 在圖上繪製線段、多邊形和符號
text 在圖上寫文本
colorbar 在圖上繪製色標
legend 繪製圖例
histogram 統計並繪製直方圖
rose 繪製極座標下的直方圖(sector圖、rose圖或windrose圖)
events 繪製特定時刻的事件符號和標籤信息
plot3d 在3D圖上繪製線段、多邊形和符號
image 將EPS或光柵圖片放在圖上
solar 計算或/和繪製晨昏線以及民用、航海用以及天文用曙暮光區域
clip 打開或關閉多邊形裁剪路徑
sac 在地圖上繪製 SAC 格式的地震波形數據
meca 在地圖上繪製震源機制解
polar 在震源球上繪製臺站極性
velo 在地圖上繪製速度矢量、十字線、楔形圖
coupe 繪製震源機制解的剖面圖
ternary 繪製三角圖解
mask 將沒有數據覆蓋的區域裁剪或覆蓋住
contour 使用直接三角化法對數據進行等值線繪製
wiggle 沿着測線繪製 z = f(x,y) 數據
segy 在圖上繪製SEGY文件
segyz 在3D圖上繪製SEGYZ文件
gmtlogo 在圖上繪製GMT圖形logo
grdvector 根據兩個網格檔繪製矢量場
grdimage 在圖上繪製網格數據
grdcontour 根據網格檔繪製等值線
grdview 利用網格檔繪製3D視角圖或表面網格圖
movie 製作動畫
1D 數據處理  
makecpt 生成CPT文件
gmtselect 根據多個準則篩選數據
project 將數據點投影到線或大圓路徑上,生成測線,座標轉換
gmtconvert 表數據格式轉換、列提取、列粘貼
trend1d 一維數據的多項式擬合
fitcircle 擬合球面上數據點的平均位置及圓弧
gmtsimplify 使用Douglas-Peucker算法對線段做簡化
filter1d 對1D表數據做時間域濾波
gmtconnect 將端點接近的線段連接起來
sample1d 對1D表數據進行重採樣
spectrum1d 計算一個時間序列的自功率譜,或兩個時間序列的互功率譜
gmtmath 對錶數據進行數學計算操作
mapproject 地圖變換的正變換和逆變換
gmtspatial 線段和多邊形的地理空間操作
gmtvector 2D和3D下笛卡爾矢量操作
gmtregress 1D數據的線性迴歸
2D 數據處理  
grdcut 從一個網格檔中裁剪出一個矩形子區域生成新的網格檔
grdpaste 將兩個網格沿着其共同邊界拼接成一個文件
grdblend 將多個部分重疊的網格檔合併成一個網格檔
grdtrack 獲取指定地理位置處的網格值
grdgradient 計算網格的方向梯度
grdclip 對網格檔的Z值做裁剪
grd2xyz 將網格檔轉換成表數據
grdconvert 在不同的網格格式之間互相轉換
grdedit 修改網格檔的頭段或內容
grdinfo 從網格檔中提取基本信息
grdsample 對網格檔做重採樣
grdlandmask 根據海岸線數據創建陸地-海洋的mask網格檔
grdvolume 計算網格數據中某個等值線所包圍的表面積和體積
grdtrend 擬合網格的趨勢面並計算殘差
grdproject 對網格數據做地圖變換和逆變換
grdmask 根據多邊形數據或點數據創建mask網格檔
grdmath 對網格檔做數學計算操作
grdfilter 對網格檔做空間域或時間域濾波
grdfft 對網格檔在波數域或頻率域做操作
grdfill 對網格檔中的無值區域進行插值
grdhisteq 對網格做直方圖均衡
grd2cpt 根據網格檔的值生成CPT文件
blockmean 使用L2範式對 (x,y,z) 數據做區塊平均
blockmedian 使用L1範式對 (x,y,z) 數據做區塊平均
blockmode 使用模估計對 (x,y,z) 數據做區塊平均
surface 使用可調節張量連續曲率樣條插值法對數據進行網格化
splitxyz 將表數據拆分爲單獨的數據段
triangulate 對錶數據做三角剖分和網格化
nearneighbor 使用 “Nearest neighbor” 算法對數據進行網格化
trend2d 二維數據的多項式擬合
greenspline 使用格林函數樣條進行插值
sph2grd 根據球諧係數計算網格
sphdistance 計算球面上的Voronoi距離、節點或natural nearest-neighbor grid
sphinterpolate 球面上張量數據的球面網格化
sphtriangulate 球面數據的Delaunay 或 Voronoi 構建
dimfilter 在空間域對網格數做方向性濾波
參數設置  
gmtdefaults 列出所有GMT參數的當前值
gmtset 修改單個或多個GMT參數的值
gmtget 列出單個或多個GMT參數的當前值
信息提取  
grdinfo 從網格檔中提取基本信息
gmtinfo 從表數據中提取信息
gmtwhich 返回指定文件的完整路徑
格式轉換  
xyz2grd 將XYZ數據或Z數據轉換成網格檔
grd2xyz 將網格檔轉換成表數據
kml2gmt 將Google Earth的KML文件轉換爲GMT表數據
gmt2kml 將GMT表數據轉換爲Google Earth的KML文件
grdconvert 在不同的網格格式之間互相轉換
psconvert 將GMT生成的PS文件轉換爲其他圖片格式
mgd77相關模塊  
mgd77convert Convert MGD77 data to other file formats
mgd77header Create MGD77 headers from A77 files
mgd77info Extract information about MGD77 files
mgd77list Extract data from MGD77 files
mgd77magref Evaluate the IGRF or CM4 magnetic field models
mgd77manage Manage the content of MGD77+ files
mgd77path Return paths to MGD77 cruises and directories
mgd77sniffer Along-track quality control of MGD77 cruises
mgd77track Plot track-line map of MGD77 cruises
x2sys相關模塊  
x2sys_binlist Create bin index listing from track data files
x2sys_cross Calculate crossovers between track data files
x2sys_datalist Extract content of track data files
x2sys_get Get track listing from track index database
x2sys_init Initialize a new x2sys track database
x2sys_list Extract subset from crossover data base
x2sys_merge Merge an updated COEs table (smaller) into the main table (bigger)
x2sys_put Update track index database from track bin file
x2sys_report Report statistics from crossover data base
x2sys_solve Determine least-squares systematic correction from crossovers
SPOTTER相關模塊  
backtracker Generate forward and backward flowlines and hotspot tracks
gmtpmodeler Evaluate a plate motion model at given locations
grdpmodeler Evaluate a plate motion model on a geographic grid
grdrotater Finite rotation reconstruction of geographic grid
originater Associate seamounts with nearest hotspot point sources
rotconverter Manipulate total reconstruction and stage rotations
rotsmoother Get mean rotations and covarience from set of finate rotations
grdspotter Create CVA image from a gravity or topography grid
hotspotter Create CVA image from seamount locations
POTENTIAL相關模塊  
gmtflexure Compute flexural deformation of 2-D loads, forces and bending moments
grdflexure Compute flexural deformation of 3-D surfaces for various rheologies
gmtgravmag3d Compute the gravity/magnetic anomaly of a 3-D body
grdgravmag3d Computes the gravity effect of one (or two) grids
gravfft Compute gravitational attraction of 3-D surfaces and a little more
grdredpol Compute the Continuous Reduction To the Pole, AKA differential RTP
grdseamount Compute synthetic seamount bathymetry
talwani2d Compute geopotential anomalies over 2-D bodies
talwani3d Compute geopotential anomalies over 3-D bodies
其他模塊  
segy2grd Converting SEGY data to a GMT grid
gshhg Extract data tables from binary GSHHS or WDBII data files
img2google Create Google Earth KML tiles from bathymetry Mercator img grid
img2grd Extract a subset from an img file in Mercator or Geographic format
gpsgridder Interpolate GPS velocity vectors using Green’s functions
其他腳本  
gmtswitch GMT多版本之間切換