GMT5与Matlab转换表

2013 年 11 月 20 日 0 条评论 1.81k 次阅读 0 人点赞
Matlab GMT stem
colorbar psscale
contour(X,Y,Z) grdcontour datafile.nc
contourf(X,Y,Z) pscontour -I datafile.xyz
pcolor(X,Y,Z) grdimage data.nc
plot(X,Y,’k') psxy -Wblack data.xy
quiver(X,Y,U,V) psxy -Sv data.xyAr
plot(X,Y,’rx’) psxy -Wred -Sx.4i data.xy
text(X,Y,’Hello world’) pstext

有些函数Matlab没有对应的函数:

  • pswiggle: to plot anomalies along a track, e.g. altimeter signals along the track, or waterfall plots of temperature and salinity profiles
  • makecpt: to make a colormap
  • ps2raster: convert your *.ps file into another file format (e.g. *.png)
  • pscoast: Plots coastlines with options to shade the land or outline the coasts, and/or add rivers. Probably has an m_map equivalent.

See the full list of GMT functions on the html man pages: http://www.soest.hawaii.edu/gmt5/gmt/html/gmt_man.html.

admin

这个人太懒什么东西都没留下

文章评论(0)