葡萄 发表于 2013-4-13 21:58:56

GMT绘制直方图

实例:pshistogram poas.dat -G180/180/180 -L1.0 -W10 -R1800/2000/0/10 -B10a50:"Year":/1a2:"Number Eruptions":WSne -JX10c -V -K> hazard.ps
pshistogram poas.dat -G180/180/180 -L1.0 -W10 -Q -R1800/2000/0/50 -B10a50:"Year":/10a10:"Cumulative Eruptions":WSne -JX10c -X13c -V -O>> hazard.ps
del .gmt*
效果图:

数据poas.dat内容:
1828
1834
1838
1860
1879
1880
1888
1895
1898
1907
1910
1910.5
1914
1914.5
1925
1929
1941
1946
1948
1952
1958
1963
1964
1967
1969
1970
1972
1974
1976
1977
1977.5
1978
1979
1980
1980.5
1981
1987
1991
1991.5
1992
1992.5
页: [1]
查看完整版本: GMT绘制直方图