This file is indexed.

/usr/share/doc/gmt/html/GMT_Docs.html is in gmt-doc 4.5.11-1build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36
   37
   38
   39
   40
   41
   42
   43
   44
   45
   46
   47
   48
   49
   50
   51
   52
   53
   54
   55
   56
   57
   58
   59
   60
   61
   62
   63
   64
   65
   66
   67
   68
   69
   70
   71
   72
   73
   74
   75
   76
   77
   78
   79
   80
   81
   82
   83
   84
   85
   86
   87
   88
   89
   90
   91
   92
   93
   94
   95
   96
   97
   98
   99
  100
  101
  102
  103
  104
  105
  106
  107
  108
  109
  110
  111
  112
  113
  114
  115
  116
  117
  118
  119
  120
  121
  122
  123
  124
  125
  126
  127
  128
  129
  130
  131
  132
  133
  134
  135
  136
  137
  138
  139
  140
  141
  142
  143
  144
  145
  146
  147
  148
  149
  150
  151
  152
  153
  154
  155
  156
  157
  158
  159
  160
  161
  162
  163
  164
  165
  166
  167
  168
  169
  170
  171
  172
  173
  174
  175
  176
  177
  178
  179
  180
  181
  182
  183
  184
  185
  186
  187
  188
  189
  190
  191
  192
  193
  194
  195
  196
  197
  198
  199
  200
  201
  202
  203
  204
  205
  206
  207
  208
  209
  210
  211
  212
  213
  214
  215
  216
  217
  218
  219
  220
  221
  222
  223
  224
  225
  226
  227
  228
  229
  230
  231
  232
  233
  234
  235
  236
  237
  238
  239
  240
  241
  242
  243
  244
  245
  246
  247
  248
  249
  250
  251
  252
  253
  254
  255
  256
  257
  258
  259
  260
  261
  262
  263
  264
  265
  266
  267
  268
  269
  270
  271
  272
  273
  274
  275
  276
  277
  278
  279
  280
  281
  282
  283
  284
  285
  286
  287
  288
  289
  290
  291
  292
  293
  294
  295
  296
  297
  298
  299
  300
  301
  302
  303
  304
  305
  306
  307
  308
  309
  310
  311
  312
  313
  314
  315
  316
  317
  318
  319
  320
  321
  322
  323
  324
  325
  326
  327
  328
  329
  330
  331
  332
  333
  334
  335
  336
  337
  338
  339
  340
  341
  342
  343
  344
  345
  346
  347
  348
  349
  350
  351
  352
  353
  354
  355
  356
  357
  358
  359
  360
  361
  362
  363
  364
  365
  366
  367
  368
  369
  370
  371
  372
  373
  374
  375
  376
  377
  378
  379
  380
  381
  382
  383
  384
  385
  386
  387
  388
  389
  390
  391
  392
  393
  394
  395
  396
  397
  398
  399
  400
  401
  402
  403
  404
  405
  406
  407
  408
  409
  410
  411
  412
  413
  414
  415
  416
  417
  418
  419
  420
  421
  422
  423
  424
  425
  426
  427
  428
  429
  430
  431
  432
  433
  434
  435
  436
  437
  438
  439
  440
  441
  442
  443
  444
  445
  446
  447
  448
  449
  450
  451
  452
  453
  454
  455
  456
  457
  458
  459
  460
  461
  462
  463
  464
  465
  466
  467
  468
  469
  470
  471
  472
  473
  474
  475
  476
  477
  478
  479
  480
  481
  482
  483
  484
  485
  486
  487
  488
  489
  490
  491
  492
  493
  494
  495
  496
  497
  498
  499
  500
  501
  502
  503
  504
  505
  506
  507
  508
  509
  510
  511
  512
  513
  514
  515
  516
  517
  518
  519
  520
  521
  522
  523
  524
  525
  526
  527
  528
  529
  530
  531
  532
  533
  534
  535
  536
  537
  538
  539
  540
  541
  542
  543
  544
  545
  546
  547
  548
  549
  550
  551
  552
  553
  554
  555
  556
  557
  558
  559
  560
  561
  562
  563
  564
  565
  566
  567
  568
  569
  570
  571
  572
  573
  574
  575
  576
  577
  578
  579
  580
  581
  582
  583
  584
  585
  586
  587
  588
  589
  590
  591
  592
  593
  594
  595
  596
  597
  598
  599
  600
  601
  602
  603
  604
  605
  606
  607
  608
  609
  610
  611
  612
  613
  614
  615
  616
  617
  618
  619
  620
  621
  622
  623
  624
  625
  626
  627
  628
  629
  630
  631
  632
  633
  634
  635
  636
  637
  638
  639
  640
  641
  642
  643
  644
  645
  646
  647
  648
  649
  650
  651
  652
  653
  654
  655
  656
  657
  658
  659
  660
  661
  662
  663
  664
  665
  666
  667
  668
  669
  670
  671
  672
  673
  674
  675
  676
  677
  678
  679
  680
  681
  682
  683
  684
  685
  686
  687
  688
  689
  690
  691
  692
  693
  694
  695
  696
  697
  698
  699
  700
  701
  702
  703
  704
  705
  706
  707
  708
  709
  710
  711
  712
  713
  714
  715
  716
  717
  718
  719
  720
  721
  722
  723
  724
  725
  726
  727
  728
  729
  730
  731
  732
  733
  734
  735
  736
  737
  738
  739
  740
  741
  742
  743
  744
  745
  746
  747
  748
  749
  750
  751
  752
  753
  754
  755
  756
  757
  758
  759
  760
  761
  762
  763
  764
  765
  766
  767
  768
  769
  770
  771
  772
  773
  774
  775
  776
  777
  778
  779
  780
  781
  782
  783
  784
  785
  786
  787
  788
  789
  790
  791
  792
  793
  794
  795
  796
  797
  798
  799
  800
  801
  802
  803
  804
  805
  806
  807
  808
  809
  810
  811
  812
  813
  814
  815
  816
  817
  818
  819
  820
  821
  822
  823
  824
  825
  826
  827
  828
  829
  830
  831
  832
  833
  834
  835
  836
  837
  838
  839
  840
  841
  842
  843
  844
  845
  846
  847
  848
  849
  850
  851
  852
  853
  854
  855
  856
  857
  858
  859
  860
  861
  862
  863
  864
  865
  866
  867
  868
  869
  870
  871
  872
  873
  874
  875
  876
  877
  878
  879
  880
  881
  882
  883
  884
  885
  886
  887
  888
  889
  890
  891
  892
  893
  894
  895
  896
  897
  898
  899
  900
  901
  902
  903
  904
  905
  906
  907
  908
  909
  910
  911
  912
  913
  914
  915
  916
  917
  918
  919
  920
  921
  922
  923
  924
  925
  926
  927
  928
  929
  930
  931
  932
  933
  934
  935
  936
  937
  938
  939
  940
  941
  942
  943
  944
  945
  946
  947
  948
  949
  950
  951
  952
  953
  954
  955
  956
  957
  958
  959
  960
  961
  962
  963
  964
  965
  966
  967
  968
  969
  970
  971
  972
  973
  974
  975
  976
  977
  978
  979
  980
  981
  982
  983
  984
  985
  986
  987
  988
  989
  990
  991
  992
  993
  994
  995
  996
  997
  998
  999
 1000
 1001
 1002
 1003
 1004
 1005
 1006
 1007
 1008
 1009
 1010
 1011
 1012
 1013
 1014
 1015
 1016
 1017
 1018
 1019
 1020
 1021
 1022
 1023
 1024
 1025
 1026
 1027
 1028
 1029
 1030
 1031
 1032
 1033
 1034
 1035
 1036
 1037
 1038
 1039
 1040
 1041
 1042
 1043
 1044
 1045
 1046
 1047
 1048
 1049
 1050
 1051
 1052
 1053
 1054
 1055
 1056
 1057
 1058
 1059
 1060
 1061
 1062
 1063
 1064
 1065
 1066
 1067
 1068
 1069
 1070
 1071
 1072
 1073
 1074
 1075
 1076
 1077
 1078
 1079
 1080
 1081
 1082
 1083
 1084
 1085
 1086
 1087
 1088
 1089
 1090
 1091
 1092
 1093
 1094
 1095
 1096
 1097
 1098
 1099
 1100
 1101
 1102
 1103
 1104
 1105
 1106
 1107
 1108
 1109
 1110
 1111
 1112
 1113
 1114
 1115
 1116
 1117
 1118
 1119
 1120
 1121
 1122
 1123
 1124
 1125
 1126
 1127
 1128
 1129
 1130
 1131
 1132
 1133
 1134
 1135
 1136
 1137
 1138
 1139
 1140
 1141
 1142
 1143
 1144
 1145
 1146
 1147
 1148
 1149
 1150
 1151
 1152
 1153
 1154
 1155
 1156
 1157
 1158
 1159
 1160
 1161
 1162
 1163
 1164
 1165
 1166
 1167
 1168
 1169
 1170
 1171
 1172
 1173
 1174
 1175
 1176
 1177
 1178
 1179
 1180
 1181
 1182
 1183
 1184
 1185
 1186
 1187
 1188
 1189
 1190
 1191
 1192
 1193
 1194
 1195
 1196
 1197
 1198
 1199
 1200
 1201
 1202
 1203
 1204
 1205
 1206
 1207
 1208
 1209
 1210
 1211
 1212
 1213
 1214
 1215
 1216
 1217
 1218
 1219
 1220
 1221
 1222
 1223
 1224
 1225
 1226
 1227
 1228
 1229
 1230
 1231
 1232
 1233
 1234
 1235
 1236
 1237
 1238
 1239
 1240
 1241
 1242
 1243
 1244
 1245
 1246
 1247
 1248
 1249
 1250
 1251
 1252
 1253
 1254
 1255
 1256
 1257
 1258
 1259
 1260
 1261
 1262
 1263
 1264
 1265
 1266
 1267
 1268
 1269
 1270
 1271
 1272
 1273
 1274
 1275
 1276
 1277
 1278
 1279
 1280
 1281
 1282
 1283
 1284
 1285
 1286
 1287
 1288
 1289
 1290
 1291
 1292
 1293
 1294
 1295
 1296
 1297
 1298
 1299
 1300
 1301
 1302
 1303
 1304
 1305
 1306
 1307
 1308
 1309
 1310
 1311
 1312
 1313
 1314
 1315
 1316
 1317
 1318
 1319
 1320
 1321
 1322
 1323
 1324
 1325
 1326
 1327
 1328
 1329
 1330
 1331
 1332
 1333
 1334
 1335
 1336
 1337
 1338
 1339
 1340
 1341
 1342
 1343
 1344
 1345
 1346
 1347
 1348
 1349
 1350
 1351
 1352
 1353
 1354
 1355
 1356
 1357
 1358
 1359
 1360
 1361
 1362
 1363
 1364
 1365
 1366
 1367
 1368
 1369
 1370
 1371
 1372
 1373
 1374
 1375
 1376
 1377
 1378
 1379
 1380
 1381
 1382
 1383
 1384
 1385
 1386
 1387
 1388
 1389
 1390
 1391
 1392
 1393
 1394
 1395
 1396
 1397
 1398
 1399
 1400
 1401
 1402
 1403
 1404
 1405
 1406
 1407
 1408
 1409
 1410
 1411
 1412
 1413
 1414
 1415
 1416
 1417
 1418
 1419
 1420
 1421
 1422
 1423
 1424
 1425
 1426
 1427
 1428
 1429
 1430
 1431
 1432
 1433
 1434
 1435
 1436
 1437
 1438
 1439
 1440
 1441
 1442
 1443
 1444
 1445
 1446
 1447
 1448
 1449
 1450
 1451
 1452
 1453
 1454
 1455
 1456
 1457
 1458
 1459
 1460
 1461
 1462
 1463
 1464
 1465
 1466
 1467
 1468
 1469
 1470
 1471
 1472
 1473
 1474
 1475
 1476
 1477
 1478
 1479
 1480
 1481
 1482
 1483
 1484
 1485
 1486
 1487
 1488
 1489
 1490
 1491
 1492
 1493
 1494
 1495
 1496
 1497
 1498
 1499
 1500
 1501
 1502
 1503
 1504
 1505
 1506
 1507
 1508
 1509
 1510
 1511
 1512
 1513
 1514
 1515
 1516
 1517
 1518
 1519
 1520
 1521
 1522
 1523
 1524
 1525
 1526
 1527
 1528
 1529
 1530
 1531
 1532
 1533
 1534
 1535
 1536
 1537
 1538
 1539
 1540
 1541
 1542
 1543
 1544
 1545
 1546
 1547
 1548
 1549
 1550
 1551
 1552
 1553
 1554
 1555
 1556
 1557
 1558
 1559
 1560
 1561
 1562
 1563
 1564
 1565
 1566
 1567
 1568
 1569
 1570
 1571
 1572
 1573
 1574
 1575
 1576
 1577
 1578
 1579
 1580
 1581
 1582
 1583
 1584
 1585
 1586
 1587
 1588
 1589
 1590
 1591
 1592
 1593
 1594
 1595
 1596
 1597
 1598
 1599
 1600
 1601
 1602
 1603
 1604
 1605
 1606
 1607
 1608
 1609
 1610
 1611
 1612
 1613
 1614
 1615
 1616
 1617
 1618
 1619
 1620
 1621
 1622
 1623
 1624
 1625
 1626
 1627
 1628
 1629
 1630
 1631
 1632
 1633
 1634
 1635
 1636
 1637
 1638
 1639
 1640
 1641
 1642
 1643
 1644
 1645
 1646
 1647
 1648
 1649
 1650
 1651
 1652
 1653
 1654
 1655
 1656
 1657
 1658
 1659
 1660
 1661
 1662
 1663
 1664
 1665
 1666
 1667
 1668
 1669
 1670
 1671
 1672
 1673
 1674
 1675
 1676
 1677
 1678
 1679
 1680
 1681
 1682
 1683
 1684
 1685
 1686
 1687
 1688
 1689
 1690
 1691
 1692
 1693
 1694
 1695
 1696
 1697
 1698
 1699
 1700
 1701
 1702
 1703
 1704
 1705
 1706
 1707
 1708
 1709
 1710
 1711
 1712
 1713
 1714
 1715
 1716
 1717
 1718
 1719
 1720
 1721
 1722
 1723
 1724
 1725
 1726
 1727
 1728
 1729
 1730
 1731
 1732
 1733
 1734
 1735
 1736
 1737
 1738
 1739
 1740
 1741
 1742
 1743
 1744
 1745
 1746
 1747
 1748
 1749
 1750
 1751
 1752
 1753
 1754
 1755
 1756
 1757
 1758
 1759
 1760
 1761
 1762
 1763
 1764
 1765
 1766
 1767
 1768
 1769
 1770
 1771
 1772
 1773
 1774
 1775
 1776
 1777
 1778
 1779
 1780
 1781
 1782
 1783
 1784
 1785
 1786
 1787
 1788
 1789
 1790
 1791
 1792
 1793
 1794
 1795
 1796
 1797
 1798
 1799
 1800
 1801
 1802
 1803
 1804
 1805
 1806
 1807
 1808
 1809
 1810
 1811
 1812
 1813
 1814
 1815
 1816
 1817
 1818
 1819
 1820
 1821
 1822
 1823
 1824
 1825
 1826
 1827
 1828
 1829
 1830
 1831
 1832
 1833
 1834
 1835
 1836
 1837
 1838
 1839
 1840
 1841
 1842
 1843
 1844
 1845
 1846
 1847
 1848
 1849
 1850
 1851
 1852
 1853
 1854
 1855
 1856
 1857
 1858
 1859
 1860
 1861
 1862
 1863
 1864
 1865
 1866
 1867
 1868
 1869
 1870
 1871
 1872
 1873
 1874
 1875
 1876
 1877
 1878
 1879
 1880
 1881
 1882
 1883
 1884
 1885
 1886
 1887
 1888
 1889
 1890
 1891
 1892
 1893
 1894
 1895
 1896
 1897
 1898
 1899
 1900
 1901
 1902
 1903
 1904
 1905
 1906
 1907
 1908
 1909
 1910
 1911
 1912
 1913
 1914
 1915
 1916
 1917
 1918
 1919
 1920
 1921
 1922
 1923
 1924
 1925
 1926
 1927
 1928
 1929
 1930
 1931
 1932
 1933
 1934
 1935
 1936
 1937
 1938
 1939
 1940
 1941
 1942
 1943
 1944
 1945
 1946
 1947
 1948
 1949
 1950
 1951
 1952
 1953
 1954
 1955
 1956
 1957
 1958
 1959
 1960
 1961
 1962
 1963
 1964
 1965
 1966
 1967
 1968
 1969
 1970
 1971
 1972
 1973
 1974
 1975
 1976
 1977
 1978
 1979
 1980
 1981
 1982
 1983
 1984
 1985
 1986
 1987
 1988
 1989
 1990
 1991
 1992
 1993
 1994
 1995
 1996
 1997
 1998
 1999
 2000
 2001
 2002
 2003
 2004
 2005
 2006
 2007
 2008
 2009
 2010
 2011
 2012
 2013
 2014
 2015
 2016
 2017
 2018
 2019
 2020
 2021
 2022
 2023
 2024
 2025
 2026
 2027
 2028
 2029
 2030
 2031
 2032
 2033
 2034
 2035
 2036
 2037
 2038
 2039
 2040
 2041
 2042
 2043
 2044
 2045
 2046
 2047
 2048
 2049
 2050
 2051
 2052
 2053
 2054
 2055
 2056
 2057
 2058
 2059
 2060
 2061
 2062
 2063
 2064
 2065
 2066
 2067
 2068
 2069
 2070
 2071
 2072
 2073
 2074
 2075
 2076
 2077
 2078
 2079
 2080
 2081
 2082
 2083
 2084
 2085
 2086
 2087
 2088
 2089
 2090
 2091
 2092
 2093
 2094
 2095
 2096
 2097
 2098
 2099
 2100
 2101
 2102
 2103
 2104
 2105
 2106
 2107
 2108
 2109
 2110
 2111
 2112
 2113
 2114
 2115
 2116
 2117
 2118
 2119
 2120
 2121
 2122
 2123
 2124
 2125
 2126
 2127
 2128
 2129
 2130
 2131
 2132
 2133
 2134
 2135
 2136
 2137
 2138
 2139
 2140
 2141
 2142
 2143
 2144
 2145
 2146
 2147
 2148
 2149
 2150
 2151
 2152
 2153
 2154
 2155
 2156
 2157
 2158
 2159
 2160
 2161
 2162
 2163
 2164
 2165
 2166
 2167
 2168
 2169
 2170
 2171
 2172
 2173
 2174
 2175
 2176
 2177
 2178
 2179
 2180
 2181
 2182
 2183
 2184
 2185
 2186
 2187
 2188
 2189
 2190
 2191
 2192
 2193
 2194
 2195
 2196
 2197
 2198
 2199
 2200
 2201
 2202
 2203
 2204
 2205
 2206
 2207
 2208
 2209
 2210
 2211
 2212
 2213
 2214
 2215
 2216
 2217
 2218
 2219
 2220
 2221
 2222
 2223
 2224
 2225
 2226
 2227
 2228
 2229
 2230
 2231
 2232
 2233
 2234
 2235
 2236
 2237
 2238
 2239
 2240
 2241
 2242
 2243
 2244
 2245
 2246
 2247
 2248
 2249
 2250
 2251
 2252
 2253
 2254
 2255
 2256
 2257
 2258
 2259
 2260
 2261
 2262
 2263
 2264
 2265
 2266
 2267
 2268
 2269
 2270
 2271
 2272
 2273
 2274
 2275
 2276
 2277
 2278
 2279
 2280
 2281
 2282
 2283
 2284
 2285
 2286
 2287
 2288
 2289
 2290
 2291
 2292
 2293
 2294
 2295
 2296
 2297
 2298
 2299
 2300
 2301
 2302
 2303
 2304
 2305
 2306
 2307
 2308
 2309
 2310
 2311
 2312
 2313
 2314
 2315
 2316
 2317
 2318
 2319
 2320
 2321
 2322
 2323
 2324
 2325
 2326
 2327
 2328
 2329
 2330
 2331
 2332
 2333
 2334
 2335
 2336
 2337
 2338
 2339
 2340
 2341
 2342
 2343
 2344
 2345
 2346
 2347
 2348
 2349
 2350
 2351
 2352
 2353
 2354
 2355
 2356
 2357
 2358
 2359
 2360
 2361
 2362
 2363
 2364
 2365
 2366
 2367
 2368
 2369
 2370
 2371
 2372
 2373
 2374
 2375
 2376
 2377
 2378
 2379
 2380
 2381
 2382
 2383
 2384
 2385
 2386
 2387
 2388
 2389
 2390
 2391
 2392
 2393
 2394
 2395
 2396
 2397
 2398
 2399
 2400
 2401
 2402
 2403
 2404
 2405
 2406
 2407
 2408
 2409
 2410
 2411
 2412
 2413
 2414
 2415
 2416
 2417
 2418
 2419
 2420
 2421
 2422
 2423
 2424
 2425
 2426
 2427
 2428
 2429
 2430
 2431
 2432
 2433
 2434
 2435
 2436
 2437
 2438
 2439
 2440
 2441
 2442
 2443
 2444
 2445
 2446
 2447
 2448
 2449
 2450
 2451
 2452
 2453
 2454
 2455
 2456
 2457
 2458
 2459
 2460
 2461
 2462
 2463
 2464
 2465
 2466
 2467
 2468
 2469
 2470
 2471
 2472
 2473
 2474
 2475
 2476
 2477
 2478
 2479
 2480
 2481
 2482
 2483
 2484
 2485
 2486
 2487
 2488
 2489
 2490
 2491
 2492
 2493
 2494
 2495
 2496
 2497
 2498
 2499
 2500
 2501
 2502
 2503
 2504
 2505
 2506
 2507
 2508
 2509
 2510
 2511
 2512
 2513
 2514
 2515
 2516
 2517
 2518
 2519
 2520
 2521
 2522
 2523
 2524
 2525
 2526
 2527
 2528
 2529
 2530
 2531
 2532
 2533
 2534
 2535
 2536
 2537
 2538
 2539
 2540
 2541
 2542
 2543
 2544
 2545
 2546
 2547
 2548
 2549
 2550
 2551
 2552
 2553
 2554
 2555
 2556
 2557
 2558
 2559
 2560
 2561
 2562
 2563
 2564
 2565
 2566
 2567
 2568
 2569
 2570
 2571
 2572
 2573
 2574
 2575
 2576
 2577
 2578
 2579
 2580
 2581
 2582
 2583
 2584
 2585
 2586
 2587
 2588
 2589
 2590
 2591
 2592
 2593
 2594
 2595
 2596
 2597
 2598
 2599
 2600
 2601
 2602
 2603
 2604
 2605
 2606
 2607
 2608
 2609
 2610
 2611
 2612
 2613
 2614
 2615
 2616
 2617
 2618
 2619
 2620
 2621
 2622
 2623
 2624
 2625
 2626
 2627
 2628
 2629
 2630
 2631
 2632
 2633
 2634
 2635
 2636
 2637
 2638
 2639
 2640
 2641
 2642
 2643
 2644
 2645
 2646
 2647
 2648
 2649
 2650
 2651
 2652
 2653
 2654
 2655
 2656
 2657
 2658
 2659
 2660
 2661
 2662
 2663
 2664
 2665
 2666
 2667
 2668
 2669
 2670
 2671
 2672
 2673
 2674
 2675
 2676
 2677
 2678
 2679
 2680
 2681
 2682
 2683
 2684
 2685
 2686
 2687
 2688
 2689
 2690
 2691
 2692
 2693
 2694
 2695
 2696
 2697
 2698
 2699
 2700
 2701
 2702
 2703
 2704
 2705
 2706
 2707
 2708
 2709
 2710
 2711
 2712
 2713
 2714
 2715
 2716
 2717
 2718
 2719
 2720
 2721
 2722
 2723
 2724
 2725
 2726
 2727
 2728
 2729
 2730
 2731
 2732
 2733
 2734
 2735
 2736
 2737
 2738
 2739
 2740
 2741
 2742
 2743
 2744
 2745
 2746
 2747
 2748
 2749
 2750
 2751
 2752
 2753
 2754
 2755
 2756
 2757
 2758
 2759
 2760
 2761
 2762
 2763
 2764
 2765
 2766
 2767
 2768
 2769
 2770
 2771
 2772
 2773
 2774
 2775
 2776
 2777
 2778
 2779
 2780
 2781
 2782
 2783
 2784
 2785
 2786
 2787
 2788
 2789
 2790
 2791
 2792
 2793
 2794
 2795
 2796
 2797
 2798
 2799
 2800
 2801
 2802
 2803
 2804
 2805
 2806
 2807
 2808
 2809
 2810
 2811
 2812
 2813
 2814
 2815
 2816
 2817
 2818
 2819
 2820
 2821
 2822
 2823
 2824
 2825
 2826
 2827
 2828
 2829
 2830
 2831
 2832
 2833
 2834
 2835
 2836
 2837
 2838
 2839
 2840
 2841
 2842
 2843
 2844
 2845
 2846
 2847
 2848
 2849
 2850
 2851
 2852
 2853
 2854
 2855
 2856
 2857
 2858
 2859
 2860
 2861
 2862
 2863
 2864
 2865
 2866
 2867
 2868
 2869
 2870
 2871
 2872
 2873
 2874
 2875
 2876
 2877
 2878
 2879
 2880
 2881
 2882
 2883
 2884
 2885
 2886
 2887
 2888
 2889
 2890
 2891
 2892
 2893
 2894
 2895
 2896
 2897
 2898
 2899
 2900
 2901
 2902
 2903
 2904
 2905
 2906
 2907
 2908
 2909
 2910
 2911
 2912
 2913
 2914
 2915
 2916
 2917
 2918
 2919
 2920
 2921
 2922
 2923
 2924
 2925
 2926
 2927
 2928
 2929
 2930
 2931
 2932
 2933
 2934
 2935
 2936
 2937
 2938
 2939
 2940
 2941
 2942
 2943
 2944
 2945
 2946
 2947
 2948
 2949
 2950
 2951
 2952
 2953
 2954
 2955
 2956
 2957
 2958
 2959
 2960
 2961
 2962
 2963
 2964
 2965
 2966
 2967
 2968
 2969
 2970
 2971
 2972
 2973
 2974
 2975
 2976
 2977
 2978
 2979
 2980
 2981
 2982
 2983
 2984
 2985
 2986
 2987
 2988
 2989
 2990
 2991
 2992
 2993
 2994
 2995
 2996
 2997
 2998
 2999
 3000
 3001
 3002
 3003
 3004
 3005
 3006
 3007
 3008
 3009
 3010
 3011
 3012
 3013
 3014
 3015
 3016
 3017
 3018
 3019
 3020
 3021
 3022
 3023
 3024
 3025
 3026
 3027
 3028
 3029
 3030
 3031
 3032
 3033
 3034
 3035
 3036
 3037
 3038
 3039
 3040
 3041
 3042
 3043
 3044
 3045
 3046
 3047
 3048
 3049
 3050
 3051
 3052
 3053
 3054
 3055
 3056
 3057
 3058
 3059
 3060
 3061
 3062
 3063
 3064
 3065
 3066
 3067
 3068
 3069
 3070
 3071
 3072
 3073
 3074
 3075
 3076
 3077
 3078
 3079
 3080
 3081
 3082
 3083
 3084
 3085
 3086
 3087
 3088
 3089
 3090
 3091
 3092
 3093
 3094
 3095
 3096
 3097
 3098
 3099
 3100
 3101
 3102
 3103
 3104
 3105
 3106
 3107
 3108
 3109
 3110
 3111
 3112
 3113
 3114
 3115
 3116
 3117
 3118
 3119
 3120
 3121
 3122
 3123
 3124
 3125
 3126
 3127
 3128
 3129
 3130
 3131
 3132
 3133
 3134
 3135
 3136
 3137
 3138
 3139
 3140
 3141
 3142
 3143
 3144
 3145
 3146
 3147
 3148
 3149
 3150
 3151
 3152
 3153
 3154
 3155
 3156
 3157
 3158
 3159
 3160
 3161
 3162
 3163
 3164
 3165
 3166
 3167
 3168
 3169
 3170
 3171
 3172
 3173
 3174
 3175
 3176
 3177
 3178
 3179
 3180
 3181
 3182
 3183
 3184
 3185
 3186
 3187
 3188
 3189
 3190
 3191
 3192
 3193
 3194
 3195
 3196
 3197
 3198
 3199
 3200
 3201
 3202
 3203
 3204
 3205
 3206
 3207
 3208
 3209
 3210
 3211
 3212
 3213
 3214
 3215
 3216
 3217
 3218
 3219
 3220
 3221
 3222
 3223
 3224
 3225
 3226
 3227
 3228
 3229
 3230
 3231
 3232
 3233
 3234
 3235
 3236
 3237
 3238
 3239
 3240
 3241
 3242
 3243
 3244
 3245
 3246
 3247
 3248
 3249
 3250
 3251
 3252
 3253
 3254
 3255
 3256
 3257
 3258
 3259
 3260
 3261
 3262
 3263
 3264
 3265
 3266
 3267
 3268
 3269
 3270
 3271
 3272
 3273
 3274
 3275
 3276
 3277
 3278
 3279
 3280
 3281
 3282
 3283
 3284
 3285
 3286
 3287
 3288
 3289
 3290
 3291
 3292
 3293
 3294
 3295
 3296
 3297
 3298
 3299
 3300
 3301
 3302
 3303
 3304
 3305
 3306
 3307
 3308
 3309
 3310
 3311
 3312
 3313
 3314
 3315
 3316
 3317
 3318
 3319
 3320
 3321
 3322
 3323
 3324
 3325
 3326
 3327
 3328
 3329
 3330
 3331
 3332
 3333
 3334
 3335
 3336
 3337
 3338
 3339
 3340
 3341
 3342
 3343
 3344
 3345
 3346
 3347
 3348
 3349
 3350
 3351
 3352
 3353
 3354
 3355
 3356
 3357
 3358
 3359
 3360
 3361
 3362
 3363
 3364
 3365
 3366
 3367
 3368
 3369
 3370
 3371
 3372
 3373
 3374
 3375
 3376
 3377
 3378
 3379
 3380
 3381
 3382
 3383
 3384
 3385
 3386
 3387
 3388
 3389
 3390
 3391
 3392
 3393
 3394
 3395
 3396
 3397
 3398
 3399
 3400
 3401
 3402
 3403
 3404
 3405
 3406
 3407
 3408
 3409
 3410
 3411
 3412
 3413
 3414
 3415
 3416
 3417
 3418
 3419
 3420
 3421
 3422
 3423
 3424
 3425
 3426
 3427
 3428
 3429
 3430
 3431
 3432
 3433
 3434
 3435
 3436
 3437
 3438
 3439
 3440
 3441
 3442
 3443
 3444
 3445
 3446
 3447
 3448
 3449
 3450
 3451
 3452
 3453
 3454
 3455
 3456
 3457
 3458
 3459
 3460
 3461
 3462
 3463
 3464
 3465
 3466
 3467
 3468
 3469
 3470
 3471
 3472
 3473
 3474
 3475
 3476
 3477
 3478
 3479
 3480
 3481
 3482
 3483
 3484
 3485
 3486
 3487
 3488
 3489
 3490
 3491
 3492
 3493
 3494
 3495
 3496
 3497
 3498
 3499
 3500
 3501
 3502
 3503
 3504
 3505
 3506
 3507
 3508
 3509
 3510
 3511
 3512
 3513
 3514
 3515
 3516
 3517
 3518
 3519
 3520
 3521
 3522
 3523
 3524
 3525
 3526
 3527
 3528
 3529
 3530
 3531
 3532
 3533
 3534
 3535
 3536
 3537
 3538
 3539
 3540
 3541
 3542
 3543
 3544
 3545
 3546
 3547
 3548
 3549
 3550
 3551
 3552
 3553
 3554
 3555
 3556
 3557
 3558
 3559
 3560
 3561
 3562
 3563
 3564
 3565
 3566
 3567
 3568
 3569
 3570
 3571
 3572
 3573
 3574
 3575
 3576
 3577
 3578
 3579
 3580
 3581
 3582
 3583
 3584
 3585
 3586
 3587
 3588
 3589
 3590
 3591
 3592
 3593
 3594
 3595
 3596
 3597
 3598
 3599
 3600
 3601
 3602
 3603
 3604
 3605
 3606
 3607
 3608
 3609
 3610
 3611
 3612
 3613
 3614
 3615
 3616
 3617
 3618
 3619
 3620
 3621
 3622
 3623
 3624
 3625
 3626
 3627
 3628
 3629
 3630
 3631
 3632
 3633
 3634
 3635
 3636
 3637
 3638
 3639
 3640
 3641
 3642
 3643
 3644
 3645
 3646
 3647
 3648
 3649
 3650
 3651
 3652
 3653
 3654
 3655
 3656
 3657
 3658
 3659
 3660
 3661
 3662
 3663
 3664
 3665
 3666
 3667
 3668
 3669
 3670
 3671
 3672
 3673
 3674
 3675
 3676
 3677
 3678
 3679
 3680
 3681
 3682
 3683
 3684
 3685
 3686
 3687
 3688
 3689
 3690
 3691
 3692
 3693
 3694
 3695
 3696
 3697
 3698
 3699
 3700
 3701
 3702
 3703
 3704
 3705
 3706
 3707
 3708
 3709
 3710
 3711
 3712
 3713
 3714
 3715
 3716
 3717
 3718
 3719
 3720
 3721
 3722
 3723
 3724
 3725
 3726
 3727
 3728
 3729
 3730
 3731
 3732
 3733
 3734
 3735
 3736
 3737
 3738
 3739
 3740
 3741
 3742
 3743
 3744
 3745
 3746
 3747
 3748
 3749
 3750
 3751
 3752
 3753
 3754
 3755
 3756
 3757
 3758
 3759
 3760
 3761
 3762
 3763
 3764
 3765
 3766
 3767
 3768
 3769
 3770
 3771
 3772
 3773
 3774
 3775
 3776
 3777
 3778
 3779
 3780
 3781
 3782
 3783
 3784
 3785
 3786
 3787
 3788
 3789
 3790
 3791
 3792
 3793
 3794
 3795
 3796
 3797
 3798
 3799
 3800
 3801
 3802
 3803
 3804
 3805
 3806
 3807
 3808
 3809
 3810
 3811
 3812
 3813
 3814
 3815
 3816
 3817
 3818
 3819
 3820
 3821
 3822
 3823
 3824
 3825
 3826
 3827
 3828
 3829
 3830
 3831
 3832
 3833
 3834
 3835
 3836
 3837
 3838
 3839
 3840
 3841
 3842
 3843
 3844
 3845
 3846
 3847
 3848
 3849
 3850
 3851
 3852
 3853
 3854
 3855
 3856
 3857
 3858
 3859
 3860
 3861
 3862
 3863
 3864
 3865
 3866
 3867
 3868
 3869
 3870
 3871
 3872
 3873
 3874
 3875
 3876
 3877
 3878
 3879
 3880
 3881
 3882
 3883
 3884
 3885
 3886
 3887
 3888
 3889
 3890
 3891
 3892
 3893
 3894
 3895
 3896
 3897
 3898
 3899
 3900
 3901
 3902
 3903
 3904
 3905
 3906
 3907
 3908
 3909
 3910
 3911
 3912
 3913
 3914
 3915
 3916
 3917
 3918
 3919
 3920
 3921
 3922
 3923
 3924
 3925
 3926
 3927
 3928
 3929
 3930
 3931
 3932
 3933
 3934
 3935
 3936
 3937
 3938
 3939
 3940
 3941
 3942
 3943
 3944
 3945
 3946
 3947
 3948
 3949
 3950
 3951
 3952
 3953
 3954
 3955
 3956
 3957
 3958
 3959
 3960
 3961
 3962
 3963
 3964
 3965
 3966
 3967
 3968
 3969
 3970
 3971
 3972
 3973
 3974
 3975
 3976
 3977
 3978
 3979
 3980
 3981
 3982
 3983
 3984
 3985
 3986
 3987
 3988
 3989
 3990
 3991
 3992
 3993
 3994
 3995
 3996
 3997
 3998
 3999
 4000
 4001
 4002
 4003
 4004
 4005
 4006
 4007
 4008
 4009
 4010
 4011
 4012
 4013
 4014
 4015
 4016
 4017
 4018
 4019
 4020
 4021
 4022
 4023
 4024
 4025
 4026
 4027
 4028
 4029
 4030
 4031
 4032
 4033
 4034
 4035
 4036
 4037
 4038
 4039
 4040
 4041
 4042
 4043
 4044
 4045
 4046
 4047
 4048
 4049
 4050
 4051
 4052
 4053
 4054
 4055
 4056
 4057
 4058
 4059
 4060
 4061
 4062
 4063
 4064
 4065
 4066
 4067
 4068
 4069
 4070
 4071
 4072
 4073
 4074
 4075
 4076
 4077
 4078
 4079
 4080
 4081
 4082
 4083
 4084
 4085
 4086
 4087
 4088
 4089
 4090
 4091
 4092
 4093
 4094
 4095
 4096
 4097
 4098
 4099
 4100
 4101
 4102
 4103
 4104
 4105
 4106
 4107
 4108
 4109
 4110
 4111
 4112
 4113
 4114
 4115
 4116
 4117
 4118
 4119
 4120
 4121
 4122
 4123
 4124
 4125
 4126
 4127
 4128
 4129
 4130
 4131
 4132
 4133
 4134
 4135
 4136
 4137
 4138
 4139
 4140
 4141
 4142
 4143
 4144
 4145
 4146
 4147
 4148
 4149
 4150
 4151
 4152
 4153
 4154
 4155
 4156
 4157
 4158
 4159
 4160
 4161
 4162
 4163
 4164
 4165
 4166
 4167
 4168
 4169
 4170
 4171
 4172
 4173
 4174
 4175
 4176
 4177
 4178
 4179
 4180
 4181
 4182
 4183
 4184
 4185
 4186
 4187
 4188
 4189
 4190
 4191
 4192
 4193
 4194
 4195
 4196
 4197
 4198
 4199
 4200
 4201
 4202
 4203
 4204
 4205
 4206
 4207
 4208
 4209
 4210
 4211
 4212
 4213
 4214
 4215
 4216
 4217
 4218
 4219
 4220
 4221
 4222
 4223
 4224
 4225
 4226
 4227
 4228
 4229
 4230
 4231
 4232
 4233
 4234
 4235
 4236
 4237
 4238
 4239
 4240
 4241
 4242
 4243
 4244
 4245
 4246
 4247
 4248
 4249
 4250
 4251
 4252
 4253
 4254
 4255
 4256
 4257
 4258
 4259
 4260
 4261
 4262
 4263
 4264
 4265
 4266
 4267
 4268
 4269
 4270
 4271
 4272
 4273
 4274
 4275
 4276
 4277
 4278
 4279
 4280
 4281
 4282
 4283
 4284
 4285
 4286
 4287
 4288
 4289
 4290
 4291
 4292
 4293
 4294
 4295
 4296
 4297
 4298
 4299
 4300
 4301
 4302
 4303
 4304
 4305
 4306
 4307
 4308
 4309
 4310
 4311
 4312
 4313
 4314
 4315
 4316
 4317
 4318
 4319
 4320
 4321
 4322
 4323
 4324
 4325
 4326
 4327
 4328
 4329
 4330
 4331
 4332
 4333
 4334
 4335
 4336
 4337
 4338
 4339
 4340
 4341
 4342
 4343
 4344
 4345
 4346
 4347
 4348
 4349
 4350
 4351
 4352
 4353
 4354
 4355
 4356
 4357
 4358
 4359
 4360
 4361
 4362
 4363
 4364
 4365
 4366
 4367
 4368
 4369
 4370
 4371
 4372
 4373
 4374
 4375
 4376
 4377
 4378
 4379
 4380
 4381
 4382
 4383
 4384
 4385
 4386
 4387
 4388
 4389
 4390
 4391
 4392
 4393
 4394
 4395
 4396
 4397
 4398
 4399
 4400
 4401
 4402
 4403
 4404
 4405
 4406
 4407
 4408
 4409
 4410
 4411
 4412
 4413
 4414
 4415
 4416
 4417
 4418
 4419
 4420
 4421
 4422
 4423
 4424
 4425
 4426
 4427
 4428
 4429
 4430
 4431
 4432
 4433
 4434
 4435
 4436
 4437
 4438
 4439
 4440
 4441
 4442
 4443
 4444
 4445
 4446
 4447
 4448
 4449
 4450
 4451
 4452
 4453
 4454
 4455
 4456
 4457
 4458
 4459
 4460
 4461
 4462
 4463
 4464
 4465
 4466
 4467
 4468
 4469
 4470
 4471
 4472
 4473
 4474
 4475
 4476
 4477
 4478
 4479
 4480
 4481
 4482
 4483
 4484
 4485
 4486
 4487
 4488
 4489
 4490
 4491
 4492
 4493
 4494
 4495
 4496
 4497
 4498
 4499
 4500
 4501
 4502
 4503
 4504
 4505
 4506
 4507
 4508
 4509
 4510
 4511
 4512
 4513
 4514
 4515
 4516
 4517
 4518
 4519
 4520
 4521
 4522
 4523
 4524
 4525
 4526
 4527
 4528
 4529
 4530
 4531
 4532
 4533
 4534
 4535
 4536
 4537
 4538
 4539
 4540
 4541
 4542
 4543
 4544
 4545
 4546
 4547
 4548
 4549
 4550
 4551
 4552
 4553
 4554
 4555
 4556
 4557
 4558
 4559
 4560
 4561
 4562
 4563
 4564
 4565
 4566
 4567
 4568
 4569
 4570
 4571
 4572
 4573
 4574
 4575
 4576
 4577
 4578
 4579
 4580
 4581
 4582
 4583
 4584
 4585
 4586
 4587
 4588
 4589
 4590
 4591
 4592
 4593
 4594
 4595
 4596
 4597
 4598
 4599
 4600
 4601
 4602
 4603
 4604
 4605
 4606
 4607
 4608
 4609
 4610
 4611
 4612
 4613
 4614
 4615
 4616
 4617
 4618
 4619
 4620
 4621
 4622
 4623
 4624
 4625
 4626
 4627
 4628
 4629
 4630
 4631
 4632
 4633
 4634
 4635
 4636
 4637
 4638
 4639
 4640
 4641
 4642
 4643
 4644
 4645
 4646
 4647
 4648
 4649
 4650
 4651
 4652
 4653
 4654
 4655
 4656
 4657
 4658
 4659
 4660
 4661
 4662
 4663
 4664
 4665
 4666
 4667
 4668
 4669
 4670
 4671
 4672
 4673
 4674
 4675
 4676
 4677
 4678
 4679
 4680
 4681
 4682
 4683
 4684
 4685
 4686
 4687
 4688
 4689
 4690
 4691
 4692
 4693
 4694
 4695
 4696
 4697
 4698
 4699
 4700
 4701
 4702
 4703
 4704
 4705
 4706
 4707
 4708
 4709
 4710
 4711
 4712
 4713
 4714
 4715
 4716
 4717
 4718
 4719
 4720
 4721
 4722
 4723
 4724
 4725
 4726
 4727
 4728
 4729
 4730
 4731
 4732
 4733
 4734
 4735
 4736
 4737
 4738
 4739
 4740
 4741
 4742
 4743
 4744
 4745
 4746
 4747
 4748
 4749
 4750
 4751
 4752
 4753
 4754
 4755
 4756
 4757
 4758
 4759
 4760
 4761
 4762
 4763
 4764
 4765
 4766
 4767
 4768
 4769
 4770
 4771
 4772
 4773
 4774
 4775
 4776
 4777
 4778
 4779
 4780
 4781
 4782
 4783
 4784
 4785
 4786
 4787
 4788
 4789
 4790
 4791
 4792
 4793
 4794
 4795
 4796
 4797
 4798
 4799
 4800
 4801
 4802
 4803
 4804
 4805
 4806
 4807
 4808
 4809
 4810
 4811
 4812
 4813
 4814
 4815
 4816
 4817
 4818
 4819
 4820
 4821
 4822
 4823
 4824
 4825
 4826
 4827
 4828
 4829
 4830
 4831
 4832
 4833
 4834
 4835
 4836
 4837
 4838
 4839
 4840
 4841
 4842
 4843
 4844
 4845
 4846
 4847
 4848
 4849
 4850
 4851
 4852
 4853
 4854
 4855
 4856
 4857
 4858
 4859
 4860
 4861
 4862
 4863
 4864
 4865
 4866
 4867
 4868
 4869
 4870
 4871
 4872
 4873
 4874
 4875
 4876
 4877
 4878
 4879
 4880
 4881
 4882
 4883
 4884
 4885
 4886
 4887
 4888
 4889
 4890
 4891
 4892
 4893
 4894
 4895
 4896
 4897
 4898
 4899
 4900
 4901
 4902
 4903
 4904
 4905
 4906
 4907
 4908
 4909
 4910
 4911
 4912
 4913
 4914
 4915
 4916
 4917
 4918
 4919
 4920
 4921
 4922
 4923
 4924
 4925
 4926
 4927
 4928
 4929
 4930
 4931
 4932
 4933
 4934
 4935
 4936
 4937
 4938
 4939
 4940
 4941
 4942
 4943
 4944
 4945
 4946
 4947
 4948
 4949
 4950
 4951
 4952
 4953
 4954
 4955
 4956
 4957
 4958
 4959
 4960
 4961
 4962
 4963
 4964
 4965
 4966
 4967
 4968
 4969
 4970
 4971
 4972
 4973
 4974
 4975
 4976
 4977
 4978
 4979
 4980
 4981
 4982
 4983
 4984
 4985
 4986
 4987
 4988
 4989
 4990
 4991
 4992
 4993
 4994
 4995
 4996
 4997
 4998
 4999
 5000
 5001
 5002
 5003
 5004
 5005
 5006
 5007
 5008
 5009
 5010
 5011
 5012
 5013
 5014
 5015
 5016
 5017
 5018
 5019
 5020
 5021
 5022
 5023
 5024
 5025
 5026
 5027
 5028
 5029
 5030
 5031
 5032
 5033
 5034
 5035
 5036
 5037
 5038
 5039
 5040
 5041
 5042
 5043
 5044
 5045
 5046
 5047
 5048
 5049
 5050
 5051
 5052
 5053
 5054
 5055
 5056
 5057
 5058
 5059
 5060
 5061
 5062
 5063
 5064
 5065
 5066
 5067
 5068
 5069
 5070
 5071
 5072
 5073
 5074
 5075
 5076
 5077
 5078
 5079
 5080
 5081
 5082
 5083
 5084
 5085
 5086
 5087
 5088
 5089
 5090
 5091
 5092
 5093
 5094
 5095
 5096
 5097
 5098
 5099
 5100
 5101
 5102
 5103
 5104
 5105
 5106
 5107
 5108
 5109
 5110
 5111
 5112
 5113
 5114
 5115
 5116
 5117
 5118
 5119
 5120
 5121
 5122
 5123
 5124
 5125
 5126
 5127
 5128
 5129
 5130
 5131
 5132
 5133
 5134
 5135
 5136
 5137
 5138
 5139
 5140
 5141
 5142
 5143
 5144
 5145
 5146
 5147
 5148
 5149
 5150
 5151
 5152
 5153
 5154
 5155
 5156
 5157
 5158
 5159
 5160
 5161
 5162
 5163
 5164
 5165
 5166
 5167
 5168
 5169
 5170
 5171
 5172
 5173
 5174
 5175
 5176
 5177
 5178
 5179
 5180
 5181
 5182
 5183
 5184
 5185
 5186
 5187
 5188
 5189
 5190
 5191
 5192
 5193
 5194
 5195
 5196
 5197
 5198
 5199
 5200
 5201
 5202
 5203
 5204
 5205
 5206
 5207
 5208
 5209
 5210
 5211
 5212
 5213
 5214
 5215
 5216
 5217
 5218
 5219
 5220
 5221
 5222
 5223
 5224
 5225
 5226
 5227
 5228
 5229
 5230
 5231
 5232
 5233
 5234
 5235
 5236
 5237
 5238
 5239
 5240
 5241
 5242
 5243
 5244
 5245
 5246
 5247
 5248
 5249
 5250
 5251
 5252
 5253
 5254
 5255
 5256
 5257
 5258
 5259
 5260
 5261
 5262
 5263
 5264
 5265
 5266
 5267
 5268
 5269
 5270
 5271
 5272
 5273
 5274
 5275
 5276
 5277
 5278
 5279
 5280
 5281
 5282
 5283
 5284
 5285
 5286
 5287
 5288
 5289
 5290
 5291
 5292
 5293
 5294
 5295
 5296
 5297
 5298
 5299
 5300
 5301
 5302
 5303
 5304
 5305
 5306
 5307
 5308
 5309
 5310
 5311
 5312
 5313
 5314
 5315
 5316
 5317
 5318
 5319
 5320
 5321
 5322
 5323
 5324
 5325
 5326
 5327
 5328
 5329
 5330
 5331
 5332
 5333
 5334
 5335
 5336
 5337
 5338
 5339
 5340
 5341
 5342
 5343
 5344
 5345
 5346
 5347
 5348
 5349
 5350
 5351
 5352
 5353
 5354
 5355
 5356
 5357
 5358
 5359
 5360
 5361
 5362
 5363
 5364
 5365
 5366
 5367
 5368
 5369
 5370
 5371
 5372
 5373
 5374
 5375
 5376
 5377
 5378
 5379
 5380
 5381
 5382
 5383
 5384
 5385
 5386
 5387
 5388
 5389
 5390
 5391
 5392
 5393
 5394
 5395
 5396
 5397
 5398
 5399
 5400
 5401
 5402
 5403
 5404
 5405
 5406
 5407
 5408
 5409
 5410
 5411
 5412
 5413
 5414
 5415
 5416
 5417
 5418
 5419
 5420
 5421
 5422
 5423
 5424
 5425
 5426
 5427
 5428
 5429
 5430
 5431
 5432
 5433
 5434
 5435
 5436
 5437
 5438
 5439
 5440
 5441
 5442
 5443
 5444
 5445
 5446
 5447
 5448
 5449
 5450
 5451
 5452
 5453
 5454
 5455
 5456
 5457
 5458
 5459
 5460
 5461
 5462
 5463
 5464
 5465
 5466
 5467
 5468
 5469
 5470
 5471
 5472
 5473
 5474
 5475
 5476
 5477
 5478
 5479
 5480
 5481
 5482
 5483
 5484
 5485
 5486
 5487
 5488
 5489
 5490
 5491
 5492
 5493
 5494
 5495
 5496
 5497
 5498
 5499
 5500
 5501
 5502
 5503
 5504
 5505
 5506
 5507
 5508
 5509
 5510
 5511
 5512
 5513
 5514
 5515
 5516
 5517
 5518
 5519
 5520
 5521
 5522
 5523
 5524
 5525
 5526
 5527
 5528
 5529
 5530
 5531
 5532
 5533
 5534
 5535
 5536
 5537
 5538
 5539
 5540
 5541
 5542
 5543
 5544
 5545
 5546
 5547
 5548
 5549
 5550
 5551
 5552
 5553
 5554
 5555
 5556
 5557
 5558
 5559
 5560
 5561
 5562
 5563
 5564
 5565
 5566
 5567
 5568
 5569
 5570
 5571
 5572
 5573
 5574
 5575
 5576
 5577
 5578
 5579
 5580
 5581
 5582
 5583
 5584
 5585
 5586
 5587
 5588
 5589
 5590
 5591
 5592
 5593
 5594
 5595
 5596
 5597
 5598
 5599
 5600
 5601
 5602
 5603
 5604
 5605
 5606
 5607
 5608
 5609
 5610
 5611
 5612
 5613
 5614
 5615
 5616
 5617
 5618
 5619
 5620
 5621
 5622
 5623
 5624
 5625
 5626
 5627
 5628
 5629
 5630
 5631
 5632
 5633
 5634
 5635
 5636
 5637
 5638
 5639
 5640
 5641
 5642
 5643
 5644
 5645
 5646
 5647
 5648
 5649
 5650
 5651
 5652
 5653
 5654
 5655
 5656
 5657
 5658
 5659
 5660
 5661
 5662
 5663
 5664
 5665
 5666
 5667
 5668
 5669
 5670
 5671
 5672
 5673
 5674
 5675
 5676
 5677
 5678
 5679
 5680
 5681
 5682
 5683
 5684
 5685
 5686
 5687
 5688
 5689
 5690
 5691
 5692
 5693
 5694
 5695
 5696
 5697
 5698
 5699
 5700
 5701
 5702
 5703
 5704
 5705
 5706
 5707
 5708
 5709
 5710
 5711
 5712
 5713
 5714
 5715
 5716
 5717
 5718
 5719
 5720
 5721
 5722
 5723
 5724
 5725
 5726
 5727
 5728
 5729
 5730
 5731
 5732
 5733
 5734
 5735
 5736
 5737
 5738
 5739
 5740
 5741
 5742
 5743
 5744
 5745
 5746
 5747
 5748
 5749
 5750
 5751
 5752
 5753
 5754
 5755
 5756
 5757
 5758
 5759
 5760
 5761
 5762
 5763
 5764
 5765
 5766
 5767
 5768
 5769
 5770
 5771
 5772
 5773
 5774
 5775
 5776
 5777
 5778
 5779
 5780
 5781
 5782
 5783
 5784
 5785
 5786
 5787
 5788
 5789
 5790
 5791
 5792
 5793
 5794
 5795
 5796
 5797
 5798
 5799
 5800
 5801
 5802
 5803
 5804
 5805
 5806
 5807
 5808
 5809
 5810
 5811
 5812
 5813
 5814
 5815
 5816
 5817
 5818
 5819
 5820
 5821
 5822
 5823
 5824
 5825
 5826
 5827
 5828
 5829
 5830
 5831
 5832
 5833
 5834
 5835
 5836
 5837
 5838
 5839
 5840
 5841
 5842
 5843
 5844
 5845
 5846
 5847
 5848
 5849
 5850
 5851
 5852
 5853
 5854
 5855
 5856
 5857
 5858
 5859
 5860
 5861
 5862
 5863
 5864
 5865
 5866
 5867
 5868
 5869
 5870
 5871
 5872
 5873
 5874
 5875
 5876
 5877
 5878
 5879
 5880
 5881
 5882
 5883
 5884
 5885
 5886
 5887
 5888
 5889
 5890
 5891
 5892
 5893
 5894
 5895
 5896
 5897
 5898
 5899
 5900
 5901
 5902
 5903
 5904
 5905
 5906
 5907
 5908
 5909
 5910
 5911
 5912
 5913
 5914
 5915
 5916
 5917
 5918
 5919
 5920
 5921
 5922
 5923
 5924
 5925
 5926
 5927
 5928
 5929
 5930
 5931
 5932
 5933
 5934
 5935
 5936
 5937
 5938
 5939
 5940
 5941
 5942
 5943
 5944
 5945
 5946
 5947
 5948
 5949
 5950
 5951
 5952
 5953
 5954
 5955
 5956
 5957
 5958
 5959
 5960
 5961
 5962
 5963
 5964
 5965
 5966
 5967
 5968
 5969
 5970
 5971
 5972
 5973
 5974
 5975
 5976
 5977
 5978
 5979
 5980
 5981
 5982
 5983
 5984
 5985
 5986
 5987
 5988
 5989
 5990
 5991
 5992
 5993
 5994
 5995
 5996
 5997
 5998
 5999
 6000
 6001
 6002
 6003
 6004
 6005
 6006
 6007
 6008
 6009
 6010
 6011
 6012
 6013
 6014
 6015
 6016
 6017
 6018
 6019
 6020
 6021
 6022
 6023
 6024
 6025
 6026
 6027
 6028
 6029
 6030
 6031
 6032
 6033
 6034
 6035
 6036
 6037
 6038
 6039
 6040
 6041
 6042
 6043
 6044
 6045
 6046
 6047
 6048
 6049
 6050
 6051
 6052
 6053
 6054
 6055
 6056
 6057
 6058
 6059
 6060
 6061
 6062
 6063
 6064
 6065
 6066
 6067
 6068
 6069
 6070
 6071
 6072
 6073
 6074
 6075
 6076
 6077
 6078
 6079
 6080
 6081
 6082
 6083
 6084
 6085
 6086
 6087
 6088
 6089
 6090
 6091
 6092
 6093
 6094
 6095
 6096
 6097
 6098
 6099
 6100
 6101
 6102
 6103
 6104
 6105
 6106
 6107
 6108
 6109
 6110
 6111
 6112
 6113
 6114
 6115
 6116
 6117
 6118
 6119
 6120
 6121
 6122
 6123
 6124
 6125
 6126
 6127
 6128
 6129
 6130
 6131
 6132
 6133
 6134
 6135
 6136
 6137
 6138
 6139
 6140
 6141
 6142
 6143
 6144
 6145
 6146
 6147
 6148
 6149
 6150
 6151
 6152
 6153
 6154
 6155
 6156
 6157
 6158
 6159
 6160
 6161
 6162
 6163
 6164
 6165
 6166
 6167
 6168
 6169
 6170
 6171
 6172
 6173
 6174
 6175
 6176
 6177
 6178
 6179
 6180
 6181
 6182
 6183
 6184
 6185
 6186
 6187
 6188
 6189
 6190
 6191
 6192
 6193
 6194
 6195
 6196
 6197
 6198
 6199
 6200
 6201
 6202
 6203
 6204
 6205
 6206
 6207
 6208
 6209
 6210
 6211
 6212
 6213
 6214
 6215
 6216
 6217
 6218
 6219
 6220
 6221
 6222
 6223
 6224
 6225
 6226
 6227
 6228
 6229
 6230
 6231
 6232
 6233
 6234
 6235
 6236
 6237
 6238
 6239
 6240
 6241
 6242
 6243
 6244
 6245
 6246
 6247
 6248
 6249
 6250
 6251
 6252
 6253
 6254
 6255
 6256
 6257
 6258
 6259
 6260
 6261
 6262
 6263
 6264
 6265
 6266
 6267
 6268
 6269
 6270
 6271
 6272
 6273
 6274
 6275
 6276
 6277
 6278
 6279
 6280
 6281
 6282
 6283
 6284
 6285
 6286
 6287
 6288
 6289
 6290
 6291
 6292
 6293
 6294
 6295
 6296
 6297
 6298
 6299
 6300
 6301
 6302
 6303
 6304
 6305
 6306
 6307
 6308
 6309
 6310
 6311
 6312
 6313
 6314
 6315
 6316
 6317
 6318
 6319
 6320
 6321
 6322
 6323
 6324
 6325
 6326
 6327
 6328
 6329
 6330
 6331
 6332
 6333
 6334
 6335
 6336
 6337
 6338
 6339
 6340
 6341
 6342
 6343
 6344
 6345
 6346
 6347
 6348
 6349
 6350
 6351
 6352
 6353
 6354
 6355
 6356
 6357
 6358
 6359
 6360
 6361
 6362
 6363
 6364
 6365
 6366
 6367
 6368
 6369
 6370
 6371
 6372
 6373
 6374
 6375
 6376
 6377
 6378
 6379
 6380
 6381
 6382
 6383
 6384
 6385
 6386
 6387
 6388
 6389
 6390
 6391
 6392
 6393
 6394
 6395
 6396
 6397
 6398
 6399
 6400
 6401
 6402
 6403
 6404
 6405
 6406
 6407
 6408
 6409
 6410
 6411
 6412
 6413
 6414
 6415
 6416
 6417
 6418
 6419
 6420
 6421
 6422
 6423
 6424
 6425
 6426
 6427
 6428
 6429
 6430
 6431
 6432
 6433
 6434
 6435
 6436
 6437
 6438
 6439
 6440
 6441
 6442
 6443
 6444
 6445
 6446
 6447
 6448
 6449
 6450
 6451
 6452
 6453
 6454
 6455
 6456
 6457
 6458
 6459
 6460
 6461
 6462
 6463
 6464
 6465
 6466
 6467
 6468
 6469
 6470
 6471
 6472
 6473
 6474
 6475
 6476
 6477
 6478
 6479
 6480
 6481
 6482
 6483
 6484
 6485
 6486
 6487
 6488
 6489
 6490
 6491
 6492
 6493
 6494
 6495
 6496
 6497
 6498
 6499
 6500
 6501
 6502
 6503
 6504
 6505
 6506
 6507
 6508
 6509
 6510
 6511
 6512
 6513
 6514
 6515
 6516
 6517
 6518
 6519
 6520
 6521
 6522
 6523
 6524
 6525
 6526
 6527
 6528
 6529
 6530
 6531
 6532
 6533
 6534
 6535
 6536
 6537
 6538
 6539
 6540
 6541
 6542
 6543
 6544
 6545
 6546
 6547
 6548
 6549
 6550
 6551
 6552
 6553
 6554
 6555
 6556
 6557
 6558
 6559
 6560
 6561
 6562
 6563
 6564
 6565
 6566
 6567
 6568
 6569
 6570
 6571
 6572
 6573
 6574
 6575
 6576
 6577
 6578
 6579
 6580
 6581
 6582
 6583
 6584
 6585
 6586
 6587
 6588
 6589
 6590
 6591
 6592
 6593
 6594
 6595
 6596
 6597
 6598
 6599
 6600
 6601
 6602
 6603
 6604
 6605
 6606
 6607
 6608
 6609
 6610
 6611
 6612
 6613
 6614
 6615
 6616
 6617
 6618
 6619
 6620
 6621
 6622
 6623
 6624
 6625
 6626
 6627
 6628
 6629
 6630
 6631
 6632
 6633
 6634
 6635
 6636
 6637
 6638
 6639
 6640
 6641
 6642
 6643
 6644
 6645
 6646
 6647
 6648
 6649
 6650
 6651
 6652
 6653
 6654
 6655
 6656
 6657
 6658
 6659
 6660
 6661
 6662
 6663
 6664
 6665
 6666
 6667
 6668
 6669
 6670
 6671
 6672
 6673
 6674
 6675
 6676
 6677
 6678
 6679
 6680
 6681
 6682
 6683
 6684
 6685
 6686
 6687
 6688
 6689
 6690
 6691
 6692
 6693
 6694
 6695
 6696
 6697
 6698
 6699
 6700
 6701
 6702
 6703
 6704
 6705
 6706
 6707
 6708
 6709
 6710
 6711
 6712
 6713
 6714
 6715
 6716
 6717
 6718
 6719
 6720
 6721
 6722
 6723
 6724
 6725
 6726
 6727
 6728
 6729
 6730
 6731
 6732
 6733
 6734
 6735
 6736
 6737
 6738
 6739
 6740
 6741
 6742
 6743
 6744
 6745
 6746
 6747
 6748
 6749
 6750
 6751
 6752
 6753
 6754
 6755
 6756
 6757
 6758
 6759
 6760
 6761
 6762
 6763
 6764
 6765
 6766
 6767
 6768
 6769
 6770
 6771
 6772
 6773
 6774
 6775
 6776
 6777
 6778
 6779
 6780
 6781
 6782
 6783
 6784
 6785
 6786
 6787
 6788
 6789
 6790
 6791
 6792
 6793
 6794
 6795
 6796
 6797
 6798
 6799
 6800
 6801
 6802
 6803
 6804
 6805
 6806
 6807
 6808
 6809
 6810
 6811
 6812
 6813
 6814
 6815
 6816
 6817
 6818
 6819
 6820
 6821
 6822
 6823
 6824
 6825
 6826
 6827
 6828
 6829
 6830
 6831
 6832
 6833
 6834
 6835
 6836
 6837
 6838
 6839
 6840
 6841
 6842
 6843
 6844
 6845
 6846
 6847
 6848
 6849
 6850
 6851
 6852
 6853
 6854
 6855
 6856
 6857
 6858
 6859
 6860
 6861
 6862
 6863
 6864
 6865
 6866
 6867
 6868
 6869
 6870
 6871
 6872
 6873
 6874
 6875
 6876
 6877
 6878
 6879
 6880
 6881
 6882
 6883
 6884
 6885
 6886
 6887
 6888
 6889
 6890
 6891
 6892
 6893
 6894
 6895
 6896
 6897
 6898
 6899
 6900
 6901
 6902
 6903
 6904
 6905
 6906
 6907
 6908
 6909
 6910
 6911
 6912
 6913
 6914
 6915
 6916
 6917
 6918
 6919
 6920
 6921
 6922
 6923
 6924
 6925
 6926
 6927
 6928
 6929
 6930
 6931
 6932
 6933
 6934
 6935
 6936
 6937
 6938
 6939
 6940
 6941
 6942
 6943
 6944
 6945
 6946
 6947
 6948
 6949
 6950
 6951
 6952
 6953
 6954
 6955
 6956
 6957
 6958
 6959
 6960
 6961
 6962
 6963
 6964
 6965
 6966
 6967
 6968
 6969
 6970
 6971
 6972
 6973
 6974
 6975
 6976
 6977
 6978
 6979
 6980
 6981
 6982
 6983
 6984
 6985
 6986
 6987
 6988
 6989
 6990
 6991
 6992
 6993
 6994
 6995
 6996
 6997
 6998
 6999
 7000
 7001
 7002
 7003
 7004
 7005
 7006
 7007
 7008
 7009
 7010
 7011
 7012
 7013
 7014
 7015
 7016
 7017
 7018
 7019
 7020
 7021
 7022
 7023
 7024
 7025
 7026
 7027
 7028
 7029
 7030
 7031
 7032
 7033
 7034
 7035
 7036
 7037
 7038
 7039
 7040
 7041
 7042
 7043
 7044
 7045
 7046
 7047
 7048
 7049
 7050
 7051
 7052
 7053
 7054
 7055
 7056
 7057
 7058
 7059
 7060
 7061
 7062
 7063
 7064
 7065
 7066
 7067
 7068
 7069
 7070
 7071
 7072
 7073
 7074
 7075
 7076
 7077
 7078
 7079
 7080
 7081
 7082
 7083
 7084
 7085
 7086
 7087
 7088
 7089
 7090
 7091
 7092
 7093
 7094
 7095
 7096
 7097
 7098
 7099
 7100
 7101
 7102
 7103
 7104
 7105
 7106
 7107
 7108
 7109
 7110
 7111
 7112
 7113
 7114
 7115
 7116
 7117
 7118
 7119
 7120
 7121
 7122
 7123
 7124
 7125
 7126
 7127
 7128
 7129
 7130
 7131
 7132
 7133
 7134
 7135
 7136
 7137
 7138
 7139
 7140
 7141
 7142
 7143
 7144
 7145
 7146
 7147
 7148
 7149
 7150
 7151
 7152
 7153
 7154
 7155
 7156
 7157
 7158
 7159
 7160
 7161
 7162
 7163
 7164
 7165
 7166
 7167
 7168
 7169
 7170
 7171
 7172
 7173
 7174
 7175
 7176
 7177
 7178
 7179
 7180
 7181
 7182
 7183
 7184
 7185
 7186
 7187
 7188
 7189
 7190
 7191
 7192
 7193
 7194
 7195
 7196
 7197
 7198
 7199
 7200
 7201
 7202
 7203
 7204
 7205
 7206
 7207
 7208
 7209
 7210
 7211
 7212
 7213
 7214
 7215
 7216
 7217
 7218
 7219
 7220
 7221
 7222
 7223
 7224
 7225
 7226
 7227
 7228
 7229
 7230
 7231
 7232
 7233
 7234
 7235
 7236
 7237
 7238
 7239
 7240
 7241
 7242
 7243
 7244
 7245
 7246
 7247
 7248
 7249
 7250
 7251
 7252
 7253
 7254
 7255
 7256
 7257
 7258
 7259
 7260
 7261
 7262
 7263
 7264
 7265
 7266
 7267
 7268
 7269
 7270
 7271
 7272
 7273
 7274
 7275
 7276
 7277
 7278
 7279
 7280
 7281
 7282
 7283
 7284
 7285
 7286
 7287
 7288
 7289
 7290
 7291
 7292
 7293
 7294
 7295
 7296
 7297
 7298
 7299
 7300
 7301
 7302
 7303
 7304
 7305
 7306
 7307
 7308
 7309
 7310
 7311
 7312
 7313
 7314
 7315
 7316
 7317
 7318
 7319
 7320
 7321
 7322
 7323
 7324
 7325
 7326
 7327
 7328
 7329
 7330
 7331
 7332
 7333
 7334
 7335
 7336
 7337
 7338
 7339
 7340
 7341
 7342
 7343
 7344
 7345
 7346
 7347
 7348
 7349
 7350
 7351
 7352
 7353
 7354
 7355
 7356
 7357
 7358
 7359
 7360
 7361
 7362
 7363
 7364
 7365
 7366
 7367
 7368
 7369
 7370
 7371
 7372
 7373
 7374
 7375
 7376
 7377
 7378
 7379
 7380
 7381
 7382
 7383
 7384
 7385
 7386
 7387
 7388
 7389
 7390
 7391
 7392
 7393
 7394
 7395
 7396
 7397
 7398
 7399
 7400
 7401
 7402
 7403
 7404
 7405
 7406
 7407
 7408
 7409
 7410
 7411
 7412
 7413
 7414
 7415
 7416
 7417
 7418
 7419
 7420
 7421
 7422
 7423
 7424
 7425
 7426
 7427
 7428
 7429
 7430
 7431
 7432
 7433
 7434
 7435
 7436
 7437
 7438
 7439
 7440
 7441
 7442
 7443
 7444
 7445
 7446
 7447
 7448
 7449
 7450
 7451
 7452
 7453
 7454
 7455
 7456
 7457
 7458
 7459
 7460
 7461
 7462
 7463
 7464
 7465
 7466
 7467
 7468
 7469
 7470
 7471
 7472
 7473
 7474
 7475
 7476
 7477
 7478
 7479
 7480
 7481
 7482
 7483
 7484
 7485
 7486
 7487
 7488
 7489
 7490
 7491
 7492
 7493
 7494
 7495
 7496
 7497
 7498
 7499
 7500
 7501
 7502
 7503
 7504
 7505
 7506
 7507
 7508
 7509
 7510
 7511
 7512
 7513
 7514
 7515
 7516
 7517
 7518
 7519
 7520
 7521
 7522
 7523
 7524
 7525
 7526
 7527
 7528
 7529
 7530
 7531
 7532
 7533
 7534
 7535
 7536
 7537
 7538
 7539
 7540
 7541
 7542
 7543
 7544
 7545
 7546
 7547
 7548
 7549
 7550
 7551
 7552
 7553
 7554
 7555
 7556
 7557
 7558
 7559
 7560
 7561
 7562
 7563
 7564
 7565
 7566
 7567
 7568
 7569
 7570
 7571
 7572
 7573
 7574
 7575
 7576
 7577
 7578
 7579
 7580
 7581
 7582
 7583
 7584
 7585
 7586
 7587
 7588
 7589
 7590
 7591
 7592
 7593
 7594
 7595
 7596
 7597
 7598
 7599
 7600
 7601
 7602
 7603
 7604
 7605
 7606
 7607
 7608
 7609
 7610
 7611
 7612
 7613
 7614
 7615
 7616
 7617
 7618
 7619
 7620
 7621
 7622
 7623
 7624
 7625
 7626
 7627
 7628
 7629
 7630
 7631
 7632
 7633
 7634
 7635
 7636
 7637
 7638
 7639
 7640
 7641
 7642
 7643
 7644
 7645
 7646
 7647
 7648
 7649
 7650
 7651
 7652
 7653
 7654
 7655
 7656
 7657
 7658
 7659
 7660
 7661
 7662
 7663
 7664
 7665
 7666
 7667
 7668
 7669
 7670
 7671
 7672
 7673
 7674
 7675
 7676
 7677
 7678
 7679
 7680
 7681
 7682
 7683
 7684
 7685
 7686
 7687
 7688
 7689
 7690
 7691
 7692
 7693
 7694
 7695
 7696
 7697
 7698
 7699
 7700
 7701
 7702
 7703
 7704
 7705
 7706
 7707
 7708
 7709
 7710
 7711
 7712
 7713
 7714
 7715
 7716
 7717
 7718
 7719
 7720
 7721
 7722
 7723
 7724
 7725
 7726
 7727
 7728
 7729
 7730
 7731
 7732
 7733
 7734
 7735
 7736
 7737
 7738
 7739
 7740
 7741
 7742
 7743
 7744
 7745
 7746
 7747
 7748
 7749
 7750
 7751
 7752
 7753
 7754
 7755
 7756
 7757
 7758
 7759
 7760
 7761
 7762
 7763
 7764
 7765
 7766
 7767
 7768
 7769
 7770
 7771
 7772
 7773
 7774
 7775
 7776
 7777
 7778
 7779
 7780
 7781
 7782
 7783
 7784
 7785
 7786
 7787
 7788
 7789
 7790
 7791
 7792
 7793
 7794
 7795
 7796
 7797
 7798
 7799
 7800
 7801
 7802
 7803
 7804
 7805
 7806
 7807
 7808
 7809
 7810
 7811
 7812
 7813
 7814
 7815
 7816
 7817
 7818
 7819
 7820
 7821
 7822
 7823
 7824
 7825
 7826
 7827
 7828
 7829
 7830
 7831
 7832
 7833
 7834
 7835
 7836
 7837
 7838
 7839
 7840
 7841
 7842
 7843
 7844
 7845
 7846
 7847
 7848
 7849
 7850
 7851
 7852
 7853
 7854
 7855
 7856
 7857
 7858
 7859
 7860
 7861
 7862
 7863
 7864
 7865
 7866
 7867
 7868
 7869
 7870
 7871
 7872
 7873
 7874
 7875
 7876
 7877
 7878
 7879
 7880
 7881
 7882
 7883
 7884
 7885
 7886
 7887
 7888
 7889
 7890
 7891
 7892
 7893
 7894
 7895
 7896
 7897
 7898
 7899
 7900
 7901
 7902
 7903
 7904
 7905
 7906
 7907
 7908
 7909
 7910
 7911
 7912
 7913
 7914
 7915
 7916
 7917
 7918
 7919
 7920
 7921
 7922
 7923
 7924
 7925
 7926
 7927
 7928
 7929
 7930
 7931
 7932
 7933
 7934
 7935
 7936
 7937
 7938
 7939
 7940
 7941
 7942
 7943
 7944
 7945
 7946
 7947
 7948
 7949
 7950
 7951
 7952
 7953
 7954
 7955
 7956
 7957
 7958
 7959
 7960
 7961
 7962
 7963
 7964
 7965
 7966
 7967
 7968
 7969
 7970
 7971
 7972
 7973
 7974
 7975
 7976
 7977
 7978
 7979
 7980
 7981
 7982
 7983
 7984
 7985
 7986
 7987
 7988
 7989
 7990
 7991
 7992
 7993
 7994
 7995
 7996
 7997
 7998
 7999
 8000
 8001
 8002
 8003
 8004
 8005
 8006
 8007
 8008
 8009
 8010
 8011
 8012
 8013
 8014
 8015
 8016
 8017
 8018
 8019
 8020
 8021
 8022
 8023
 8024
 8025
 8026
 8027
 8028
 8029
 8030
 8031
 8032
 8033
 8034
 8035
 8036
 8037
 8038
 8039
 8040
 8041
 8042
 8043
 8044
 8045
 8046
 8047
 8048
 8049
 8050
 8051
 8052
 8053
 8054
 8055
 8056
 8057
 8058
 8059
 8060
 8061
 8062
 8063
 8064
 8065
 8066
 8067
 8068
 8069
 8070
 8071
 8072
 8073
 8074
 8075
 8076
 8077
 8078
 8079
 8080
 8081
 8082
 8083
 8084
 8085
 8086
 8087
 8088
 8089
 8090
 8091
 8092
 8093
 8094
 8095
 8096
 8097
 8098
 8099
 8100
 8101
 8102
 8103
 8104
 8105
 8106
 8107
 8108
 8109
 8110
 8111
 8112
 8113
 8114
 8115
 8116
 8117
 8118
 8119
 8120
 8121
 8122
 8123
 8124
 8125
 8126
 8127
 8128
 8129
 8130
 8131
 8132
 8133
 8134
 8135
 8136
 8137
 8138
 8139
 8140
 8141
 8142
 8143
 8144
 8145
 8146
 8147
 8148
 8149
 8150
 8151
 8152
 8153
 8154
 8155
 8156
 8157
 8158
 8159
 8160
 8161
 8162
 8163
 8164
 8165
 8166
 8167
 8168
 8169
 8170
 8171
 8172
 8173
 8174
 8175
 8176
 8177
 8178
 8179
 8180
 8181
 8182
 8183
 8184
 8185
 8186
 8187
 8188
 8189
 8190
 8191
 8192
 8193
 8194
 8195
 8196
 8197
 8198
 8199
 8200
 8201
 8202
 8203
 8204
 8205
 8206
 8207
 8208
 8209
 8210
 8211
 8212
 8213
 8214
 8215
 8216
 8217
 8218
 8219
 8220
 8221
 8222
 8223
 8224
 8225
 8226
 8227
 8228
 8229
 8230
 8231
 8232
 8233
 8234
 8235
 8236
 8237
 8238
 8239
 8240
 8241
 8242
 8243
 8244
 8245
 8246
 8247
 8248
 8249
 8250
 8251
 8252
 8253
 8254
 8255
 8256
 8257
 8258
 8259
 8260
 8261
 8262
 8263
 8264
 8265
 8266
 8267
 8268
 8269
 8270
 8271
 8272
 8273
 8274
 8275
 8276
 8277
 8278
 8279
 8280
 8281
 8282
 8283
 8284
 8285
 8286
 8287
 8288
 8289
 8290
 8291
 8292
 8293
 8294
 8295
 8296
 8297
 8298
 8299
 8300
 8301
 8302
 8303
 8304
 8305
 8306
 8307
 8308
 8309
 8310
 8311
 8312
 8313
 8314
 8315
 8316
 8317
 8318
 8319
 8320
 8321
 8322
 8323
 8324
 8325
 8326
 8327
 8328
 8329
 8330
 8331
 8332
 8333
 8334
 8335
 8336
 8337
 8338
 8339
 8340
 8341
 8342
 8343
 8344
 8345
 8346
 8347
 8348
 8349
 8350
 8351
 8352
 8353
 8354
 8355
 8356
 8357
 8358
 8359
 8360
 8361
 8362
 8363
 8364
 8365
 8366
 8367
 8368
 8369
 8370
 8371
 8372
 8373
 8374
 8375
 8376
 8377
 8378
 8379
 8380
 8381
 8382
 8383
 8384
 8385
 8386
 8387
 8388
 8389
 8390
 8391
 8392
 8393
 8394
 8395
 8396
 8397
 8398
 8399
 8400
 8401
 8402
 8403
 8404
 8405
 8406
 8407
 8408
 8409
 8410
 8411
 8412
 8413
 8414
 8415
 8416
 8417
 8418
 8419
 8420
 8421
 8422
 8423
 8424
 8425
 8426
 8427
 8428
 8429
 8430
 8431
 8432
 8433
 8434
 8435
 8436
 8437
 8438
 8439
 8440
 8441
 8442
 8443
 8444
 8445
 8446
 8447
 8448
 8449
 8450
 8451
 8452
 8453
 8454
 8455
 8456
 8457
 8458
 8459
 8460
 8461
 8462
 8463
 8464
 8465
 8466
 8467
 8468
 8469
 8470
 8471
 8472
 8473
 8474
 8475
 8476
 8477
 8478
 8479
 8480
 8481
 8482
 8483
 8484
 8485
 8486
 8487
 8488
 8489
 8490
 8491
 8492
 8493
 8494
 8495
 8496
 8497
 8498
 8499
 8500
 8501
 8502
 8503
 8504
 8505
 8506
 8507
 8508
 8509
 8510
 8511
 8512
 8513
 8514
 8515
 8516
 8517
 8518
 8519
 8520
 8521
 8522
 8523
 8524
 8525
 8526
 8527
 8528
 8529
 8530
 8531
 8532
 8533
 8534
 8535
 8536
 8537
 8538
 8539
 8540
 8541
 8542
 8543
 8544
 8545
 8546
 8547
 8548
 8549
 8550
 8551
 8552
 8553
 8554
 8555
 8556
 8557
 8558
 8559
 8560
 8561
 8562
 8563
 8564
 8565
 8566
 8567
 8568
 8569
 8570
 8571
 8572
 8573
 8574
 8575
 8576
 8577
 8578
 8579
 8580
 8581
 8582
 8583
 8584
 8585
 8586
 8587
 8588
 8589
 8590
 8591
 8592
 8593
 8594
 8595
 8596
 8597
 8598
 8599
 8600
 8601
 8602
 8603
 8604
 8605
 8606
 8607
 8608
 8609
 8610
 8611
 8612
 8613
 8614
 8615
 8616
 8617
 8618
 8619
 8620
 8621
 8622
 8623
 8624
 8625
 8626
 8627
 8628
 8629
 8630
 8631
 8632
 8633
 8634
 8635
 8636
 8637
 8638
 8639
 8640
 8641
 8642
 8643
 8644
 8645
 8646
 8647
 8648
 8649
 8650
 8651
 8652
 8653
 8654
 8655
 8656
 8657
 8658
 8659
 8660
 8661
 8662
 8663
 8664
 8665
 8666
 8667
 8668
 8669
 8670
 8671
 8672
 8673
 8674
 8675
 8676
 8677
 8678
 8679
 8680
 8681
 8682
 8683
 8684
 8685
 8686
 8687
 8688
 8689
 8690
 8691
 8692
 8693
 8694
 8695
 8696
 8697
 8698
 8699
 8700
 8701
 8702
 8703
 8704
 8705
 8706
 8707
 8708
 8709
 8710
 8711
 8712
 8713
 8714
 8715
 8716
 8717
 8718
 8719
 8720
 8721
 8722
 8723
 8724
 8725
 8726
 8727
 8728
 8729
 8730
 8731
 8732
 8733
 8734
 8735
 8736
 8737
 8738
 8739
 8740
 8741
 8742
 8743
 8744
 8745
 8746
 8747
 8748
 8749
 8750
 8751
 8752
 8753
 8754
 8755
 8756
 8757
 8758
 8759
 8760
 8761
 8762
 8763
 8764
 8765
 8766
 8767
 8768
 8769
 8770
 8771
 8772
 8773
 8774
 8775
 8776
 8777
 8778
 8779
 8780
 8781
 8782
 8783
 8784
 8785
 8786
 8787
 8788
 8789
 8790
 8791
 8792
 8793
 8794
 8795
 8796
 8797
 8798
 8799
 8800
 8801
 8802
 8803
 8804
 8805
 8806
 8807
 8808
 8809
 8810
 8811
 8812
 8813
 8814
 8815
 8816
 8817
 8818
 8819
 8820
 8821
 8822
 8823
 8824
 8825
 8826
 8827
 8828
 8829
 8830
 8831
 8832
 8833
 8834
 8835
 8836
 8837
 8838
 8839
 8840
 8841
 8842
 8843
 8844
 8845
 8846
 8847
 8848
 8849
 8850
 8851
 8852
 8853
 8854
 8855
 8856
 8857
 8858
 8859
 8860
 8861
 8862
 8863
 8864
 8865
 8866
 8867
 8868
 8869
 8870
 8871
 8872
 8873
 8874
 8875
 8876
 8877
 8878
 8879
 8880
 8881
 8882
 8883
 8884
 8885
 8886
 8887
 8888
 8889
 8890
 8891
 8892
 8893
 8894
 8895
 8896
 8897
 8898
 8899
 8900
 8901
 8902
 8903
 8904
 8905
 8906
 8907
 8908
 8909
 8910
 8911
 8912
 8913
 8914
 8915
 8916
 8917
 8918
 8919
 8920
 8921
 8922
 8923
 8924
 8925
 8926
 8927
 8928
 8929
 8930
 8931
 8932
 8933
 8934
 8935
 8936
 8937
 8938
 8939
 8940
 8941
 8942
 8943
 8944
 8945
 8946
 8947
 8948
 8949
 8950
 8951
 8952
 8953
 8954
 8955
 8956
 8957
 8958
 8959
 8960
 8961
 8962
 8963
 8964
 8965
 8966
 8967
 8968
 8969
 8970
 8971
 8972
 8973
 8974
 8975
 8976
 8977
 8978
 8979
 8980
 8981
 8982
 8983
 8984
 8985
 8986
 8987
 8988
 8989
 8990
 8991
 8992
 8993
 8994
 8995
 8996
 8997
 8998
 8999
 9000
 9001
 9002
 9003
 9004
 9005
 9006
 9007
 9008
 9009
 9010
 9011
 9012
 9013
 9014
 9015
 9016
 9017
 9018
 9019
 9020
 9021
 9022
 9023
 9024
 9025
 9026
 9027
 9028
 9029
 9030
 9031
 9032
 9033
 9034
 9035
 9036
 9037
 9038
 9039
 9040
 9041
 9042
 9043
 9044
 9045
 9046
 9047
 9048
 9049
 9050
 9051
 9052
 9053
 9054
 9055
 9056
 9057
 9058
 9059
 9060
 9061
 9062
 9063
 9064
 9065
 9066
 9067
 9068
 9069
 9070
 9071
 9072
 9073
 9074
 9075
 9076
 9077
 9078
 9079
 9080
 9081
 9082
 9083
 9084
 9085
 9086
 9087
 9088
 9089
 9090
 9091
 9092
 9093
 9094
 9095
 9096
 9097
 9098
 9099
 9100
 9101
 9102
 9103
 9104
 9105
 9106
 9107
 9108
 9109
 9110
 9111
 9112
 9113
 9114
 9115
 9116
 9117
 9118
 9119
 9120
 9121
 9122
 9123
 9124
 9125
 9126
 9127
 9128
 9129
 9130
 9131
 9132
 9133
 9134
 9135
 9136
 9137
 9138
 9139
 9140
 9141
 9142
 9143
 9144
 9145
 9146
 9147
 9148
 9149
 9150
 9151
 9152
 9153
 9154
 9155
 9156
 9157
 9158
 9159
 9160
 9161
 9162
 9163
 9164
 9165
 9166
 9167
 9168
 9169
 9170
 9171
 9172
 9173
 9174
 9175
 9176
 9177
 9178
 9179
 9180
 9181
 9182
 9183
 9184
 9185
 9186
 9187
 9188
 9189
 9190
 9191
 9192
 9193
 9194
 9195
 9196
 9197
 9198
 9199
 9200
 9201
 9202
 9203
 9204
 9205
 9206
 9207
 9208
 9209
 9210
 9211
 9212
 9213
 9214
 9215
 9216
 9217
 9218
 9219
 9220
 9221
 9222
 9223
 9224
 9225
 9226
 9227
 9228
 9229
 9230
 9231
 9232
 9233
 9234
 9235
 9236
 9237
 9238
 9239
 9240
 9241
 9242
 9243
 9244
 9245
 9246
 9247
 9248
 9249
 9250
 9251
 9252
 9253
 9254
 9255
 9256
 9257
 9258
 9259
 9260
 9261
 9262
 9263
 9264
 9265
 9266
 9267
 9268
 9269
 9270
 9271
 9272
 9273
 9274
 9275
 9276
 9277
 9278
 9279
 9280
 9281
 9282
 9283
 9284
 9285
 9286
 9287
 9288
 9289
 9290
 9291
 9292
 9293
 9294
 9295
 9296
 9297
 9298
 9299
 9300
 9301
 9302
 9303
 9304
 9305
 9306
 9307
 9308
 9309
 9310
 9311
 9312
 9313
 9314
 9315
 9316
 9317
 9318
 9319
 9320
 9321
 9322
 9323
 9324
 9325
 9326
 9327
 9328
 9329
 9330
 9331
 9332
 9333
 9334
 9335
 9336
 9337
 9338
 9339
 9340
 9341
 9342
 9343
 9344
 9345
 9346
 9347
 9348
 9349
 9350
 9351
 9352
 9353
 9354
 9355
 9356
 9357
 9358
 9359
 9360
 9361
 9362
 9363
 9364
 9365
 9366
 9367
 9368
 9369
 9370
 9371
 9372
 9373
 9374
 9375
 9376
 9377
 9378
 9379
 9380
 9381
 9382
 9383
 9384
 9385
 9386
 9387
 9388
 9389
 9390
 9391
 9392
 9393
 9394
 9395
 9396
 9397
 9398
 9399
 9400
 9401
 9402
 9403
 9404
 9405
 9406
 9407
 9408
 9409
 9410
 9411
 9412
 9413
 9414
 9415
 9416
 9417
 9418
 9419
 9420
 9421
 9422
 9423
 9424
 9425
 9426
 9427
 9428
 9429
 9430
 9431
 9432
 9433
 9434
 9435
 9436
 9437
 9438
 9439
 9440
 9441
 9442
 9443
 9444
 9445
 9446
 9447
 9448
 9449
 9450
 9451
 9452
 9453
 9454
 9455
 9456
 9457
 9458
 9459
 9460
 9461
 9462
 9463
 9464
 9465
 9466
 9467
 9468
 9469
 9470
 9471
 9472
 9473
 9474
 9475
 9476
 9477
 9478
 9479
 9480
 9481
 9482
 9483
 9484
 9485
 9486
 9487
 9488
 9489
 9490
 9491
 9492
 9493
 9494
 9495
 9496
 9497
 9498
 9499
 9500
 9501
 9502
 9503
 9504
 9505
 9506
 9507
 9508
 9509
 9510
 9511
 9512
 9513
 9514
 9515
 9516
 9517
 9518
 9519
 9520
 9521
 9522
 9523
 9524
 9525
 9526
 9527
 9528
 9529
 9530
 9531
 9532
 9533
 9534
 9535
 9536
 9537
 9538
 9539
 9540
 9541
 9542
 9543
 9544
 9545
 9546
 9547
 9548
 9549
 9550
 9551
 9552
 9553
 9554
 9555
 9556
 9557
 9558
 9559
 9560
 9561
 9562
 9563
 9564
 9565
 9566
 9567
 9568
 9569
 9570
 9571
 9572
 9573
 9574
 9575
 9576
 9577
 9578
 9579
 9580
 9581
 9582
 9583
 9584
 9585
 9586
 9587
 9588
 9589
 9590
 9591
 9592
 9593
 9594
 9595
 9596
 9597
 9598
 9599
 9600
 9601
 9602
 9603
 9604
 9605
 9606
 9607
 9608
 9609
 9610
 9611
 9612
 9613
 9614
 9615
 9616
 9617
 9618
 9619
 9620
 9621
 9622
 9623
 9624
 9625
 9626
 9627
 9628
 9629
 9630
 9631
 9632
 9633
 9634
 9635
 9636
 9637
 9638
 9639
 9640
 9641
 9642
 9643
 9644
 9645
 9646
 9647
 9648
 9649
 9650
 9651
 9652
 9653
 9654
 9655
 9656
 9657
 9658
 9659
 9660
 9661
 9662
 9663
 9664
 9665
 9666
 9667
 9668
 9669
 9670
 9671
 9672
 9673
 9674
 9675
 9676
 9677
 9678
 9679
 9680
 9681
 9682
 9683
 9684
 9685
 9686
 9687
 9688
 9689
 9690
 9691
 9692
 9693
 9694
 9695
 9696
 9697
 9698
 9699
 9700
 9701
 9702
 9703
 9704
 9705
 9706
 9707
 9708
 9709
 9710
 9711
 9712
 9713
 9714
 9715
 9716
 9717
 9718
 9719
 9720
 9721
 9722
 9723
 9724
 9725
 9726
 9727
 9728
 9729
 9730
 9731
 9732
 9733
 9734
 9735
 9736
 9737
 9738
 9739
 9740
 9741
 9742
 9743
 9744
 9745
 9746
 9747
 9748
 9749
 9750
 9751
 9752
 9753
 9754
 9755
 9756
 9757
 9758
 9759
 9760
 9761
 9762
 9763
 9764
 9765
 9766
 9767
 9768
 9769
 9770
 9771
 9772
 9773
 9774
 9775
 9776
 9777
 9778
 9779
 9780
 9781
 9782
 9783
 9784
 9785
 9786
 9787
 9788
 9789
 9790
 9791
 9792
 9793
 9794
 9795
 9796
 9797
 9798
 9799
 9800
 9801
 9802
 9803
 9804
 9805
 9806
 9807
 9808
 9809
 9810
 9811
 9812
 9813
 9814
 9815
 9816
 9817
 9818
 9819
 9820
 9821
 9822
 9823
 9824
 9825
 9826
 9827
 9828
 9829
 9830
 9831
 9832
 9833
 9834
 9835
 9836
 9837
 9838
 9839
 9840
 9841
 9842
 9843
 9844
 9845
 9846
 9847
 9848
 9849
 9850
 9851
 9852
 9853
 9854
 9855
 9856
 9857
 9858
 9859
 9860
 9861
 9862
 9863
 9864
 9865
 9866
 9867
 9868
 9869
 9870
 9871
 9872
 9873
 9874
 9875
 9876
 9877
 9878
 9879
 9880
 9881
 9882
 9883
 9884
 9885
 9886
 9887
 9888
 9889
 9890
 9891
 9892
 9893
 9894
 9895
 9896
 9897
 9898
 9899
 9900
 9901
 9902
 9903
 9904
 9905
 9906
 9907
 9908
 9909
 9910
 9911
 9912
 9913
 9914
 9915
 9916
 9917
 9918
 9919
 9920
 9921
 9922
 9923
 9924
 9925
 9926
 9927
 9928
 9929
 9930
 9931
 9932
 9933
 9934
 9935
 9936
 9937
 9938
 9939
 9940
 9941
 9942
 9943
 9944
 9945
 9946
 9947
 9948
 9949
 9950
 9951
 9952
 9953
 9954
 9955
 9956
 9957
 9958
 9959
 9960
 9961
 9962
 9963
 9964
 9965
 9966
 9967
 9968
 9969
 9970
 9971
 9972
 9973
 9974
 9975
 9976
 9977
 9978
 9979
 9980
 9981
 9982
 9983
 9984
 9985
 9986
 9987
 9988
 9989
 9990
 9991
 9992
 9993
 9994
 9995
 9996
 9997
 9998
 9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180
15181
15182
15183
15184
15185
15186
15187
15188
15189
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500
15501
15502
15503
15504
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634
15635
15636
15637
15638
15639
15640
15641
15642
15643
15644
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732
15733
15734
15735
15736
15737
15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
16040
16041
16042
16043
16044
16045
16046
16047
16048
16049
16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134
16135
16136
16137
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246
16247
16248
16249
16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282
16283
16284
16285
16286
16287
16288
16289
16290
16291
16292
16293
16294
16295
16296
16297
16298
16299
16300
16301
16302
16303
16304
16305
16306
16307
16308
16309
16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380
16381
16382
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
16577
16578
16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
16629
16630
16631
16632
16633
16634
16635
16636
16637
16638
16639
16640
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671
16672
16673
16674
16675
16676
16677
16678
16679
16680
16681
16682
16683
16684
16685
16686
16687
16688
16689
16690
16691
16692
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756
16757
16758
16759
16760
16761
16762
16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
16775
16776
16777
16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813
16814
16815
16816
16817
16818
16819
16820
16821
16822
16823
16824
16825
16826
16827
16828
16829
16830
16831
16832
16833
16834
16835
16836
16837
16838
16839
16840
16841
16842
16843
16844
16845
16846
16847
16848
16849
16850
16851
16852
16853
16854
16855
16856
16857
16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
16880
16881
16882
16883
16884
16885
16886
16887
16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
16944
16945
16946
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960
16961
16962
16963
16964
16965
16966
16967
16968
16969
16970
16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985
16986
16987
16988
16989
16990
16991
16992
16993
16994
16995
16996
16997
16998
16999
17000
17001
17002
17003
17004
17005
17006
17007
17008
17009
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022
17023
17024
17025
17026
17027
17028
17029
17030
17031
17032
17033
17034
17035
17036
17037
17038
17039
17040
17041
17042
17043
17044
17045
17046
17047
17048
17049
17050
17051
17052
17053
17054
17055
17056
17057
17058
17059
17060
17061
17062
17063
17064
17065
17066
17067
17068
17069
17070
17071
17072
17073
17074
17075
17076
17077
17078
17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
17089
17090
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110
17111
17112
17113
17114
17115
17116
17117
17118
17119
17120
17121
17122
17123
17124
17125
17126
17127
17128
17129
17130
17131
17132
17133
17134
17135
17136
17137
17138
17139
17140
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
17213
17214
17215
17216
17217
17218
17219
17220
17221
17222
17223
17224
17225
17226
17227
17228
17229
17230
17231
17232
17233
17234
17235
17236
17237
17238
17239
17240
17241
17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258
17259
17260
17261
17262
17263
17264
17265
17266
17267
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
17291
17292
17293
17294
17295
17296
17297
17298
17299
17300
17301
17302
17303
17304
17305
17306
17307
17308
17309
17310
17311
17312
17313
17314
17315
17316
17317
17318
17319
17320
17321
17322
17323
17324
17325
17326
17327
17328
17329
17330
17331
17332
17333
17334
17335
17336
17337
17338
17339
17340
17341
17342
17343
17344
17345
17346
17347
17348
17349
17350
17351
17352
17353
17354
17355
17356
17357
17358
17359
17360
17361
17362
17363
17364
17365
17366
17367
17368
17369
17370
17371
17372
17373
17374
17375
17376
17377
17378
17379
17380
17381
17382
17383
17384
17385
17386
17387
17388
17389
17390
17391
17392
17393
17394
17395
17396
17397
17398
17399
17400
17401
17402
17403
17404
17405
17406
17407
17408
17409
17410
17411
17412
17413
17414
17415
17416
17417
17418
17419
17420
17421
17422
17423
17424
17425
17426
17427
17428
17429
17430
17431
17432
17433
17434
17435
17436
17437
17438
17439
17440
17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
17539
17540
17541
17542
17543
17544
17545
17546
17547
17548
17549
17550
17551
17552
17553
17554
17555
17556
17557
17558
17559
17560
17561
17562
17563
17564
17565
17566
17567
17568
17569
17570
17571
17572
17573
17574
17575
17576
17577
17578
17579
17580
17581
17582
17583
17584
17585
17586
17587
17588
17589
17590
17591
17592
17593
17594
17595
17596
17597
17598
17599
17600
17601
17602
17603
17604
17605
17606
17607
17608
17609
17610
17611
17612
17613
17614
17615
17616
17617
17618
17619
17620
17621
17622
17623
17624
17625
17626
17627
17628
17629
17630
17631
17632
17633
17634
17635
17636
17637
17638
17639
17640
17641
17642
17643
17644
17645
17646
17647
17648
17649
17650
17651
17652
17653
17654
17655
17656
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
17671
17672
17673
17674
17675
17676
17677
17678
17679
17680
17681
17682
17683
17684
17685
17686
17687
17688
17689
17690
17691
17692
17693
17694
17695
17696
17697
17698
17699
17700
17701
17702
17703
17704
17705
17706
17707
17708
17709
17710
17711
17712
17713
17714
17715
17716
17717
17718
17719
17720
17721
17722
17723
17724
17725
17726
17727
17728
17729
17730
17731
17732
17733
17734
17735
17736
17737
17738
17739
17740
17741
17742
17743
17744
17745
17746
17747
17748
17749
17750
17751
17752
17753
17754
17755
17756
17757
17758
17759
17760
17761
17762
17763
17764
17765
17766
17767
17768
17769
17770
17771
17772
17773
17774
17775
17776
17777
17778
17779
17780
17781
17782
17783
17784
17785
17786
17787
17788
17789
17790
17791
17792
17793
17794
17795
17796
17797
17798
17799
17800
17801
17802
17803
17804
17805
17806
17807
17808
17809
17810
17811
17812
17813
17814
17815
17816
17817
17818
17819
17820
17821
17822
17823
17824
17825
17826
17827
17828
17829
17830
17831
17832
17833
17834
17835
17836
17837
17838
17839
17840
17841
17842
17843
17844
17845
17846
17847
17848
17849
17850
17851
17852
17853
17854
17855
17856
17857
17858
17859
17860
17861
17862
17863
17864
17865
17866
17867
17868
17869
17870
17871
17872
17873
17874
17875
17876
17877
17878
17879
17880
17881
17882
17883
17884
17885
17886
17887
17888
17889
17890
17891
17892
17893
17894
17895
17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
17906
17907
17908
17909
17910
17911
17912
17913
17914
17915
17916
17917
17918
17919
17920
17921
17922
17923
17924
17925
17926
17927
17928
17929
17930
17931
17932
17933
17934
17935
17936
17937
17938
17939
17940
17941
17942
17943
17944
17945
17946
17947
17948
17949
17950
17951
17952
17953
17954
17955
17956
17957
17958
17959
17960
17961
17962
17963
17964
17965
17966
17967
17968
17969
17970
17971
17972
17973
17974
17975
17976
17977
17978
17979
17980
17981
17982
17983
17984
17985
17986
17987
17988
17989
17990
17991
17992
17993
17994
17995
17996
17997
17998
17999
18000
18001
18002
18003
18004
18005
18006
18007
18008
18009
18010
18011
18012
18013
18014
18015
18016
18017
18018
18019
18020
18021
18022
18023
18024
18025
18026
18027
18028
18029
18030
18031
18032
18033
18034
18035
18036
18037
18038
18039
18040
18041
18042
18043
18044
18045
18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
18090
18091
18092
18093
18094
18095
18096
18097
18098
18099
18100
18101
18102
18103
18104
18105
18106
18107
18108
18109
18110
18111
18112
18113
18114
18115
18116
18117
18118
18119
18120
18121
18122
18123
18124
18125
18126
18127
18128
18129
18130
18131
18132
18133
18134
18135
18136
18137
18138
18139
18140
18141
18142
18143
18144
18145
18146
18147
18148
18149
18150
18151
18152
18153
18154
18155
18156
18157
18158
18159
18160
18161
18162
18163
18164
18165
18166
18167
18168
18169
18170
18171
18172
18173
18174
18175
18176
18177
18178
18179
18180
18181
18182
18183
18184
18185
18186
18187
18188
18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
18204
18205
18206
18207
18208
18209
18210
18211
18212
18213
18214
18215
18216
18217
18218
18219
18220
18221
18222
18223
18224
18225
18226
18227
18228
18229
18230
18231
18232
18233
18234
18235
18236
18237
18238
18239
18240
18241
18242
18243
18244
18245
18246
18247
18248
18249
18250
18251
18252
18253
18254
18255
18256
18257
18258
18259
18260
18261
18262
18263
18264
18265
18266
18267
18268
18269
18270
18271
18272
18273
18274
18275
18276
18277
18278
18279
18280
18281
18282
18283
18284
18285
18286
18287
18288
18289
18290
18291
18292
18293
18294
18295
18296
18297
18298
18299
18300
18301
18302
18303
18304
18305
18306
18307
18308
18309
18310
18311
18312
18313
18314
18315
18316
18317
18318
18319
18320
18321
18322
18323
18324
18325
18326
18327
18328
18329
18330
18331
18332
18333
18334
18335
18336
18337
18338
18339
18340
18341
18342
18343
18344
18345
18346
18347
18348
18349
18350
18351
18352
18353
18354
18355
18356
18357
18358
18359
18360
18361
18362
18363
18364
18365
18366
18367
18368
18369
18370
18371
18372
18373
18374
18375
18376
18377
18378
18379
18380
18381
18382
18383
18384
18385
18386
18387
18388
18389
18390
18391
18392
18393
18394
18395
18396
18397
18398
18399
18400
18401
18402
18403
18404
18405
18406
18407
18408
18409
18410
18411
18412
18413
18414
18415
18416
18417
18418
18419
18420
18421
18422
18423
18424
18425
18426
18427
18428
18429
18430
18431
18432
18433
18434
18435
18436
18437
18438
18439
18440
18441
18442
18443
18444
18445
18446
18447
18448
18449
18450
18451
18452
18453
18454
18455
18456
18457
18458
18459
18460
18461
18462
18463
18464
18465
18466
18467
18468
18469
18470
18471
18472
18473
18474
18475
18476
18477
18478
18479
18480
18481
18482
18483
18484
18485
18486
18487
18488
18489
18490
18491
18492
18493
18494
18495
18496
18497
18498
18499
18500
18501
18502
18503
18504
18505
18506
18507
18508
18509
18510
18511
18512
18513
18514
18515
18516
18517
18518
18519
18520
18521
18522
18523
18524
18525
18526
18527
18528
18529
18530
18531
18532
18533
18534
18535
18536
18537
18538
18539
18540
18541
18542
18543
18544
18545
18546
18547
18548
18549
18550
18551
18552
18553
18554
18555
18556
18557
18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
18573
18574
18575
18576
18577
18578
18579
18580
18581
18582
18583
18584
18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
18595
18596
18597
18598
18599
18600
18601
18602
18603
18604
18605
18606
18607
18608
18609
18610
18611
18612
18613
18614
18615
18616
18617
18618
18619
18620
18621
18622
18623
18624
18625
18626
18627
18628
18629
18630
18631
18632
18633
18634
18635
18636
18637
18638
18639
18640
18641
18642
18643
18644
18645
18646
18647
18648
18649
18650
18651
18652
18653
18654
18655
18656
18657
18658
18659
18660
18661
18662
18663
18664
18665
18666
18667
18668
18669
18670
18671
18672
18673
18674
18675
18676
18677
18678
18679
18680
18681
18682
18683
18684
18685
18686
18687
18688
18689
18690
18691
18692
18693
18694
18695
18696
18697
18698
18699
18700
18701
18702
18703
18704
18705
18706
18707
18708
18709
18710
18711
18712
18713
18714
18715
18716
18717
18718
18719
18720
18721
18722
18723
18724
18725
18726
18727
18728
18729
18730
18731
18732
18733
18734
18735
18736
18737
18738
18739
18740
18741
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
18758
18759
18760
18761
18762
18763
18764
18765
18766
18767
18768
18769
18770
18771
18772
18773
18774
18775
18776
18777
18778
18779
18780
18781
18782
18783
18784
18785
18786
18787
18788
18789
18790
18791
18792
18793
18794
18795
18796
18797
18798
18799
18800
18801
18802
18803
18804
18805
18806
18807
18808
18809
18810
18811
18812
18813
18814
18815
18816
18817
18818
18819
18820
18821
18822
18823
18824
18825
18826
18827
18828
18829
18830
18831
18832
18833
18834
18835
18836
18837
18838
18839
18840
18841
18842
18843
18844
18845
18846
18847
18848
18849
18850
18851
18852
18853
18854
18855
18856
18857
18858
18859
18860
18861
18862
18863
18864
18865
18866
18867
18868
18869
18870
18871
18872
18873
18874
18875
18876
18877
18878
18879
18880
18881
18882
18883
18884
18885
18886
18887
18888
18889
18890
18891
18892
18893
18894
18895
18896
18897
18898
18899
18900
18901
18902
18903
18904
18905
18906
18907
18908
18909
18910
18911
18912
18913
18914
18915
18916
18917
18918
18919
18920
18921
18922
18923
18924
18925
18926
18927
18928
18929
18930
18931
18932
18933
18934
18935
18936
18937
18938
18939
18940
18941
18942
18943
18944
18945
18946
18947
18948
18949
18950
18951
18952
18953
18954
18955
18956
18957
18958
18959
18960
18961
18962
18963
18964
18965
18966
18967
18968
18969
18970
18971
18972
18973
18974
18975
18976
18977
18978
18979
18980
18981
18982
18983
18984
18985
18986
18987
18988
18989
18990
18991
18992
18993
18994
18995
18996
18997
18998
18999
19000
19001
19002
19003
19004
19005
19006
19007
19008
19009
19010
19011
19012
19013
19014
19015
19016
19017
19018
19019
19020
19021
19022
19023
19024
19025
19026
19027
19028
19029
19030
19031
19032
19033
19034
19035
19036
19037
19038
19039
19040
19041
19042
19043
19044
19045
19046
19047
19048
19049
19050
19051
19052
19053
19054
19055
19056
19057
19058
19059
19060
19061
19062
19063
19064
19065
19066
19067
19068
19069
19070
19071
19072
19073
19074
19075
19076
19077
19078
19079
19080
19081
19082
19083
19084
19085
19086
19087
19088
19089
19090
19091
19092
19093
19094
19095
19096
19097
19098
19099
19100
19101
19102
19103
19104
19105
19106
19107
19108
19109
19110
19111
19112
19113
19114
19115
19116
19117
19118
19119
19120
19121
19122
19123
19124
19125
19126
19127
19128
19129
19130
19131
19132
19133
19134
19135
19136
19137
19138
19139
19140
19141
19142
19143
19144
19145
19146
19147
19148
19149
19150
19151
19152
19153
19154
19155
19156
19157
19158
19159
19160
19161
19162
19163
19164
19165
19166
19167
19168
19169
19170
19171
19172
19173
19174
19175
19176
19177
19178
19179
19180
19181
19182
19183
19184
19185
19186
19187
19188
19189
19190
19191
19192
19193
19194
19195
19196
19197
19198
19199
19200
19201
19202
19203
19204
19205
19206
19207
19208
19209
19210
19211
19212
19213
19214
19215
19216
19217
19218
19219
19220
19221
19222
19223
19224
19225
19226
19227
19228
19229
19230
19231
19232
19233
19234
19235
19236
19237
19238
19239
19240
19241
19242
19243
19244
19245
19246
19247
19248
19249
19250
19251
19252
19253
19254
19255
19256
19257
19258
19259
19260
19261
19262
19263
19264
19265
19266
19267
19268
19269
19270
19271
19272
19273
19274
19275
19276
19277
19278
19279
19280
19281
19282
19283
19284
19285
19286
19287
19288
19289
19290
19291
19292
19293
19294
19295
19296
19297
19298
19299
19300
19301
19302
19303
19304
19305
19306
19307
19308
19309
19310
19311
19312
19313
19314
19315
19316
19317
19318
19319
19320
19321
19322
19323
19324
19325
19326
19327
19328
19329
19330
19331
19332
19333
19334
19335
19336
19337
19338
19339
19340
19341
19342
19343
19344
19345
19346
19347
19348
19349
19350
19351
19352
19353
19354
19355
19356
19357
19358
19359
19360
19361
19362
19363
19364
19365
19366
19367
19368
19369
19370
19371
19372
19373
19374
19375
19376
19377
19378
19379
19380
19381
19382
19383
19384
19385
19386
19387
19388
19389
19390
19391
19392
19393
19394
19395
19396
19397
19398
19399
19400
19401
19402
19403
19404
19405
19406
19407
19408
19409
19410
19411
19412
19413
19414
19415
19416
19417
19418
19419
19420
19421
19422
19423
19424
19425
19426
19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
19440
19441
19442
19443
19444
19445
19446
19447
19448
19449
19450
19451
19452
19453
19454
19455
19456
19457
19458
19459
19460
19461
19462
19463
19464
19465
19466
19467
19468
19469
19470
19471
19472
19473
19474
19475
19476
19477
19478
19479
19480
19481
19482
19483
19484
19485
19486
19487
19488
19489
19490
19491
19492
19493
19494
19495
19496
19497
19498
19499
19500
19501
19502
19503
19504
19505
19506
19507
19508
19509
19510
19511
19512
19513
19514
19515
19516
19517
19518
19519
19520
19521
19522
19523
19524
19525
19526
19527
19528
19529
19530
19531
19532
19533
19534
19535
19536
19537
19538
19539
19540
19541
19542
19543
19544
19545
19546
19547
19548
19549
19550
19551
19552
19553
19554
19555
19556
19557
19558
19559
19560
19561
19562
19563
19564
19565
19566
19567
19568
19569
19570
19571
19572
19573
19574
19575
19576
19577
19578
19579
19580
19581
19582
19583
19584
19585
19586
19587
19588
19589
19590
19591
19592
19593
19594
19595
19596
19597
19598
19599
19600
19601
19602
19603
19604
19605
19606
19607
19608
19609
19610
19611
19612
19613
19614
19615
19616
19617
19618
19619
19620
19621
19622
19623
19624
19625
19626
19627
19628
19629
19630
19631
19632
19633
19634
19635
19636
19637
19638
19639
19640
19641
19642
19643
19644
19645
19646
19647
19648
19649
19650
19651
19652
19653
19654
19655
19656
19657
19658
19659
19660
19661
19662
19663
19664
19665
19666
19667
19668
19669
19670
19671
19672
19673
19674
19675
19676
19677
19678
19679
19680
19681
19682
19683
19684
19685
19686
19687
19688
19689
19690
19691
19692
19693
19694
19695
19696
19697
19698
19699
19700
19701
19702
19703
19704
19705
19706
19707
19708
19709
19710
19711
19712
19713
19714
19715
19716
19717
19718
19719
19720
19721
19722
19723
19724
19725
19726
19727
19728
19729
19730
19731
19732
19733
19734
19735
19736
19737
19738
19739
19740
19741
19742
19743
19744
19745
19746
19747
19748
19749
19750
19751
19752
19753
19754
19755
19756
19757
19758
19759
19760
19761
19762
19763
19764
19765
19766
19767
19768
19769
19770
19771
19772
19773
19774
19775
19776
19777
19778
19779
19780
19781
19782
19783
19784
19785
19786
19787
19788
19789
19790
19791
19792
19793
19794
19795
19796
19797
19798
19799
19800
19801
19802
19803
19804
19805
19806
19807
19808
19809
19810
19811
19812
19813
19814
19815
19816
19817
19818
19819
19820
19821
19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
19862
19863
19864
19865
19866
19867
19868
19869
19870
19871
19872
19873
19874
19875
19876
19877
19878
19879
19880
19881
19882
19883
19884
19885
19886
19887
19888
19889
19890
19891
19892
19893
19894
19895
19896
19897
19898
19899
19900
19901
19902
19903
19904
19905
19906
19907
19908
19909
19910
19911
19912
19913
19914
19915
19916
19917
19918
19919
19920
19921
19922
19923
19924
19925
19926
19927
19928
19929
19930
19931
19932
19933
19934
19935
19936
19937
19938
19939
19940
19941
19942
19943
19944
19945
19946
19947
19948
19949
19950
19951
19952
19953
19954
19955
19956
19957
19958
19959
19960
19961
19962
19963
19964
19965
19966
19967
19968
19969
19970
19971
19972
19973
19974
19975
19976
19977
19978
19979
19980
19981
19982
19983
19984
19985
19986
19987
19988
19989
19990
19991
19992
19993
19994
19995
19996
19997
19998
19999
20000
20001
20002
20003
20004
20005
20006
20007
20008
20009
20010
20011
20012
20013
20014
20015
20016
20017
20018
20019
20020
20021
20022
20023
20024
20025
20026
20027
20028
20029
20030
20031
20032
20033
20034
20035
20036
20037
20038
20039
20040
20041
20042
20043
20044
20045
20046
20047
20048
20049
20050
20051
20052
20053
20054
20055
20056
20057
20058
20059
20060
20061
20062
20063
20064
20065
20066
20067
20068
20069
20070
20071
20072
20073
20074
20075
20076
20077
20078
20079
20080
20081
20082
20083
20084
20085
20086
20087
20088
20089
20090
20091
20092
20093
20094
20095
20096
20097
20098
20099
20100
20101
20102
20103
20104
20105
20106
20107
20108
20109
20110
20111
20112
20113
20114
20115
20116
20117
20118
20119
20120
20121
20122
20123
20124
20125
20126
20127
20128
20129
20130
20131
20132
20133
20134
20135
20136
20137
20138
20139
20140
20141
20142
20143
20144
20145
20146
20147
20148
20149
20150
20151
20152
20153
20154
20155
20156
20157
20158
20159
20160
20161
20162
20163
20164
20165
20166
20167
20168
20169
20170
20171
20172
20173
20174
20175
20176
20177
20178
20179
20180
20181
20182
20183
20184
20185
20186
20187
20188
20189
20190
20191
20192
20193
20194
20195
20196
20197
20198
20199
20200
20201
20202
20203
20204
20205
20206
20207
20208
20209
20210
20211
20212
20213
20214
20215
20216
20217
20218
20219
20220
20221
20222
20223
20224
20225
20226
20227
20228
20229
20230
20231
20232
20233
20234
20235
20236
20237
20238
20239
20240
20241
20242
20243
20244
20245
20246
20247
20248
20249
20250
20251
20252
20253
20254
20255
20256
20257
20258
20259
20260
20261
20262
20263
20264
20265
20266
20267
20268
20269
20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
20288
20289
20290
20291
20292
20293
20294
20295
20296
20297
20298
20299
20300
20301
20302
20303
20304
20305
20306
20307
20308
20309
20310
20311
20312
20313
20314
20315
20316
20317
20318
20319
20320
20321
20322
20323
20324
20325
20326
20327
20328
20329
20330
20331
20332
20333
20334
20335
20336
20337
20338
20339
20340
20341
20342
20343
20344
20345
20346
20347
20348
20349
20350
20351
20352
20353
20354
20355
20356
20357
20358
20359
20360
20361
20362
20363
20364
20365
20366
20367
20368
20369
20370
20371
20372
20373
20374
20375
20376
20377
20378
20379
20380
20381
20382
20383
20384
20385
20386
20387
20388
20389
20390
20391
20392
20393
20394
20395
20396
20397
20398
20399
20400
20401
20402
20403
20404
20405
20406
20407
20408
20409
20410
20411
20412
20413
20414
20415
20416
20417
20418
20419
20420
20421
20422
20423
20424
20425
20426
20427
20428
20429
20430
20431
20432
20433
20434
20435
20436
20437
20438
20439
20440
20441
20442
20443
20444
20445
20446
20447
20448
20449
20450
20451
20452
20453
20454
20455
20456
20457
20458
20459
20460
20461
20462
20463
20464
20465
20466
20467
20468
20469
20470
20471
20472
20473
20474
20475
20476
20477
20478
20479
20480
20481
20482
20483
20484
20485
20486
20487
20488
20489
20490
20491
20492
20493
20494
20495
20496
20497
20498
20499
20500
20501
20502
20503
20504
20505
20506
20507
20508
20509
20510
20511
20512
20513
20514
20515
20516
20517
20518
20519
20520
20521
20522
20523
20524
20525
20526
20527
20528
20529
20530
20531
20532
20533
20534
20535
20536
20537
20538
20539
20540
20541
20542
20543
20544
20545
20546
20547
20548
20549
20550
20551
20552
20553
20554
20555
20556
20557
20558
20559
20560
20561
20562
20563
20564
20565
20566
20567
20568
20569
20570
20571
20572
20573
20574
20575
20576
20577
20578
20579
20580
20581
20582
20583
20584
20585
20586
20587
20588
20589
20590
20591
20592
20593
20594
20595
20596
20597
20598
20599
20600
20601
20602
20603
20604
20605
20606
20607
20608
20609
20610
20611
20612
20613
20614
20615
20616
20617
20618
20619
20620
20621
20622
20623
20624
20625
20626
20627
20628
20629
20630
20631
20632
20633
20634
20635
20636
20637
20638
20639
20640
20641
20642
20643
20644
20645
20646
20647
20648
20649
20650
20651
20652
20653
20654
20655
20656
20657
20658
20659
20660
20661
20662
20663
20664
20665
20666
20667
20668
20669
20670
20671
20672
20673
20674
20675
20676
20677
20678
20679
20680
20681
20682
20683
20684
20685
20686
20687
20688
20689
20690
20691
20692
20693
20694
20695
20696
20697
20698
20699
20700
20701
20702
20703
20704
20705
20706
20707
20708
20709
20710
20711
20712
20713
20714
20715
20716
20717
20718
20719
20720
20721
20722
20723
20724
20725
20726
20727
20728
20729
20730
20731
20732
20733
20734
20735
20736
20737
20738
20739
20740
20741
20742
20743
20744
20745
20746
20747
20748
20749
20750
20751
20752
20753
20754
20755
20756
20757
20758
20759
20760
20761
20762
20763
20764
20765
20766
20767
20768
20769
20770
20771
20772
20773
20774
20775
20776
20777
20778
20779
20780
20781
20782
20783
20784
20785
20786
20787
20788
20789
20790
20791
20792
20793
20794
20795
20796
20797
20798
20799
20800
20801
20802
20803
20804
20805
20806
20807
20808
20809
20810
20811
20812
20813
20814
20815
20816
20817
20818
20819
20820
20821
20822
20823
20824
20825
20826
20827
20828
20829
20830
20831
20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
20850
20851
20852
20853
20854
20855
20856
20857
20858
20859
20860
20861
20862
20863
20864
20865
20866
20867
20868
20869
20870
20871
20872
20873
20874
20875
20876
20877
20878
20879
20880
20881
20882
20883
20884
20885
20886
20887
20888
20889
20890
20891
20892
20893
20894
20895
20896
20897
20898
20899
20900
20901
20902
20903
20904
20905
20906
20907
20908
20909
20910
20911
20912
20913
20914
20915
20916
20917
20918
20919
20920
20921
20922
20923
20924
20925
20926
20927
20928
20929
20930
20931
20932
20933
20934
20935
20936
20937
20938
20939
20940
20941
20942
20943
20944
20945
20946
20947
20948
20949
20950
20951
20952
20953
20954
20955
20956
20957
20958
20959
20960
20961
20962
20963
20964
20965
20966
20967
20968
20969
20970
20971
20972
20973
20974
20975
20976
20977
20978
20979
20980
20981
20982
20983
20984
20985
20986
20987
20988
20989
20990
20991
20992
20993
20994
20995
20996
20997
20998
20999
21000
21001
21002
21003
21004
21005
21006
21007
21008
21009
21010
21011
21012
21013
21014
21015
21016
21017
21018
21019
21020
21021
21022
21023
21024
21025
21026
21027
21028
21029
21030
21031
21032
21033
21034
21035
21036
21037
21038
21039
21040
21041
21042
21043
21044
21045
21046
21047
21048
21049
21050
21051
21052
21053
21054
21055
21056
21057
21058
21059
21060
21061
21062
21063
21064
21065
21066
21067
21068
21069
21070
21071
21072
21073
21074
21075
21076
21077
21078
21079
21080
21081
21082
21083
21084
21085
21086
21087
21088
21089
21090
21091
21092
21093
21094
21095
21096
21097
21098
21099
21100
21101
21102
21103
21104
21105
21106
21107
21108
21109
21110
21111
21112
21113
21114
21115
21116
21117
21118
21119
21120
21121
21122
21123
21124
21125
21126
21127
21128
21129
21130
21131
21132
21133
21134
21135
21136
21137
21138
21139
21140
21141
21142
21143
21144
21145
21146
21147
21148
21149
21150
21151
21152
21153
21154
21155
21156
21157
21158
21159
21160
21161
21162
21163
21164
21165
21166
21167
21168
21169
21170
21171
21172
21173
21174
21175
21176
21177
21178
21179
21180
21181
21182
21183
21184
21185
21186
21187
21188
21189
21190
21191
21192
21193
21194
21195
21196
21197
21198
21199
21200
21201
21202
21203
21204
21205
21206
21207
21208
21209
21210
21211
21212
21213
21214
21215
21216
21217
21218
21219
21220
21221
21222
21223
21224
21225
21226
21227
21228
21229
21230
21231
21232
21233
21234
21235
21236
21237
21238
21239
21240
21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
21264
21265
21266
21267
21268
21269
21270
21271
21272
21273
21274
21275
21276
21277
21278
21279
21280
21281
21282
21283
21284
21285
21286
21287
21288
21289
21290
21291
21292
21293
21294
21295
21296
21297
21298
21299
21300
21301
21302
21303
21304
21305
21306
21307
21308
21309
21310
21311
21312
21313
21314
21315
21316
21317
21318
21319
21320
21321
21322
21323
21324
21325
21326
21327
21328
21329
21330
21331
21332
21333
21334
21335
21336
21337
21338
21339
21340
21341
21342
21343
21344
21345
21346
21347
21348
21349
21350
21351
21352
21353
21354
21355
21356
21357
21358
21359
21360
21361
21362
21363
21364
21365
21366
21367
21368
21369
21370
21371
21372
21373
21374
21375
21376
21377
21378
21379
21380
21381
21382
21383
21384
21385
21386
21387
21388
21389
21390
21391
21392
21393
21394
21395
21396
21397
21398
21399
21400
21401
21402
21403
21404
21405
21406
21407
21408
21409
21410
21411
21412
21413
21414
21415
21416
21417
21418
21419
21420
21421
21422
21423
21424
21425
21426
21427
21428
21429
21430
21431
21432
21433
21434
21435
21436
21437
21438
21439
21440
21441
21442
21443
21444
21445
21446
21447
21448
21449
21450
21451
21452
21453
21454
21455
21456
21457
21458
21459
21460
21461
21462
21463
21464
21465
21466
21467
21468
21469
21470
21471
21472
21473
21474
21475
21476
21477
21478
21479
21480
21481
21482
21483
21484
21485
21486
21487
21488
21489
21490
21491
21492
21493
21494
21495
21496
21497
21498
21499
21500
21501
21502
21503
21504
21505
21506
21507
21508
21509
21510
21511
21512
21513
21514
21515
21516
21517
21518
21519
21520
21521
21522
21523
21524
21525
21526
21527
21528
21529
21530
21531
21532
21533
21534
21535
21536
21537
21538
21539
21540
21541
21542
21543
21544
21545
21546
21547
21548
21549
21550
21551
21552
21553
21554
21555
21556
21557
21558
21559
21560
21561
21562
21563
21564
21565
21566
21567
21568
21569
21570
21571
21572
21573
21574
21575
21576
21577
21578
21579
21580
21581
21582
21583
21584
21585
21586
21587
21588
21589
21590
21591
21592
21593
21594
21595
21596
21597
21598
21599
21600
21601
21602
21603
21604
21605
21606
21607
21608
21609
21610
21611
21612
21613
21614
21615
21616
21617
21618
21619
21620
21621
21622
21623
21624
21625
21626
21627
21628
21629
21630
21631
21632
21633
21634
21635
21636
21637
21638
21639
21640
21641
21642
21643
21644
21645
21646
21647
21648
21649
21650
21651
21652
21653
21654
21655
21656
21657
21658
21659
21660
21661
21662
21663
21664
21665
21666
21667
21668
21669
21670
21671
21672
21673
21674
21675
21676
21677
21678
21679
21680
21681
21682
21683
21684
21685
21686
21687
21688
21689
21690
21691
21692
21693
21694
21695
21696
21697
21698
21699
21700
21701
21702
21703
21704
21705
21706
21707
21708
21709
21710
21711
21712
21713
21714
21715
21716
21717
21718
21719
21720
21721
21722
21723
21724
21725
21726
21727
21728
21729
21730
21731
21732
21733
21734
21735
21736
21737
21738
21739
21740
21741
21742
21743
21744
21745
21746
21747
21748
21749
21750
21751
21752
21753
21754
21755
21756
21757
21758
21759
21760
21761
21762
21763
21764
21765
21766
21767
21768
21769
21770
21771
21772
21773
21774
21775
21776
21777
21778
21779
21780
21781
21782
21783
21784
21785
21786
21787
21788
21789
21790
21791
21792
21793
21794
21795
21796
21797
21798
21799
21800
21801
21802
21803
21804
21805
21806
21807
21808
21809
21810
21811
21812
21813
21814
21815
21816
21817
21818
21819
21820
21821
21822
21823
21824
21825
21826
21827
21828
21829
21830
21831
21832
21833
21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
22091
22092
22093
22094
22095
22096
22097
22098
22099
22100
22101
22102
22103
22104
22105
22106
22107
22108
22109
22110
22111
22112
22113
22114
22115
22116
22117
22118
22119
22120
22121
22122
22123
22124
22125
22126
22127
22128
22129
22130
22131
22132
22133
22134
22135
22136
22137
22138
22139
22140
22141
22142
22143
22144
22145
22146
22147
22148
22149
22150
22151
22152
22153
22154
22155
22156
22157
22158
22159
22160
22161
22162
22163
22164
22165
22166
22167
22168
22169
22170
22171
22172
22173
22174
22175
22176
22177
22178
22179
22180
22181
22182
22183
22184
22185
22186
22187
22188
22189
22190
22191
22192
22193
22194
22195
22196
22197
22198
22199
22200
22201
22202
22203
22204
22205
22206
22207
22208
22209
22210
22211
22212
22213
22214
22215
22216
22217
22218
22219
22220
22221
22222
22223
22224
22225
22226
22227
22228
22229
22230
22231
22232
22233
22234
22235
22236
22237
22238
22239
22240
22241
22242
22243
22244
22245
22246
22247
22248
22249
22250
22251
22252
22253
22254
22255
22256
22257
22258
22259
22260
22261
22262
22263
22264
22265
22266
22267
22268
22269
22270
22271
22272
22273
22274
22275
22276
22277
22278
22279
22280
22281
22282
22283
22284
22285
22286
22287
22288
22289
22290
22291
22292
22293
22294
22295
22296
22297
22298
22299
22300
22301
22302
22303
22304
22305
22306
22307
22308
22309
22310
22311
22312
22313
22314
22315
22316
22317
22318
22319
22320
22321
22322
22323
22324
22325
22326
22327
22328
22329
22330
22331
22332
22333
22334
22335
22336
22337
22338
22339
22340
22341
22342
22343
22344
22345
22346
22347
22348
22349
22350
22351
22352
22353
22354
22355
22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
22404
22405
22406
22407
22408
22409
22410
22411
22412
22413
22414
22415
22416
22417
22418
22419
22420
22421
22422
22423
22424
22425
22426
22427
22428
22429
22430
22431
22432
22433
22434
22435
22436
22437
22438
22439
22440
22441
22442
22443
22444
22445
22446
22447
22448
22449
22450
22451
22452
22453
22454
22455
22456
22457
22458
22459
22460
22461
22462
22463
22464
22465
22466
22467
22468
22469
22470
22471
22472
22473
22474
22475
22476
22477
22478
22479
22480
22481
22482
22483
22484
22485
22486
22487
22488
22489
22490
22491
22492
22493
22494
22495
22496
22497
22498
22499
22500
22501
22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
22841
22842
22843
22844
22845
22846
22847
22848
22849
22850
22851
22852
22853
22854
22855
22856
22857
22858
22859
22860
22861
22862
22863
22864
22865
22866
22867
22868
22869
22870
22871
22872
22873
22874
22875
22876
22877
22878
22879
22880
22881
22882
22883
22884
22885
22886
22887
22888
22889
22890
22891
22892
22893
22894
22895
22896
22897
22898
22899
22900
22901
22902
22903
22904
22905
22906
22907
22908
22909
22910
22911
22912
22913
22914
22915
22916
22917
22918
22919
22920
22921
22922
22923
22924
22925
22926
22927
22928
22929
22930
22931
22932
22933
22934
22935
22936
22937
22938
22939
22940
22941
22942
22943
22944
22945
22946
22947
22948
22949
22950
22951
22952
22953
22954
22955
22956
22957
22958
22959
22960
22961
22962
22963
22964
22965
22966
22967
22968
22969
22970
22971
22972
22973
22974
22975
22976
22977
22978
22979
22980
22981
22982
22983
22984
22985
22986
22987
22988
22989
22990
22991
22992
22993
22994
22995
22996
22997
22998
22999
23000
23001
23002
23003
23004
23005
23006
23007
23008
23009
23010
23011
23012
23013
23014
23015
23016
23017
23018
23019
23020
23021
23022
23023
23024
23025
23026
23027
23028
23029
23030
23031
23032
23033
23034
23035
23036
23037
23038
23039
23040
23041
23042
23043
23044
23045
23046
23047
23048
23049
23050
23051
23052
23053
23054
23055
23056
23057
23058
23059
23060
23061
23062
23063
23064
23065
23066
23067
23068
23069
23070
23071
23072
23073
23074
23075
23076
23077
23078
23079
23080
23081
23082
23083
23084
23085
23086
23087
23088
23089
23090
23091
23092
23093
23094
23095
23096
23097
23098
23099
23100
23101
23102
23103
23104
23105
23106
23107
23108
23109
23110
23111
23112
23113
23114
23115
23116
23117
23118
23119
23120
23121
23122
23123
23124
23125
23126
23127
23128
23129
23130
23131
23132
23133
23134
23135
23136
23137
23138
23139
23140
23141
23142
23143
23144
23145
23146
23147
23148
23149
23150
23151
23152
23153
23154
23155
23156
23157
23158
23159
23160
23161
23162
23163
23164
23165
23166
23167
23168
23169
23170
23171
23172
23173
23174
23175
23176
23177
23178
23179
23180
23181
23182
23183
23184
23185
23186
23187
23188
23189
23190
23191
23192
23193
23194
23195
23196
23197
23198
23199
23200
23201
23202
23203
23204
23205
23206
23207
23208
23209
23210
23211
23212
23213
23214
23215
23216
23217
23218
23219
23220
23221
23222
23223
23224
23225
23226
23227
23228
23229
23230
23231
23232
23233
23234
23235
23236
23237
23238
23239
23240
23241
23242
23243
23244
23245
23246
23247
23248
23249
23250
23251
23252
23253
23254
23255
23256
23257
23258
23259
23260
23261
23262
23263
23264
23265
23266
23267
23268
23269
23270
23271
23272
23273
23274
23275
23276
23277
23278
23279
23280
23281
23282
23283
23284
23285
23286
23287
23288
23289
23290
23291
23292
23293
23294
23295
23296
23297
23298
23299
23300
23301
23302
23303
23304
23305
23306
23307
23308
23309
23310
23311
23312
23313
23314
23315
23316
23317
23318
23319
23320
23321
23322
23323
23324
23325
23326
23327
23328
23329
23330
23331
23332
23333
23334
23335
23336
23337
23338
23339
23340
23341
23342
23343
23344
23345
23346
23347
23348
23349
23350
23351
23352
23353
23354
23355
23356
23357
23358
23359
23360
23361
23362
23363
23364
23365
23366
23367
23368
23369
23370
23371
23372
23373
23374
23375
23376
23377
23378
23379
23380
23381
23382
23383
23384
23385
23386
23387
23388
23389
23390
23391
23392
23393
23394
23395
23396
23397
23398
23399
23400
23401
23402
23403
23404
23405
23406
23407
23408
23409
23410
23411
23412
23413
23414
23415
23416
23417
23418
23419
23420
23421
23422
23423
23424
23425
23426
23427
23428
23429
23430
23431
23432
23433
23434
23435
23436
23437
23438
23439
23440
23441
23442
23443
23444
23445
23446
23447
23448
23449
23450
23451
23452
23453
23454
23455
23456
23457
23458
23459
23460
23461
23462
23463
23464
23465
23466
23467
23468
23469
23470
23471
23472
23473
23474
23475
23476
23477
23478
23479
23480
23481
23482
23483
23484
23485
23486
23487
23488
23489
23490
23491
23492
23493
23494
23495
23496
23497
23498
23499
23500
23501
23502
23503
23504
23505
23506
23507
23508
23509
23510
23511
23512
23513
23514
23515
23516
23517
23518
23519
23520
23521
23522
23523
23524
23525
23526
23527
23528
23529
23530
23531
23532
23533
23534
23535
23536
23537
23538
23539
23540
23541
23542
23543
23544
23545
23546
23547
23548
23549
23550
23551
23552
23553
23554
23555
23556
23557
23558
23559
23560
23561
23562
23563
23564
23565
23566
23567
23568
23569
23570
23571
23572
23573
23574
23575
23576
23577
23578
23579
23580
23581
23582
23583
23584
23585
23586
23587
23588
23589
23590
23591
23592
23593
23594
23595
23596
23597
23598
23599
23600
23601
23602
23603
23604
23605
23606
23607
23608
23609
23610
23611
23612
23613
23614
23615
23616
23617
23618
23619
23620
23621
23622
23623
23624
23625
23626
23627
23628
23629
23630
23631
23632
23633
23634
23635
23636
23637
23638
23639
23640
23641
23642
23643
23644
23645
23646
23647
23648
23649
23650
23651
23652
23653
23654
23655
23656
23657
23658
23659
23660
23661
23662
23663
23664
23665
23666
23667
23668
23669
23670
23671
23672
23673
23674
23675
23676
23677
23678
23679
23680
23681
23682
23683
23684
23685
23686
23687
23688
23689
23690
23691
23692
23693
23694
23695
23696
23697
23698
23699
23700
23701
23702
23703
23704
23705
23706
23707
23708
23709
23710
23711
23712
23713
23714
23715
23716
23717
23718
23719
23720
23721
23722
23723
23724
23725
23726
23727
23728
23729
23730
23731
23732
23733
23734
23735
23736
23737
23738
23739
23740
23741
23742
23743
23744
23745
23746
23747
23748
23749
23750
23751
23752
23753
23754
23755
23756
23757
23758
23759
23760
23761
23762
23763
23764
23765
23766
23767
23768
23769
23770
23771
23772
23773
23774
23775
23776
23777
23778
23779
23780
23781
23782
23783
23784
23785
23786
23787
23788
23789
23790
23791
23792
23793
23794
23795
23796
23797
23798
23799
23800
23801
23802
23803
23804
23805
23806
23807
23808
23809
23810
23811
23812
23813
23814
23815
23816
23817
23818
23819
23820
23821
23822
23823
23824
23825
23826
23827
23828
23829
23830
23831
23832
23833
23834
23835
23836
23837
23838
23839
23840
23841
23842
23843
23844
23845
23846
23847
23848
23849
23850
23851
23852
23853
23854
23855
23856
23857
23858
23859
23860
23861
23862
23863
23864
23865
23866
23867
23868
23869
23870
23871
23872
23873
23874
23875
23876
23877
23878
23879
23880
23881
23882
23883
23884
23885
23886
23887
23888
23889
23890
23891
23892
23893
23894
23895
23896
23897
23898
23899
23900
23901
23902
23903
23904
23905
23906
23907
23908
23909
23910
23911
23912
23913
23914
23915
23916
23917
23918
23919
23920
23921
23922
23923
23924
23925
23926
23927
23928
23929
23930
23931
23932
23933
23934
23935
23936
23937
23938
23939
23940
23941
23942
23943
23944
23945
23946
23947
23948
23949
23950
23951
23952
23953
23954
23955
23956
23957
23958
23959
23960
23961
23962
23963
23964
23965
23966
23967
23968
23969
23970
23971
23972
23973
23974
23975
23976
23977
23978
23979
23980
23981
23982
23983
23984
23985
23986
23987
23988
23989
23990
23991
23992
23993
23994
23995
23996
23997
23998
23999
24000
24001
24002
24003
24004
24005
24006
24007
24008
24009
24010
24011
24012
24013
24014
24015
24016
24017
24018
24019
24020
24021
24022
24023
24024
24025
24026
24027
24028
24029
24030
24031
24032
24033
24034
24035
24036
24037
24038
24039
24040
24041
24042
24043
24044
24045
24046
24047
24048
24049
24050
24051
24052
24053
24054
24055
24056
24057
24058
24059
24060
24061
24062
24063
24064
24065
24066
24067
24068
24069
24070
24071
24072
24073
24074
24075
24076
24077
24078
24079
24080
24081
24082
24083
24084
24085
24086
24087
24088
24089
24090
24091
24092
24093
24094
24095
24096
24097
24098
24099
24100
24101
24102
24103
24104
24105
24106
24107
24108
24109
24110
24111
24112
24113
24114
24115
24116
24117
24118
24119
24120
24121
24122
24123
24124
24125
24126
24127
24128
24129
24130
24131
24132
24133
24134
24135
24136
24137
24138
24139
24140
24141
24142
24143
24144
24145
24146
24147
24148
24149
24150
24151
24152
24153
24154
24155
24156
24157
24158
24159
24160
24161
24162
24163
24164
24165
24166
24167
24168
24169
24170
24171
24172
24173
24174
24175
24176
24177
24178
24179
24180
24181
24182
24183
24184
24185
24186
24187
24188
24189
24190
24191
24192
24193
24194
24195
24196
24197
24198
24199
24200
24201
24202
24203
24204
24205
24206
24207
24208
24209
24210
24211
24212
24213
24214
24215
24216
24217
24218
24219
24220
24221
24222
24223
24224
24225
24226
24227
24228
24229
24230
24231
24232
24233
24234
24235
24236
24237
24238
24239
24240
24241
24242
24243
24244
24245
24246
24247
24248
24249
24250
24251
24252
24253
24254
24255
24256
24257
24258
24259
24260
24261
24262
24263
24264
24265
24266
24267
24268
24269
24270
24271
24272
24273
24274
24275
24276
24277
24278
24279
24280
24281
24282
24283
24284
24285
24286
24287
24288
24289
24290
24291
24292
24293
24294
24295
24296
24297
24298
24299
24300
24301
24302
24303
24304
24305
24306
24307
24308
24309
24310
24311
24312
24313
24314
24315
24316
24317
24318
24319
24320
24321
24322
24323
24324
24325
24326
24327
24328
24329
24330
24331
24332
24333
24334
24335
24336
24337
24338
24339
24340
24341
24342
24343
24344
24345
24346
24347
24348
24349
24350
24351
24352
24353
24354
24355
24356
24357
24358
24359
24360
24361
24362
24363
24364
24365
24366
24367
24368
24369
24370
24371
24372
24373
24374
24375
24376
24377
24378
24379
24380
24381
24382
24383
24384
24385
24386
24387
24388
24389
24390
24391
24392
24393
24394
24395
24396
24397
24398
24399
24400
24401
24402
24403
24404
24405
24406
24407
24408
24409
24410
24411
24412
24413
24414
24415
24416
24417
24418
24419
24420
24421
24422
24423
24424
24425
24426
24427
24428
24429
24430
24431
24432
24433
24434
24435
24436
24437
24438
24439
24440
24441
24442
24443
24444
24445
24446
24447
24448
24449
24450
24451
24452
24453
24454
24455
24456
24457
24458
24459
24460
24461
24462
24463
24464
24465
24466
24467
24468
24469
24470
24471
24472
24473
24474
24475
24476
24477
24478
24479
24480
24481
24482
24483
24484
24485
24486
24487
24488
24489
24490
24491
24492
24493
24494
24495
24496
24497
24498
24499
24500
24501
24502
24503
24504
24505
24506
24507
24508
24509
24510
24511
24512
24513
24514
24515
24516
24517
24518
24519
24520
24521
24522
24523
24524
24525
24526
24527
24528
24529
24530
24531
24532
24533
24534
24535
24536
24537
24538
24539
24540
24541
24542
24543
24544
24545
24546
24547
24548
24549
24550
24551
24552
24553
24554
24555
24556
24557
24558
24559
24560
24561
24562
24563
24564
24565
24566
24567
24568
24569
24570
24571
24572
24573
24574
24575
24576
24577
24578
24579
24580
24581
24582
24583
24584
24585
24586
24587
24588
24589
24590
24591
24592
24593
24594
24595
24596
24597
24598
24599
24600
24601
24602
24603
24604
24605
24606
24607
24608
24609
24610
24611
24612
24613
24614
24615
24616
24617
24618
24619
24620
24621
24622
24623
24624
24625
24626
24627
24628
24629
24630
24631
24632
24633
24634
24635
24636
24637
24638
24639
24640
24641
24642
24643
24644
24645
24646
24647
24648
24649
24650
24651
24652
24653
24654
24655
24656
24657
24658
24659
24660
24661
24662
24663
24664
24665
24666
24667
24668
24669
24670
24671
24672
24673
24674
24675
24676
24677
24678
24679
24680
24681
24682
24683
24684
24685
24686
24687
24688
24689
24690
24691
24692
24693
24694
24695
24696
24697
24698
24699
24700
24701
24702
24703
24704
24705
24706
24707
24708
24709
24710
24711
24712
24713
24714
24715
24716
24717
24718
24719
24720
24721
24722
24723
24724
24725
24726
24727
24728
24729
24730
24731
24732
24733
24734
24735
24736
24737
24738
24739
24740
24741
24742
24743
24744
24745
24746
24747
24748
24749
24750
24751
24752
24753
24754
24755
24756
24757
24758
24759
24760
24761
24762
24763
24764
24765
24766
24767
24768
24769
24770
24771
24772
24773
24774
24775
24776
24777
24778
24779
24780
24781
24782
24783
24784
24785
24786
24787
24788
24789
24790
24791
24792
24793
24794
24795
24796
24797
24798
24799
24800
24801
24802
24803
24804
24805
24806
24807
24808
24809
24810
24811
24812
24813
24814
24815
24816
24817
24818
24819
24820
24821
24822
24823
24824
24825
24826
24827
24828
24829
24830
24831
24832
24833
24834
24835
24836
24837
24838
24839
24840
24841
24842
24843
24844
24845
24846
24847
24848
24849
24850
24851
24852
24853
24854
24855
24856
24857
24858
24859
24860
24861
24862
24863
24864
24865
24866
24867
24868
24869
24870
24871
24872
24873
24874
24875
24876
24877
24878
24879
24880
24881
24882
24883
24884
24885
24886
24887
24888
24889
24890
24891
24892
24893
24894
24895
24896
24897
24898
24899
24900
24901
24902
24903
24904
24905
24906
24907
24908
24909
24910
24911
24912
24913
24914
24915
24916
24917
24918
24919
24920
24921
24922
24923
24924
24925
24926
24927
24928
24929
24930
24931
24932
24933
24934
24935
24936
24937
24938
24939
24940
24941
24942
24943
24944
24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
24960
24961
24962
24963
24964
24965
24966
24967
24968
24969
24970
24971
24972
24973
24974
24975
24976
24977
24978
24979
24980
24981
24982
24983
24984
24985
24986
24987
24988
24989
24990
24991
24992
24993
24994
24995
24996
24997
24998
24999
25000
25001
25002
25003
25004
25005
25006
25007
25008
25009
25010
25011
25012
25013
25014
25015
25016
25017
25018
25019
25020
25021
25022
25023
25024
25025
25026
25027
25028
25029
25030
25031
25032
25033
25034
25035
25036
25037
25038
25039
25040
25041
25042
25043
25044
25045
25046
25047
25048
25049
25050
25051
25052
25053
25054
25055
25056
25057
25058
25059
25060
25061
25062
25063
25064
25065
25066
25067
25068
25069
25070
25071
25072
25073
25074
25075
25076
25077
25078
25079
25080
25081
25082
25083
25084
25085
25086
25087
25088
25089
25090
25091
25092
25093
25094
25095
25096
25097
25098
25099
25100
25101
25102
25103
25104
25105
25106
25107
25108
25109
25110
25111
25112
25113
25114
25115
25116
25117
25118
25119
25120
25121
25122
25123
25124
25125
25126
25127
25128
25129
25130
25131
25132
25133
25134
25135
25136
25137
25138
25139
25140
25141
25142
25143
25144
25145
25146
25147
25148
25149
25150
25151
25152
25153
25154
25155
25156
25157
25158
25159
25160
25161
25162
25163
25164
25165
25166
25167
25168
25169
25170
25171
25172
25173
25174
25175
25176
25177
25178
25179
25180
25181
25182
25183
25184
25185
25186
25187
25188
25189
25190
25191
25192
25193
25194
25195
25196
25197
25198
25199
25200
25201
25202
25203
25204
25205
25206
25207
25208
25209
25210
25211
25212
25213
25214
25215
25216
25217
25218
25219
25220
25221
25222
25223
25224
25225
25226
25227
25228
25229
25230
25231
25232
25233
25234
25235
25236
25237
25238
25239
25240
25241
25242
25243
25244
25245
25246
25247
25248
25249
25250
25251
25252
25253
25254
25255
25256
25257
25258
25259
25260
25261
25262
25263
25264
25265
25266
25267
25268
25269
25270
25271
25272
25273
25274
25275
25276
25277
25278
25279
25280
25281
25282
25283
25284
25285
25286
25287
25288
25289
25290
25291
25292
25293
25294
25295
25296
25297
25298
25299
25300
25301
25302
25303
25304
25305
25306
25307
25308
25309
25310
25311
25312
25313
25314
25315
25316
25317
25318
25319
25320
25321
25322
25323
25324
25325
25326
25327
25328
25329
25330
25331
25332
25333
25334
25335
25336
25337
25338
25339
25340
25341
25342
25343
25344
25345
25346
25347
25348
25349
25350
25351
25352
25353
25354
25355
25356
25357
25358
25359
25360
25361
25362
25363
25364
25365
25366
25367
25368
25369
25370
25371
25372
25373
25374
25375
25376
25377
25378
25379
25380
25381
25382
25383
25384
25385
25386
25387
25388
25389
25390
25391
25392
25393
25394
25395
25396
25397
25398
25399
25400
25401
25402
25403
25404
25405
25406
25407
25408
25409
25410
25411
25412
25413
25414
25415
25416
25417
25418
25419
25420
25421
25422
25423
25424
25425
25426
25427
25428
25429
25430
25431
25432
25433
25434
25435
25436
25437
25438
25439
25440
25441
25442
25443
25444
25445
25446
25447
25448
25449
25450
25451
25452
25453
25454
25455
25456
25457
25458
25459
25460
25461
25462
25463
25464
25465
25466
25467
25468
25469
25470
25471
25472
25473
25474
25475
25476
25477
25478
25479
25480
25481
25482
25483
25484
25485
25486
25487
25488
25489
25490
25491
25492
25493
25494
25495
25496
25497
25498
25499
25500
25501
25502
25503
25504
25505
25506
25507
25508
25509
25510
25511
25512
25513
25514
25515
25516
25517
25518
25519
25520
25521
25522
25523
25524
25525
25526
25527
25528
25529
25530
25531
25532
25533
25534
25535
25536
25537
25538
25539
25540
25541
25542
25543
25544
25545
25546
25547
25548
25549
25550
25551
25552
25553
25554
25555
25556
25557
25558
25559
25560
25561
25562
25563
25564
25565
25566
25567
25568
25569
25570
25571
25572
25573
25574
25575
25576
25577
25578
25579
25580
25581
25582
25583
25584
25585
25586
25587
25588
25589
25590
25591
25592
25593
25594
25595
25596
25597
25598
25599
25600
25601
25602
25603
25604
25605
25606
25607
25608
25609
25610
25611
25612
25613
25614
25615
25616
25617
25618
25619
25620
25621
25622
25623
25624
25625
25626
25627
25628
25629
25630
25631
25632
25633
25634
25635
25636
25637
25638
25639
25640
25641
25642
25643
25644
25645
25646
25647
25648
25649
25650
25651
25652
25653
25654
25655
25656
25657
25658
25659
25660
25661
25662
25663
25664
25665
25666
25667
25668
25669
25670
25671
25672
25673
25674
25675
25676
25677
25678
25679
25680
25681
25682
25683
25684
25685
25686
25687
25688
25689
25690
25691
25692
25693
25694
25695
25696
25697
25698
25699
25700
25701
25702
25703
25704
25705
25706
25707
25708
25709
25710
25711
25712
25713
25714
25715
25716
25717
25718
25719
25720
25721
25722
25723
25724
25725
25726
25727
25728
25729
25730
25731
25732
25733
25734
25735
25736
25737
25738
25739
25740
25741
25742
25743
25744
25745
25746
25747
25748
25749
25750
25751
25752
25753
25754
25755
25756
25757
25758
25759
25760
25761
25762
25763
25764
25765
25766
25767
25768
25769
25770
25771
25772
25773
25774
25775
25776
25777
25778
25779
25780
25781
25782
25783
25784
25785
25786
25787
25788
25789
25790
25791
25792
25793
25794
25795
25796
25797
25798
25799
25800
25801
25802
25803
25804
25805
25806
25807
25808
25809
25810
25811
25812
25813
25814
25815
25816
25817
25818
25819
25820
25821
25822
25823
25824
25825
25826
25827
25828
25829
25830
25831
25832
25833
25834
25835
25836
25837
25838
25839
25840
25841
25842
25843
25844
25845
25846
25847
25848
25849
25850
25851
25852
25853
25854
25855
25856
25857
25858
25859
25860
25861
25862
25863
25864
25865
25866
25867
25868
25869
25870
25871
25872
25873
25874
25875
25876
25877
25878
25879
25880
25881
25882
25883
25884
25885
25886
25887
25888
25889
25890
25891
25892
25893
25894
25895
25896
25897
25898
25899
25900
25901
25902
25903
25904
25905
25906
25907
25908
25909
25910
25911
25912
25913
25914
25915
25916
25917
25918
25919
25920
25921
25922
25923
25924
25925
25926
25927
25928
25929
25930
25931
25932
25933
25934
25935
25936
25937
25938
25939
25940
25941
25942
25943
25944
25945
25946
25947
25948
25949
25950
25951
25952
25953
25954
25955
25956
25957
25958
25959
25960
25961
25962
25963
25964
25965
25966
25967
25968
25969
25970
25971
25972
25973
25974
25975
25976
25977
25978
25979
25980
25981
25982
25983
25984
25985
25986
25987
25988
25989
25990
25991
25992
25993
25994
25995
25996
25997
25998
25999
26000
26001
26002
26003
26004
26005
26006
26007
26008
26009
26010
26011
26012
26013
26014
26015
26016
26017
26018
26019
26020
26021
26022
26023
26024
26025
26026
26027
26028
26029
26030
26031
26032
26033
26034
26035
26036
26037
26038
26039
26040
26041
26042
26043
26044
26045
26046
26047
26048
26049
26050
26051
26052
26053
26054
26055
26056
26057
26058
26059
26060
26061
26062
26063
26064
26065
26066
26067
26068
26069
26070
26071
26072
26073
26074
26075
26076
26077
26078
26079
26080
26081
26082
26083
26084
26085
26086
26087
26088
26089
26090
26091
26092
26093
26094
26095
26096
26097
26098
26099
26100
26101
26102
26103
26104
26105
26106
26107
26108
26109
26110
26111
26112
26113
26114
26115
26116
26117
26118
26119
26120
26121
26122
26123
26124
26125
26126
26127
26128
26129
26130
26131
26132
26133
26134
26135
26136
26137
26138
26139
26140
26141
26142
26143
26144
26145
26146
26147
26148
26149
26150
26151
26152
26153
26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
26185
26186
26187
26188
26189
26190
26191
26192
26193
26194
26195
26196
26197
26198
26199
26200
26201
26202
26203
26204
26205
26206
26207
26208
26209
26210
26211
26212
26213
26214
26215
26216
26217
26218
26219
26220
26221
26222
26223
26224
26225
26226
26227
26228
26229
26230
26231
26232
26233
26234
26235
26236
26237
26238
26239
26240
26241
26242
26243
26244
26245
26246
26247
26248
26249
26250
26251
26252
26253
26254
26255
26256
26257
26258
26259
26260
26261
26262
26263
26264
26265
26266
26267
26268
26269
26270
26271
26272
26273
26274
26275
26276
26277
26278
26279
26280
26281
26282
26283
26284
26285
26286
26287
26288
26289
26290
26291
26292
26293
26294
26295
26296
26297
26298
26299
26300
26301
26302
26303
26304
26305
26306
26307
26308
26309
26310
26311
26312
26313
26314
26315
26316
26317
26318
26319
26320
26321
26322
26323
26324
26325
26326
26327
26328
26329
26330
26331
26332
26333
26334
26335
26336
26337
26338
26339
26340
26341
26342
26343
26344
26345
26346
26347
26348
26349
26350
26351
26352
26353
26354
26355
26356
26357
26358
26359
26360
26361
26362
26363
26364
26365
26366
26367
26368
26369
26370
26371
26372
26373
26374
26375
26376
26377
26378
26379
26380
26381
26382
26383
26384
26385
26386
26387
26388
26389
26390
26391
26392
26393
26394
26395
26396
26397
26398
26399
26400
26401
26402
26403
26404
26405
26406
26407
26408
26409
26410
26411
26412
26413
26414
26415
26416
26417
26418
26419
26420
26421
26422
26423
26424
26425
26426
26427
26428
26429
26430
26431
26432
26433
26434
26435
26436
26437
26438
26439
26440
26441
26442
26443
26444
26445
26446
26447
26448
26449
26450
26451
26452
26453
26454
26455
26456
26457
26458
26459
26460
26461
26462
26463
26464
26465
26466
26467
26468
26469
26470
26471
26472
26473
26474
26475
26476
26477
26478
26479
26480
26481
26482
26483
26484
26485
26486
26487
26488
26489
26490
26491
26492
26493
26494
26495
26496
26497
26498
26499
26500
26501
26502
26503
26504
26505
26506
26507
26508
26509
26510
26511
26512
26513
26514
26515
26516
26517
26518
26519
26520
26521
26522
26523
26524
26525
26526
26527
26528
26529
26530
26531
26532
26533
26534
26535
26536
26537
26538
26539
26540
26541
26542
26543
26544
26545
26546
26547
26548
26549
26550
26551
26552
26553
26554
26555
26556
26557
26558
26559
26560
26561
26562
26563
26564
26565
26566
26567
26568
26569
26570
26571
26572
26573
26574
26575
26576
26577
26578
26579
26580
26581
26582
26583
26584
26585
26586
26587
26588
26589
26590
26591
26592
26593
26594
26595
26596
26597
26598
26599
26600
26601
26602
26603
26604
26605
26606
26607
26608
26609
26610
26611
26612
26613
26614
26615
26616
26617
26618
26619
26620
26621
26622
26623
26624
26625
26626
26627
26628
26629
26630
26631
26632
26633
26634
26635
26636
26637
26638
26639
26640
26641
26642
26643
26644
26645
26646
26647
26648
26649
26650
26651
26652
26653
26654
26655
26656
26657
26658
26659
26660
26661
26662
26663
26664
26665
26666
26667
26668
26669
26670
26671
26672
26673
26674
26675
26676
26677
26678
26679
26680
26681
26682
26683
26684
26685
26686
26687
26688
26689
26690
26691
26692
26693
26694
26695
26696
26697
26698
26699
26700
26701
26702
26703
26704
26705
26706
26707
26708
26709
26710
26711
26712
26713
26714
26715
26716
26717
26718
26719
26720
26721
26722
26723
26724
26725
26726
26727
26728
26729
26730
26731
26732
26733
26734
26735
26736
26737
26738
26739
26740
26741
26742
26743
26744
26745
26746
26747
26748
26749
26750
26751
26752
26753
26754
26755
26756
26757
26758
26759
26760
26761
26762
26763
26764
26765
26766
26767
26768
26769
26770
26771
26772
26773
26774
26775
26776
26777
26778
26779
26780
26781
26782
26783
26784
26785
26786
26787
26788
26789
26790
26791
26792
26793
26794
26795
26796
26797
26798
26799
26800
26801
26802
26803
26804
26805
26806
26807
26808
26809
26810
26811
26812
26813
26814
26815
26816
26817
26818
26819
26820
26821
26822
26823
26824
26825
26826
26827
26828
26829
26830
26831
26832
26833
26834
26835
26836
26837
26838
26839
26840
26841
26842
26843
26844
26845
26846
26847
26848
26849
26850
26851
26852
26853
26854
26855
26856
26857
26858
26859
26860
26861
26862
26863
26864
26865
26866
26867
26868
26869
26870
26871
26872
26873
26874
26875
26876
26877
26878
26879
26880
26881
26882
26883
26884
26885
26886
26887
26888
26889
26890
26891
26892
26893
26894
26895
26896
26897
26898
26899
26900
26901
26902
26903
26904
26905
26906
26907
26908
26909
26910
26911
26912
26913
26914
26915
26916
26917
26918
26919
26920
26921
26922
26923
26924
26925
26926
26927
26928
26929
26930
26931
26932
26933
26934
26935
26936
26937
26938
26939
26940
26941
26942
26943
26944
26945
26946
26947
26948
26949
26950
26951
26952
26953
26954
26955
26956
26957
26958
26959
26960
26961
26962
26963
26964
26965
26966
26967
26968
26969
26970
26971
26972
26973
26974
26975
26976
26977
26978
26979
26980
26981
26982
26983
26984
26985
26986
26987
26988
26989
26990
26991
26992
26993
26994
26995
26996
26997
26998
26999
27000
27001
27002
27003
27004
27005
27006
27007
27008
27009
27010
27011
27012
27013
27014
27015
27016
27017
27018
27019
27020
27021
27022
27023
27024
27025
27026
27027
27028
27029
27030
27031
27032
27033
27034
27035
27036
27037
27038
27039
27040
27041
27042
27043
27044
27045
27046
27047
27048
27049
27050
27051
27052
27053
27054
27055
27056
27057
27058
27059
27060
27061
27062
27063
27064
27065
27066
27067
27068
27069
27070
27071
27072
27073
27074
27075
27076
27077
27078
27079
27080
27081
27082
27083
27084
27085
27086
27087
27088
27089
27090
27091
27092
27093
27094
27095
27096
27097
27098
27099
27100
27101
27102
27103
27104
27105
27106
27107
27108
27109
27110
27111
27112
27113
27114
27115
27116
27117
27118
27119
27120
27121
27122
27123
27124
27125
27126
27127
27128
27129
27130
27131
27132
27133
27134
27135
27136
27137
27138
27139
27140
27141
27142
27143
27144
27145
27146
27147
27148
27149
27150
27151
27152
27153
27154
27155
27156
27157
27158
27159
27160
27161
27162
27163
27164
27165
27166
27167
27168
27169
27170
27171
27172
27173
27174
27175
27176
27177
27178
27179
27180
27181
27182
27183
27184
27185
27186
27187
27188
27189
27190
27191
27192
27193
27194
27195
27196
27197
27198
27199
27200
27201
27202
27203
27204
27205
27206
27207
27208
27209
27210
27211
27212
27213
27214
27215
27216
27217
27218
27219
27220
27221
27222
27223
27224
27225
27226
27227
27228
27229
27230
27231
27232
27233
27234
27235
27236
27237
27238
27239
27240
27241
27242
27243
27244
27245
27246
27247
27248
27249
27250
27251
27252
27253
27254
27255
27256
27257
27258
27259
27260
27261
27262
27263
27264
27265
27266
27267
27268
27269
27270
27271
27272
27273
27274
27275
27276
27277
27278
27279
27280
27281
27282
27283
27284
27285
27286
27287
27288
27289
27290
27291
27292
27293
27294
27295
27296
27297
27298
27299
27300
27301
27302
27303
27304
27305
27306
27307
27308
27309
27310
27311
27312
27313
27314
27315
27316
27317
27318
27319
27320
27321
27322
27323
27324
27325
27326
27327
27328
27329
27330
27331
27332
27333
27334
27335
27336
27337
27338
27339
27340
27341
27342
27343
27344
27345
27346
27347
27348
27349
27350
27351
27352
27353
27354
27355
27356
27357
27358
27359
27360
27361
27362
27363
27364
27365
27366
27367
27368
27369
27370
27371
27372
27373
27374
27375
27376
27377
27378
27379
27380
27381
27382
27383
27384
27385
27386
27387
27388
27389
27390
27391
27392
27393
27394
27395
27396
27397
27398
27399
27400
27401
27402
27403
27404
27405
27406
27407
27408
27409
27410
27411
27412
27413
27414
27415
27416
27417
27418
27419
27420
27421
27422
27423
27424
27425
27426
27427
27428
27429
27430
27431
27432
27433
27434
27435
27436
27437
27438
27439
27440
27441
27442
27443
27444
27445
27446
27447
27448
27449
27450
27451
27452
27453
27454
27455
27456
27457
27458
27459
27460
27461
27462
27463
27464
27465
27466
27467
27468
27469
27470
27471
27472
27473
27474
27475
27476
27477
27478
27479
27480
27481
27482
27483
27484
27485
27486
27487
27488
27489
27490
27491
27492
27493
27494
27495
27496
27497
27498
27499
27500
27501
27502
27503
27504
27505
27506
27507
27508
27509
27510
27511
27512
27513
27514
27515
27516
27517
27518
27519
27520
27521
27522
27523
27524
27525
27526
27527
27528
27529
27530
27531
27532
27533
27534
27535
27536
27537
27538
27539
27540
27541
27542
27543
27544
27545
27546
27547
27548
27549
27550
27551
27552
27553
27554
27555
27556
27557
27558
27559
27560
27561
27562
27563
27564
27565
27566
27567
27568
27569
27570
27571
27572
27573
27574
27575
27576
27577
27578
27579
27580
27581
27582
27583
27584
27585
27586
27587
27588
27589
27590
27591
27592
27593
27594
27595
27596
27597
27598
27599
27600
27601
27602
27603
27604
27605
27606
27607
27608
27609
27610
27611
27612
27613
27614
27615
27616
27617
27618
27619
27620
27621
27622
27623
27624
27625
27626
27627
27628
27629
27630
27631
27632
27633
27634
27635
27636
27637
27638
27639
27640
27641
27642
27643
27644
27645
27646
27647
27648
27649
27650
27651
27652
27653
27654
27655
27656
27657
27658
27659
27660
27661
27662
27663
27664
27665
27666
27667
27668
27669
27670
27671
27672
27673
27674
27675
27676
27677
27678
27679
27680
27681
27682
27683
27684
27685
27686
27687
27688
27689
27690
27691
27692
27693
27694
27695
27696
27697
27698
27699
27700
27701
27702
27703
27704
27705
27706
27707
27708
27709
27710
27711
27712
27713
27714
27715
27716
27717
27718
27719
27720
27721
27722
27723
27724
27725
27726
27727
27728
27729
27730
27731
27732
27733
27734
27735
27736
27737
27738
27739
27740
27741
27742
27743
27744
27745
27746
27747
27748
27749
27750
27751
27752
27753
27754
27755
27756
27757
27758
27759
27760
27761
27762
27763
27764
27765
27766
27767
27768
27769
27770
27771
27772
27773
27774
27775
27776
27777
27778
27779
27780
27781
27782
27783
27784
27785
27786
27787
27788
27789
27790
27791
27792
27793
27794
27795
27796
27797
27798
27799
27800
27801
27802
27803
27804
27805
27806
27807
27808
27809
27810
27811
27812
27813
27814
27815
27816
27817
27818
27819
27820
27821
27822
27823
27824
27825
27826
27827
27828
27829
27830
27831
27832
27833
27834
27835
27836
27837
27838
27839
27840
27841
27842
27843
27844
27845
27846
27847
27848
27849
27850
27851
27852
27853
27854
27855
27856
27857
27858
27859
27860
27861
27862
27863
27864
27865
27866
27867
27868
27869
27870
27871
27872
27873
27874
27875
27876
27877
27878
27879
27880
27881
27882
27883
27884
27885
27886
27887
27888
27889
27890
27891
27892
27893
27894
27895
27896
27897
27898
27899
27900
27901
27902
27903
27904
27905
27906
27907
27908
27909
27910
27911
27912
27913
27914
27915
27916
27917
27918
27919
27920
27921
27922
27923
27924
27925
27926
27927
27928
27929
27930
27931
27932
27933
27934
27935
27936
27937
27938
27939
27940
27941
27942
27943
27944
27945
27946
27947
27948
27949
27950
27951
27952
27953
27954
27955
27956
27957
27958
27959
27960
27961
27962
27963
27964
27965
27966
27967
27968
27969
27970
27971
27972
27973
27974
27975
27976
27977
27978
27979
27980
27981
27982
27983
27984
27985
27986
27987
27988
27989
27990
27991
27992
27993
27994
27995
27996
27997
27998
27999
28000
28001
28002
28003
28004
28005
28006
28007
28008
28009
28010
28011
28012
28013
28014
28015
28016
28017
28018
28019
28020
28021
28022
28023
28024
28025
28026
28027
28028
28029
28030
28031
28032
28033
28034
28035
28036
28037
28038
28039
28040
28041
28042
28043
28044
28045
28046
28047
28048
28049
28050
28051
28052
28053
28054
28055
28056
28057
28058
28059
28060
28061
28062
28063
28064
28065
28066
28067
28068
28069
28070
28071
28072
28073
28074
28075
28076
28077
28078
28079
28080
28081
28082
28083
28084
28085
28086
28087
28088
28089
28090
28091
28092
28093
28094
28095
28096
28097
28098
28099
28100
28101
28102
28103
28104
28105
28106
28107
28108
28109
28110
28111
28112
28113
28114
28115
28116
28117
28118
28119
28120
28121
28122
28123
28124
28125
28126
28127
28128
28129
28130
28131
28132
28133
28134
28135
28136
28137
28138
28139
28140
28141
28142
28143
28144
28145
28146
28147
28148
28149
28150
28151
28152
28153
28154
28155
28156
28157
28158
28159
28160
28161
28162
28163
28164
28165
28166
28167
28168
28169
28170
28171
28172
28173
28174
28175
28176
28177
28178
28179
28180
28181
28182
28183
28184
28185
28186
28187
28188
28189
28190
28191
28192
28193
28194
28195
28196
28197
28198
28199
28200
28201
28202
28203
28204
28205
28206
28207
28208
28209
28210
28211
28212
28213
28214
28215
28216
28217
28218
28219
28220
28221
28222
28223
28224
28225
28226
28227
28228
28229
28230
28231
28232
28233
28234
28235
28236
28237
28238
28239
28240
28241
28242
28243
28244
28245
28246
28247
28248
28249
28250
28251
28252
28253
28254
28255
28256
28257
28258
28259
28260
28261
28262
28263
28264
28265
28266
28267
28268
28269
28270
28271
28272
28273
28274
28275
28276
28277
28278
28279
28280
28281
28282
28283
28284
28285
28286
28287
28288
28289
28290
28291
28292
28293
28294
28295
28296
28297
28298
28299
28300
28301
28302
28303
28304
28305
28306
28307
28308
28309
28310
28311
28312
28313
28314
28315
28316
28317
28318
28319
28320
28321
28322
28323
28324
28325
28326
28327
28328
28329
28330
28331
28332
28333
28334
28335
28336
28337
28338
28339
28340
28341
28342
28343
28344
28345
28346
28347
28348
28349
28350
28351
28352
28353
28354
28355
28356
28357
28358
28359
28360
28361
28362
28363
28364
28365
28366
28367
28368
28369
28370
28371
28372
28373
28374
28375
28376
28377
28378
28379
28380
28381
28382
28383
28384
28385
28386
28387
28388
28389
28390
28391
28392
28393
28394
28395
28396
28397
28398
28399
28400
28401
28402
28403
28404
28405
28406
28407
28408
28409
28410
28411
28412
28413
28414
28415
28416
28417
28418
28419
28420
28421
28422
28423
28424
28425
28426
28427
28428
28429
28430
28431
28432
28433
28434
28435
28436
28437
28438
28439
28440
28441
28442
28443
28444
28445
28446
28447
28448
28449
28450
28451
28452
28453
28454
28455
28456
28457
28458
28459
28460
28461
28462
28463
28464
28465
28466
28467
28468
28469
28470
28471
28472
28473
28474
28475
28476
28477
28478
28479
28480
28481
28482
28483
28484
28485
28486
28487
28488
28489
28490
28491
28492
28493
28494
28495
28496
28497
28498
28499
28500
28501
28502
28503
28504
28505
28506
28507
28508
28509
28510
28511
28512
28513
28514
28515
28516
28517
28518
28519
28520
28521
28522
28523
28524
28525
28526
28527
28528
28529
28530
28531
28532
28533
28534
28535
28536
28537
28538
28539
28540
28541
28542
28543
28544
28545
28546
28547
28548
28549
28550
28551
28552
28553
28554
28555
28556
28557
28558
28559
28560
28561
28562
28563
28564
28565
28566
28567
28568
28569
28570
28571
28572
28573
28574
28575
28576
28577
28578
28579
28580
28581
28582
28583
28584
28585
28586
28587
28588
28589
28590
28591
28592
28593
28594
28595
28596
28597
28598
28599
28600
28601
28602
28603
28604
28605
28606
28607
28608
28609
28610
28611
28612
28613
28614
28615
28616
28617
28618
28619
28620
28621
28622
28623
28624
28625
28626
28627
28628
28629
28630
28631
28632
28633
28634
28635
28636
28637
28638
28639
28640
28641
28642
28643
28644
28645
28646
28647
28648
28649
28650
28651
28652
28653
28654
28655
28656
28657
28658
28659
28660
28661
28662
28663
28664
28665
28666
28667
28668
28669
28670
28671
28672
28673
28674
28675
28676
28677
28678
28679
28680
28681
28682
28683
28684
28685
28686
28687
28688
28689
28690
28691
28692
28693
28694
28695
28696
28697
28698
28699
28700
28701
28702
28703
28704
28705
28706
28707
28708
28709
28710
28711
28712
28713
28714
28715
28716
28717
28718
28719
28720
28721
28722
28723
28724
28725
28726
28727
28728
28729
28730
28731
28732
28733
28734
28735
28736
28737
28738
28739
28740
28741
28742
28743
28744
28745
28746
28747
28748
28749
28750
28751
28752
28753
28754
28755
28756
28757
28758
28759
28760
28761
28762
28763
28764
28765
28766
28767
28768
28769
28770
28771
28772
28773
28774
28775
28776
28777
28778
28779
28780
28781
28782
28783
28784
28785
28786
28787
28788
28789
28790
28791
28792
28793
28794
28795
28796
28797
28798
28799
28800
28801
28802
28803
28804
28805
28806
28807
28808
28809
28810
28811
28812
28813
28814
28815
28816
28817
28818
28819
28820
28821
28822
28823
28824
28825
28826
28827
28828
28829
28830
28831
28832
28833
28834
28835
28836
28837
28838
28839
28840
28841
28842
28843
28844
28845
28846
28847
28848
28849
28850
28851
28852
28853
28854
28855
28856
28857
28858
28859
28860
28861
28862
28863
28864
28865
28866
28867
28868
28869
28870
28871
28872
28873
28874
28875
28876
28877
28878
28879
28880
28881
28882
28883
28884
28885
28886
28887
28888
28889
28890
28891
28892
28893
28894
28895
28896
28897
28898
28899
28900
28901
28902
28903
28904
28905
28906
28907
28908
28909
28910
28911
28912
28913
28914
28915
28916
28917
28918
28919
28920
28921
28922
28923
28924
28925
28926
28927
28928
28929
28930
28931
28932
28933
28934
28935
28936
28937
28938
28939
28940
28941
28942
28943
28944
28945
28946
28947
28948
28949
28950
28951
28952
28953
28954
28955
28956
28957
28958
28959
28960
28961
28962
28963
28964
28965
28966
28967
28968
28969
28970
28971
28972
28973
28974
28975
28976
28977
28978
28979
28980
28981
28982
28983
28984
28985
28986
28987
28988
28989
28990
28991
28992
28993
28994
28995
28996
28997
28998
28999
29000
29001
29002
29003
29004
29005
29006
29007
29008
29009
29010
29011
29012
29013
29014
29015
29016
29017
29018
29019
29020
29021
29022
29023
29024
29025
29026
29027
29028
29029
29030
29031
29032
29033
29034
29035
29036
29037
29038
29039
29040
29041
29042
29043
29044
29045
29046
29047
29048
29049
29050
29051
29052
29053
29054
29055
29056
29057
29058
29059
29060
29061
29062
29063
29064
29065
29066
29067
29068
29069
29070
29071
29072
29073
29074
29075
29076
29077
29078
29079
29080
29081
29082
29083
29084
29085
29086
29087
29088
29089
29090
29091
29092
29093
29094
29095
29096
29097
29098
29099
29100
29101
29102
29103
29104
29105
29106
29107
29108
29109
29110
29111
29112
29113
29114
29115
29116
29117
29118
29119
29120
29121
29122
29123
29124
29125
29126
29127
29128
29129
29130
29131
29132
29133
29134
29135
29136
29137
29138
29139
29140
29141
29142
29143
29144
29145
29146
29147
29148
29149
29150
29151
29152
29153
29154
29155
29156
29157
29158
29159
29160
29161
29162
29163
29164
29165
29166
29167
29168
29169
29170
29171
29172
29173
29174
29175
29176
29177
29178
29179
29180
29181
29182
29183
29184
29185
29186
29187
29188
29189
29190
29191
29192
29193
29194
29195
29196
29197
29198
29199
29200
29201
29202
29203
29204
29205
29206
29207
29208
29209
29210
29211
29212
29213
29214
29215
29216
29217
29218
29219
29220
29221
29222
29223
29224
29225
29226
29227
29228
29229
29230
29231
29232
29233
29234
29235
29236
29237
29238
29239
29240
29241
29242
29243
29244
29245
29246
29247
29248
29249
29250
29251
29252
29253
29254
29255
29256
29257
29258
29259
29260
29261
29262
29263
29264
29265
29266
29267
29268
29269
29270
29271
29272
29273
29274
29275
29276
29277
29278
29279
29280
29281
29282
29283
29284
29285
29286
29287
29288
29289
29290
29291
29292
29293
29294
29295
29296
29297
29298
29299
29300
29301
29302
29303
29304
29305
29306
29307
29308
29309
29310
29311
29312
29313
29314
29315
29316
29317
29318
29319
29320
29321
29322
29323
29324
29325
29326
29327
29328
29329
29330
29331
29332
29333
29334
29335
29336
29337
29338
29339
29340
29341
29342
29343
29344
29345
29346
29347
29348
29349
29350
29351
29352
29353
29354
29355
29356
29357
29358
29359
29360
29361
29362
29363
29364
29365
29366
29367
29368
29369
29370
29371
29372
29373
29374
29375
29376
29377
29378
29379
29380
29381
29382
29383
29384
29385
29386
29387
29388
29389
29390
29391
29392
29393
29394
29395
29396
29397
29398
29399
29400
29401
29402
29403
29404
29405
29406
29407
29408
29409
29410
29411
29412
29413
29414
29415
29416
29417
29418
29419
29420
29421
29422
29423
29424
29425
29426
29427
29428
29429
29430
29431
29432
29433
29434
29435
29436
29437
29438
29439
29440
29441
29442
29443
29444
29445
29446
29447
29448
29449
29450
29451
29452
29453
29454
29455
29456
29457
29458
29459
29460
29461
29462
29463
29464
29465
29466
29467
29468
29469
29470
29471
29472
29473
29474
29475
29476
29477
29478
29479
29480
29481
29482
29483
29484
29485
29486
29487
29488
29489
29490
29491
29492
29493
29494
29495
29496
29497
29498
29499
29500
29501
29502
29503
29504
29505
29506
29507
29508
29509
29510
29511
29512
29513
29514
29515
29516
29517
29518
29519
29520
29521
29522
29523
29524
29525
29526
29527
29528
29529
29530
29531
29532
29533
29534
29535
29536
29537
29538
29539
29540
29541
29542
29543
29544
29545
29546
29547
29548
29549
29550
29551
29552
29553
29554
29555
29556
29557
29558
29559
29560
29561
29562
29563
29564
29565
29566
29567
29568
29569
29570
29571
29572
29573
29574
29575
29576
29577
29578
29579
29580
29581
29582
29583
29584
29585
29586
29587
29588
29589
29590
29591
29592
29593
29594
29595
29596
29597
29598
29599
29600
29601
29602
29603
29604
29605
29606
29607
29608
29609
29610
29611
29612
29613
29614
29615
29616
29617
29618
29619
29620
29621
29622
29623
29624
29625
29626
29627
29628
29629
29630
29631
29632
29633
29634
29635
29636
29637
29638
29639
29640
29641
29642
29643
29644
29645
29646
29647
29648
29649
29650
29651
29652
29653
29654
29655
29656
29657
29658
29659
29660
29661
29662
29663
29664
29665
29666
29667
29668
29669
29670
29671
29672
29673
29674
29675
29676
29677
29678
29679
29680
29681
29682
29683
29684
29685
29686
29687
29688
29689
29690
29691
29692
29693
29694
29695
29696
29697
29698
29699
29700
29701
29702
29703
29704
29705
29706
29707
29708
29709
29710
29711
29712
29713
29714
29715
29716
29717
29718
29719
29720
29721
29722
29723
29724
29725
29726
29727
29728
29729
29730
29731
29732
29733
29734
29735
29736
29737
29738
29739
29740
29741
29742
29743
29744
29745
29746
29747
29748
29749
29750
29751
29752
29753
29754
29755
29756
29757
29758
29759
29760
29761
29762
29763
29764
29765
29766
29767
29768
29769
29770
29771
29772
29773
29774
29775
29776
29777
29778
29779
29780
29781
29782
29783
29784
29785
29786
29787
29788
29789
29790
29791
29792
29793
29794
29795
29796
29797
29798
29799
29800
29801
29802
29803
29804
29805
29806
29807
29808
29809
29810
29811
29812
29813
29814
29815
29816
29817
29818
29819
29820
29821
29822
29823
29824
29825
29826
29827
29828
29829
29830
29831
29832
29833
29834
29835
29836
29837
29838
29839
29840
29841
29842
29843
29844
29845
29846
29847
29848
29849
29850
29851
29852
29853
29854
29855
29856
29857
29858
29859
29860
29861
29862
29863
29864
29865
29866
29867
29868
29869
29870
29871
29872
29873
29874
29875
29876
29877
29878
29879
29880
29881
29882
29883
29884
29885
29886
29887
29888
29889
29890
29891
29892
29893
29894
29895
29896
29897
29898
29899
29900
29901
29902
29903
29904
29905
29906
29907
29908
29909
29910
29911
29912
29913
29914
29915
29916
29917
29918
29919
29920
29921
29922
29923
29924
29925
29926
29927
29928
29929
29930
29931
29932
29933
29934
29935
29936
29937
29938
29939
29940
29941
29942
29943
29944
29945
29946
29947
29948
29949
29950
29951
29952
29953
29954
29955
29956
29957
29958
29959
29960
29961
29962
29963
29964
29965
29966
29967
29968
29969
29970
29971
29972
29973
29974
29975
29976
29977
29978
29979
29980
29981
29982
29983
29984
29985
29986
29987
29988
29989
29990
29991
29992
29993
29994
29995
29996
29997
29998
29999
30000
30001
30002
30003
30004
30005
30006
30007
30008
30009
30010
30011
30012
30013
30014
30015
30016
30017
30018
30019
30020
30021
30022
30023
30024
30025
30026
30027
30028
30029
30030
30031
30032
30033
30034
30035
30036
30037
30038
30039
30040
30041
30042
30043
30044
30045
30046
30047
30048
30049
30050
30051
30052
30053
30054
30055
30056
30057
30058
30059
30060
30061
30062
30063
30064
30065
30066
30067
30068
30069
30070
30071
30072
30073
30074
30075
30076
30077
30078
30079
30080
30081
30082
30083
30084
30085
30086
30087
30088
30089
30090
30091
30092
30093
30094
30095
30096
30097
30098
30099
30100
30101
30102
30103
30104
30105
30106
30107
30108
30109
30110
30111
30112
30113
30114
30115
30116
30117
30118
30119
30120
30121
30122
30123
30124
30125
30126
30127
30128
30129
30130
30131
30132
30133
30134
30135
30136
30137
30138
30139
30140
30141
30142
30143
30144
30145
30146
30147
30148
30149
30150
30151
30152
30153
30154
30155
30156
30157
30158
30159
30160
30161
30162
30163
30164
30165
30166
30167
30168
30169
30170
30171
30172
30173
30174
30175
30176
30177
30178
30179
30180
30181
30182
30183
30184
30185
30186
30187
30188
30189
30190
30191
30192
30193
30194
30195
30196
30197
30198
30199
30200
30201
30202
30203
30204
30205
30206
30207
30208
30209
30210
30211
30212
30213
30214
30215
30216
30217
30218
30219
30220
30221
30222
30223
30224
30225
30226
30227
30228
30229
30230
30231
30232
30233
30234
30235
30236
30237
30238
30239
30240
30241
30242
30243
30244
30245
30246
30247
30248
30249
30250
30251
30252
30253
30254
30255
30256
30257
30258
30259
30260
30261
30262
30263
30264
30265
30266
30267
30268
30269
30270
30271
30272
30273
30274
30275
30276
30277
30278
30279
30280
30281
30282
30283
30284
30285
30286
30287
30288
30289
30290
30291
30292
30293
30294
30295
30296
30297
30298
30299
30300
30301
30302
30303
30304
30305
30306
30307
30308
30309
30310
30311
30312
30313
30314
30315
30316
30317
30318
30319
30320
30321
30322
30323
30324
30325
30326
30327
30328
30329
30330
30331
30332
30333
30334
30335
30336
30337
30338
30339
30340
30341
30342
30343
30344
30345
30346
30347
30348
30349
30350
30351
30352
30353
30354
30355
30356
30357
30358
30359
30360
30361
30362
30363
30364
30365
30366
30367
30368
30369
30370
30371
30372
30373
30374
30375
30376
30377
30378
30379
30380
30381
30382
30383
30384
30385
30386
30387
30388
30389
30390
30391
30392
30393
30394
30395
30396
30397
30398
30399
30400
30401
30402
30403
30404
30405
30406
30407
30408
30409
30410
30411
30412
30413
30414
30415
30416
30417
30418
30419
30420
30421
30422
30423
30424
30425
30426
30427
30428
30429
30430
30431
30432
30433
30434
30435
30436
30437
30438
30439
30440
30441
30442
30443
30444
30445
30446
30447
30448
30449
30450
30451
30452
30453
30454
30455
30456
30457
30458
30459
30460
30461
30462
30463
30464
30465
30466
30467
30468
30469
30470
30471
30472
30473
30474
30475
30476
30477
30478
30479
30480
30481
30482
30483
30484
30485
30486
30487
30488
30489
30490
30491
30492
30493
30494
30495
30496
30497
30498
30499
30500
30501
30502
30503
30504
30505
30506
30507
30508
30509
30510
30511
30512
30513
30514
30515
30516
30517
30518
30519
30520
30521
30522
30523
30524
30525
30526
30527
30528
30529
30530
30531
30532
30533
30534
30535
30536
30537
30538
30539
30540
30541
30542
30543
30544
30545
30546
30547
30548
30549
30550
30551
30552
30553
30554
30555
30556
30557
30558
30559
30560
30561
30562
30563
30564
30565
30566
30567
30568
30569
30570
30571
30572
30573
30574
30575
30576
30577
30578
30579
30580
30581
30582
30583
30584
30585
30586
30587
30588
30589
30590
30591
30592
30593
30594
30595
30596
30597
30598
30599
30600
30601
30602
30603
30604
30605
30606
30607
30608
30609
30610
30611
30612
30613
30614
30615
30616
30617
30618
30619
30620
30621
30622
30623
30624
30625
30626
30627
30628
30629
30630
30631
30632
30633
30634
30635
30636
30637
30638
30639
30640
30641
30642
30643
30644
30645
30646
30647
30648
30649
30650
30651
30652
30653
30654
30655
30656
30657
30658
30659
30660
30661
30662
30663
30664
30665
30666
30667
30668
30669
30670
30671
30672
30673
30674
30675
30676
30677
30678
30679
30680
30681
30682
30683
30684
30685
30686
30687
30688
30689
30690
30691
30692
30693
30694
30695
30696
30697
30698
30699
30700
30701
30702
30703
30704
30705
30706
30707
30708
30709
30710
30711
30712
30713
30714
30715
30716
30717
30718
30719
30720
30721
30722
30723
30724
30725
30726
30727
30728
30729
30730
30731
30732
30733
30734
30735
30736
30737
30738
30739
30740
30741
30742
30743
30744
30745
30746
30747
30748
30749
30750
30751
30752
30753
30754
30755
30756
30757
30758
30759
30760
30761
30762
30763
30764
30765
30766
30767
30768
30769
30770
30771
30772
30773
30774
30775
30776
30777
30778
30779
30780
30781
30782
30783
30784
30785
30786
30787
30788
30789
30790
30791
30792
30793
30794
30795
30796
30797
30798
30799
30800
30801
30802
30803
30804
30805
30806
30807
30808
30809
30810
30811
30812
30813
30814
30815
30816
30817
30818
30819
30820
30821
30822
30823
30824
30825
30826
30827
30828
30829
30830
30831
30832
30833
30834
30835
30836
30837
30838
30839
30840
30841
30842
30843
30844
30845
30846
30847
30848
30849
30850
30851
30852
30853
30854
30855
30856
30857
30858
30859
30860
30861
30862
30863
30864
30865
30866
30867
30868
30869
30870
30871
30872
30873
30874
30875
30876
30877
30878
30879
30880
30881
30882
30883
30884
30885
30886
30887
30888
30889
30890
30891
30892
30893
30894
30895
30896
30897
30898
30899
30900
30901
30902
30903
30904
30905
30906
30907
30908
30909
30910
30911
30912
30913
30914
30915
30916
30917
30918
30919
30920
30921
30922
30923
30924
30925
30926
30927
30928
30929
30930
30931
30932
30933
30934
30935
30936
30937
30938
30939
30940
30941
30942
30943
30944
30945
30946
30947
30948
30949
30950
30951
30952
30953
30954
30955
30956
30957
30958
30959
30960
30961
30962
30963
30964
30965
30966
30967
30968
30969
30970
30971
30972
30973
30974
30975
30976
30977
30978
30979
30980
30981
30982
30983
30984
30985
30986
30987
30988
30989
30990
30991
30992
30993
30994
30995
30996
30997
30998
30999
31000
31001
31002
31003
31004
31005
31006
31007
31008
31009
31010
31011
31012
31013
31014
31015
31016
31017
31018
31019
31020
31021
31022
31023
31024
31025
31026
31027
31028
31029
31030
31031
31032
31033
31034
31035
31036
31037
31038
31039
31040
31041
31042
31043
31044
31045
31046
31047
31048
31049
31050
31051
31052
31053
31054
31055
31056
31057
31058
31059
31060
31061
31062
31063
31064
31065
31066
31067
31068
31069
31070
31071
31072
31073
31074
31075
31076
31077
31078
31079
31080
31081
31082
31083
31084
31085
31086
31087
31088
31089
31090
31091
31092
31093
31094
31095
31096
31097
31098
31099
31100
31101
31102
31103
31104
31105
31106
31107
31108
31109
31110
31111
31112
31113
31114
31115
31116
31117
31118
31119
31120
31121
31122
31123
31124
31125
31126
31127
31128
31129
31130
31131
31132
31133
31134
31135
31136
31137
31138
31139
31140
31141
31142
31143
31144
31145
31146
31147
31148
31149
31150
31151
31152
31153
31154
31155
31156
31157
31158
31159
31160
31161
31162
31163
31164
31165
31166
31167
31168
31169
31170
31171
31172
31173
31174
31175
31176
31177
31178
31179
31180
31181
31182
31183
31184
31185
31186
31187
31188
31189
31190
31191
31192
31193
31194
31195
31196
31197
31198
31199
31200
31201
31202
31203
31204
31205
31206
31207
31208
31209
31210
31211
31212
31213
31214
31215
31216
31217
31218
31219
31220
31221
31222
31223
31224
31225
31226
31227
31228
31229
31230
31231
31232
31233
31234
31235
31236
31237
31238
31239
31240
31241
31242
31243
31244
31245
31246
31247
31248
31249
31250
31251
31252
31253
31254
31255
31256
31257
31258
31259
31260
31261
31262
31263
31264
31265
31266
31267
31268
31269
31270
31271
31272
31273
31274
31275
31276
31277
31278
31279
31280
31281
31282
31283
31284
31285
31286
31287
31288
31289
31290
31291
31292
31293
31294
31295
31296
31297
31298
31299
31300
31301
31302
31303
31304
31305
31306
31307
31308
31309
31310
31311
31312
31313
31314
31315
31316
31317
31318
31319
31320
31321
31322
31323
31324
31325
31326
31327
31328
31329
31330
31331
31332
31333
31334
31335
31336
31337
31338
31339
31340
31341
31342
31343
31344
31345
31346
31347
31348
31349
31350
31351
31352
31353
31354
31355
31356
31357
31358
31359
31360
31361
31362
31363
31364
31365
31366
31367
31368
31369
31370
31371
31372
31373
31374
31375
31376
31377
31378
31379
31380
31381
31382
31383
31384
31385
31386
31387
31388
31389
31390
31391
31392
31393
31394
31395
31396
31397
31398
31399
31400
31401
31402
31403
31404
31405
31406
31407
31408
31409
31410
31411
31412
31413
31414
31415
31416
31417
31418
31419
31420
31421
31422
31423
31424
31425
31426
31427
31428
31429
31430
31431
31432
31433
31434
31435
31436
31437
31438
31439
31440
31441
31442
31443
31444
31445
31446
31447
31448
31449
31450
31451
31452
31453
31454
31455
31456
31457
31458
31459
31460
31461
31462
31463
31464
31465
31466
31467
31468
31469
31470
31471
31472
31473
31474
31475
31476
31477
31478
31479
31480
31481
31482
31483
31484
31485
31486
31487
31488
31489
31490
31491
31492
31493
31494
31495
31496
31497
31498
31499
31500
31501
31502
31503
31504
31505
31506
31507
31508
31509
31510
31511
31512
31513
31514
31515
31516
31517
31518
31519
31520
31521
31522
31523
31524
31525
31526
31527
31528
31529
31530
31531
31532
31533
31534
31535
31536
31537
31538
31539
31540
31541
31542
31543
31544
31545
31546
31547
31548
31549
31550
31551
31552
31553
31554
31555
31556
31557
31558
31559
31560
31561
31562
31563
31564
31565
31566
31567
31568
31569
31570
31571
31572
31573
31574
31575
31576
31577
31578
31579
31580
31581
31582
31583
31584
31585
31586
31587
31588
31589
31590
31591
31592
31593
31594
31595
31596
31597
31598
31599
31600
31601
31602
31603
31604
31605
31606
31607
31608
31609
31610
31611
31612
31613
31614
31615
31616
31617
31618
31619
31620
31621
31622
31623
31624
31625
31626
31627
31628
31629
31630
31631
31632
31633
31634
31635
31636
31637
31638
31639
31640
31641
31642
31643
31644
31645
31646
31647
31648
31649
31650
31651
31652
31653
31654
31655
31656
31657
31658
31659
31660
31661
31662
31663
31664
31665
31666
31667
31668
31669
31670
31671
31672
31673
31674
31675
31676
31677
31678
31679
31680
31681
31682
31683
31684
31685
31686
31687
31688
31689
31690
31691
31692
31693
31694
31695
31696
31697
31698
31699
31700
31701
31702
31703
31704
31705
31706
31707
31708
31709
31710
31711
31712
31713
31714
31715
31716
31717
31718
31719
31720
31721
31722
31723
31724
31725
31726
31727
31728
31729
31730
31731
31732
31733
31734
31735
31736
31737
31738
31739
31740
31741
31742
31743
31744
31745
31746
31747
31748
31749
31750
31751
31752
31753
31754
31755
31756
31757
31758
31759
31760
31761
31762
31763
31764
31765
31766
31767
31768
31769
31770
31771
31772
31773
31774
31775
31776
31777
31778
31779
31780
31781
31782
31783
31784
31785
31786
31787
31788
31789
31790
31791
31792
31793
31794
31795
31796
31797
31798
31799
31800
31801
31802
31803
31804
31805
31806
31807
31808
31809
31810
31811
31812
31813
31814
31815
31816
31817
31818
31819
31820
31821
31822
31823
31824
31825
31826
31827
31828
31829
31830
31831
31832
31833
31834
31835
31836
31837
31838
31839
31840
31841
31842
31843
31844
31845
31846
31847
31848
31849
31850
31851
31852
31853
31854
31855
31856
31857
31858
31859
31860
31861
31862
31863
31864
31865
31866
31867
31868
31869
31870
31871
31872
31873
31874
31875
31876
31877
31878
31879
31880
31881
31882
31883
31884
31885
31886
31887
31888
31889
31890
31891
31892
31893
31894
31895
31896
31897
31898
31899
31900
31901
31902
31903
31904
31905
31906
31907
31908
31909
31910
31911
31912
31913
31914
31915
31916
31917
31918
31919
31920
31921
31922
31923
31924
31925
31926
31927
31928
31929
31930
31931
31932
31933
31934
31935
31936
31937
31938
31939
31940
31941
31942
31943
31944
31945
31946
31947
31948
31949
31950
31951
31952
31953
31954
31955
31956
31957
31958
31959
31960
31961
31962
31963
31964
31965
31966
31967
31968
31969
31970
31971
31972
31973
31974
31975
31976
31977
31978
31979
31980
31981
31982
31983
31984
31985
31986
31987
31988
31989
31990
31991
31992
31993
31994
31995
31996
31997
31998
31999
32000
32001
32002
32003
32004
32005
32006
32007
32008
32009
32010
32011
32012
32013
32014
32015
32016
32017
32018
32019
32020
32021
32022
32023
32024
32025
32026
32027
32028
32029
32030
32031
32032
32033
32034
32035
32036
32037
32038
32039
32040
32041
32042
32043
32044
32045
32046
32047
32048
32049
32050
32051
32052
32053
32054
32055
32056
32057
32058
32059
32060
32061
32062
32063
32064
32065
32066
32067
32068
32069
32070
32071
32072
32073
32074
32075
32076
32077
32078
32079
32080
32081
32082
32083
32084
32085
32086
32087
32088
32089
32090
32091
32092
32093
32094
32095
32096
32097
32098
32099
32100
32101
32102
32103
32104
32105
32106
32107
32108
32109
32110
32111
32112
32113
32114
32115
32116
32117
32118
32119
32120
32121
32122
32123
32124
32125
32126
32127
32128
32129
32130
32131
32132
32133
32134
32135
32136
32137
32138
32139
32140
32141
32142
32143
32144
32145
32146
32147
32148
32149
32150
32151
32152
32153
32154
32155
32156
32157
32158
32159
32160
32161
32162
32163
32164
32165
32166
32167
32168
32169
32170
32171
32172
32173
32174
32175
32176
32177
32178
32179
32180
32181
32182
32183
32184
32185
32186
32187
32188
32189
32190
32191
32192
32193
32194
32195
32196
32197
32198
32199
32200
32201
32202
32203
32204
32205
32206
32207
32208
32209
32210
32211
32212
32213
32214
32215
32216
32217
32218
32219
32220
32221
32222
32223
32224
32225
32226
32227
32228
32229
32230
32231
32232
32233
32234
32235
32236
32237
32238
32239
32240
32241
32242
32243
32244
32245
32246
32247
32248
32249
32250
32251
32252
32253
32254
32255
32256
32257
32258
32259
32260
32261
32262
32263
32264
32265
32266
32267
32268
32269
32270
32271
32272
32273
32274
32275
32276
32277
32278
32279
32280
32281
32282
32283
32284
32285
32286
32287
32288
32289
32290
32291
32292
32293
32294
32295
32296
32297
32298
32299
32300
32301
32302
32303
32304
32305
32306
32307
32308
32309
32310
32311
32312
32313
32314
32315
32316
32317
32318
32319
32320
32321
32322
32323
32324
32325
32326
32327
32328
32329
32330
32331
32332
32333
32334
32335
32336
32337
32338
32339
32340
32341
32342
32343
32344
32345
32346
32347
32348
32349
32350
32351
32352
32353
32354
32355
32356
32357
32358
32359
32360
32361
32362
32363
32364
32365
32366
32367
32368
32369
32370
32371
32372
32373
32374
32375
32376
32377
32378
32379
32380
32381
32382
32383
32384
32385
32386
32387
32388
32389
32390
32391
32392
32393
32394
32395
32396
32397
32398
32399
32400
32401
32402
32403
32404
32405
32406
32407
32408
32409
32410
32411
32412
32413
32414
32415
32416
32417
32418
32419
32420
32421
32422
32423
32424
32425
32426
32427
32428
32429
32430
32431
32432
32433
32434
32435
32436
32437
32438
32439
32440
32441
32442
32443
32444
32445
32446
32447
32448
32449
32450
32451
32452
32453
32454
32455
32456
32457
32458
32459
32460
32461
32462
32463
32464
32465
32466
32467
32468
32469
32470
32471
32472
32473
32474
32475
32476
32477
32478
32479
32480
32481
32482
32483
32484
32485
32486
32487
32488
32489
32490
32491
32492
32493
32494
32495
32496
32497
32498
32499
32500
32501
32502
32503
32504
32505
32506
32507
32508
32509
32510
32511
32512
32513
32514
32515
32516
32517
32518
32519
32520
32521
32522
32523
32524
32525
32526
32527
32528
32529
32530
32531
32532
32533
32534
32535
32536
32537
32538
32539
32540
32541
32542
32543
32544
32545
32546
32547
32548
32549
32550
32551
32552
32553
32554
32555
32556
32557
32558
32559
32560
32561
32562
32563
32564
32565
32566
32567
32568
32569
32570
32571
32572
32573
32574
32575
32576
32577
32578
32579
32580
32581
32582
32583
32584
32585
32586
32587
32588
32589
32590
32591
32592
32593
32594
32595
32596
32597
32598
32599
32600
32601
32602
32603
32604
32605
32606
32607
32608
32609
32610
32611
32612
32613
32614
32615
32616
32617
32618
32619
32620
32621
32622
32623
32624
32625
32626
32627
32628
32629
32630
32631
32632
32633
32634
32635
32636
32637
32638
32639
32640
32641
32642
32643
32644
32645
32646
32647
32648
32649
32650
32651
32652
32653
32654
32655
32656
32657
32658
32659
32660
32661
32662
32663
32664
32665
32666
32667
32668
32669
32670
32671
32672
32673
32674
32675
32676
32677
32678
32679
32680
32681
32682
32683
32684
32685
32686
32687
32688
32689
32690
32691
32692
32693
32694
32695
32696
32697
32698
32699
32700
32701
32702
32703
32704
32705
32706
32707
32708
32709
32710
32711
32712
32713
32714
32715
32716
32717
32718
32719
32720
32721
32722
32723
32724
32725
32726
32727
32728
32729
32730
32731
32732
32733
32734
32735
32736
32737
32738
32739
32740
32741
32742
32743
32744
32745
32746
32747
32748
32749
32750
32751
32752
32753
32754
32755
32756
32757
32758
32759
32760
32761
32762
32763
32764
32765
32766
32767
32768
32769
32770
32771
32772
32773
32774
32775
32776
32777
32778
32779
32780
32781
32782
32783
32784
32785
32786
32787
32788
32789
32790
32791
32792
32793
32794
32795
32796
32797
32798
32799
32800
32801
32802
32803
32804
32805
32806
32807
32808
32809
32810
32811
32812
32813
32814
32815
32816
32817
32818
32819
32820
32821
32822
32823
32824
32825
32826
32827
32828
32829
32830
32831
32832
32833
32834
32835
32836
32837
32838
32839
32840
32841
32842
32843
32844
32845
32846
32847
32848
32849
32850
32851
32852
32853
32854
32855
32856
32857
32858
32859
32860
32861
32862
32863
32864
32865
32866
32867
32868
32869
32870
32871
32872
32873
32874
32875
32876
32877
32878
32879
32880
32881
32882
32883
32884
32885
32886
32887
32888
32889
32890
32891
32892
32893
32894
32895
32896
32897
32898
32899
32900
32901
32902
32903
32904
32905
32906
32907
32908
32909
32910
32911
32912
32913
32914
32915
32916
32917
32918
32919
32920
32921
32922
32923
32924
32925
32926
32927
32928
32929
32930
32931
32932
32933
32934
32935
32936
32937
32938
32939
32940
32941
32942
32943
32944
32945
32946
32947
32948
32949
32950
32951
32952
32953
32954
32955
32956
32957
32958
32959
32960
32961
32962
32963
32964
32965
32966
32967
32968
32969
32970
32971
32972
32973
32974
32975
32976
32977
32978
32979
32980
32981
32982
32983
32984
32985
32986
32987
32988
32989
32990
32991
32992
32993
32994
32995
32996
32997
32998
32999
33000
33001
33002
33003
33004
33005
33006
33007
33008
33009
33010
33011
33012
33013
33014
33015
33016
33017
33018
33019
33020
33021
33022
33023
33024
33025
33026
33027
33028
33029
33030
33031
33032
33033
33034
33035
33036
33037
33038
33039
33040
33041
33042
33043
33044
33045
33046
33047
33048
33049
33050
33051
33052
33053
33054
33055
33056
33057
33058
33059
33060
33061
33062
33063
33064
33065
33066
33067
33068
33069
33070
33071
33072
33073
33074
33075
33076
33077
33078
33079
33080
33081
33082
33083
33084
33085
33086
33087
33088
33089
33090
33091
33092
33093
33094
33095
33096
33097
33098
33099
33100
33101
33102
33103
33104
33105
33106
33107
33108
33109
33110
33111
33112
33113
33114
33115
33116
33117
33118
33119
33120
33121
33122
33123
33124
33125
33126
33127
33128
33129
33130
33131
33132
33133
33134
33135
33136
33137
33138
33139
33140
33141
33142
33143
33144
33145
33146
33147
33148
33149
33150
33151
33152
33153
33154
33155
33156
33157
33158
33159
33160
33161
33162
33163
33164
33165
33166
33167
33168
33169
33170
33171
33172
33173
33174
33175
33176
33177
33178
33179
33180
33181
33182
33183
33184
33185
33186
33187
33188
33189
33190
33191
33192
33193
33194
33195
33196
33197
33198
33199
33200
33201
33202
33203
33204
33205
33206
33207
33208
33209
33210
33211
33212
33213
33214
33215
33216
33217
33218
33219
33220
33221
33222
33223
33224
33225
33226
33227
33228
33229
33230
33231
33232
33233
33234
33235
33236
33237
33238
33239
33240
33241
33242
33243
33244
33245
33246
33247
33248
33249
33250
33251
33252
33253
33254
33255
33256
33257
33258
33259
33260
33261
33262
33263
33264
33265
33266
33267
33268
33269
33270
33271
33272
33273
33274
33275
33276
33277
33278
33279
33280
33281
33282
33283
33284
33285
33286
33287
33288
33289
33290
33291
33292
33293
33294
33295
33296
33297
33298
33299
33300
33301
33302
33303
33304
33305
33306
33307
33308
33309
33310
33311
33312
33313
33314
33315
33316
33317
33318
33319
33320
33321
33322
33323
33324
33325
33326
33327
33328
33329
33330
33331
33332
33333
33334
33335
33336
33337
33338
33339
33340
33341
33342
33343
33344
33345
33346
33347
33348
33349
33350
33351
33352
33353
33354
33355
33356
33357
33358
33359
33360
33361
33362
33363
33364
33365
33366
33367
33368
33369
33370
33371
33372
33373
33374
33375
33376
33377
33378
33379
33380
33381
33382
33383
33384
33385
33386
33387
33388
33389
33390
33391
33392
33393
33394
33395
33396
33397
33398
33399
33400
33401
33402
33403
33404
33405
33406
33407
33408
33409
33410
33411
33412
33413
33414
33415
33416
33417
33418
33419
33420
33421
33422
33423
33424
33425
33426
33427
33428
33429
33430
33431
33432
33433
33434
33435
33436
33437
33438
33439
33440
33441
33442
33443
33444
33445
33446
33447
33448
33449
33450
33451
33452
33453
33454
33455
33456
33457
33458
33459
33460
33461
33462
33463
33464
33465
33466
33467
33468
33469
33470
33471
33472
33473
33474
33475
33476
33477
33478
33479
33480
33481
33482
33483
33484
33485
33486
33487
33488
33489
33490
33491
33492
33493
33494
33495
33496
33497
33498
33499
33500
33501
33502
33503
33504
33505
33506
33507
33508
33509
33510
33511
33512
33513
33514
33515
33516
33517
33518
33519
33520
33521
33522
33523
33524
33525
33526
33527
33528
33529
33530
33531
33532
33533
33534
33535
33536
33537
33538
33539
33540
33541
33542
33543
33544
33545
33546
33547
33548
33549
33550
33551
33552
33553
33554
33555
33556
33557
33558
33559
33560
33561
33562
33563
33564
33565
33566
33567
33568
33569
33570
33571
33572
33573
33574
33575
33576
33577
33578
33579
33580
33581
33582
33583
33584
33585
33586
33587
33588
33589
33590
33591
33592
33593
33594
33595
33596
33597
33598
33599
33600
33601
33602
33603
33604
33605
33606
33607
33608
33609
33610
33611
33612
33613
33614
33615
33616
33617
33618
33619
33620
33621
33622
33623
33624
33625
33626
33627
33628
33629
33630
33631
33632
33633
33634
33635
33636
33637
33638
33639
33640
33641
33642
33643
33644
33645
33646
33647
33648
33649
33650
33651
33652
33653
33654
33655
33656
33657
33658
33659
33660
33661
33662
33663
33664
33665
33666
33667
33668
33669
33670
33671
33672
33673
33674
33675
33676
33677
33678
33679
33680
33681
33682
33683
33684
33685
33686
33687
33688
33689
33690
33691
33692
33693
33694
33695
33696
33697
33698
33699
33700
33701
33702
33703
33704
33705
33706
33707
33708
33709
33710
33711
33712
33713
33714
33715
33716
33717
33718
33719
33720
33721
33722
33723
33724
33725
33726
33727
33728
33729
33730
33731
33732
33733
33734
33735
33736
33737
33738
33739
33740
33741
33742
33743
33744
33745
33746
33747
33748
33749
33750
33751
33752
33753
33754
33755
33756
33757
33758
33759
33760
33761
33762
33763
33764
33765
33766
33767
33768
33769
33770
33771
33772
33773
33774
33775
33776
33777
33778
33779
33780
33781
33782
33783
33784
33785
33786
33787
33788
33789
33790
33791
33792
33793
33794
33795
33796
33797
33798
33799
33800
33801
33802
33803
33804
33805
33806
33807
33808
33809
33810
33811
33812
33813
33814
33815
33816
33817
33818
33819
33820
33821
33822
33823
33824
33825
33826
33827
33828
33829
33830
33831
33832
33833
33834
33835
33836
33837
33838
33839
33840
33841
33842
33843
33844
33845
33846
33847
33848
33849
33850
33851
33852
33853
33854
33855
33856
33857
33858
33859
33860
33861
33862
33863
33864
33865
33866
33867
33868
33869
33870
33871
33872
33873
33874
33875
33876
33877
33878
33879
33880
33881
33882
33883
33884
33885
33886
33887
33888
33889
33890
33891
33892
33893
33894
33895
33896
33897
33898
33899
33900
33901
33902
33903
33904
33905
33906
33907
33908
33909
33910
33911
33912
33913
33914
33915
33916
33917
33918
33919
33920
33921
33922
33923
33924
33925
33926
33927
33928
33929
33930
33931
33932
33933
33934
33935
33936
33937
33938
33939
33940
33941
33942
33943
33944
33945
33946
33947
33948
33949
33950
33951
33952
33953
33954
33955
33956
33957
33958
33959
33960
33961
33962
33963
33964
33965
33966
33967
33968
33969
33970
33971
33972
33973
33974
33975
33976
33977
33978
33979
33980
33981
33982
33983
33984
33985
33986
33987
33988
33989
33990
33991
33992
33993
33994
33995
33996
33997
33998
33999
34000
34001
34002
34003
34004
34005
34006
34007
34008
34009
34010
34011
34012
34013
34014
34015
34016
34017
34018
34019
34020
34021
34022
34023
34024
34025
34026
34027
34028
34029
34030
34031
34032
34033
34034
34035
34036
34037
34038
34039
34040
34041
34042
34043
34044
34045
34046
34047
34048
34049
34050
34051
34052
34053
34054
34055
34056
34057
34058
34059
34060
34061
34062
34063
34064
34065
34066
34067
34068
34069
34070
34071
34072
34073
34074
34075
34076
34077
34078
34079
34080
34081
34082
34083
34084
34085
34086
34087
34088
34089
34090
34091
34092
34093
34094
34095
34096
34097
34098
34099
34100
34101
34102
34103
34104
34105
34106
34107
34108
34109
34110
34111
34112
34113
34114
34115
34116
34117
34118
34119
34120
34121
34122
34123
34124
34125
34126
34127
34128
34129
34130
34131
34132
34133
34134
34135
34136
34137
34138
34139
34140
34141
34142
34143
34144
34145
34146
34147
34148
34149
34150
34151
34152
34153
34154
34155
34156
34157
34158
34159
34160
34161
34162
34163
34164
34165
34166
34167
34168
34169
34170
34171
34172
34173
34174
34175
34176
34177
34178
34179
34180
34181
34182
34183
34184
34185
34186
34187
34188
34189
34190
34191
34192
34193
34194
34195
34196
34197
34198
34199
34200
34201
34202
34203
34204
34205
34206
34207
34208
34209
34210
34211
34212
34213
34214
34215
34216
34217
34218
34219
34220
34221
34222
34223
34224
34225
34226
34227
34228
34229
34230
34231
34232
34233
34234
34235
34236
34237
34238
34239
34240
34241
34242
34243
34244
34245
34246
34247
34248
34249
34250
34251
34252
34253
34254
34255
34256
34257
34258
34259
34260
34261
34262
34263
34264
34265
34266
34267
34268
34269
34270
34271
34272
34273
34274
34275
34276
34277
34278
34279
34280
34281
34282
34283
34284
34285
34286
34287
34288
34289
34290
34291
34292
34293
34294
34295
34296
34297
34298
34299
34300
34301
34302
34303
34304
34305
34306
34307
34308
34309
34310
34311
34312
34313
34314
34315
34316
34317
34318
34319
34320
34321
34322
34323
34324
34325
34326
34327
34328
34329
34330
34331
34332
34333
34334
34335
34336
34337
34338
34339
34340
34341
34342
34343
34344
34345
34346
34347
34348
34349
34350
34351
34352
34353
34354
34355
34356
34357
34358
34359
34360
34361
34362
34363
34364
34365
34366
34367
34368
34369
34370
34371
34372
34373
34374
34375
34376
34377
34378
34379
34380
34381
34382
34383
34384
34385
34386
34387
34388
34389
34390
34391
34392
34393
34394
34395
34396
34397
34398
34399
34400
34401
34402
34403
34404
34405
34406
34407
34408
34409
34410
34411
34412
34413
34414
34415
34416
34417
34418
34419
34420
34421
34422
34423
34424
34425
34426
34427
34428
34429
34430
34431
34432
34433
34434
34435
34436
34437
34438
34439
34440
34441
34442
34443
34444
34445
34446
34447
34448
34449
34450
34451
34452
34453
34454
34455
34456
34457
34458
34459
34460
34461
34462
34463
34464
34465
34466
34467
34468
34469
34470
34471
34472
34473
34474
34475
34476
34477
34478
34479
34480
34481
34482
34483
34484
34485
34486
34487
34488
34489
34490
34491
34492
34493
34494
34495
34496
34497
34498
34499
34500
34501
34502
34503
34504
34505
34506
34507
34508
34509
34510
34511
34512
34513
34514
34515
34516
34517
34518
34519
34520
34521
34522
34523
34524
34525
34526
34527
34528
34529
34530
34531
34532
34533
34534
34535
34536
34537
34538
34539
34540
34541
34542
34543
34544
34545
34546
34547
34548
34549
34550
34551
34552
34553
34554
34555
34556
34557
34558
34559
34560
34561
34562
34563
34564
34565
34566
34567
34568
34569
34570
34571
34572
34573
34574
34575
34576
34577
34578
34579
34580
34581
34582
34583
34584
34585
34586
34587
34588
34589
34590
34591
34592
34593
34594
34595
34596
34597
34598
34599
34600
34601
34602
34603
34604
34605
34606
34607
34608
34609
34610
34611
34612
34613
34614
34615
34616
34617
34618
34619
34620
34621
34622
34623
34624
34625
34626
34627
34628
34629
34630
34631
34632
34633
34634
34635
34636
34637
34638
34639
34640
34641
34642
34643
34644
34645
34646
34647
34648
34649
34650
34651
34652
34653
34654
34655
34656
34657
34658
34659
34660
34661
34662
34663
34664
34665
34666
34667
34668
34669
34670
34671
34672
34673
34674
34675
34676
34677
34678
34679
34680
34681
34682
34683
34684
34685
34686
34687
34688
34689
34690
34691
34692
34693
34694
34695
34696
34697
34698
34699
34700
34701
34702
34703
34704
34705
34706
34707
34708
34709
34710
34711
34712
34713
34714
34715
34716
34717
34718
34719
34720
34721
34722
34723
34724
34725
34726
34727
34728
34729
34730
34731
34732
34733
34734
34735
34736
34737
34738
34739
34740
34741
34742
34743
34744
34745
34746
34747
34748
34749
34750
34751
34752
34753
34754
34755
34756
34757
34758
34759
34760
34761
34762
34763
34764
34765
34766
34767
34768
34769
34770
34771
34772
34773
34774
34775
34776
34777
34778
34779
34780
34781
34782
34783
34784
34785
34786
34787
34788
34789
34790
34791
34792
34793
34794
34795
34796
34797
34798
34799
34800
34801
34802
34803
34804
34805
34806
34807
34808
34809
34810
34811
34812
34813
34814
34815
34816
34817
34818
34819
34820
34821
34822
34823
34824
34825
34826
34827
34828
34829
34830
34831
34832
34833
34834
34835
34836
34837
34838
34839
34840
34841
34842
34843
34844
34845
34846
34847
34848
34849
34850
34851
34852
34853
34854
34855
34856
34857
34858
34859
34860
34861
34862
34863
34864
34865
34866
34867
34868
34869
34870
34871
34872
34873
34874
34875
34876
34877
34878
34879
34880
34881
34882
34883
34884
34885
34886
34887
34888
34889
34890
34891
34892
34893
34894
34895
34896
34897
34898
34899
34900
34901
34902
34903
34904
34905
34906
34907
34908
34909
34910
34911
34912
34913
34914
34915
34916
34917
34918
34919
34920
34921
34922
34923
34924
34925
34926
34927
34928
34929
34930
34931
34932
34933
34934
34935
34936
34937
34938
34939
34940
34941
34942
34943
34944
34945
34946
34947
34948
34949
34950
34951
34952
34953
34954
34955
34956
34957
34958
34959
34960
34961
34962
34963
34964
34965
34966
34967
34968
34969
34970
34971
34972
34973
34974
34975
34976
34977
34978
34979
34980
34981
34982
34983
34984
34985
34986
34987
34988
34989
34990
34991
34992
34993
34994
34995
34996
34997
34998
34999
35000
35001
35002
35003
35004
35005
35006
35007
35008
35009
35010
35011
35012
35013
35014
35015
35016
35017
35018
35019
35020
35021
35022
35023
35024
35025
35026
35027
35028
35029
35030
35031
35032
35033
35034
35035
35036
35037
35038
35039
35040
35041
35042
35043
35044
35045
35046
35047
35048
35049
35050
35051
35052
35053
35054
35055
35056
35057
35058
35059
35060
35061
35062
35063
35064
35065
35066
35067
35068
35069
35070
35071
35072
35073
35074
35075
35076
35077
35078
35079
35080
35081
35082
35083
35084
35085
35086
35087
35088
35089
35090
35091
35092
35093
35094
35095
35096
35097
35098
35099
35100
35101
35102
35103
35104
35105
35106
35107
35108
35109
35110
35111
35112
35113
35114
35115
35116
35117
35118
35119
35120
35121
35122
35123
35124
35125
35126
35127
35128
35129
35130
35131
35132
35133
35134
35135
35136
35137
35138
35139
35140
35141
35142
35143
35144
35145
35146
35147
35148
35149
35150
35151
35152
35153
35154
35155
35156
35157
35158
35159
35160
35161
35162
35163
35164
35165
35166
35167
35168
35169
35170
35171
35172
35173
35174
35175
35176
35177
35178
35179
35180
35181
35182
35183
35184
35185
35186
35187
35188
35189
35190
35191
35192
35193
35194
35195
35196
35197
35198
35199
35200
35201
35202
35203
35204
35205
35206
35207
35208
35209
35210
35211
35212
35213
35214
35215
35216
35217
35218
35219
35220
35221
35222
35223
35224
35225
35226
35227
35228
35229
35230
35231
35232
35233
35234
35235
35236
35237
35238
35239
35240
35241
35242
35243
35244
35245
35246
35247
35248
35249
35250
35251
35252
35253
35254
35255
35256
35257
35258
35259
35260
35261
35262
35263
35264
35265
35266
35267
35268
35269
35270
35271
35272
35273
35274
35275
35276
35277
35278
35279
35280
35281
35282
35283
35284
35285
35286
35287
35288
35289
35290
35291
35292
35293
35294
35295
35296
35297
35298
35299
35300
35301
35302
35303
35304
35305
35306
35307
35308
35309
35310
35311
35312
35313
35314
35315
35316
35317
35318
35319
35320
35321
35322
35323
35324
35325
35326
35327
35328
35329
35330
35331
35332
35333
35334
35335
35336
35337
35338
35339
35340
35341
35342
35343
35344
35345
35346
35347
35348
35349
35350
35351
35352
35353
35354
35355
35356
35357
35358
35359
35360
35361
35362
35363
35364
35365
35366
35367
35368
35369
35370
35371
35372
35373
35374
35375
35376
35377
35378
35379
35380
35381
35382
35383
35384
35385
35386
35387
35388
35389
35390
35391
35392
35393
35394
35395
35396
35397
35398
35399
35400
35401
35402
35403
35404
35405
35406
35407
35408
35409
35410
35411
35412
35413
35414
35415
35416
35417
35418
35419
35420
35421
35422
35423
35424
35425
35426
35427
35428
35429
35430
35431
35432
35433
35434
35435
35436
35437
35438
35439
35440
35441
35442
35443
35444
35445
35446
35447
35448
35449
35450
35451
35452
35453
35454
35455
35456
35457
35458
35459
35460
35461
35462
35463
35464
35465
35466
35467
35468
35469
35470
35471
35472
35473
35474
35475
35476
35477
35478
35479
35480
35481
35482
35483
35484
35485
35486
35487
35488
35489
35490
35491
35492
35493
35494
35495
35496
35497
35498
35499
35500
35501
35502
35503
35504
35505
35506
35507
35508
35509
35510
35511
35512
35513
35514
35515
35516
35517
35518
35519
35520
35521
35522
35523
35524
35525
35526
35527
35528
35529
35530
35531
35532
35533
35534
35535
35536
35537
35538
35539
35540
35541
35542
35543
35544
35545
35546
35547
35548
35549
35550
35551
35552
35553
35554
35555
35556
35557
35558
35559
35560
35561
35562
35563
35564
35565
35566
35567
35568
35569
35570
35571
35572
35573
35574
35575
35576
35577
35578
35579
35580
35581
35582
35583
35584
35585
35586
35587
35588
35589
35590
35591
35592
35593
35594
35595
35596
35597
35598
35599
35600
35601
35602
35603
35604
35605
35606
35607
35608
35609
35610
35611
35612
35613
35614
35615
35616
35617
35618
35619
35620
35621
35622
35623
35624
35625
35626
35627
35628
35629
35630
35631
35632
35633
35634
35635
35636
35637
35638
35639
35640
35641
35642
35643
35644
35645
35646
35647
35648
35649
35650
35651
35652
35653
35654
35655
35656
35657
35658
35659
35660
35661
35662
35663
35664
35665
35666
35667
35668
35669
35670
35671
35672
35673
35674
35675
35676
35677
35678
35679
35680
35681
35682
35683
35684
35685
35686
35687
35688
35689
35690
35691
35692
35693
35694
35695
35696
35697
35698
35699
35700
35701
35702
35703
35704
35705
35706
35707
35708
35709
35710
35711
35712
35713
35714
35715
35716
35717
35718
35719
35720
35721
35722
35723
35724
35725
35726
35727
35728
35729
35730
35731
35732
35733
35734
35735
35736
35737
35738
35739
35740
35741
35742
35743
35744
35745
35746
35747
35748
35749
35750
35751
35752
35753
35754
35755
35756
35757
35758
35759
35760
35761
35762
35763
35764
35765
35766
35767
35768
35769
35770
35771
35772
35773
35774
35775
35776
35777
35778
35779
35780
35781
35782
35783
35784
35785
35786
35787
35788
35789
35790
35791
35792
35793
35794
35795
35796
35797
35798
35799
35800
35801
35802
35803
35804
35805
35806
35807
35808
35809
35810
35811
35812
35813
35814
35815
35816
35817
35818
35819
35820
35821
35822
35823
35824
35825
35826
35827
35828
35829
35830
35831
35832
35833
35834
35835
35836
35837
35838
35839
35840
35841
35842
35843
35844
35845
35846
35847
35848
35849
35850
35851
35852
35853
35854
35855
35856
35857
35858
35859
35860
35861
35862
35863
35864
35865
35866
35867
35868
35869
35870
35871
35872
35873
35874
35875
35876
35877
35878
35879
35880
35881
35882
35883
35884
35885
35886
35887
35888
35889
35890
35891
35892
35893
35894
35895
35896
35897
35898
35899
35900
35901
35902
35903
35904
35905
35906
35907
35908
35909
35910
35911
35912
35913
35914
35915
35916
35917
35918
35919
35920
35921
35922
35923
35924
35925
35926
35927
35928
35929
35930
35931
35932
35933
35934
35935
35936
35937
35938
35939
35940
35941
35942
35943
35944
35945
35946
35947
35948
35949
35950
35951
35952
35953
35954
35955
35956
35957
35958
35959
35960
35961
35962
35963
35964
35965
35966
35967
35968
35969
35970
35971
35972
35973
35974
35975
35976
35977
35978
35979
35980
35981
35982
35983
35984
35985
35986
35987
35988
35989
35990
35991
35992
35993
35994
35995
35996
35997
35998
35999
36000
36001
36002
36003
36004
36005
36006
36007
36008
36009
36010
36011
36012
36013
36014
36015
36016
36017
36018
36019
36020
36021
36022
36023
36024
36025
36026
36027
36028
36029
36030
36031
36032
36033
36034
36035
36036
36037
36038
36039
36040
36041
36042
36043
36044
36045
36046
36047
36048
36049
36050
36051
36052
36053
36054
36055
36056
36057
36058
36059
36060
36061
36062
36063
36064
36065
36066
36067
36068
36069
36070
36071
36072
36073
36074
36075
36076
36077
36078
36079
36080
36081
36082
36083
36084
36085
36086
36087
36088
36089
36090
36091
36092
36093
36094
36095
36096
36097
36098
36099
36100
36101
36102
36103
36104
36105
36106
36107
36108
36109
36110
36111
36112
36113
36114
36115
36116
36117
36118
36119
36120
36121
36122
36123
36124
36125
36126
36127
36128
36129
36130
36131
36132
36133
36134
36135
36136
36137
36138
36139
36140
36141
36142
36143
36144
36145
36146
36147
36148
36149
36150
36151
36152
36153
36154
36155
36156
36157
36158
36159
36160
36161
36162
36163
36164
36165
36166
36167
36168
36169
36170
36171
36172
36173
36174
36175
36176
36177
36178
36179
36180
36181
36182
36183
36184
36185
36186
36187
36188
36189
36190
36191
36192
36193
36194
36195
36196
36197
36198
36199
36200
36201
36202
36203
36204
36205
36206
36207
36208
36209
36210
36211
36212
36213
36214
36215
36216
36217
36218
36219
36220
36221
36222
36223
36224
36225
36226
36227
36228
36229
36230
36231
36232
36233
36234
36235
36236
36237
36238
36239
36240
36241
36242
36243
36244
36245
36246
36247
36248
36249
36250
36251
36252
36253
36254
36255
36256
36257
36258
36259
36260
36261
36262
36263
36264
36265
36266
36267
36268
36269
36270
36271
36272
36273
36274
36275
36276
36277
36278
36279
36280
36281
36282
36283
36284
36285
36286
36287
36288
36289
36290
36291
36292
36293
36294
36295
36296
36297
36298
36299
36300
36301
36302
36303
36304
36305
36306
36307
36308
36309
36310
36311
36312
36313
36314
36315
36316
36317
36318
36319
36320
36321
36322
36323
36324
36325
36326
36327
36328
36329
36330
36331
36332
36333
36334
36335
36336
36337
36338
36339
36340
36341
36342
36343
36344
36345
36346
36347
36348
36349
36350
36351
36352
36353
36354
36355
36356
36357
36358
36359
36360
36361
36362
36363
36364
36365
36366
36367
36368
36369
36370
36371
36372
36373
36374
36375
36376
36377
36378
36379
36380
36381
36382
36383
36384
36385
36386
36387
36388
36389
36390
36391
36392
36393
36394
36395
36396
36397
36398
36399
36400
36401
36402
36403
36404
36405
36406
36407
36408
36409
36410
36411
36412
36413
36414
36415
36416
36417
36418
36419
36420
36421
36422
36423
36424
36425
36426
36427
36428
36429
36430
36431
36432
36433
36434
36435
36436
36437
36438
36439
36440
36441
36442
36443
36444
36445
36446
36447
36448
36449
36450
36451
36452
36453
36454
36455
36456
36457
36458
36459
36460
36461
36462
36463
36464
36465
36466
36467
36468
36469
36470
36471
36472
36473
36474
36475
36476
36477
36478
36479
36480
36481
36482
36483
36484
36485
36486
36487
36488
36489
36490
36491
36492
36493
36494
36495
36496
36497
36498
36499
36500
36501
36502
36503
36504
36505
36506
36507
36508
36509
36510
36511
36512
36513
36514
36515
36516
36517
36518
36519
36520
36521
36522
36523
36524
36525
36526
36527
36528
36529
36530
36531
36532
36533
36534
36535
36536
36537
36538
36539
36540
36541
36542
36543
36544
36545
36546
36547
36548
36549
36550
36551
36552
36553
36554
36555
36556
36557
36558
36559
36560
36561
36562
36563
36564
36565
36566
36567
36568
36569
36570
36571
36572
36573
36574
36575
36576
36577
36578
36579
36580
36581
36582
36583
36584
36585
36586
36587
36588
36589
36590
36591
36592
36593
36594
36595
36596
36597
36598
36599
36600
36601
36602
36603
36604
36605
36606
36607
36608
36609
36610
36611
36612
36613
36614
36615
36616
36617
36618
36619
36620
36621
36622
36623
36624
36625
36626
36627
36628
36629
36630
36631
36632
36633
36634
36635
36636
36637
36638
36639
36640
36641
36642
36643
36644
36645
36646
36647
36648
36649
36650
36651
36652
36653
36654
36655
36656
36657
36658
36659
36660
36661
36662
36663
36664
36665
36666
36667
36668
36669
36670
36671
36672
36673
36674
36675
36676
36677
36678
36679
36680
36681
36682
36683
36684
36685
36686
36687
36688
36689
36690
36691
36692
36693
36694
36695
36696
36697
36698
36699
36700
36701
36702
36703
36704
36705
36706
36707
36708
36709
36710
36711
36712
36713
36714
36715
36716
36717
36718
36719
36720
36721
36722
36723
36724
36725
36726
36727
36728
36729
36730
36731
36732
36733
36734
36735
36736
36737
36738
36739
36740
36741
36742
36743
36744
36745
36746
36747
36748
36749
36750
36751
36752
36753
36754
36755
36756
36757
36758
36759
36760
36761
36762
36763
36764
36765
36766
36767
36768
36769
36770
36771
36772
36773
36774
36775
36776
36777
36778
36779
36780
36781
36782
36783
36784
36785
36786
36787
36788
36789
36790
36791
36792
36793
36794
36795
36796
36797
36798
36799
36800
36801
36802
36803
36804
36805
36806
36807
36808
36809
36810
36811
36812
36813
36814
36815
36816
36817
36818
36819
36820
36821
36822
36823
36824
36825
36826
36827
36828
36829
36830
36831
36832
36833
36834
36835
36836
36837
36838
36839
36840
36841
36842
36843
36844
36845
36846
36847
36848
36849
36850
36851
36852
36853
36854
36855
36856
36857
36858
36859
36860
36861
36862
36863
36864
36865
36866
36867
36868
36869
36870
36871
36872
36873
36874
36875
36876
36877
36878
36879
36880
36881
36882
36883
36884
36885
36886
36887
36888
36889
36890
36891
36892
36893
36894
36895
36896
36897
36898
36899
36900
36901
36902
36903
36904
36905
36906
36907
36908
36909
36910
36911
36912
36913
36914
36915
36916
36917
36918
36919
36920
36921
36922
36923
36924
36925
36926
36927
36928
36929
36930
36931
36932
36933
36934
36935
36936
36937
36938
36939
36940
36941
36942
36943
36944
36945
36946
36947
36948
36949
36950
36951
36952
36953
36954
36955
36956
36957
36958
36959
36960
36961
36962
36963
36964
36965
36966
36967
36968
36969
36970
36971
36972
36973
36974
36975
36976
36977
36978
36979
36980
36981
36982
36983
36984
36985
36986
36987
36988
36989
36990
36991
36992
36993
36994
36995
36996
36997
36998
36999
37000
37001
37002
37003
37004
37005
37006
37007
37008
37009
37010
37011
37012
37013
37014
37015
37016
37017
37018
37019
37020
37021
37022
37023
37024
37025
37026
37027
37028
37029
37030
37031
37032
37033
37034
37035
37036
37037
37038
37039
37040
37041
37042
37043
37044
37045
37046
37047
37048
37049
37050
37051
37052
37053
37054
37055
37056
37057
37058
37059
37060
37061
37062
37063
37064
37065
37066
37067
37068
37069
37070
37071
37072
37073
37074
37075
37076
37077
37078
37079
37080
37081
37082
37083
37084
37085
37086
37087
37088
37089
37090
37091
37092
37093
37094
37095
37096
37097
37098
37099
37100
37101
37102
37103
37104
37105
37106
37107
37108
37109
37110
37111
37112
37113
37114
37115
37116
37117
37118
37119
37120
37121
37122
37123
37124
37125
37126
37127
37128
37129
37130
37131
37132
37133
37134
37135
37136
37137
37138
37139
37140
37141
37142
37143
37144
37145
37146
37147
37148
37149
37150
37151
37152
37153
37154
37155
37156
37157
37158
37159
37160
37161
37162
37163
37164
37165
37166
37167
37168
37169
37170
37171
37172
37173
37174
37175
37176
37177
37178
37179
37180
37181
37182
37183
37184
37185
37186
37187
37188
37189
37190
37191
37192
37193
37194
37195
37196
37197
37198
37199
37200
37201
37202
37203
37204
37205
37206
37207
37208
37209
37210
37211
37212
37213
37214
37215
37216
37217
37218
37219
37220
37221
37222
37223
37224
37225
37226
37227
37228
37229
37230
37231
37232
37233
37234
37235
37236
37237
37238
37239
37240
37241
37242
37243
37244
37245
37246
37247
37248
37249
37250
37251
37252
37253
37254
37255
37256
37257
37258
37259
37260
37261
37262
37263
37264
37265
37266
37267
37268
37269
37270
37271
37272
37273
37274
37275
37276
37277
37278
37279
37280
37281
37282
37283
37284
37285
37286
37287
37288
37289
37290
37291
37292
37293
37294
37295
37296
37297
37298
37299
37300
37301
37302
37303
37304
37305
37306
37307
37308
37309
37310
37311
37312
37313
37314
37315
37316
37317
37318
37319
37320
37321
37322
37323
37324
37325
37326
37327
37328
37329
37330
37331
37332
37333
37334
37335
37336
37337
37338
37339
37340
37341
37342
37343
37344
37345
37346
37347
37348
37349
37350
37351
37352
37353
37354
37355
37356
37357
37358
37359
37360
37361
37362
37363
37364
37365
37366
37367
37368
37369
37370
37371
37372
37373
37374
37375
37376
37377
37378
37379
37380
37381
37382
37383
37384
37385
37386
37387
37388
37389
37390
37391
37392
37393
37394
37395
37396
37397
37398
37399
37400
37401
37402
37403
37404
37405
37406
37407
37408
37409
37410
37411
37412
37413
37414
37415
37416
37417
37418
37419
37420
37421
37422
37423
37424
37425
37426
37427
37428
37429
37430
37431
37432
37433
37434
37435
37436
37437
37438
37439
37440
37441
37442
37443
37444
37445
37446
37447
37448
37449
37450
37451
37452
37453
37454
37455
37456
37457
37458
37459
37460
37461
37462
37463
37464
37465
37466
37467
37468
37469
37470
37471
37472
37473
37474
37475
37476
37477
37478
37479
37480
37481
37482
37483
37484
37485
37486
37487
37488
37489
37490
37491
37492
37493
37494
37495
37496
37497
37498
37499
37500
37501
37502
37503
37504
37505
37506
37507
37508
37509
37510
37511
37512
37513
37514
37515
37516
37517
37518
37519
37520
37521
37522
37523
37524
37525
37526
37527
37528
37529
37530
37531
37532
37533
37534
37535
37536
37537
37538
37539
37540
37541
37542
37543
37544
37545
37546
37547
37548
37549
37550
37551
37552
37553
37554
37555
37556
37557
37558
37559
37560
37561
37562
37563
37564
37565
37566
37567
37568
37569
37570
37571
37572
37573
37574
37575
37576
37577
37578
37579
37580
37581
37582
37583
37584
37585
37586
37587
37588
37589
37590
37591
37592
37593
37594
37595
37596
37597
37598
37599
37600
37601
37602
37603
37604
37605
37606
37607
37608
37609
37610
37611
37612
37613
37614
37615
37616
37617
37618
37619
37620
37621
37622
37623
37624
37625
37626
37627
37628
37629
37630
37631
37632
37633
37634
37635
37636
37637
37638
37639
37640
37641
37642
37643
37644
37645
37646
37647
37648
37649
37650
37651
37652
37653
37654
37655
37656
37657
37658
37659
37660
37661
37662
37663
37664
37665
37666
37667
37668
37669
37670
37671
37672
37673
37674
37675
37676
37677
37678
37679
37680
37681
37682
37683
37684
37685
37686
37687
37688
37689
37690
37691
37692
37693
37694
37695
37696
37697
37698
37699
37700
37701
37702
37703
37704
37705
37706
37707
37708
37709
37710
37711
37712
37713
37714
37715
37716
37717
37718
37719
37720
37721
37722
37723
37724
37725
37726
37727
37728
37729
37730
37731
37732
37733
37734
37735
37736
37737
37738
37739
37740
37741
37742
37743
37744
37745
37746
37747
37748
37749
37750
37751
37752
37753
37754
37755
37756
37757
37758
37759
37760
37761
37762
37763
37764
37765
37766
37767
37768
37769
37770
37771
37772
37773
37774
37775
37776
37777
37778
37779
37780
37781
37782
37783
37784
37785
37786
37787
37788
37789
37790
37791
37792
37793
37794
37795
37796
37797
37798
37799
37800
37801
37802
37803
37804
37805
37806
37807
37808
37809
37810
37811
37812
37813
37814
37815
37816
37817
37818
37819
37820
37821
37822
37823
37824
37825
37826
37827
37828
37829
37830
37831
37832
37833
37834
37835
37836
37837
37838
37839
37840
37841
37842
37843
37844
37845
37846
37847
37848
37849
37850
37851
37852
37853
37854
37855
37856
37857
37858
37859
37860
37861
37862
37863
37864
37865
37866
37867
37868
37869
37870
37871
37872
37873
37874
37875
37876
37877
37878
37879
37880
37881
37882
37883
37884
37885
37886
37887
37888
37889
37890
37891
37892
37893
37894
37895
37896
37897
37898
37899
37900
37901
37902
37903
37904
37905
37906
37907
37908
37909
37910
37911
37912
37913
37914
37915
37916
37917
37918
37919
37920
37921
37922
37923
37924
37925
37926
37927
37928
37929
37930
37931
37932
37933
37934
37935
37936
37937
37938
37939
37940
37941
37942
37943
37944
37945
37946
37947
37948
37949
37950
37951
37952
37953
37954
37955
37956
37957
37958
37959
37960
37961
37962
37963
37964
37965
37966
37967
37968
37969
37970
37971
37972
37973
37974
37975
37976
37977
37978
37979
37980
37981
37982
37983
37984
37985
37986
37987
37988
37989
37990
37991
37992
37993
37994
37995
37996
37997
37998
37999
38000
38001
38002
38003
38004
38005
38006
38007
38008
38009
38010
38011
38012
38013
38014
38015
38016
38017
38018
38019
38020
38021
38022
38023
38024
38025
38026
38027
38028
38029
38030
38031
38032
38033
38034
38035
38036
38037
38038
38039
38040
38041
38042
38043
38044
38045
38046
38047
38048
38049
38050
38051
38052
38053
38054
38055
38056
38057
38058
38059
38060
38061
38062
38063
38064
38065
38066
38067
38068
38069
38070
38071
38072
38073
38074
38075
38076
38077
38078
38079
38080
38081
38082
38083
38084
38085
38086
38087
38088
38089
38090
38091
38092
38093
38094
38095
38096
38097
38098
38099
38100
38101
38102
38103
38104
38105
38106
38107
38108
38109
38110
38111
38112
38113
38114
38115
38116
38117
38118
38119
38120
38121
38122
38123
38124
38125
38126
38127
38128
38129
38130
38131
38132
38133
38134
38135
38136
38137
38138
38139
38140
38141
38142
38143
38144
38145
38146
38147
38148
38149
38150
38151
38152
38153
38154
38155
38156
38157
38158
38159
38160
38161
38162
38163
38164
38165
38166
38167
38168
38169
38170
38171
38172
38173
38174
38175
38176
38177
38178
38179
38180
38181
38182
38183
38184
38185
38186
38187
38188
38189
38190
38191
38192
38193
38194
38195
38196
38197
38198
38199
38200
38201
38202
38203
38204
38205
38206
38207
38208
38209
38210
38211
38212
38213
38214
38215
38216
38217
38218
38219
38220
38221
38222
38223
38224
38225
38226
38227
38228
38229
38230
38231
38232
38233
38234
38235
38236
38237
38238
38239
38240
38241
38242
38243
38244
38245
38246
38247
38248
38249
38250
38251
38252
38253
38254
38255
38256
38257
38258
38259
38260
38261
38262
38263
38264
38265
38266
38267
38268
38269
38270
38271
38272
38273
38274
38275
38276
38277
38278
38279
38280
38281
38282
38283
38284
38285
38286
38287
38288
38289
38290
38291
38292
38293
38294
38295
38296
38297
38298
38299
38300
38301
38302
38303
38304
38305
38306
38307
38308
38309
38310
38311
38312
38313
38314
38315
38316
38317
38318
38319
38320
38321
38322
38323
38324
38325
38326
38327
38328
38329
38330
38331
38332
38333
38334
38335
38336
38337
38338
38339
38340
38341
38342
38343
38344
38345
38346
38347
38348
38349
38350
38351
38352
38353
38354
38355
38356
38357
38358
38359
38360
38361
38362
38363
38364
38365
38366
38367
38368
38369
38370
38371
38372
38373
38374
38375
38376
38377
38378
38379
38380
38381
38382
38383
38384
38385
38386
38387
38388
38389
38390
38391
38392
38393
38394
38395
38396
38397
38398
38399
38400
38401
38402
38403
38404
38405
38406
38407
38408
38409
38410
38411
38412
38413
38414
38415
38416
38417
38418
38419
38420
38421
38422
38423
38424
38425
38426
38427
38428
38429
38430
38431
38432
38433
38434
38435
38436
38437
38438
38439
38440
38441
38442
38443
38444
38445
38446
38447
38448
38449
38450
38451
38452
38453
38454
38455
38456
38457
38458
38459
38460
38461
38462
38463
38464
38465
38466
38467
38468
38469
38470
38471
38472
38473
38474
38475
38476
38477
38478
38479
38480
38481
38482
38483
38484
38485
38486
38487
38488
38489
38490
38491
38492
38493
38494
38495
38496
38497
38498
38499
38500
38501
38502
38503
38504
38505
38506
38507
38508
38509
38510
38511
38512
38513
38514
38515
38516
38517
38518
38519
38520
38521
38522
38523
38524
38525
38526
38527
38528
38529
38530
38531
38532
38533
38534
38535
38536
38537
38538
38539
38540
38541
38542
38543
38544
38545
38546
38547
38548
38549
38550
38551
38552
38553
38554
38555
38556
38557
38558
38559
38560
38561
38562
38563
38564
38565
38566
38567
38568
38569
38570
38571
38572
38573
38574
38575
38576
38577
38578
38579
38580
38581
38582
38583
38584
38585
38586
38587
38588
38589
38590
38591
38592
38593
38594
38595
38596
38597
38598
38599
38600
38601
38602
38603
38604
38605
38606
38607
38608
38609
38610
38611
38612
38613
38614
38615
38616
38617
38618
38619
38620
38621
38622
38623
38624
38625
38626
38627
38628
38629
38630
38631
38632
38633
38634
38635
38636
38637
38638
38639
38640
38641
38642
38643
38644
38645
38646
38647
38648
38649
38650
38651
38652
38653
38654
38655
38656
38657
38658
38659
38660
38661
38662
38663
38664
38665
38666
38667
38668
38669
38670
38671
38672
38673
38674
38675
38676
38677
38678
38679
38680
38681
38682
38683
38684
38685
38686
38687
38688
38689
38690
38691
38692
38693
38694
38695
38696
38697
38698
38699
38700
38701
38702
38703
38704
38705
38706
38707
38708
38709
38710
38711
38712
38713
38714
38715
38716
38717
38718
38719
38720
38721
38722
38723
38724
38725
38726
38727
38728
38729
38730
38731
38732
38733
38734
38735
38736
38737
38738
38739
38740
38741
38742
38743
38744
38745
38746
38747
38748
38749
38750
38751
38752
38753
38754
38755
38756
38757
38758
38759
38760
38761
38762
38763
38764
38765
38766
38767
38768
38769
38770
38771
38772
38773
38774
38775
38776
38777
38778
38779
38780
38781
38782
38783
38784
38785
38786
38787
38788
38789
38790
38791
38792
38793
38794
38795
38796
38797
38798
38799
38800
38801
38802
38803
38804
38805
38806
38807
38808
38809
38810
38811
38812
38813
38814
38815
38816
38817
38818
38819
38820
38821
38822
38823
38824
38825
38826
38827
38828
38829
38830
38831
38832
38833
38834
38835
38836
38837
38838
38839
38840
38841
38842
38843
38844
38845
38846
38847
38848
38849
38850
38851
38852
38853
38854
38855
38856
38857
38858
38859
38860
38861
38862
38863
38864
38865
38866
38867
38868
38869
38870
38871
38872
38873
38874
38875
38876
38877
38878
38879
38880
38881
38882
38883
38884
38885
38886
38887
38888
38889
38890
38891
38892
38893
38894
38895
38896
38897
38898
38899
38900
38901
38902
38903
38904
38905
38906
38907
38908
38909
38910
38911
38912
38913
38914
38915
38916
38917
38918
38919
38920
38921
38922
38923
38924
38925
38926
38927
38928
38929
38930
38931
38932
38933
38934
38935
38936
38937
38938
38939
38940
38941
38942
38943
38944
38945
38946
38947
38948
38949
38950
38951
38952
38953
38954
38955
38956
38957
38958
38959
38960
38961
38962
38963
38964
38965
38966
38967
38968
38969
38970
38971
38972
38973
38974
38975
38976
38977
38978
38979
38980
38981
38982
38983
38984
38985
38986
38987
38988
38989
38990
38991
38992
38993
38994
38995
38996
38997
38998
38999
39000
39001
39002
39003
39004
39005
39006
39007
39008
39009
39010
39011
39012
39013
39014
39015
39016
39017
39018
39019
39020
39021
39022
39023
39024
39025
39026
39027
39028
39029
39030
39031
39032
39033
39034
39035
39036
39037
39038
39039
39040
39041
39042
39043
39044
39045
39046
39047
39048
39049
39050
39051
39052
39053
39054
39055
39056
39057
39058
39059
39060
39061
39062
39063
39064
39065
39066
39067
39068
39069
39070
39071
39072
39073
39074
39075
39076
39077
39078
39079
39080
39081
39082
39083
39084
39085
39086
39087
39088
39089
39090
39091
39092
39093
39094
39095
39096
39097
39098
39099
39100
39101
39102
39103
39104
39105
39106
39107
39108
39109
39110
39111
39112
39113
39114
39115
39116
39117
39118
39119
39120
39121
39122
39123
39124
39125
39126
39127
39128
39129
39130
39131
39132
39133
39134
39135
39136
39137
39138
39139
39140
39141
39142
39143
39144
39145
39146
39147
39148
39149
39150
39151
39152
39153
39154
39155
39156
39157
39158
39159
39160
39161
39162
39163
39164
39165
39166
39167
39168
39169
39170
39171
39172
39173
39174
39175
39176
39177
39178
39179
39180
39181
39182
39183
39184
39185
39186
39187
39188
39189
39190
39191
39192
39193
39194
39195
39196
39197
39198
39199
39200
39201
39202
39203
39204
39205
39206
39207
39208
39209
39210
39211
39212
39213
39214
39215
39216
39217
39218
39219
39220
39221
39222
39223
39224
39225
39226
39227
39228
39229
39230
39231
39232
39233
39234
39235
39236
39237
39238
39239
39240
39241
39242
39243
39244
39245
39246
39247
39248
39249
39250
39251
39252
39253
39254
39255
39256
39257
39258
39259
39260
39261
39262
39263
39264
39265
39266
39267
39268
39269
39270
39271
39272
39273
39274
39275
39276
39277
39278
39279
39280
39281
39282
39283
39284
39285
39286
39287
39288
39289
39290
39291
39292
39293
39294
39295
39296
39297
39298
39299
39300
39301
39302
39303
39304
39305
39306
39307
39308
39309
39310
39311
39312
39313
39314
39315
39316
39317
39318
39319
39320
39321
39322
39323
39324
39325
39326
39327
39328
39329
39330
39331
39332
39333
39334
39335
39336
39337
39338
39339
39340
39341
39342
39343
39344
39345
39346
39347
39348
39349
39350
39351
39352
39353
39354
39355
39356
39357
39358
39359
39360
39361
39362
39363
39364
39365
39366
39367
39368
39369
39370
39371
39372
39373
39374
39375
39376
39377
39378
39379
39380
39381
39382
39383
39384
39385
39386
39387
39388
39389
39390
39391
39392
39393
39394
39395
39396
39397
39398
39399
39400
39401
39402
39403
39404
39405
39406
39407
39408
39409
39410
39411
39412
39413
39414
39415
39416
39417
39418
39419
39420
39421
39422
39423
39424
39425
39426
39427
39428
39429
39430
39431
39432
39433
39434
39435
39436
39437
39438
39439
39440
39441
39442
39443
39444
39445
39446
39447
39448
39449
39450
39451
39452
39453
39454
39455
39456
39457
39458
39459
39460
39461
39462
39463
39464
39465
39466
39467
39468
39469
39470
39471
39472
39473
39474
39475
39476
39477
39478
39479
39480
39481
39482
39483
39484
39485
39486
39487
39488
39489
39490
39491
39492
39493
39494
39495
39496
39497
39498
39499
39500
39501
39502
39503
39504
39505
39506
39507
39508
39509
39510
39511
39512
39513
39514
39515
39516
39517
39518
39519
39520
39521
39522
39523
39524
39525
39526
39527
39528
39529
39530
39531
39532
39533
39534
39535
39536
39537
39538
39539
39540
39541
39542
39543
39544
39545
39546
39547
39548
39549
39550
39551
39552
39553
39554
39555
39556
39557
39558
39559
39560
39561
39562
39563
39564
39565
39566
39567
39568
39569
39570
39571
39572
39573
39574
39575
39576
39577
39578
39579
39580
39581
39582
39583
39584
39585
39586
39587
39588
39589
39590
39591
39592
39593
39594
39595
39596
39597
39598
39599
39600
39601
39602
39603
39604
39605
39606
39607
39608
39609
39610
39611
39612
39613
39614
39615
39616
39617
39618
39619
39620
39621
39622
39623
39624
39625
39626
39627
39628
39629
39630
39631
39632
39633
39634
39635
39636
39637
39638
39639
39640
39641
39642
39643
39644
39645
39646
39647
39648
39649
39650
39651
39652
39653
39654
39655
39656
39657
39658
39659
39660
39661
39662
39663
39664
39665
39666
39667
39668
39669
39670
39671
39672
39673
39674
39675
39676
39677
39678
39679
39680
39681
39682
39683
39684
39685
39686
39687
39688
39689
39690
39691
39692
39693
39694
39695
39696
39697
39698
39699
39700
39701
39702
39703
39704
39705
39706
39707
39708
39709
39710
39711
39712
39713
39714
39715
39716
39717
39718
39719
39720
39721
39722
39723
39724
39725
39726
39727
39728
39729
39730
39731
39732
39733
39734
39735
39736
39737
39738
39739
39740
39741
39742
39743
39744
39745
39746
39747
39748
39749
39750
39751
39752
39753
39754
39755
39756
39757
39758
39759
39760
39761
39762
39763
39764
39765
39766
39767
39768
39769
39770
39771
39772
39773
39774
39775
39776
39777
39778
39779
39780
39781
39782
39783
39784
39785
39786
39787
39788
39789
39790
39791
39792
39793
39794
39795
39796
39797
39798
39799
39800
39801
39802
39803
39804
39805
39806
39807
39808
39809
39810
39811
39812
39813
39814
39815
39816
39817
39818
39819
39820
39821
39822
39823
39824
39825
39826
39827
39828
39829
39830
39831
39832
39833
39834
39835
39836
39837
39838
39839
39840
39841
39842
39843
39844
39845
39846
39847
39848
39849
39850
39851
39852
39853
39854
39855
39856
39857
39858
39859
39860
39861
39862
39863
39864
39865
39866
39867
39868
39869
39870
39871
39872
39873
39874
39875
39876
39877
39878
39879
39880
39881
39882
39883
39884
39885
39886
39887
39888
39889
39890
39891
39892
39893
39894
39895
39896
39897
39898
39899
39900
39901
39902
39903
39904
39905
39906
39907
39908
39909
39910
39911
39912
39913
39914
39915
39916
39917
39918
39919
39920
39921
39922
39923
39924
39925
39926
39927
39928
39929
39930
39931
39932
39933
39934
39935
39936
39937
39938
39939
39940
39941
39942
39943
39944
39945
39946
39947
39948
39949
39950
39951
39952
39953
39954
39955
39956
39957
39958
39959
39960
39961
39962
39963
39964
39965
39966
39967
39968
39969
39970
39971
39972
39973
39974
39975
39976
39977
39978
39979
39980
39981
39982
39983
39984
39985
39986
39987
39988
39989
39990
39991
39992
39993
39994
39995
39996
39997
39998
39999
40000
40001
40002
40003
40004
40005
40006
40007
40008
40009
40010
40011
40012
40013
40014
40015
40016
40017
40018
40019
40020
40021
40022
40023
40024
40025
40026
40027
40028
40029
40030
40031
40032
40033
40034
40035
40036
40037
40038
40039
40040
40041
40042
40043
40044
40045
40046
40047
40048
40049
40050
40051
40052
40053
40054
40055
40056
40057
40058
40059
40060
40061
40062
40063
40064
40065
40066
40067
40068
40069
40070
40071
40072
40073
40074
40075
40076
40077
40078
40079
40080
40081
40082
40083
40084
40085
40086
40087
40088
40089
40090
40091
40092
40093
40094
40095
40096
40097
40098
40099
40100
40101
40102
40103
40104
40105
40106
40107
40108
40109
40110
40111
40112
40113
40114
40115
40116
40117
40118
40119
40120
40121
40122
40123
40124
40125
40126
40127
40128
40129
40130
40131
40132
40133
40134
40135
40136
40137
40138
40139
40140
40141
40142
40143
40144
40145
40146
40147
40148
40149
40150
40151
40152
40153
40154
40155
40156
40157
40158
40159
40160
40161
40162
40163
40164
40165
40166
40167
40168
40169
40170
40171
40172
40173
40174
40175
40176
40177
40178
40179
40180
40181
40182
40183
40184
40185
40186
40187
40188
40189
40190
40191
40192
40193
40194
40195
40196
40197
40198
40199
40200
40201
40202
40203
40204
40205
40206
40207
40208
40209
40210
40211
40212
40213
40214
40215
40216
40217
40218
40219
40220
40221
40222
40223
40224
40225
40226
40227
40228
40229
40230
40231
40232
40233
40234
40235
40236
40237
40238
40239
40240
40241
40242
40243
40244
40245
40246
40247
40248
40249
40250
40251
40252
40253
40254
40255
40256
40257
40258
40259
40260
40261
40262
40263
40264
40265
40266
40267
40268
40269
40270
40271
40272
40273
40274
40275
40276
40277
40278
40279
40280
40281
40282
40283
40284
40285
40286
40287
40288
40289
40290
40291
40292
40293
40294
40295
40296
40297
40298
40299
40300
40301
40302
40303
40304
40305
40306
40307
40308
40309
40310
40311
40312
40313
40314
40315
40316
40317
40318
40319
40320
40321
40322
40323
40324
40325
40326
40327
40328
40329
40330
40331
40332
40333
40334
40335
40336
40337
40338
40339
40340
40341
40342
40343
40344
40345
40346
40347
40348
40349
40350
40351
40352
40353
40354
40355
40356
40357
40358
40359
40360
40361
40362
40363
40364
40365
40366
40367
40368
40369
40370
40371
40372
40373
40374
40375
40376
40377
40378
40379
40380
40381
40382
40383
40384
40385
40386
40387
40388
40389
40390
40391
40392
40393
40394
40395
40396
40397
40398
40399
40400
40401
40402
40403
40404
40405
40406
40407
40408
40409
40410
40411
40412
40413
40414
40415
40416
40417
40418
40419
40420
40421
40422
40423
40424
40425
40426
40427
40428
40429
40430
40431
40432
40433
40434
40435
40436
40437
40438
40439
40440
40441
40442
40443
40444
40445
40446
40447
40448
40449
40450
40451
40452
40453
40454
40455
40456
40457
40458
40459
40460
40461
40462
40463
40464
40465
40466
40467
40468
40469
40470
40471
40472
40473
40474
40475
40476
40477
40478
40479
40480
40481
40482
40483
40484
40485
40486
40487
40488
40489
40490
40491
40492
40493
40494
40495
40496
40497
40498
40499
40500
40501
40502
40503
40504
40505
40506
40507
40508
40509
40510
40511
40512
40513
40514
40515
40516
40517
40518
40519
40520
40521
40522
40523
40524
40525
40526
40527
40528
40529
40530
40531
40532
40533
40534
40535
40536
40537
40538
40539
40540
40541
40542
40543
40544
40545
40546
40547
40548
40549
40550
40551
40552
40553
40554
40555
40556
40557
40558
40559
40560
40561
40562
40563
40564
40565
40566
40567
40568
40569
40570
40571
40572
40573
40574
40575
40576
40577
40578
40579
40580
40581
40582
40583
40584
40585
40586
40587
40588
40589
40590
40591
40592
40593
40594
40595
40596
40597
40598
40599
40600
40601
40602
40603
40604
40605
40606
40607
40608
40609
40610
40611
40612
40613
40614
40615
40616
40617
40618
40619
40620
40621
40622
40623
40624
40625
40626
40627
40628
40629
40630
40631
40632
40633
40634
40635
40636
40637
40638
40639
40640
40641
40642
40643
40644
40645
40646
40647
40648
40649
40650
40651
40652
40653
40654
40655
40656
40657
40658
40659
40660
40661
40662
40663
40664
40665
40666
40667
40668
40669
40670
40671
40672
40673
40674
40675
40676
40677
40678
40679
40680
40681
40682
40683
40684
40685
40686
40687
40688
40689
40690
40691
40692
40693
40694
40695
40696
40697
40698
40699
40700
40701
40702
40703
40704
40705
40706
40707
40708
40709
40710
40711
40712
40713
40714
40715
40716
40717
40718
40719
40720
40721
40722
40723
40724
40725
40726
40727
40728
40729
40730
40731
40732
40733
40734
40735
40736
40737
40738
40739
40740
40741
40742
40743
40744
40745
40746
40747
40748
40749
40750
40751
40752
40753
40754
40755
40756
40757
40758
40759
40760
40761
40762
40763
40764
40765
40766
40767
40768
40769
40770
40771
40772
40773
40774
40775
40776
40777
40778
40779
40780
40781
40782
40783
40784
40785
40786
40787
40788
40789
40790
40791
40792
40793
40794
40795
40796
40797
40798
40799
40800
40801
40802
40803
40804
40805
40806
40807
40808
40809
40810
40811
40812
40813
40814
40815
40816
40817
40818
40819
40820
40821
40822
40823
40824
40825
40826
40827
40828
40829
40830
40831
40832
40833
40834
40835
40836
40837
40838
40839
40840
40841
40842
40843
40844
40845
40846
40847
40848
40849
40850
40851
40852
40853
40854
40855
40856
40857
40858
40859
40860
40861
40862
40863
40864
40865
40866
40867
40868
40869
40870
40871
40872
40873
40874
40875
40876
40877
40878
40879
40880
40881
40882
40883
40884
40885
40886
40887
40888
40889
40890
40891
40892
40893
40894
40895
40896
40897
40898
40899
40900
40901
40902
40903
40904
40905
40906
40907
40908
40909
40910
40911
40912
40913
40914
40915
40916
40917
40918
40919
40920
40921
40922
40923
40924
40925
40926
40927
40928
40929
40930
40931
40932
40933
40934
40935
40936
40937
40938
40939
40940
40941
40942
40943
40944
40945
40946
40947
40948
40949
40950
40951
40952
40953
40954
40955
40956
40957
40958
40959
40960
40961
40962
40963
40964
40965
40966
40967
40968
40969
40970
40971
40972
40973
40974
40975
40976
40977
40978
40979
40980
40981
40982
40983
40984
40985
40986
40987
40988
40989
40990
40991
40992
40993
40994
40995
40996
40997
40998
40999
41000
41001
41002
41003
41004
41005
41006
41007
41008
41009
41010
41011
41012
41013
41014
41015
41016
41017
41018
41019
41020
41021
41022
41023
41024
41025
41026
41027
41028
41029
41030
41031
41032
41033
41034
41035
41036
41037
41038
41039
41040
41041
41042
41043
41044
41045
41046
41047
41048
41049
41050
41051
41052
41053
41054
41055
41056
41057
41058
41059
41060
41061
41062
41063
41064
41065
41066
41067
41068
41069
41070
41071
41072
41073
41074
41075
41076
41077
41078
41079
41080
41081
41082
41083
41084
41085
41086
41087
41088
41089
41090
41091
41092
41093
41094
41095
41096
41097
41098
41099
41100
41101
41102
41103
41104
41105
41106
41107
41108
41109
41110
41111
41112
41113
41114
41115
41116
41117
41118
41119
41120
41121
41122
41123
41124
41125
41126
41127
41128
41129
41130
41131
41132
41133
41134
41135
41136
41137
41138
41139
41140
41141
41142
41143
41144
41145
41146
41147
41148
41149
41150
41151
41152
41153
41154
41155
41156
41157
41158
41159
41160
41161
41162
41163
41164
41165
41166
41167
41168
41169
41170
41171
41172
41173
41174
41175
41176
41177
41178
41179
41180
41181
41182
41183
41184
41185
41186
41187
41188
41189
41190
41191
41192
41193
41194
41195
41196
41197
41198
41199
41200
41201
41202
41203
41204
41205
41206
41207
41208
41209
41210
41211
41212
41213
41214
41215
41216
41217
41218
41219
41220
41221
41222
41223
41224
41225
41226
41227
41228
41229
41230
41231
41232
41233
41234
41235
41236
41237
41238
41239
41240
41241
41242
41243
41244
41245
41246
41247
41248
41249
41250
41251
41252
41253
41254
41255
41256
41257
41258
41259
41260
41261
41262
41263
41264
41265
41266
41267
41268
41269
41270
41271
41272
41273
41274
41275
41276
41277
41278
41279
41280
41281
41282
41283
41284
41285
41286
41287
41288
41289
41290
41291
41292
41293
41294
41295
41296
41297
41298
41299
41300
41301
41302
41303
41304
41305
41306
41307
41308
41309
41310
41311
41312
41313
41314
41315
41316
41317
41318
41319
41320
41321
41322
41323
41324
41325
41326
41327
41328
41329
41330
41331
41332
41333
41334
41335
41336
41337
41338
41339
41340
41341
41342
41343
41344
41345
41346
41347
41348
41349
41350
41351
41352
41353
41354
41355
41356
41357
41358
41359
41360
41361
41362
41363
41364
41365
41366
41367
41368
41369
41370
41371
41372
41373
41374
41375
41376
41377
41378
41379
41380
41381
41382
41383
41384
41385
41386
41387
41388
41389
41390
41391
41392
41393
41394
41395
41396
41397
41398
41399
41400
41401
41402
41403
41404
41405
41406
41407
41408
41409
41410
41411
41412
41413
41414
41415
41416
41417
41418
41419
41420
41421
41422
41423
41424
41425
41426
41427
41428
41429
41430
41431
41432
41433
41434
41435
41436
41437
41438
41439
41440
41441
41442
41443
41444
41445
41446
41447
41448
41449
41450
41451
41452
41453
41454
41455
41456
41457
41458
41459
41460
41461
41462
41463
41464
41465
41466
41467
41468
41469
41470
41471
41472
41473
41474
41475
41476
41477
41478
41479
41480
41481
41482
41483
41484
41485
41486
41487
41488
41489
41490
41491
41492
41493
41494
41495
41496
41497
41498
41499
41500
41501
41502
41503
41504
41505
41506
41507
41508
41509
41510
41511
41512
41513
41514
41515
41516
41517
41518
41519
41520
41521
41522
41523
41524
41525
41526
41527
41528
41529
41530
41531
41532
41533
41534
41535
41536
41537
41538
41539
41540
41541
41542
41543
41544
41545
41546
41547
41548
41549
41550
41551
41552
41553
41554
41555
41556
41557
41558
41559
41560
41561
41562
41563
41564
41565
41566
41567
41568
41569
41570
41571
41572
41573
41574
41575
41576
41577
41578
41579
41580
41581
41582
41583
41584
41585
41586
41587
41588
41589
41590
41591
41592
41593
41594
41595
41596
41597
41598
41599
41600
41601
41602
41603
41604
41605
41606
41607
41608
41609
41610
41611
41612
41613
41614
41615
41616
41617
41618
41619
41620
41621
41622
41623
41624
41625
41626
41627
41628
41629
41630
41631
41632
41633
41634
41635
41636
41637
41638
41639
41640
41641
41642
41643
41644
41645
41646
41647
41648
41649
41650
41651
41652
41653
41654
41655
41656
41657
41658
41659
41660
41661
41662
41663
41664
41665
41666
41667
41668
41669
41670
41671
41672
41673
41674
41675
41676
41677
41678
41679
41680
41681
41682
41683
41684
41685
41686
41687
41688
41689
41690
41691
41692
41693
41694
41695
41696
41697
41698
41699
41700
41701
41702
41703
41704
41705
41706
41707
41708
41709
41710
41711
41712
41713
41714
41715
41716
41717
41718
41719
41720
41721
41722
41723
41724
41725
41726
41727
41728
41729
41730
41731
41732
41733
41734
41735
41736
41737
41738
41739
41740
41741
41742
41743
41744
41745
41746
41747
41748
41749
41750
41751
41752
41753
41754
41755
41756
41757
41758
41759
41760
41761
41762
41763
41764
41765
41766
41767
41768
41769
41770
41771
41772
41773
41774
41775
41776
41777
41778
41779
41780
41781
41782
41783
41784
41785
41786
41787
41788
41789
41790
41791
41792
41793
41794
41795
41796
41797
41798
41799
41800
41801
41802
41803
41804
41805
41806
41807
41808
41809
41810
41811
41812
41813
41814
41815
41816
41817
41818
41819
41820
41821
41822
41823
41824
41825
41826
41827
41828
41829
41830
41831
41832
41833
41834
41835
41836
41837
41838
41839
41840
41841
41842
41843
41844
41845
41846
41847
41848
41849
41850
41851
41852
41853
41854
41855
41856
41857
41858
41859
41860
41861
41862
41863
41864
41865
41866
41867
41868
41869
41870
41871
41872
41873
41874
41875
41876
41877
41878
41879
41880
41881
41882
41883
41884
41885
41886
41887
41888
41889
41890
41891
41892
41893
41894
41895
41896
41897
41898
41899
41900
41901
41902
41903
41904
41905
41906
41907
41908
41909
41910
41911
41912
41913
41914
41915
41916
41917
41918
41919
41920
41921
41922
41923
41924
41925
41926
41927
41928
41929
41930
41931
41932
41933
41934
41935
41936
41937
41938
41939
41940
41941
41942
41943
41944
41945
41946
41947
41948
41949
41950
41951
41952
41953
41954
41955
41956
41957
41958
41959
41960
41961
41962
41963
41964
41965
41966
41967
41968
41969
41970
41971
41972
41973
41974
41975
41976
41977
41978
41979
41980
41981
41982
41983
41984
41985
41986
41987
41988
41989
41990
41991
41992
41993
41994
41995
41996
41997
41998
41999
42000
42001
42002
42003
42004
42005
42006
42007
42008
42009
42010
42011
42012
42013
42014
42015
42016
42017
42018
42019
42020
42021
42022
42023
42024
42025
42026
42027
42028
42029
42030
42031
42032
42033
42034
42035
42036
42037
42038
42039
42040
42041
42042
42043
42044
42045
42046
42047
42048
42049
42050
42051
42052
42053
42054
42055
42056
42057
42058
42059
42060
42061
42062
42063
42064
42065
42066
42067
42068
42069
42070
42071
42072
42073
42074
42075
42076
42077
42078
42079
42080
42081
42082
42083
42084
42085
42086
42087
42088
42089
42090
42091
42092
42093
42094
42095
42096
42097
42098
42099
42100
42101
42102
42103
42104
42105
42106
42107
42108
42109
42110
42111
42112
42113
42114
42115
42116
42117
42118
42119
42120
42121
42122
42123
42124
42125
42126
42127
42128
42129
42130
42131
42132
42133
42134
42135
42136
42137
42138
42139
42140
42141
42142
42143
42144
42145
42146
42147
42148
42149
42150
42151
42152
42153
42154
42155
42156
42157
42158
42159
42160
42161
42162
42163
42164
42165
42166
42167
42168
42169
42170
42171
42172
42173
42174
42175
42176
42177
42178
42179
42180
42181
42182
42183
42184
42185
42186
42187
42188
42189
42190
42191
42192
42193
42194
42195
42196
42197
42198
42199
42200
42201
42202
42203
42204
42205
42206
42207
42208
42209
42210
42211
42212
42213
42214
42215
42216
42217
42218
42219
42220
42221
42222
42223
42224
42225
42226
42227
42228
42229
42230
42231
42232
42233
42234
42235
42236
42237
42238
42239
42240
42241
42242
42243
42244
42245
42246
42247
42248
42249
42250
42251
42252
42253
42254
42255
42256
42257
42258
42259
42260
42261
42262
42263
42264
42265
42266
42267
42268
42269
42270
42271
42272
42273
42274
42275
42276
42277
42278
42279
42280
42281
42282
42283
42284
42285
42286
42287
42288
42289
42290
42291
42292
42293
42294
42295
42296
42297
42298
42299
42300
42301
42302
42303
42304
42305
42306
42307
42308
42309
42310
42311
42312
42313
42314
42315
42316
42317
42318
42319
42320
42321
42322
42323
42324
42325
42326
42327
42328
42329
42330
42331
42332
42333
42334
42335
42336
42337
42338
42339
42340
42341
42342
42343
42344
42345
42346
42347
42348
42349
42350
42351
42352
42353
42354
42355
42356
42357
42358
42359
42360
42361
42362
42363
42364
42365
42366
42367
42368
42369
42370
42371
42372
42373
42374
42375
42376
42377
42378
42379
42380
42381
42382
42383
42384
42385
42386
42387
42388
42389
42390
42391
42392
42393
42394
42395
42396
42397
42398
42399
42400
42401
42402
42403
42404
42405
42406
42407
42408
42409
42410
42411
42412
42413
42414
42415
42416
42417
42418
42419
42420
42421
42422
42423
42424
42425
42426
42427
42428
42429
42430
42431
42432
42433
42434
42435
42436
42437
42438
42439
42440
42441
42442
42443
42444
42445
42446
42447
42448
42449
42450
42451
42452
42453
42454
42455
42456
42457
42458
42459
42460
42461
42462
42463
42464
42465
42466
42467
42468
42469
42470
42471
42472
42473
42474
42475
42476
42477
42478
42479
42480
42481
42482
42483
42484
42485
42486
42487
42488
42489
42490
42491
42492
42493
42494
42495
42496
42497
42498
42499
42500
42501
42502
42503
42504
42505
42506
42507
42508
42509
42510
42511
42512
42513
42514
42515
42516
42517
42518
42519
42520
42521
42522
42523
42524
42525
42526
42527
42528
42529
42530
42531
42532
42533
42534
42535
42536
42537
42538
42539
42540
42541
42542
42543
42544
42545
42546
42547
42548
42549
42550
42551
42552
42553
42554
42555
42556
42557
42558
42559
42560
42561
42562
42563
42564
42565
42566
42567
42568
42569
42570
42571
42572
42573
42574
42575
42576
42577
42578
42579
42580
42581
42582
42583
42584
42585
42586
42587
42588
42589
42590
42591
42592
42593
42594
42595
42596
42597
42598
42599
42600
42601
42602
42603
42604
42605
42606
42607
42608
42609
42610
42611
42612
42613
42614
42615
42616
42617
42618
42619
42620
42621
42622
42623
42624
42625
42626
42627
42628
42629
42630
42631
42632
42633
42634
42635
42636
42637
42638
42639
42640
42641
42642
42643
42644
42645
42646
42647
42648
42649
42650
42651
42652
42653
42654
42655
42656
42657
42658
42659
42660
42661
42662
42663
42664
42665
42666
42667
42668
42669
42670
42671
42672
42673
42674
42675
42676
42677
42678
42679
42680
42681
42682
42683
42684
42685
42686
42687
42688
42689
42690
42691
42692
42693
42694
42695
42696
42697
42698
42699
42700
42701
42702
42703
42704
42705
42706
42707
42708
42709
42710
42711
42712
42713
42714
42715
42716
42717
42718
42719
42720
42721
42722
42723
42724
42725
42726
42727
42728
42729
42730
42731
42732
42733
42734
42735
42736
42737
42738
42739
42740
42741
42742
42743
42744
42745
42746
42747
42748
42749
42750
42751
42752
42753
42754
42755
42756
42757
42758
42759
42760
42761
42762
42763
42764
42765
42766
42767
42768
42769
42770
42771
42772
42773
42774
42775
42776
42777
42778
42779
42780
42781
42782
42783
42784
42785
42786
42787
42788
42789
42790
42791
42792
42793
42794
42795
42796
42797
42798
42799
42800
42801
42802
42803
42804
42805
42806
42807
42808
42809
42810
42811
42812
42813
42814
42815
42816
42817
42818
42819
42820
42821
42822
42823
42824
42825
42826
42827
42828
42829
42830
42831
42832
42833
42834
42835
42836
42837
42838
42839
42840
42841
42842
42843
42844
42845
42846
42847
42848
42849
42850
42851
42852
42853
42854
42855
42856
42857
42858
42859
42860
42861
42862
42863
42864
42865
42866
42867
42868
42869
42870
42871
42872
42873
42874
42875
42876
42877
42878
42879
42880
42881
42882
42883
42884
42885
42886
42887
42888
42889
42890
42891
42892
42893
42894
42895
42896
42897
42898
42899
42900
42901
42902
42903
42904
42905
42906
42907
42908
42909
42910
42911
42912
42913
42914
42915
42916
42917
42918
42919
42920
42921
42922
42923
42924
42925
42926
42927
42928
42929
42930
42931
42932
42933
42934
42935
42936
42937
42938
42939
42940
42941
42942
42943
42944
42945
42946
42947
42948
42949
42950
42951
42952
42953
42954
42955
42956
42957
42958
42959
42960
42961
42962
42963
42964
42965
42966
42967
42968
42969
42970
42971
42972
42973
42974
42975
42976
42977
42978
42979
42980
42981
42982
42983
42984
42985
42986
42987
42988
42989
42990
42991
42992
42993
42994
42995
42996
42997
42998
42999
43000
43001
43002
43003
43004
43005
43006
43007
43008
43009
43010
43011
43012
43013
43014
43015
43016
43017
43018
43019
43020
43021
43022
43023
43024
43025
43026
43027
43028
43029
43030
43031
43032
43033
43034
43035
43036
43037
43038
43039
43040
43041
43042
43043
43044
43045
43046
43047
43048
43049
43050
43051
43052
43053
43054
43055
43056
43057
43058
43059
43060
43061
43062
43063
43064
43065
43066
43067
43068
43069
43070
43071
43072
43073
43074
43075
43076
43077
43078
43079
43080
43081
43082
43083
43084
43085
43086
43087
43088
43089
43090
43091
43092
43093
43094
43095
43096
43097
43098
43099
43100
43101
43102
43103
43104
43105
43106
43107
43108
43109
43110
43111
43112
43113
43114
43115
43116
43117
43118
43119
43120
43121
43122
43123
43124
43125
43126
43127
43128
43129
43130
43131
43132
43133
43134
43135
43136
43137
43138
43139
43140
43141
43142
43143
43144
43145
43146
43147
43148
43149
43150
43151
43152
43153
43154
43155
43156
43157
43158
43159
43160
43161
43162
43163
43164
43165
43166
43167
43168
43169
43170
43171
43172
43173
43174
43175
43176
43177
43178
43179
43180
43181
43182
43183
43184
43185
43186
43187
43188
43189
43190
43191
43192
43193
43194
43195
43196
43197
43198
43199
43200
43201
43202
43203
43204
43205
43206
43207
43208
43209
43210
43211
43212
43213
43214
43215
43216
43217
43218
43219
43220
43221
43222
43223
43224
43225
43226
43227
43228
43229
43230
43231
43232
43233
43234
43235
43236
43237
43238
43239
43240
43241
43242
43243
43244
43245
43246
43247
43248
43249
43250
43251
43252
43253
43254
43255
43256
43257
43258
43259
43260
43261
43262
43263
43264
43265
43266
43267
43268
43269
43270
43271
43272
43273
43274
43275
43276
43277
43278
43279
43280
43281
43282
43283
43284
43285
43286
43287
43288
43289
43290
43291
43292
43293
43294
43295
43296
43297
43298
43299
43300
43301
43302
43303
43304
43305
43306
43307
43308
43309
43310
43311
43312
43313
43314
43315
43316
43317
43318
43319
43320
43321
43322
43323
43324
43325
43326
43327
43328
43329
43330
43331
43332
43333
43334
43335
43336
43337
43338
43339
43340
43341
43342
43343
43344
43345
43346
43347
43348
43349
43350
43351
43352
43353
43354
43355
43356
43357
43358
43359
43360
43361
43362
43363
43364
43365
43366
43367
43368
43369
43370
43371
43372
43373
43374
43375
43376
43377
43378
43379
43380
43381
43382
43383
43384
43385
43386
43387
43388
43389
43390
43391
43392
43393
43394
43395
43396
43397
43398
43399
43400
43401
43402
43403
43404
43405
43406
43407
43408
43409
43410
43411
43412
43413
43414
43415
43416
43417
43418
43419
43420
43421
43422
43423
43424
43425
43426
43427
43428
43429
43430
43431
43432
43433
43434
43435
43436
43437
43438
43439
43440
43441
43442
43443
43444
43445
43446
43447
43448
43449
43450
43451
43452
43453
43454
43455
43456
43457
43458
43459
43460
43461
43462
43463
43464
43465
43466
43467
43468
43469
43470
43471
43472
43473
43474
43475
43476
43477
43478
43479
43480
43481
43482
43483
43484
43485
43486
43487
43488
43489
43490
43491
43492
43493
43494
43495
43496
43497
43498
43499
43500
43501
43502
43503
43504
43505
43506
43507
43508
43509
43510
43511
43512
43513
43514
43515
43516
43517
43518
43519
43520
43521
43522
43523
43524
43525
43526
43527
43528
43529
43530
43531
43532
43533
43534
43535
43536
43537
43538
43539
43540
43541
43542
43543
43544
43545
43546
43547
43548
43549
43550
43551
43552
43553
43554
43555
43556
43557
43558
43559
43560
43561
43562
43563
43564
43565
43566
43567
43568
43569
43570
43571
43572
43573
43574
43575
43576
43577
43578
43579
43580
43581
43582
43583
43584
43585
43586
43587
43588
43589
43590
43591
43592
43593
43594
43595
43596
43597
43598
43599
43600
43601
43602
43603
43604
43605
43606
43607
43608
43609
43610
43611
43612
43613
43614
43615
43616
43617
43618
43619
43620
43621
43622
43623
43624
43625
43626
43627
43628
43629
43630
43631
43632
43633
43634
43635
43636
43637
43638
43639
43640
43641
43642
43643
43644
43645
43646
43647
43648
43649
43650
43651
43652
43653
43654
43655
43656
43657
43658
43659
43660
43661
43662
43663
43664
43665
43666
43667
43668
43669
43670
43671
43672
43673
43674
43675
43676
43677
43678
43679
43680
43681
43682
43683
43684
43685
43686
43687
43688
43689
43690
43691
43692
43693
43694
43695
43696
43697
43698
43699
43700
43701
43702
43703
43704
43705
43706
43707
43708
43709
43710
43711
43712
43713
43714
43715
43716
43717
43718
43719
43720
43721
43722
43723
43724
43725
43726
43727
43728
43729
43730
43731
43732
43733
43734
43735
43736
43737
43738
43739
43740
43741
43742
43743
43744
43745
43746
43747
43748
43749
43750
43751
43752
43753
43754
43755
43756
43757
43758
43759
43760
43761
43762
43763
43764
43765
43766
43767
43768
43769
43770
43771
43772
43773
43774
43775
43776
43777
43778
43779
43780
43781
43782
43783
43784
43785
43786
43787
43788
43789
43790
43791
43792
43793
43794
43795
43796
43797
43798
43799
43800
43801
43802
43803
43804
43805
43806
43807
43808
43809
43810
43811
43812
43813
43814
43815
43816
43817
43818
43819
43820
43821
43822
43823
43824
43825
43826
43827
43828
43829
43830
43831
43832
43833
43834
43835
43836
43837
43838
43839
43840
43841
43842
43843
43844
43845
43846
43847
43848
43849
43850
43851
43852
43853
43854
43855
43856
43857
43858
43859
43860
43861
43862
43863
43864
43865
43866
43867
43868
43869
43870
43871
43872
43873
43874
43875
43876
43877
43878
43879
43880
43881
43882
43883
43884
43885
43886
43887
43888
43889
43890
43891
43892
43893
43894
43895
43896
43897
43898
43899
43900
43901
43902
43903
43904
43905
43906
43907
43908
43909
43910
43911
43912
43913
43914
43915
43916
43917
43918
43919
43920
43921
43922
43923
43924
43925
43926
43927
43928
43929
43930
43931
43932
43933
43934
43935
43936
43937
43938
43939
43940
43941
43942
43943
43944
43945
43946
43947
43948
43949
43950
43951
43952
43953
43954
43955
43956
43957
43958
43959
43960
43961
43962
43963
43964
43965
43966
43967
43968
43969
43970
43971
43972
43973
43974
43975
43976
43977
43978
43979
43980
43981
43982
43983
43984
43985
43986
43987
43988
43989
43990
43991
43992
43993
43994
43995
43996
43997
43998
43999
44000
44001
44002
44003
44004
44005
44006
44007
44008
44009
44010
44011
44012
44013
44014
44015
44016
44017
44018
44019
44020
44021
44022
44023
44024
44025
44026
44027
44028
44029
44030
44031
44032
44033
44034
44035
44036
44037
44038
44039
44040
44041
44042
44043
44044
44045
44046
44047
44048
44049
44050
44051
44052
44053
44054
44055
44056
44057
44058
44059
44060
44061
44062
44063
44064
44065
44066
44067
44068
44069
44070
44071
44072
44073
44074
44075
44076
44077
44078
44079
44080
44081
44082
44083
44084
44085
44086
44087
44088
44089
44090
44091
44092
44093
44094
44095
44096
44097
44098
44099
44100
44101
44102
44103
44104
44105
44106
44107
44108
44109
44110
44111
44112
44113
44114
44115
44116
44117
44118
44119
44120
44121
44122
44123
44124
44125
44126
44127
44128
44129
44130
44131
44132
44133
44134
44135
44136
44137
44138
44139
44140
44141
44142
44143
44144
44145
44146
44147
44148
44149
44150
44151
44152
44153
44154
44155
44156
44157
44158
44159
44160
44161
44162
44163
44164
44165
44166
44167
44168
44169
44170
44171
44172
44173
44174
44175
44176
44177
44178
44179
44180
44181
44182
44183
44184
44185
44186
44187
44188
44189
44190
44191
44192
44193
44194
44195
44196
44197
44198
44199
44200
44201
44202
44203
44204
44205
44206
44207
44208
44209
44210
44211
44212
44213
44214
44215
44216
44217
44218
44219
44220
44221
44222
44223
44224
44225
44226
44227
44228
44229
44230
44231
44232
44233
44234
44235
44236
44237
44238
44239
44240
44241
44242
44243
44244
44245
44246
44247
44248
44249
44250
44251
44252
44253
44254
44255
44256
44257
44258
44259
44260
44261
44262
44263
44264
44265
44266
44267
44268
44269
44270
44271
44272
44273
44274
44275
44276
44277
44278
44279
44280
44281
44282
44283
44284
44285
44286
44287
44288
44289
44290
44291
44292
44293
44294
44295
44296
44297
44298
44299
44300
44301
44302
44303
44304
44305
44306
44307
44308
44309
44310
44311
44312
44313
44314
44315
44316
44317
44318
44319
44320
44321
44322
44323
44324
44325
44326
44327
44328
44329
44330
44331
44332
44333
44334
44335
44336
44337
44338
44339
44340
44341
44342
44343
44344
44345
44346
44347
44348
44349
44350
44351
44352
44353
44354
44355
44356
44357
44358
44359
44360
44361
44362
44363
44364
44365
44366
44367
44368
44369
44370
44371
44372
44373
44374
44375
44376
44377
44378
44379
44380
44381
44382
44383
44384
44385
44386
44387
44388
44389
44390
44391
44392
44393
44394
44395
44396
44397
44398
44399
44400
44401
44402
44403
44404
44405
44406
44407
44408
44409
44410
44411
44412
44413
44414
44415
44416
44417
44418
44419
44420
44421
44422
44423
44424
44425
44426
44427
44428
44429
44430
44431
44432
44433
44434
44435
44436
44437
44438
44439
44440
44441
44442
44443
44444
44445
44446
44447
44448
44449
44450
44451
44452
44453
44454
44455
44456
44457
44458
44459
44460
44461
44462
44463
44464
44465
44466
44467
44468
44469
44470
44471
44472
44473
44474
44475
44476
44477
44478
44479
44480
44481
44482
44483
44484
44485
44486
44487
44488
44489
44490
44491
44492
44493
44494
44495
44496
44497
44498
44499
44500
44501
44502
44503
44504
44505
44506
44507
44508
44509
44510
44511
44512
44513
44514
44515
44516
44517
44518
44519
44520
44521
44522
44523
44524
44525
44526
44527
44528
44529
44530
44531
44532
44533
44534
44535
44536
44537
44538
44539
44540
44541
44542
44543
44544
44545
44546
44547
44548
44549
44550
44551
44552
44553
44554
44555
44556
44557
44558
44559
44560
44561
44562
44563
44564
44565
44566
44567
44568
44569
44570
44571
44572
44573
44574
44575
44576
44577
44578
44579
44580
44581
44582
44583
44584
44585
44586
44587
44588
44589
44590
44591
44592
44593
44594
44595
44596
44597
44598
44599
44600
44601
44602
44603
44604
44605
44606
44607
44608
44609
44610
44611
44612
44613
44614
44615
44616
44617
44618
44619
44620
44621
44622
44623
44624
44625
44626
44627
44628
44629
44630
44631
44632
44633
44634
44635
44636
44637
44638
44639
44640
44641
44642
44643
44644
44645
44646
44647
44648
44649
44650
44651
44652
44653
44654
44655
44656
44657
44658
44659
44660
44661
44662
44663
44664
44665
44666
44667
44668
44669
44670
44671
44672
44673
44674
44675
44676
44677
44678
44679
44680
44681
44682
44683
44684
44685
44686
44687
44688
44689
44690
44691
44692
44693
44694
44695
44696
44697
44698
44699
44700
44701
44702
44703
44704
44705
44706
44707
44708
44709
44710
44711
44712
44713
44714
44715
44716
44717
44718
44719
44720
44721
44722
44723
44724
44725
44726
44727
44728
44729
44730
44731
44732
44733
44734
44735
44736
44737
44738
44739
44740
44741
44742
44743
44744
44745
44746
44747
44748
44749
44750
44751
44752
44753
44754
44755
44756
44757
44758
44759
44760
44761
44762
44763
44764
44765
44766
44767
44768
44769
44770
44771
44772
44773
44774
44775
44776
44777
44778
44779
44780
44781
44782
44783
44784
44785
44786
44787
44788
44789
44790
44791
44792
44793
44794
44795
44796
44797
44798
44799
44800
44801
44802
44803
44804
44805
44806
44807
44808
44809
44810
44811
44812
44813
44814
44815
44816
44817
44818
44819
44820
44821
44822
44823
44824
44825
44826
44827
44828
44829
44830
44831
44832
44833
44834
44835
44836
44837
44838
44839
44840
44841
44842
44843
44844
44845
44846
44847
44848
44849
44850
44851
44852
44853
44854
44855
44856
44857
44858
44859
44860
44861
44862
44863
44864
44865
44866
44867
44868
44869
44870
44871
44872
44873
44874
44875
44876
44877
44878
44879
44880
44881
44882
44883
44884
44885
44886
44887
44888
44889
44890
44891
44892
44893
44894
44895
44896
44897
44898
44899
44900
44901
44902
44903
44904
44905
44906
44907
44908
44909
44910
44911
44912
44913
44914
44915
44916
44917
44918
44919
44920
44921
44922
44923
44924
44925
44926
44927
44928
44929
44930
44931
44932
44933
44934
44935
44936
44937
44938
44939
44940
44941
44942
44943
44944
44945
44946
44947
44948
44949
44950
44951
44952
44953
44954
44955
44956
44957
44958
44959
44960
44961
44962
44963
44964
44965
44966
44967
44968
44969
44970
44971
44972
44973
44974
44975
44976
44977
44978
44979
44980
44981
44982
44983
44984
44985
44986
44987
44988
44989
44990
44991
44992
44993
44994
44995
44996
44997
44998
44999
45000
45001
45002
45003
45004
45005
45006
45007
45008
45009
45010
45011
45012
45013
45014
45015
45016
45017
45018
45019
45020
45021
45022
45023
45024
45025
45026
45027
45028
45029
45030
45031
45032
45033
45034
45035
45036
45037
45038
45039
45040
45041
45042
45043
45044
45045
45046
45047
45048
45049
45050
45051
45052
45053
45054
45055
45056
45057
45058
45059
45060
45061
45062
45063
45064
45065
45066
45067
45068
45069
45070
45071
45072
45073
45074
45075
45076
45077
45078
45079
45080
45081
45082
45083
45084
45085
45086
45087
45088
45089
45090
45091
45092
45093
45094
45095
45096
45097
45098
45099
45100
45101
45102
45103
45104
45105
45106
45107
45108
45109
45110
45111
45112
45113
45114
45115
45116
45117
45118
45119
45120
45121
45122
45123
45124
45125
45126
45127
45128
45129
45130
45131
45132
45133
45134
45135
45136
45137
45138
45139
45140
45141
45142
45143
45144
45145
45146
45147
45148
45149
45150
45151
45152
45153
45154
45155
45156
45157
45158
45159
45160
45161
45162
45163
45164
45165
45166
45167
45168
45169
45170
45171
45172
45173
45174
45175
45176
45177
45178
45179
45180
45181
45182
45183
45184
45185
45186
45187
45188
45189
45190
45191
45192
45193
45194
45195
45196
45197
45198
45199
45200
45201
45202
45203
45204
45205
45206
45207
45208
45209
45210
45211
45212
45213
45214
45215
45216
45217
45218
45219
45220
45221
45222
45223
45224
45225
45226
45227
45228
45229
45230
45231
45232
45233
45234
45235
45236
45237
45238
45239
45240
45241
45242
45243
45244
45245
45246
45247
45248
45249
45250
45251
45252
45253
45254
45255
45256
45257
45258
45259
45260
45261
45262
45263
45264
45265
45266
45267
45268
45269
45270
45271
45272
45273
45274
45275
45276
45277
45278
45279
45280
45281
45282
45283
45284
45285
45286
45287
45288
45289
45290
45291
45292
45293
45294
45295
45296
45297
45298
45299
45300
45301
45302
45303
45304
45305
45306
45307
45308
45309
45310
45311
45312
45313
45314
45315
45316
45317
45318
45319
45320
45321
45322
45323
45324
45325
45326
45327
45328
45329
45330
45331
45332
45333
45334
45335
45336
45337
45338
45339
45340
45341
45342
45343
45344
45345
45346
45347
45348
45349
45350
45351
45352
45353
45354
45355
45356
45357
45358
45359
45360
45361
45362
45363
45364
45365
45366
45367
45368
45369
45370
45371
45372
45373
45374
45375
45376
45377
45378
45379
45380
45381
45382
45383
45384
45385
45386
45387
45388
45389
45390
45391
45392
45393
45394
45395
45396
45397
45398
45399
45400
45401
45402
45403
45404
45405
45406
45407
45408
45409
45410
45411
45412
45413
45414
45415
45416
45417
45418
45419
45420
45421
45422
45423
45424
45425
45426
45427
45428
45429
45430
45431
45432
45433
45434
45435
45436
45437
45438
45439
45440
45441
45442
45443
45444
45445
45446
45447
45448
45449
45450
45451
45452
45453
45454
45455
45456
45457
45458
45459
45460
45461
45462
45463
45464
45465
45466
45467
45468
45469
45470
45471
45472
45473
45474
45475
45476
45477
45478
45479
45480
45481
45482
45483
45484
45485
45486
45487
45488
45489
45490
45491
45492
45493
45494
45495
45496
45497
45498
45499
45500
45501
45502
45503
45504
45505
45506
45507
45508
45509
45510
45511
45512
45513
45514
45515
45516
45517
45518
45519
45520
45521
45522
45523
45524
45525
45526
45527
45528
45529
45530
45531
45532
45533
45534
45535
45536
45537
45538
45539
45540
45541
45542
45543
45544
45545
45546
45547
45548
45549
45550
45551
45552
45553
45554
45555
45556
45557
45558
45559
45560
45561
45562
45563
45564
45565
45566
45567
45568
45569
45570
45571
45572
45573
45574
45575
45576
45577
45578
45579
45580
45581
45582
45583
45584
45585
45586
45587
45588
45589
45590
45591
45592
45593
45594
45595
45596
45597
45598
45599
45600
45601
45602
45603
45604
45605
45606
45607
45608
45609
45610
45611
45612
45613
45614
45615
45616
45617
45618
45619
45620
45621
45622
45623
45624
45625
45626
45627
45628
45629
45630
45631
45632
45633
45634
45635
45636
45637
45638
45639
45640
45641
45642
45643
45644
45645
45646
45647
45648
45649
45650
45651
45652
45653
45654
45655
45656
45657
45658
45659
45660
45661
45662
45663
45664
45665
45666
45667
45668
45669
45670
45671
45672
45673
45674
45675
45676
45677
45678
45679
45680
45681
45682
45683
45684
45685
45686
45687
45688
45689
45690
45691
45692
45693
45694
45695
45696
45697
45698
45699
45700
45701
45702
45703
45704
45705
45706
45707
45708
45709
45710
45711
45712
45713
45714
45715
45716
45717
45718
45719
45720
45721
45722
45723
45724
45725
45726
45727
45728
45729
45730
45731
45732
45733
45734
45735
45736
45737
45738
45739
45740
45741
45742
45743
45744
45745
45746
45747
45748
45749
45750
45751
45752
45753
45754
45755
45756
45757
45758
45759
45760
45761
45762
45763
45764
45765
45766
45767
45768
45769
45770
45771
45772
45773
45774
45775
45776
45777
45778
45779
45780
45781
45782
45783
45784
45785
45786
45787
45788
45789
45790
45791
45792
45793
45794
45795
45796
45797
45798
45799
45800
45801
45802
45803
45804
45805
45806
45807
45808
45809
45810
45811
45812
45813
45814
45815
45816
45817
45818
45819
45820
45821
45822
45823
45824
45825
45826
45827
45828
45829
45830
45831
45832
45833
45834
45835
45836
45837
45838
45839
45840
45841
45842
45843
45844
45845
45846
45847
45848
45849
45850
45851
45852
45853
45854
45855
45856
45857
45858
45859
45860
45861
45862
45863
45864
45865
45866
45867
45868
45869
45870
45871
45872
45873
45874
45875
45876
45877
45878
45879
45880
45881
45882
45883
45884
45885
45886
45887
45888
45889
45890
45891
45892
45893
45894
45895
45896
45897
45898
45899
45900
45901
45902
45903
45904
45905
45906
45907
45908
45909
45910
45911
45912
45913
45914
45915
45916
45917
45918
45919
45920
45921
45922
45923
45924
45925
45926
45927
45928
45929
45930
45931
45932
45933
45934
45935
45936
45937
45938
45939
45940
45941
45942
45943
45944
45945
45946
45947
45948
45949
45950
45951
45952
45953
45954
45955
45956
45957
45958
45959
45960
45961
45962
45963
45964
45965
45966
45967
45968
45969
45970
45971
45972
45973
45974
45975
45976
45977
45978
45979
45980
45981
45982
45983
45984
45985
45986
45987
45988
45989
45990
45991
45992
45993
45994
45995
45996
45997
45998
45999
46000
46001
46002
46003
46004
46005
46006
46007
46008
46009
46010
46011
46012
46013
46014
46015
46016
46017
46018
46019
46020
46021
46022
46023
46024
46025
46026
46027
46028
46029
46030
46031
46032
46033
46034
46035
46036
46037
46038
46039
46040
46041
46042
46043
46044
46045
46046
46047
46048
46049
46050
46051
46052
46053
46054
46055
46056
46057
46058
46059
46060
46061
46062
46063
46064
46065
46066
46067
46068
46069
46070
46071
46072
46073
46074
46075
46076
46077
46078
46079
46080
46081
46082
46083
46084
46085
46086
46087
46088
46089
46090
46091
46092
46093
46094
46095
46096
46097
46098
46099
46100
46101
46102
46103
46104
46105
46106
46107
46108
46109
46110
46111
46112
46113
46114
46115
46116
46117
46118
46119
46120
46121
46122
46123
46124
46125
46126
46127
46128
46129
46130
46131
46132
46133
46134
46135
46136
46137
46138
46139
46140
46141
46142
46143
46144
46145
46146
46147
46148
46149
46150
46151
46152
46153
46154
46155
46156
46157
46158
46159
46160
46161
46162
46163
46164
46165
46166
46167
46168
46169
46170
46171
46172
46173
46174
46175
46176
46177
46178
46179
46180
46181
46182
46183
46184
46185
46186
46187
46188
46189
46190
46191
46192
46193
46194
46195
46196
46197
46198
46199
46200
46201
46202
46203
46204
46205
46206
46207
46208
46209
46210
46211
46212
46213
46214
46215
46216
46217
46218
46219
46220
46221
46222
46223
46224
46225
46226
46227
46228
46229
46230
46231
46232
46233
46234
46235
46236
46237
46238
46239
46240
46241
46242
46243
46244
46245
46246
46247
46248
46249
46250
46251
46252
46253
46254
46255
46256
46257
46258
46259
46260
46261
46262
46263
46264
46265
46266
46267
46268
46269
46270
46271
46272
46273
46274
46275
46276
46277
46278
46279
46280
46281
46282
46283
46284
46285
46286
46287
46288
46289
46290
46291
46292
46293
46294
46295
46296
46297
46298
46299
46300
46301
46302
46303
46304
46305
46306
46307
46308
46309
46310
46311
46312
46313
46314
46315
46316
46317
46318
46319
46320
46321
46322
46323
46324
46325
46326
46327
46328
46329
46330
46331
46332
46333
46334
46335
46336
46337
46338
46339
46340
46341
46342
46343
46344
46345
46346
46347
46348
46349
46350
46351
46352
46353
46354
46355
46356
46357
46358
46359
46360
46361
46362
46363
46364
46365
46366
46367
46368
46369
46370
46371
46372
46373
46374
46375
46376
46377
46378
46379
46380
46381
46382
46383
46384
46385
46386
46387
46388
46389
46390
46391
46392
46393
46394
46395
46396
46397
46398
46399
46400
46401
46402
46403
46404
46405
46406
46407
46408
46409
46410
46411
46412
46413
46414
46415
46416
46417
46418
46419
46420
46421
46422
46423
46424
46425
46426
46427
46428
46429
46430
46431
46432
46433
46434
46435
46436
46437
46438
46439
46440
46441
46442
46443
46444
46445
46446
46447
46448
46449
46450
46451
46452
46453
46454
46455
46456
46457
46458
46459
46460
46461
46462
46463
46464
46465
46466
46467
46468
46469
46470
46471
46472
46473
46474
46475
46476
46477
46478
46479
46480
46481
46482
46483
46484
46485
46486
46487
46488
46489
46490
46491
46492
46493
46494
46495
46496
46497
46498
46499
46500
46501
46502
46503
46504
46505
46506
46507
46508
46509
46510
46511
46512
46513
46514
46515
46516
46517
46518
46519
46520
46521
46522
46523
46524
46525
46526
46527
46528
46529
46530
46531
46532
46533
46534
46535
46536
46537
46538
46539
46540
46541
46542
46543
46544
46545
46546
46547
46548
46549
46550
46551
46552
46553
46554
46555
46556
46557
46558
46559
46560
46561
46562
46563
46564
46565
46566
46567
46568
46569
46570
46571
46572
46573
46574
46575
46576
46577
46578
46579
46580
46581
46582
46583
46584
46585
46586
46587
46588
46589
46590
46591
46592
46593
46594
46595
46596
46597
46598
46599
46600
46601
46602
46603
46604
46605
46606
46607
46608
46609
46610
46611
46612
46613
46614
46615
46616
46617
46618
46619
46620
46621
46622
46623
46624
46625
46626
46627
46628
46629
46630
46631
46632
46633
46634
46635
46636
46637
46638
46639
46640
46641
46642
46643
46644
46645
46646
46647
46648
46649
46650
46651
46652
46653
46654
46655
46656
46657
46658
46659
46660
46661
46662
46663
46664
46665
46666
46667
46668
46669
46670
46671
46672
46673
46674
46675
46676
46677
46678
46679
46680
46681
46682
46683
46684
46685
46686
46687
46688
46689
46690
46691
46692
46693
46694
46695
46696
46697
46698
46699
46700
46701
46702
46703
46704
46705
46706
46707
46708
46709
46710
46711
46712
46713
46714
46715
46716
46717
46718
46719
46720
46721
46722
46723
46724
46725
46726
46727
46728
46729
46730
46731
46732
46733
46734
46735
46736
46737
46738
46739
46740
46741
46742
46743
46744
46745
46746
46747
46748
46749
46750
46751
46752
46753
46754
46755
46756
46757
46758
46759
46760
46761
46762
46763
46764
46765
46766
46767
46768
46769
46770
46771
46772
46773
46774
46775
46776
46777
46778
46779
46780
46781
46782
46783
46784
46785
46786
46787
46788
46789
46790
46791
46792
46793
46794
46795
46796
46797
46798
46799
46800
46801
46802
46803
46804
46805
46806
46807
46808
46809
46810
46811
46812
46813
46814
46815
46816
46817
46818
46819
46820
46821
46822
46823
46824
46825
46826
46827
46828
46829
46830
46831
46832
46833
46834
46835
46836
46837
46838
46839
46840
46841
46842
46843
46844
46845
46846
46847
46848
46849
46850
46851
46852
46853
46854
46855
46856
46857
46858
46859
46860
46861
46862
46863
46864
46865
46866
46867
46868
46869
46870
46871
46872
46873
46874
46875
46876
46877
46878
46879
46880
46881
46882
46883
46884
46885
46886
46887
46888
46889
46890
46891
46892
46893
46894
46895
46896
46897
46898
46899
46900
46901
46902
46903
46904
46905
46906
46907
46908
46909
46910
46911
46912
46913
46914
46915
46916
46917
46918
46919
46920
46921
46922
46923
46924
46925
46926
46927
46928
46929
46930
46931
46932
46933
46934
46935
46936
46937
46938
46939
46940
46941
46942
46943
46944
46945
46946
46947
46948
46949
46950
46951
46952
46953
46954
46955
46956
46957
46958
46959
46960
46961
46962
46963
46964
46965
46966
46967
46968
46969
46970
46971
46972
46973
46974
46975
46976
46977
46978
46979
46980
46981
46982
46983
46984
46985
46986
46987
46988
46989
46990
46991
46992
46993
46994
46995
46996
46997
46998
46999
47000
47001
47002
47003
47004
47005
47006
47007
47008
47009
47010
47011
47012
47013
47014
47015
47016
47017
47018
47019
47020
47021
47022
47023
47024
47025
47026
47027
47028
47029
47030
47031
47032
47033
47034
47035
47036
47037
47038
47039
47040
47041
47042
47043
47044
47045
47046
47047
47048
47049
47050
47051
47052
47053
47054
47055
47056
47057
47058
47059
47060
47061
47062
47063
47064
47065
47066
47067
47068
47069
47070
47071
47072
47073
47074
47075
47076
47077
47078
47079
47080
47081
47082
47083
47084
47085
47086
47087
47088
47089
47090
47091
47092
47093
47094
47095
47096
47097
47098
47099
47100
47101
47102
47103
47104
47105
47106
47107
47108
47109
47110
47111
47112
47113
47114
47115
47116
47117
47118
47119
47120
47121
47122
47123
47124
47125
47126
47127
47128
47129
47130
47131
47132
47133
47134
47135
47136
47137
47138
47139
47140
47141
47142
47143
47144
47145
47146
47147
47148
47149
47150
47151
47152
47153
47154
47155
47156
47157
47158
47159
47160
47161
47162
47163
47164
47165
47166
47167
47168
47169
47170
47171
47172
47173
47174
47175
47176
47177
47178
47179
47180
47181
47182
47183
47184
47185
47186
47187
47188
47189
47190
47191
47192
47193
47194
47195
47196
47197
47198
47199
47200
47201
47202
47203
47204
47205
47206
47207
47208
47209
47210
47211
47212
47213
47214
47215
47216
47217
47218
47219
47220
47221
47222
47223
47224
47225
47226
47227
47228
47229
47230
47231
47232
47233
47234
47235
47236
47237
47238
47239
47240
47241
47242
47243
47244
47245
47246
47247
47248
47249
47250
47251
47252
47253
47254
47255
47256
47257
47258
47259
47260
47261
47262
47263
47264
47265
47266
47267
47268
47269
47270
47271
47272
47273
47274
47275
47276
47277
47278
47279
47280
47281
47282
47283
47284
47285
47286
47287
47288
47289
47290
47291
47292
47293
47294
47295
47296
47297
47298
47299
47300
47301
47302
47303
47304
47305
47306
47307
47308
47309
47310
47311
47312
47313
47314
47315
47316
47317
47318
47319
47320
47321
47322
47323
47324
47325
47326
47327
47328
47329
47330
47331
47332
47333
47334
47335
47336
47337
47338
47339
47340
47341
47342
47343
47344
47345
47346
47347
47348
47349
47350
47351
47352
47353
47354
47355
47356
47357
47358
47359
47360
47361
47362
47363
47364
47365
47366
47367
47368
47369
47370
47371
47372
47373
47374
47375
47376
47377
47378
47379
47380
47381
47382
47383
47384
47385
47386
47387
47388
47389
47390
47391
47392
47393
47394
47395
47396
47397
47398
47399
47400
47401
47402
47403
47404
47405
47406
47407
47408
47409
47410
47411
47412
47413
47414
47415
47416
47417
47418
47419
47420
47421
47422
47423
47424
47425
47426
47427
47428
47429
47430
47431
47432
47433
47434
47435
47436
47437
47438
47439
47440
47441
47442
47443
47444
47445
47446
47447
47448
47449
47450
47451
47452
47453
47454
47455
47456
47457
47458
47459
47460
47461
47462
47463
47464
47465
47466
47467
47468
47469
47470
47471
47472
47473
47474
47475
47476
47477
47478
47479
47480
47481
47482
47483
47484
47485
47486
47487
47488
47489
47490
47491
47492
47493
47494
47495
47496
47497
47498
47499
47500
47501
47502
47503
47504
47505
47506
47507
47508
47509
47510
47511
47512
47513
47514
47515
47516
47517
47518
47519
47520
47521
47522
47523
47524
47525
47526
47527
47528
47529
47530
47531
47532
47533
47534
47535
47536
47537
47538
47539
47540
47541
47542
47543
47544
47545
47546
47547
47548
47549
47550
47551
47552
47553
47554
47555
47556
47557
47558
47559
47560
47561
47562
47563
47564
47565
47566
47567
47568
47569
47570
47571
47572
47573
47574
47575
47576
47577
47578
47579
47580
47581
47582
47583
47584
47585
47586
47587
47588
47589
47590
47591
47592
47593
47594
47595
47596
47597
47598
47599
47600
47601
47602
47603
47604
47605
47606
47607
47608
47609
47610
47611
47612
47613
47614
47615
47616
47617
47618
47619
47620
47621
47622
47623
47624
47625
47626
47627
47628
47629
47630
47631
47632
47633
47634
47635
47636
47637
47638
47639
47640
47641
47642
47643
47644
47645
47646
47647
47648
47649
47650
47651
47652
47653
47654
47655
47656
47657
47658
47659
47660
47661
47662
47663
47664
47665
47666
47667
47668
47669
47670
47671
47672
47673
47674
47675
47676
47677
47678
47679
47680
47681
47682
47683
47684
47685
47686
47687
47688
47689
47690
47691
47692
47693
47694
47695
47696
47697
47698
47699
47700
47701
47702
47703
47704
47705
47706
47707
47708
47709
47710
47711
47712
47713
47714
47715
47716
47717
47718
47719
47720
47721
47722
47723
47724
47725
47726
47727
47728
47729
47730
47731
47732
47733
47734
47735
47736
47737
47738
47739
47740
47741
47742
47743
47744
47745
47746
47747
47748
47749
47750
47751
47752
47753
47754
47755
47756
47757
47758
47759
47760
47761
47762
47763
47764
47765
47766
47767
47768
47769
47770
47771
47772
47773
47774
47775
47776
47777
47778
47779
47780
47781
47782
47783
47784
47785
47786
47787
47788
47789
47790
47791
47792
47793
47794
47795
47796
47797
47798
47799
47800
47801
47802
47803
47804
47805
47806
47807
47808
47809
47810
47811
47812
47813
47814
47815
47816
47817
47818
47819
47820
47821
47822
47823
47824
47825
47826
47827
47828
47829
47830
47831
47832
47833
47834
47835
47836
47837
47838
47839
47840
47841
47842
47843
47844
47845
47846
47847
47848
47849
47850
47851
47852
47853
47854
47855
47856
47857
47858
47859
47860
47861
47862
47863
47864
47865
47866
47867
47868
47869
47870
47871
47872
47873
47874
47875
47876
47877
47878
47879
47880
47881
47882
47883
47884
47885
47886
47887
47888
47889
47890
47891
47892
47893
47894
47895
47896
47897
47898
47899
47900
47901
47902
47903
47904
47905
47906
47907
47908
47909
47910
47911
47912
47913
47914
47915
47916
47917
47918
47919
47920
47921
47922
47923
47924
47925
47926
47927
47928
47929
47930
47931
47932
47933
47934
47935
47936
47937
47938
47939
47940
47941
47942
47943
47944
47945
47946
47947
47948
47949
47950
47951
47952
47953
47954
47955
47956
47957
47958
47959
47960
47961
47962
47963
47964
47965
47966
47967
47968
47969
47970
47971
47972
47973
47974
47975
47976
47977
47978
47979
47980
47981
47982
47983
47984
47985
47986
47987
47988
47989
47990
47991
47992
47993
47994
47995
47996
47997
47998
47999
48000
48001
48002
48003
48004
48005
48006
48007
48008
48009
48010
48011
48012
48013
48014
48015
48016
48017
48018
48019
48020
48021
48022
48023
48024
48025
48026
48027
48028
48029
48030
48031
48032
48033
48034
48035
48036
48037
48038
48039
48040
48041
48042
48043
48044
48045
48046
48047
48048
48049
48050
48051
48052
48053
48054
48055
48056
48057
48058
48059
48060
48061
48062
48063
48064
48065
48066
48067
48068
48069
48070
48071
48072
48073
48074
48075
48076
48077
48078
48079
48080
48081
48082
48083
48084
48085
48086
48087
48088
48089
48090
48091
48092
48093
48094
48095
48096
48097
48098
48099
48100
48101
48102
48103
48104
48105
48106
48107
48108
48109
48110
48111
48112
48113
48114
48115
48116
48117
48118
48119
48120
48121
48122
48123
48124
48125
48126
48127
48128
48129
48130
48131
48132
48133
48134
48135
48136
48137
48138
48139
48140
48141
48142
48143
48144
48145
48146
48147
48148
48149
48150
48151
48152
48153
48154
48155
48156
48157
48158
48159
48160
48161
48162
48163
48164
48165
48166
48167
48168
48169
48170
48171
48172
48173
48174
48175
48176
48177
48178
48179
48180
48181
48182
48183
48184
48185
48186
48187
48188
48189
48190
48191
48192
48193
48194
48195
48196
48197
48198
48199
48200
48201
48202
48203
48204
48205
48206
48207
48208
48209
48210
48211
48212
48213
48214
48215
48216
48217
48218
48219
48220
48221
48222
48223
48224
48225
48226
48227
48228
48229
48230
48231
48232
48233
48234
48235
48236
48237
48238
48239
48240
48241
48242
48243
48244
48245
48246
48247
48248
48249
48250
48251
48252
48253
48254
48255
48256
48257
48258
48259
48260
48261
48262
48263
48264
48265
48266
48267
48268
48269
48270
48271
48272
48273
48274
48275
48276
48277
48278
48279
48280
48281
48282
48283
48284
48285
48286
48287
48288
48289
48290
48291
48292
48293
48294
48295
48296
48297
48298
48299
48300
48301
48302
48303
48304
48305
48306
48307
48308
48309
48310
48311
48312
48313
48314
48315
48316
48317
48318
48319
48320
48321
48322
48323
48324
48325
48326
48327
48328
48329
48330
48331
48332
48333
48334
48335
48336
48337
48338
48339
48340
48341
48342
48343
48344
48345
48346
48347
48348
48349
48350
48351
48352
48353
48354
48355
48356
48357
48358
48359
48360
48361
48362
48363
48364
48365
48366
48367
48368
48369
48370
48371
48372
48373
48374
48375
48376
48377
48378
48379
48380
48381
48382
48383
48384
48385
48386
48387
48388
48389
48390
48391
48392
48393
48394
48395
48396
48397
48398
48399
48400
48401
48402
48403
48404
48405
48406
48407
48408
48409
48410
48411
48412
48413
48414
48415
48416
48417
48418
48419
48420
48421
48422
48423
48424
48425
48426
48427
48428
48429
48430
48431
48432
48433
48434
48435
48436
48437
48438
48439
48440
48441
48442
48443
48444
48445
48446
48447
48448
48449
48450
48451
48452
48453
48454
48455
48456
48457
48458
48459
48460
48461
48462
48463
48464
48465
48466
48467
48468
48469
48470
48471
48472
48473
48474
48475
48476
48477
48478
48479
48480
48481
48482
48483
48484
48485
48486
48487
48488
48489
48490
48491
48492
48493
48494
48495
48496
48497
48498
48499
48500
48501
48502
48503
48504
48505
48506
48507
48508
48509
48510
48511
48512
48513
48514
48515
48516
48517
48518
48519
48520
48521
48522
48523
48524
48525
48526
48527
48528
48529
48530
48531
48532
48533
48534
48535
48536
48537
48538
48539
48540
48541
48542
48543
48544
48545
48546
48547
48548
48549
48550
48551
48552
48553
48554
48555
48556
48557
48558
48559
48560
48561
48562
48563
48564
48565
48566
48567
48568
48569
48570
48571
48572
48573
48574
48575
48576
48577
48578
48579
48580
48581
48582
48583
48584
48585
48586
48587
48588
48589
48590
48591
48592
48593
48594
48595
48596
48597
48598
48599
48600
48601
48602
48603
48604
48605
48606
48607
48608
48609
48610
48611
48612
48613
48614
48615
48616
48617
48618
48619
48620
48621
48622
48623
48624
48625
48626
48627
48628
48629
48630
48631
48632
48633
48634
48635
48636
48637
48638
48639
48640
48641
48642
48643
48644
48645
48646
48647
48648
48649
48650
48651
48652
48653
48654
48655
48656
48657
48658
48659
48660
48661
48662
48663
48664
48665
48666
48667
48668
48669
48670
48671
48672
48673
48674
48675
48676
48677
48678
48679
48680
48681
48682
48683
48684
48685
48686
48687
48688
48689
48690
48691
48692
48693
48694
48695
48696
48697
48698
48699
48700
48701
48702
48703
48704
48705
48706
48707
48708
48709
48710
48711
48712
48713
48714
48715
48716
48717
48718
48719
48720
48721
48722
48723
48724
48725
48726
48727
48728
48729
48730
48731
48732
48733
48734
48735
48736
48737
48738
48739
48740
48741
48742
48743
48744
48745
48746
48747
48748
48749
48750
48751
48752
48753
48754
48755
48756
48757
48758
48759
48760
48761
48762
48763
48764
48765
48766
48767
48768
48769
48770
48771
48772
48773
48774
48775
48776
48777
48778
48779
48780
48781
48782
48783
48784
48785
48786
48787
48788
48789
48790
48791
48792
48793
48794
48795
48796
48797
48798
48799
48800
48801
48802
48803
48804
48805
48806
48807
48808
48809
48810
48811
48812
48813
48814
48815
48816
48817
48818
48819
48820
48821
48822
48823
48824
48825
48826
48827
48828
48829
48830
48831
48832
48833
48834
48835
48836
48837
48838
48839
48840
48841
48842
48843
48844
48845
48846
48847
48848
48849
48850
48851
48852
48853
48854
48855
48856
48857
48858
48859
48860
48861
48862
48863
48864
48865
48866
48867
48868
48869
48870
48871
48872
48873
48874
48875
48876
48877
48878
48879
48880
48881
48882
48883
48884
48885
48886
48887
48888
48889
48890
48891
48892
48893
48894
48895
48896
48897
48898
48899
48900
48901
48902
48903
48904
48905
48906
48907
48908
48909
48910
48911
48912
48913
48914
48915
48916
48917
48918
48919
48920
48921
48922
48923
48924
48925
48926
48927
48928
48929
48930
48931
48932
48933
48934
48935
48936
48937
48938
48939
48940
48941
48942
48943
48944
48945
48946
48947
48948
48949
48950
48951
48952
48953
48954
48955
48956
48957
48958
48959
48960
48961
48962
48963
48964
48965
48966
48967
48968
48969
48970
48971
48972
48973
48974
48975
48976
48977
48978
48979
48980
48981
48982
48983
48984
48985
48986
48987
48988
48989
48990
48991
48992
48993
48994
48995
48996
48997
48998
48999
49000
49001
49002
49003
49004
49005
49006
49007
49008
49009
49010
49011
49012
49013
49014
49015
49016
49017
49018
49019
49020
49021
49022
49023
49024
49025
49026
49027
49028
49029
49030
49031
49032
49033
49034
49035
49036
49037
49038
49039
49040
49041
49042
49043
49044
49045
49046
49047
49048
49049
49050
49051
49052
49053
49054
49055
49056
49057
49058
49059
49060
49061
49062
49063
49064
49065
49066
49067
49068
49069
49070
49071
49072
49073
49074
49075
49076
49077
49078
49079
49080
49081
49082
49083
49084
49085
49086
49087
49088
49089
49090
49091
49092
49093
49094
49095
49096
49097
49098
49099
49100
49101
49102
49103
49104
49105
49106
49107
49108
49109
49110
49111
49112
49113
49114
49115
49116
49117
49118
49119
49120
49121
49122
49123
49124
49125
49126
49127
49128
49129
49130
49131
49132
49133
49134
49135
49136
49137
49138
49139
49140
49141
49142
49143
49144
49145
49146
49147
49148
49149
49150
49151
49152
49153
49154
49155
49156
49157
49158
49159
49160
49161
49162
49163
49164
49165
49166
49167
49168
49169
49170
49171
49172
49173
49174
49175
49176
49177
49178
49179
49180
49181
49182
49183
49184
49185
49186
49187
49188
49189
49190
49191
49192
49193
49194
49195
49196
49197
49198
49199
49200
49201
49202
49203
49204
49205
49206
49207
49208
49209
49210
49211
49212
49213
49214
49215
49216
49217
49218
49219
49220
49221
49222
49223
49224
49225
49226
49227
49228
49229
49230
49231
49232
49233
49234
49235
49236
49237
49238
49239
49240
49241
49242
49243
49244
49245
49246
49247
49248
49249
49250
49251
49252
49253
49254
49255
49256
49257
49258
49259
49260
49261
49262
49263
49264
49265
49266
49267
49268
49269
49270
49271
49272
49273
49274
49275
49276
49277
49278
49279
49280
49281
49282
49283
49284
49285
49286
49287
49288
49289
49290
49291
49292
49293
49294
49295
49296
49297
49298
49299
49300
49301
49302
49303
49304
49305
49306
49307
49308
49309
49310
49311
49312
49313
49314
49315
49316
49317
49318
49319
49320
49321
49322
49323
49324
49325
49326
49327
49328
49329
49330
49331
49332
49333
49334
49335
49336
49337
49338
49339
49340
49341
49342
49343
49344
49345
49346
49347
49348
49349
49350
49351
49352
49353
49354
49355
49356
49357
49358
49359
49360
49361
49362
49363
49364
49365
49366
49367
49368
49369
49370
49371
49372
49373
49374
49375
49376
49377
49378
49379
49380
49381
49382
49383
49384
49385
49386
49387
49388
49389
49390
49391
49392
49393
49394
49395
49396
49397
49398
49399
49400
49401
49402
49403
49404
49405
49406
49407
49408
49409
49410
49411
49412
49413
49414
49415
49416
49417
49418
49419
49420
49421
49422
49423
49424
49425
49426
49427
49428
49429
49430
49431
49432
49433
49434
49435
49436
49437
49438
49439
49440
49441
49442
49443
49444
49445
49446
49447
49448
49449
49450
49451
49452
49453
49454
49455
49456
49457
49458
49459
49460
49461
49462
49463
49464
49465
49466
49467
49468
49469
49470
49471
49472
49473
49474
49475
49476
49477
49478
49479
49480
49481
49482
49483
49484
49485
49486
49487
49488
49489
49490
49491
49492
49493
49494
49495
49496
49497
49498
49499
49500
49501
49502
49503
49504
49505
49506
49507
49508
49509
49510
49511
49512
49513
49514
49515
49516
49517
49518
49519
49520
49521
49522
49523
49524
49525
49526
49527
49528
49529
49530
49531
49532
49533
49534
49535
49536
49537
49538
49539
49540
49541
49542
49543
49544
49545
49546
49547
49548
49549
49550
49551
49552
49553
49554
49555
49556
49557
49558
49559
49560
49561
49562
49563
49564
49565
49566
49567
49568
49569
49570
49571
49572
49573
49574
49575
49576
49577
49578
49579
49580
49581
49582
49583
49584
49585
49586
49587
49588
49589
49590
49591
49592
49593
49594
49595
49596
49597
49598
49599
49600
49601
49602
49603
49604
49605
49606
49607
49608
49609
49610
49611
49612
49613
49614
49615
49616
49617
49618
49619
49620
49621
49622
49623
49624
49625
49626
49627
49628
49629
49630
49631
49632
49633
49634
49635
49636
49637
49638
49639
49640
49641
49642
49643
49644
49645
49646
49647
49648
49649
49650
49651
49652
49653
49654
49655
49656
49657
49658
49659
49660
49661
49662
49663
49664
49665
49666
49667
49668
49669
49670
49671
49672
49673
49674
49675
49676
49677
49678
49679
49680
49681
49682
49683
49684
49685
49686
49687
49688
49689
49690
49691
49692
49693
49694
49695
49696
49697
49698
49699
49700
49701
49702
49703
49704
49705
49706
49707
49708
49709
49710
49711
49712
49713
49714
49715
49716
49717
49718
49719
49720
49721
49722
49723
49724
49725
49726
49727
49728
49729
49730
49731
49732
49733
49734
49735
49736
49737
49738
49739
49740
49741
49742
49743
49744
49745
49746
49747
49748
49749
49750
49751
49752
49753
49754
49755
49756
49757
49758
49759
49760
49761
49762
49763
49764
49765
49766
49767
49768
49769
49770
49771
49772
49773
49774
49775
49776
49777
49778
49779
49780
49781
49782
49783
49784
49785
49786
49787
49788
49789
49790
49791
49792
49793
49794
49795
49796
49797
49798
49799
49800
49801
49802
49803
49804
49805
49806
49807
49808
49809
49810
49811
49812
49813
49814
49815
49816
49817
49818
49819
49820
49821
49822
49823
49824
49825
49826
49827
49828
49829
49830
49831
49832
49833
49834
49835
49836
49837
49838
49839
49840
49841
49842
49843
49844
49845
49846
49847
49848
49849
49850
49851
49852
49853
49854
49855
49856
49857
49858
49859
49860
49861
49862
49863
49864
49865
49866
49867
49868
49869
49870
49871
49872
49873
49874
49875
49876
49877
49878
49879
49880
49881
49882
49883
49884
49885
49886
49887
49888
49889
49890
49891
49892
49893
49894
49895
49896
49897
49898
49899
49900
49901
49902
49903
49904
49905
49906
49907
49908
49909
49910
49911
49912
49913
49914
49915
49916
49917
49918
49919
49920
49921
49922
49923
49924
49925
49926
49927
49928
49929
49930
49931
49932
49933
49934
49935
49936
49937
49938
49939
49940
49941
49942
49943
49944
49945
49946
49947
49948
49949
49950
49951
49952
49953
49954
49955
49956
49957
49958
49959
49960
49961
49962
49963
49964
49965
49966
49967
49968
49969
49970
49971
49972
49973
49974
49975
49976
49977
49978
49979
49980
49981
49982
49983
49984
49985
49986
49987
49988
49989
49990
49991
49992
49993
49994
49995
49996
49997
49998
49999
50000
50001
50002
50003
50004
50005
50006
50007
50008
50009
50010
50011
50012
50013
50014
50015
50016
50017
50018
50019
50020
50021
50022
50023
50024
50025
50026
50027
50028
50029
50030
50031
50032
50033
50034
50035
50036
50037
50038
50039
50040
50041
50042
50043
50044
50045
50046
50047
50048
50049
50050
50051
50052
50053
50054
50055
50056
50057
50058
50059
50060
50061
50062
50063
50064
50065
50066
50067
50068
50069
50070
50071
50072
50073
50074
50075
50076
50077
50078
50079
50080
50081
50082
50083
50084
50085
50086
50087
50088
50089
50090
50091
50092
50093
50094
50095
50096
50097
50098
50099
50100
50101
50102
50103
50104
50105
50106
50107
50108
50109
50110
50111
50112
50113
50114
50115
50116
50117
50118
50119
50120
50121
50122
50123
50124
50125
50126
50127
50128
50129
50130
50131
50132
50133
50134
50135
50136
50137
50138
50139
50140
50141
50142
50143
50144
50145
50146
50147
50148
50149
50150
50151
50152
50153
50154
50155
50156
50157
50158
50159
50160
50161
50162
50163
50164
50165
50166
50167
50168
50169
50170
50171
50172
50173
50174
50175
50176
50177
50178
50179
50180
50181
50182
50183
50184
50185
50186
50187
50188
50189
50190
50191
50192
50193
50194
50195
50196
50197
50198
50199
50200
50201
50202
50203
50204
50205
50206
50207
50208
50209
50210
50211
50212
50213
50214
50215
50216
50217
50218
50219
50220
50221
50222
50223
50224
50225
50226
50227
50228
50229
50230
50231
50232
50233
50234
50235
50236
50237
50238
50239
50240
50241
50242
50243
50244
50245
50246
50247
50248
50249
50250
50251
50252
50253
50254
50255
50256
50257
50258
50259
50260
50261
50262
50263
50264
50265
50266
50267
50268
50269
50270
50271
50272
50273
50274
50275
50276
50277
50278
50279
50280
50281
50282
50283
50284
50285
50286
50287
50288
50289
50290
50291
50292
50293
50294
50295
50296
50297
50298
50299
50300
50301
50302
50303
50304
50305
50306
50307
50308
50309
50310
50311
50312
50313
50314
50315
50316
50317
50318
50319
50320
50321
50322
50323
50324
50325
50326
50327
50328
50329
50330
50331
50332
50333
50334
50335
50336
50337
50338
50339
50340
50341
50342
50343
50344
50345
50346
50347
50348
50349
50350
50351
50352
50353
50354
50355
50356
50357
50358
50359
50360
50361
50362
50363
50364
50365
50366
50367
50368
50369
50370
50371
50372
50373
50374
50375
50376
50377
50378
50379
50380
50381
50382
50383
50384
50385
50386
50387
50388
50389
50390
50391
50392
50393
50394
50395
50396
50397
50398
50399
50400
50401
50402
50403
50404
50405
50406
50407
50408
50409
50410
50411
50412
50413
50414
50415
50416
50417
50418
50419
50420
50421
50422
50423
50424
50425
50426
50427
50428
50429
50430
50431
50432
50433
50434
50435
50436
50437
50438
50439
50440
50441
50442
50443
50444
50445
50446
50447
50448
50449
50450
50451
50452
50453
50454
50455
50456
50457
50458
50459
50460
50461
50462
50463
50464
50465
50466
50467
50468
50469
50470
50471
50472
50473
50474
50475
50476
50477
50478
50479
50480
50481
50482
50483
50484
50485
50486
50487
50488
50489
50490
50491
50492
50493
50494
50495
50496
50497
50498
50499
50500
50501
50502
50503
50504
50505
50506
50507
50508
50509
50510
50511
50512
50513
50514
50515
50516
50517
50518
50519
50520
50521
50522
50523
50524
50525
50526
50527
50528
50529
50530
50531
50532
50533
50534
50535
50536
50537
50538
50539
50540
50541
50542
50543
50544
50545
50546
50547
50548
50549
50550
50551
50552
50553
50554
50555
50556
50557
50558
50559
50560
50561
50562
50563
50564
50565
50566
50567
50568
50569
50570
50571
50572
50573
50574
50575
50576
50577
50578
50579
50580
50581
50582
50583
50584
50585
50586
50587
50588
50589
50590
50591
50592
50593
50594
50595
50596
50597
50598
50599
50600
50601
50602
50603
50604
50605
50606
50607
50608
50609
50610
50611
50612
50613
50614
50615
50616
50617
50618
50619
50620
50621
50622
50623
50624
50625
50626
50627
50628
50629
50630
50631
50632
50633
50634
50635
50636
50637
50638
50639
50640
50641
50642
50643
50644
50645
50646
50647
50648
50649
50650
50651
50652
50653
50654
50655
50656
50657
50658
50659
50660
50661
50662
50663
50664
50665
50666
50667
50668
50669
50670
50671
50672
50673
50674
50675
50676
50677
50678
50679
50680
50681
50682
50683
50684
50685
50686
50687
50688
50689
50690
50691
50692
50693
50694
50695
50696
50697
50698
50699
50700
50701
50702
50703
50704
50705
50706
50707
50708
50709
50710
50711
50712
50713
50714
50715
50716
50717
50718
50719
50720
50721
50722
50723
50724
50725
50726
50727
50728
50729
50730
50731
50732
50733
50734
50735
50736
50737
50738
50739
50740
50741
50742
50743
50744
50745
50746
50747
50748
50749
50750
50751
50752
50753
50754
50755
50756
50757
50758
50759
50760
50761
50762
50763
50764
50765
50766
50767
50768
50769
50770
50771
50772
50773
50774
50775
50776
50777
50778
50779
50780
50781
50782
50783
50784
50785
50786
50787
50788
50789
50790
50791
50792
50793
50794
50795
50796
50797
50798
50799
50800
50801
50802
50803
50804
50805
50806
50807
50808
50809
50810
50811
50812
50813
50814
50815
50816
50817
50818
50819
50820
50821
50822
50823
50824
50825
50826
50827
50828
50829
50830
50831
50832
50833
50834
50835
50836
50837
50838
50839
50840
50841
50842
50843
50844
50845
50846
50847
50848
50849
50850
50851
50852
50853
50854
50855
50856
50857
50858
50859
50860
50861
50862
50863
50864
50865
50866
50867
50868
50869
50870
50871
50872
50873
50874
50875
50876
50877
50878
50879
50880
50881
50882
50883
50884
50885
50886
50887
50888
50889
50890
50891
50892
50893
50894
50895
50896
50897
50898
50899
50900
50901
50902
50903
50904
50905
50906
50907
50908
50909
50910
50911
50912
50913
50914
50915
50916
50917
50918
50919
50920
50921
50922
50923
50924
50925
50926
50927
50928
50929
50930
50931
50932
50933
50934
50935
50936
50937
50938
50939
50940
50941
50942
50943
50944
50945
50946
50947
50948
50949
50950
50951
50952
50953
50954
50955
50956
50957
50958
50959
50960
50961
50962
50963
50964
50965
50966
50967
50968
50969
50970
50971
50972
50973
50974
50975
50976
50977
50978
50979
50980
50981
50982
50983
50984
50985
50986
50987
50988
50989
50990
50991
50992
50993
50994
50995
50996
50997
50998
50999
51000
51001
51002
51003
51004
51005
51006
51007
51008
51009
51010
51011
51012
51013
51014
51015
51016
51017
51018
51019
51020
51021
51022
51023
51024
51025
51026
51027
51028
51029
51030
51031
51032
51033
51034
51035
51036
51037
51038
51039
51040
51041
51042
51043
51044
51045
51046
51047
51048
51049
51050
51051
51052
51053
51054
51055
51056
51057
51058
51059
51060
51061
51062
51063
51064
51065
51066
51067
51068
51069
51070
51071
51072
51073
51074
51075
51076
51077
51078
51079
51080
51081
51082
51083
51084
51085
51086
51087
51088
51089
51090
51091
51092
51093
51094
51095
51096
51097
51098
51099
51100
51101
51102
51103
51104
51105
51106
51107
51108
51109
51110
51111
51112
51113
51114
51115
51116
51117
51118
51119
51120
51121
51122
51123
51124
51125
51126
51127
51128
51129
51130
51131
51132
51133
51134
51135
51136
51137
51138
51139
51140
51141
51142
51143
51144
51145
51146
51147
51148
51149
51150
51151
51152
51153
51154
51155
51156
51157
51158
51159
51160
51161
51162
51163
51164
51165
51166
51167
51168
51169
51170
51171
51172
51173
51174
51175
51176
51177
51178
51179
51180
51181
51182
51183
51184
51185
51186
51187
51188
51189
51190
51191
51192
51193
51194
51195
51196
51197
51198
51199
51200
51201
51202
51203
51204
51205
51206
51207
51208
51209
51210
51211
51212
51213
51214
51215
51216
51217
51218
51219
51220
51221
51222
51223
51224
51225
51226
51227
51228
<?xml version="1.0" encoding="iso-8859-1" ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" 
"http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd" > 
<html xmlns="http://www.w3.org/1999/xhtml"  
> 
<head>
   <title></title> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> 
<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
<!-- xhtml,mathml,fn-in,html --> 
<meta name="src" content="GMT_Docs.tex" /> 
<meta name="date" content="2013-11-05 09:51:00" /> 
<link rel="stylesheet" type="text/css" href="GMT_Docs.css" /> 
</head><body 
>
<div class="center" 
>
<!--l. 12--><p class="noindent" >
</p><!--l. 14--><p class="noindent" ><span 
class="ptmb8t-x-x-207">The Generic Mapping Tools</span>

</p><!--l. 17--><p class="noindent" ><img 
src="images/GMT_covertext.png" alt="PIC"  
 />
</p><!--l. 20--><p class="noindent" ><span 
class="ptmb8t-x-x-248">Version 4.5.11</span>
</p><!--l. 24--><p class="noindent" ><span 
class="ptmb8t-x-x-207">Technical Reference and Cookbook</span>
</p><!--l. 28--><p class="noindent" ><span 
class="ptmb8t-x-x-120">by</span>
</p><!--l. 32--><p class="noindent" ><span 
class="ptmb8t-x-x-207">Pål (Paul) Wessel</span>
</p><!--l. 36--><p class="noindent" ><span 
class="ptmb8t-x-x-144">School of Ocean and Earth Science and Technology</span>
</p><!--l. 37--><p class="noindent" ><span 
class="ptmb8t-x-x-144">University of Hawai&#8217;i at M</span><span 
class="ptmb8t-x-x-144">&#x0101;</span><span 
class="ptmb8t-x-x-144">noa</span>
</p><!--l. 41--><p class="noindent" ><span 
class="ptmb8t-x-x-120">and</span>
</p><!--l. 45--><p class="noindent" ><span 
class="ptmb8t-x-x-207">Walter H. F. Smith</span>
</p><!--l. 49--><p class="noindent" ><span 
class="ptmb8t-x-x-144">Laboratory for Satellite Altimetry</span>
</p><!--l. 50--><p class="noindent" ><span 
class="ptmb8t-x-x-144">NOAA/NESDIS</span>
</p><!--l. 54--><p class="noindent" ><span 
class="ptmb8t-x-x-120">November 2013</span>

</p><!--l. 57--><p class="noindent" ><img 
src="images/GMT_coverlogo.png" alt="PIC"  
 /></p></div>
<a 
 id="Q1-1-1"></a>
                                                                                 

                                                                                 
                                                                                 

                                                                                 
   <h2 class="likechapterHead"><a 
 id="x1-1000"></a>Contents</h2> <div class="tableofcontents">
   <span class="chapterToc" > <a 
href="#Q1-1-1">Front page</a></span>
<br />   <span class="chapterToc" > <a 
href="#Q1-1-4">List of Tables</a></span>
<br />   <span class="chapterToc" > <a 
href="#Q1-1-6">List of Figures</a></span>
<br />   <span class="chapterToc" > <a 
href="#Q1-1-8">Acknowledgments</a></span>
<br />   <span class="chapterToc" > <a 
href="#Q1-1-11">The GMT Documentation Project</a></span>
<br />   <span class="chapterToc" > <a 
href="#Q1-1-13">A Reminder</a></span>
<br />   <span class="chapterToc" > <a 
href="#Q1-1-15">Copyright and Caveat Emptor!</a></span>
<br />   <span class="chapterToc" > <a 
href="#Q1-1-17">Typographic conventions</a></span>
<br />   <span class="chapterToc" >1 <a 
href="#x1-90001" id="QQ2-1-18">Preface</a></span>
<br />   &#x00A0;<span class="sectionToc" >1.1 <a 
href="#x1-100001.1" id="QQ2-1-19">What is new in <span 
class="ptmb8t-">GMT</span> 4.x?</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >1.1.1 <a 
href="#x1-110001.1.1" id="QQ2-1-20">Overview of <span 
class="ptmb8t-">GMT</span> 4.5.11 [Nov-5, 2013]</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >1.1.2 <a 
href="#x1-120001.1.2" id="QQ2-1-21">Overview of <span 
class="ptmb8t-">GMT</span> 4.5.9 [Jan-1, 2013]</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >1.1.3 <a 
href="#x1-130001.1.3" id="QQ2-1-22">Overview of <span 
class="ptmb8t-">GMT</span> 4.5.8 [Apr-1, 2012]</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >1.1.4 <a 
href="#x1-140001.1.4" id="QQ2-1-23">Overview of <span 
class="ptmb8t-">GMT</span> 4.5.7 [Jul-15, 2011]</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >1.1.5 <a 
href="#x1-150001.1.5" id="QQ2-1-24">Overview of <span 
class="ptmb8t-">GMT</span> 4.5.6 [Mar-1, 2011]</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >1.1.6 <a 
href="#x1-160001.1.6" id="QQ2-1-25">Overview of <span 
class="ptmb8t-">GMT</span> 4.5.5 [Nov-1, 2010]</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >1.1.7 <a 
href="#x1-170001.1.7" id="QQ2-1-26">Overview of <span 
class="ptmb8t-">GMT</span> 4.5.4 [Nov-1, 2010]</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >1.1.8 <a 
href="#x1-180001.1.8" id="QQ2-1-27">Overview of <span 
class="ptmb8t-">GMT</span> 4.5.3 [Jul-15, 2010]</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >1.1.9 <a 
href="#x1-190001.1.9" id="QQ2-1-28">Overview of <span 
class="ptmb8t-">GMT</span> 4.5.2 [Jan-15, 2010]</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >1.1.10 <a 
href="#x1-200001.1.10" id="QQ2-1-29">Overview of <span 
class="ptmb8t-">GMT</span> 4.5.1 [Sept-20, 2009]</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >1.1.11 <a 
href="#x1-210001.1.11" id="QQ2-1-30">Overview of <span 
class="ptmb8t-">GMT</span> 4.5.0 [July-15, 2009]</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >1.1.12 <a 
href="#x1-220001.1.12" id="QQ2-1-31">Overview of <span 
class="ptmb8t-">GMT</span> 4.4.0 [Feb-15, 2009]</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >1.1.13 <a 
href="#x1-230001.1.13" id="QQ2-1-32">Overview of <span 
class="ptmb8t-">GMT</span> 4.3.1 [May-15, 2008]</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >1.1.14 <a 
href="#x1-240001.1.14" id="QQ2-1-33">Overview of <span 
class="ptmb8t-">GMT</span> 4.3.0 [May-1, 2008]</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >1.1.15 <a 
href="#x1-250001.1.15" id="QQ2-1-34">Overview of <span 
class="ptmb8t-">GMT</span> 4.2.1 [October-10, 2007]</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >1.1.16 <a 
href="#x1-260001.1.16" id="QQ2-1-35">Overview of <span 
class="ptmb8t-">GMT</span> 4.2.0 [April-1, 2007]</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >1.1.17 <a 
href="#x1-270001.1.17" id="QQ2-1-36">Overview of <span 
class="ptmb8t-">GMT</span> 4.1.4 [Nov-1, 2006]</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >1.1.18 <a 
href="#x1-280001.1.18" id="QQ2-1-37">Overview of <span 
class="ptmb8t-">GMT</span> 4.1.3 [June-1, 2006]</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >1.1.19 <a 
href="#x1-290001.1.19" id="QQ2-1-38">Overview of <span 
class="ptmb8t-">GMT</span> 4.1.2 [May-15, 2006]</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >1.1.20 <a 
href="#x1-300001.1.20" id="QQ2-1-39">Overview of <span 
class="ptmb8t-">GMT</span> 4.1.1 [Mar-1, 2006]</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >1.1.21 <a 
href="#x1-310001.1.21" id="QQ2-1-40">Overview of <span 
class="ptmb8t-">GMT</span> 4.1 [Jan-7, 2006]</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >1.1.22 <a 
href="#x1-320001.1.22" id="QQ2-1-41">Overview of <span 
class="ptmb8t-">GMT</span> 4.0 [Oct-10, 2004]</a></span>
<br />   <span class="chapterToc" >2 <a 
href="#x1-330002" id="QQ2-1-42">Introduction</a></span>
<br />   <span class="chapterToc" >3 <a 
href="#x1-350003" id="QQ2-1-44"><span 
class="ptmb8t-">GMT</span> overview and quick reference</a></span>
<br />   &#x00A0;<span class="sectionToc" >3.1 <a 
href="#x1-360003.1" id="QQ2-1-45"><span 
class="ptmb8t-">GMT</span> summary</a></span>
<br />   &#x00A0;<span class="sectionToc" >3.2 <a 
href="#x1-370003.2" id="QQ2-1-46"><span 
class="ptmb8t-">GMT</span> quick reference</a></span>
<br />   <span class="chapterToc" >4 <a 
href="#x1-380004" id="QQ2-1-47">General features</a></span>
<br />   &#x00A0;<span class="sectionToc" >4.1 <a 
href="#x1-390004.1" id="QQ2-1-48"><span 
class="ptmb8t-">GMT</span> units</a></span>
<br />   &#x00A0;<span class="sectionToc" >4.2 <a 
href="#x1-400004.2" id="QQ2-1-49"><span 
class="ptmb8t-">GMT</span> defaults</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >4.2.1 <a 
href="#x1-410004.2.1" id="QQ2-1-50">Overview and the <span class="underline">.gmtdefaults4</span> file</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >4.2.2 <a 
href="#x1-420004.2.2" id="QQ2-1-53">Changing <span 
class="ptmb8t-">GMT</span> defaults</a></span>
<br />   &#x00A0;<span class="sectionToc" >4.3 <a 
href="#x1-430004.3" id="QQ2-1-55">Command line arguments</a></span>
<br />   &#x00A0;<span class="sectionToc" >4.4 <a 
href="#x1-440004.4" id="QQ2-1-56">Standardized command line options</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >4.4.1 <a 
href="#x1-450004.4.1" id="QQ2-1-58">Data domain or map region: The <span 
class="pcrb8t-">-R </span>option</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >4.4.2 <a 
href="#x1-460004.4.2" id="QQ2-1-60">Coordinate transformations and map projections: The <span 
class="pcrb8t-">-J </span>option</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >4.4.3 <a 
href="#x1-470004.4.3" id="QQ2-1-62">Map frame and axes annotations: The <span 
class="pcrb8t-">-B </span>option</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >4.4.4 <a 
href="#x1-530004.4.4" id="QQ2-1-82">Header data records: The <span 
class="pcrb8t-">-H </span>option</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >4.4.5 <a 
href="#x1-540004.4.5" id="QQ2-1-83">Portrait plot orientation: The <span 
class="pcrb8t-">-P </span>option</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >4.4.6 <a 
href="#x1-550004.4.6" id="QQ2-1-85">Plot overlays: The <span 
class="pcrb8t-">-K-O </span>options</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >4.4.7 <a 
href="#x1-560004.4.7" id="QQ2-1-87">Timestamps on plots: The <span 
class="pcrb8t-">-U </span>option</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >4.4.8 <a 
href="#x1-570004.4.8" id="QQ2-1-89">Verbose feedback: The <span 
class="pcrb8t-">-V </span>option</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >4.4.9 <a 
href="#x1-580004.4.9" id="QQ2-1-90">Plot positioning and layout: The <span 
class="pcrb8t-">-X-Y </span>options</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >4.4.10 <a 
href="#x1-590004.4.10" id="QQ2-1-92">Binary table i/o: The <span 
class="pcrb8t-">-b </span>option</a></span>
                                                                                 

                                                                                 
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >4.4.11 <a 
href="#x1-600004.4.11" id="QQ2-1-93">Number of Copies: The <span 
class="pcrb8t-">-c </span>option</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >4.4.12 <a 
href="#x1-610004.4.12" id="QQ2-1-94">Data type selection: The <span 
class="pcrb8t-">-f </span>option</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >4.4.13 <a 
href="#x1-620004.4.13" id="QQ2-1-95">Data gap detection: The <span 
class="pcrb8t-">-g </span>option</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >4.4.14 <a 
href="#x1-630004.4.14" id="QQ2-1-96">Multiple segment data: The <span 
class="pcrb8t-">-m </span>option</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >4.4.15 <a 
href="#x1-640004.4.15" id="QQ2-1-97">Lat/Lon or Lon/Lat?: The <span 
class="pcrb8t-">-: </span>option</a></span>
<br />   &#x00A0;<span class="sectionToc" >4.5 <a 
href="#x1-650004.5" id="QQ2-1-98">Command line history</a></span>
<br />   &#x00A0;<span class="sectionToc" >4.6 <a 
href="#x1-660004.6" id="QQ2-1-99">Usage messages, syntax- and general error messages</a></span>
<br />   &#x00A0;<span class="sectionToc" >4.7 <a 
href="#x1-670004.7" id="QQ2-1-100">Standard input or file, header records</a></span>
<br />   &#x00A0;<span class="sectionToc" >4.8 <a 
href="#x1-680004.8" id="QQ2-1-101">Verbose operation</a></span>
<br />   &#x00A0;<span class="sectionToc" >4.9 <a 
href="#x1-690004.9" id="QQ2-1-102">Program output</a></span>
<br />   &#x00A0;<span class="sectionToc" >4.10 <a 
href="#x1-700004.10" id="QQ2-1-103">Input data formats</a></span>
<br />   &#x00A0;<span class="sectionToc" >4.11 <a 
href="#x1-710004.11" id="QQ2-1-104">Output data formats</a></span>
<br />   &#x00A0;<span class="sectionToc" >4.12 <a 
href="#x1-720004.12" id="QQ2-1-105"><span 
class="ptmri8t-">PostScript </span>features</a></span>
<br />   &#x00A0;<span class="sectionToc" >4.13 <a 
href="#x1-730004.13" id="QQ2-1-106">Specifying pen attributes</a></span>
<br />   &#x00A0;<span class="sectionToc" >4.14 <a 
href="#x1-740004.14" id="QQ2-1-109">Specifying area fill attributes</a></span>
<br />   &#x00A0;<span class="sectionToc" >4.15 <a 
href="#x1-750004.15" id="QQ2-1-111">Color palette tables</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >4.15.1 <a 
href="#x1-760004.15.1" id="QQ2-1-112">Categorical CPT files</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >4.15.2 <a 
href="#x1-770004.15.2" id="QQ2-1-113">Regular CPT files</a></span>
<br />   &#x00A0;<span class="sectionToc" >4.16 <a 
href="#x1-780004.16" id="QQ2-1-114">Character escape sequences</a></span>
<br />   &#x00A0;<span class="sectionToc" >4.17 <a 
href="#x1-790004.17" id="QQ2-1-117">Grid file format specifications</a></span>
<br />   &#x00A0;<span class="sectionToc" >4.18 <a 
href="#x1-800004.18" id="QQ2-1-119">Options for COARDS-compliant netCDF files</a></span>
<br />   &#x00A0;<span class="sectionToc" >4.19 <a 
href="#x1-810004.19" id="QQ2-1-120">The NaN data value</a></span>
<br />   &#x00A0;<span class="sectionToc" >4.20 <a 
href="#x1-820004.20" id="QQ2-1-121"><span 
class="ptmb8t-">GMT</span> environment parameters</a></span>
<br />   <span class="chapterToc" >5 <a 
href="#x1-830005" id="QQ2-1-122"><span 
class="ptmb8t-">GMT</span> Coordinate Transformations</a></span>
<br />   &#x00A0;<span class="sectionToc" >5.1 <a 
href="#x1-840005.1" id="QQ2-1-123">Cartesian transformations</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >5.1.1 <a 
href="#x1-850005.1.1" id="QQ2-1-124">Cartesian linear transformation (<span 
class="pcrb8t-">-Jx-JX</span>)</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >5.1.2 <a 
href="#x1-890005.1.2" id="QQ2-1-131">Cartesian logarithmic projection</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >5.1.3 <a 
href="#x1-900005.1.3" id="QQ2-1-133">Cartesian power projection</a></span>
<br />   &#x00A0;<span class="sectionToc" >5.2                   <a 
href="#x1-910005.2" id="QQ2-1-135">Linear                   projection                   with                   polar
(<!--l. 136--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>&#x03B8;</mi><mo 
class="MathClass-punc">,</mo><mi 
>r</mi></math>)
coordinates (<span 
class="pcrb8t-">-Jp -JP</span>)</a></span>
<br />   <span class="chapterToc" >6 <a 
href="#x1-920006" id="QQ2-1-137"><span 
class="ptmb8t-">GMT</span> Map Projections</a></span>
<br />   &#x00A0;<span class="sectionToc" >6.1 <a 
href="#x1-930006.1" id="QQ2-1-138">Conic projections</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >6.1.1 <a 
href="#x1-940006.1.1" id="QQ2-1-139">Albers conic equal-area projection (<span 
class="pcrb8t-">-Jb-JB</span>)</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >6.1.2 <a 
href="#x1-950006.1.2" id="QQ2-1-141">Equidistant conic projection (<span 
class="pcrb8t-">-Jd-JD</span>)</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >6.1.3 <a 
href="#x1-960006.1.3" id="QQ2-1-143">Lambert conic conformal projection (<span 
class="pcrb8t-">-Jl-JL</span>)</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >6.1.4 <a 
href="#x1-970006.1.4" id="QQ2-1-145">(American) polyconic projection (<span 
class="pcrb8t-">-Jpoly-JPoly</span></a></span>
<br />   &#x00A0;<span class="sectionToc" >6.2 <a 
href="#x1-980006.2" id="QQ2-1-147">Azimuthal projections</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >6.2.1 <a 
href="#x1-990006.2.1" id="QQ2-1-148">Lambert Azimuthal Equal-Area (<span 
class="pcrb8t-">-Ja-JA</span>)</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >6.2.2 <a 
href="#x1-1020006.2.2" id="QQ2-1-154">Stereographic Equal-Angle projection (<span 
class="pcrb8t-">-Js-JS</span>)</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >6.2.3 <a 
href="#x1-1060006.2.3" id="QQ2-1-161">Perspective projection (<span 
class="pcrb8t-">-Jg-JG</span>)</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >6.2.4 <a 
href="#x1-1070006.2.4" id="QQ2-1-163">Orthographic projection (<span 
class="pcrb8t-">-Jg-JG</span>)</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >6.2.5 <a 
href="#x1-1080006.2.5" id="QQ2-1-165">Azimuthal Equidistant projection (<span 
class="pcrb8t-">-Je-JE</span>)</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >6.2.6 <a 
href="#x1-1090006.2.6" id="QQ2-1-167">Gnomonic projection (<span 
class="pcrb8t-">-Jf-JF</span>)</a></span>
<br />   &#x00A0;<span class="sectionToc" >6.3 <a 
href="#x1-1100006.3" id="QQ2-1-169">Cylindrical projections</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >6.3.1 <a 
href="#x1-1110006.3.1" id="QQ2-1-170">Mercator projection (<span 
class="pcrb8t-">-Jm-JM</span>)</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >6.3.2 <a 
href="#x1-1120006.3.2" id="QQ2-1-172">Transverse Mercator projection (<span 
class="pcrb8t-">-Jt-JT</span>)</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >6.3.3 <a 
href="#x1-1130006.3.3" id="QQ2-1-175">Universal Transverse Mercator (UTM) projection (<span 
class="pcrb8t-">-Ju-JU</span>)</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >6.3.4 <a 
href="#x1-1140006.3.4" id="QQ2-1-177">Oblique Mercator projection (<span 
class="pcrb8t-">-Jo-JO</span>)</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >6.3.5 <a 
href="#x1-1150006.3.5" id="QQ2-1-179">Cassini cylindrical projection (<span 
class="pcrb8t-">-Jc-JC</span>)</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >6.3.6 <a 
href="#x1-1160006.3.6" id="QQ2-1-181">Cylindrical equidistant projection (<span 
class="pcrb8t-">-Jq-JQ</span>)</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >6.3.7 <a 
href="#x1-1170006.3.7" id="QQ2-1-184">Cylindrical equal-area projections (<span 
class="pcrb8t-">-Jy-JY</span>)</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >6.3.8 <a 
href="#x1-1180006.3.8" id="QQ2-1-187">Miller Cylindrical projection (<span 
class="pcrb8t-">-Jj-JJ</span>)</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >6.3.9 <a 
href="#x1-1190006.3.9" id="QQ2-1-189">Cylindrical stereographic projections (<span 
class="pcrb8t-">-Jcyl_stere-JCyl_stere</span>)</a></span>
                                                                                 

                                                                                 
<br />   &#x00A0;<span class="sectionToc" >6.4 <a 
href="#x1-1200006.4" id="QQ2-1-192">Miscellaneous projections</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >6.4.1 <a 
href="#x1-1210006.4.1" id="QQ2-1-193">Hammer projection (<span 
class="pcrb8t-">-Jh-JH</span>)</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >6.4.2 <a 
href="#x1-1220006.4.2" id="QQ2-1-195">Mollweide projection (<span 
class="pcrb8t-">-Jw-JW</span>)</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >6.4.3 <a 
href="#x1-1230006.4.3" id="QQ2-1-197">Winkel Tripel projection (<span 
class="pcrb8t-">-Jr-JR</span>)</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >6.4.4 <a 
href="#x1-1240006.4.4" id="QQ2-1-199">Robinson projection (<span 
class="pcrb8t-">-Jn-JN</span>)</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >6.4.5 <a 
href="#x1-1250006.4.5" id="QQ2-1-201">Eckert IV and VI projection (<span 
class="pcrb8t-">-Jk-JK</span>)</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >6.4.6 <a 
href="#x1-1260006.4.6" id="QQ2-1-204">Sinusoidal projection (<span 
class="pcrb8t-">-Ji-JI</span>)</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >6.4.7 <a 
href="#x1-1270006.4.7" id="QQ2-1-207">Van der Grinten projection (<span 
class="pcrb8t-">-Jv-JV</span>)</a></span>
<br />   <span class="chapterToc" >7 <a 
href="#x1-1280007" id="QQ2-1-209">Creating GMT Graphics</a></span>
<br />   &#x00A0;<span class="sectionToc" >7.1 <a 
href="#x1-1290007.1" id="QQ2-1-210">The making of contour maps</a></span>
<br />   &#x00A0;<span class="sectionToc" >7.2 <a 
href="#x1-1300007.2" id="QQ2-1-212">Image presentations</a></span>
<br />   &#x00A0;<span class="sectionToc" >7.3 <a 
href="#x1-1310007.3" id="QQ2-1-214">Spectral estimation and xy-plots</a></span>
<br />   &#x00A0;<span class="sectionToc" >7.4 <a 
href="#x1-1320007.4" id="QQ2-1-216">A 3-D perspective mesh plot</a></span>
<br />   &#x00A0;<span class="sectionToc" >7.5 <a 
href="#x1-1330007.5" id="QQ2-1-218">A 3-D illuminated surface in black and white</a></span>
<br />   &#x00A0;<span class="sectionToc" >7.6 <a 
href="#x1-1340007.6" id="QQ2-1-220">Plotting of histograms</a></span>
<br />   &#x00A0;<span class="sectionToc" >7.7 <a 
href="#x1-1350007.7" id="QQ2-1-222">A simple location map</a></span>
<br />   &#x00A0;<span class="sectionToc" >7.8 <a 
href="#x1-1360007.8" id="QQ2-1-224">A 3-D histogram</a></span>
<br />   &#x00A0;<span class="sectionToc" >7.9 <a 
href="#x1-1370007.9" id="QQ2-1-226">Plotting time-series along tracks</a></span>
<br />   &#x00A0;<span class="sectionToc" >7.10 <a 
href="#x1-1380007.10" id="QQ2-1-228">A geographical bar graph plot</a></span>
<br />   &#x00A0;<span class="sectionToc" >7.11 <a 
href="#x1-1390007.11" id="QQ2-1-230">Making a 3-D RGB color cube</a></span>
<br />   &#x00A0;<span class="sectionToc" >7.12 <a 
href="#x1-1400007.12" id="QQ2-1-232">Optimal triangulation of data</a></span>
<br />   &#x00A0;<span class="sectionToc" >7.13 <a 
href="#x1-1410007.13" id="QQ2-1-234">Plotting of vector fields</a></span>
<br />   &#x00A0;<span class="sectionToc" >7.14 <a 
href="#x1-1420007.14" id="QQ2-1-236">Gridding of data and trend surfaces</a></span>
<br />   &#x00A0;<span class="sectionToc" >7.15 <a 
href="#x1-1430007.15" id="QQ2-1-238">Gridding, contouring, and masking of unconstrained areas</a></span>
<br />   &#x00A0;<span class="sectionToc" >7.16 <a 
href="#x1-1440007.16" id="QQ2-1-240">Gridding of data, continued</a></span>
<br />   &#x00A0;<span class="sectionToc" >7.17 <a 
href="#x1-1450007.17" id="QQ2-1-242">Images clipped by coastlines</a></span>
<br />   &#x00A0;<span class="sectionToc" >7.18 <a 
href="#x1-1460007.18" id="QQ2-1-244">Volumes and Spatial Selections</a></span>
<br />   &#x00A0;<span class="sectionToc" >7.19 <a 
href="#x1-1470007.19" id="QQ2-1-246">Color patterns on maps</a></span>
<br />   &#x00A0;<span class="sectionToc" >7.20 <a 
href="#x1-1480007.20" id="QQ2-1-248">Custom plot symbols</a></span>
<br />   &#x00A0;<span class="sectionToc" >7.21 <a 
href="#x1-1490007.21" id="QQ2-1-250">Time-series of RedHat stock price</a></span>
<br />   &#x00A0;<span class="sectionToc" >7.22 <a 
href="#x1-1500007.22" id="QQ2-1-252">World-wide seismicity the last 7 days</a></span>
<br />   &#x00A0;<span class="sectionToc" >7.23 <a 
href="#x1-1510007.23" id="QQ2-1-254">All great-circle paths lead to Rome</a></span>
<br />   &#x00A0;<span class="sectionToc" >7.24 <a 
href="#x1-1520007.24" id="QQ2-1-256">Data selection based on geospatial criteria</a></span>
<br />   &#x00A0;<span class="sectionToc" >7.25 <a 
href="#x1-1530007.25" id="QQ2-1-258">Global distribution of antipodes</a></span>
<br />   &#x00A0;<span class="sectionToc" >7.26 <a 
href="#x1-1540007.26" id="QQ2-1-260">General vertical perspective projection</a></span>
<br />   &#x00A0;<span class="sectionToc" >7.27 <a 
href="#x1-1550007.27" id="QQ2-1-262">Plotting Sandwell/Smith Mercator img grids</a></span>
<br />   &#x00A0;<span class="sectionToc" >7.28 <a 
href="#x1-1560007.28" id="QQ2-1-264">Mixing UTM and geographic data sets</a></span>
<br />   &#x00A0;<span class="sectionToc" >7.29 <a 
href="#x1-1570007.29" id="QQ2-1-266">Gridding spherical surface data using splines</a></span>
<br />   &#x00A0;<span class="sectionToc" >7.30 <a 
href="#x1-1580007.30" id="QQ2-1-268">Trigonometric functions plotted in graph mode</a></span>
<br />   <span class="chapterToc" >8 <a 
href="#x1-1590008" id="QQ2-1-270">Creating GMT Animations</a></span>
<br />   &#x00A0;<span class="sectionToc" >8.1 <a 
href="#x1-1600008.1" id="QQ2-1-271">Animation of the sine function</a></span>
<br />   &#x00A0;<span class="sectionToc" >8.2 <a 
href="#x1-1610008.2" id="QQ2-1-273">Examining DEMs using variable illumination</a></span>
<br />   &#x00A0;<span class="sectionToc" >8.3 <a 
href="#x1-1620008.3" id="QQ2-1-275">Orbiting a static map</a></span>
<br />   &#x00A0;<span class="sectionToc" >8.4 <a 
href="#x1-1630008.4" id="QQ2-1-277">Flying over topography</a></span>
<br />   <span class="chapterToc" >9 <a 
href="#x1-1640009" id="QQ2-1-279">Mailing lists, updates, and bug reports</a></span>
<br />   <span class="appendixToc" >A <a 
href="#x1-165000A" id="QQ2-1-280"><span 
class="ptmb8t-">GMT</span> supplemental packages</a></span>
<br />   &#x00A0;<span class="sectionToc" >A.1 <a 
href="#x1-166000A.1" id="QQ2-1-281">dbase: gridded data extractor</a></span>
<br />   &#x00A0;<span class="sectionToc" >A.2 <a 
href="#x1-167000A.2" id="QQ2-1-282">gshhg: GSHHG data extractor</a></span>
<br />   &#x00A0;<span class="sectionToc" >A.3 <a 
href="#x1-168000A.3" id="QQ2-1-283">imgsrc: gridded altimetry extractor</a></span>
<br />   &#x00A0;<span class="sectionToc" >A.4 <a 
href="#x1-169000A.4" id="QQ2-1-284">meca: seismology and geodesy symbols</a></span>
<br />   &#x00A0;<span class="sectionToc" >A.5 <a 
href="#x1-170000A.5" id="QQ2-1-285">mex: Matlab/Octave&#8211;<span 
class="ptmb8t-">GMT</span> interface</a></span>
<br />   &#x00A0;<span class="sectionToc" >A.6 <a 
href="#x1-171000A.6" id="QQ2-1-286">mgd77: MGD77 extractor and plotting tools</a></span>
<br />   &#x00A0;<span class="sectionToc" >A.7 <a 
href="#x1-172000A.7" id="QQ2-1-287">mgg: GMT-MGD77 extractor and plotting tools</a></span>
<br />   &#x00A0;<span class="sectionToc" >A.8 <a 
href="#x1-173000A.8" id="QQ2-1-288">misc: Miscellaneous tools</a></span>
                                                                                 

                                                                                 
<br />   &#x00A0;<span class="sectionToc" >A.9 <a 
href="#x1-174000A.9" id="QQ2-1-289">segyprogs: plotting SEGY seismic data</a></span>
<br />   &#x00A0;<span class="sectionToc" >A.10 <a 
href="#x1-175000A.10" id="QQ2-1-290">sph: spherical triangulation and gridding</a></span>
<br />   &#x00A0;<span class="sectionToc" >A.11 <a 
href="#x1-176000A.11" id="QQ2-1-291">spotter: backtracking and hotspotting</a></span>
<br />   &#x00A0;<span class="sectionToc" >A.12 <a 
href="#x1-177000A.12" id="QQ2-1-292">x2sys: track crossover error estimation</a></span>
<br />   &#x00A0;<span class="sectionToc" >A.13 <a 
href="#x1-178000A.13" id="QQ2-1-293">x_system: track crossover error estimation</a></span>
<br />   &#x00A0;<span class="sectionToc" >A.14 <a 
href="#x1-179000A.14" id="QQ2-1-294">xgrid: visual editor for grid files</a></span>
<br />   <span class="appendixToc" >B <a 
href="#x1-180000B" id="QQ2-1-295"><span 
class="ptmb8t-">GMT</span> file formats</a></span>
<br />   &#x00A0;<span class="sectionToc" >B.1 <a 
href="#x1-181000B.1" id="QQ2-1-296">Table data</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >B.1.1 <a 
href="#x1-182000B.1.1" id="QQ2-1-297">ASCII tables</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >B.1.2 <a 
href="#x1-185000B.1.2" id="QQ2-1-300">Binary tables</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >B.1.3 <a 
href="#x1-186000B.1.3" id="QQ2-1-301">NetCDF tables</a></span>
<br />   &#x00A0;<span class="sectionToc" >B.2 <a 
href="#x1-187000B.2" id="QQ2-1-302">Grid files</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >B.2.1 <a 
href="#x1-188000B.2.1" id="QQ2-1-303">NetCDF files</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >B.2.2 <a 
href="#x1-189000B.2.2" id="QQ2-1-305">Gridline and Pixel node registration</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >B.2.3 <a 
href="#x1-192000B.2.3" id="QQ2-1-310">Boundary Conditions for operations on grids</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >B.2.4 <a 
href="#x1-193000B.2.4" id="QQ2-1-311">Native binary grid files</a></span>
<br />   &#x00A0;<span class="sectionToc" >B.3 <a 
href="#x1-194000B.3" id="QQ2-1-313">Sun raster files</a></span>
<br />   <span class="appendixToc" >C <a 
href="#x1-195000C" id="QQ2-1-316">Including <span 
class="ptmb8t-">GMT</span> graphics into your documents</a></span>
<br />   &#x00A0;<span class="sectionToc" >C.1 <a 
href="#x1-196000C.1" id="QQ2-1-317">Making <span 
class="ptmb8t-">GMT</span> Encapsulated <span 
class="ptmri8t-">PostScript </span>Files</a></span>
<br />   &#x00A0;<span class="sectionToc" >C.2 <a 
href="#x1-197000C.2" id="QQ2-1-318">Converting <span 
class="ptmb8t-">GMT</span> <span 
class="ptmri8t-">PostScript </span>to PDF or raster images</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >C.2.1 <a 
href="#x1-198000C.2.1" id="QQ2-1-319">When converting or viewing <span 
class="ptmri8t-">PostScript </span>goes awry</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >C.2.2 <a 
href="#x1-199000C.2.2" id="QQ2-1-320">Using <span 
class="phvb8t-">ps2raster</span></a></span>
<br />   &#x00A0;<span class="sectionToc" >C.3 <a 
href="#x1-200000C.3" id="QQ2-1-321">Examples</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >C.3.1 <a 
href="#x1-201000C.3.1" id="QQ2-1-322"><span 
class="ptmb8t-">GMT</span> graphics in <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span 
class="E">E</span>X</span></span></a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >C.3.2 <a 
href="#x1-202000C.3.2" id="QQ2-1-323"><span 
class="ptmb8t-">GMT</span> graphics in <span 
class="ptmbo8t-">PowerPoint</span></a></span>
<br />   &#x00A0;<span class="sectionToc" >C.4 <a 
href="#x1-203000C.4" id="QQ2-1-326">Concluding remarks</a></span>
<br />   <span class="appendixToc" >D <a 
href="#x1-204000D" id="QQ2-1-327">Availability of <span 
class="ptmb8t-">GMT</span> and related code</a></span>
<br />   &#x00A0;<span class="sectionToc" >D.1 <a 
href="#x1-205000D.1" id="QQ2-1-328">Source distribution</a></span>
<br />   &#x00A0;<span class="sectionToc" >D.2 <a 
href="#x1-206000D.2" id="QQ2-1-329">Pre-compiled Executables</a></span>
<br />   <span class="appendixToc" >E <a 
href="#x1-207000E" id="QQ2-1-330">Predefined bit and hachure patterns in <span 
class="ptmb8t-">GMT</span></a></span>
<br />   <span class="appendixToc" >F <a 
href="#x1-208000F" id="QQ2-1-331">Chart of octal codes for characters</a></span>
<br />   <span class="appendixToc" >G <a 
href="#x1-209000G" id="QQ2-1-334"><span 
class="ptmri8t-">PostScript </span>fonts used by <span 
class="ptmb8t-">GMT</span></a></span>
<br />   <span class="appendixToc" >H <a 
href="#x1-210000H" id="QQ2-1-336">Problems with display of <span 
class="ptmb8t-">GMT</span> <span 
class="ptmri8t-">PostScript</span></a></span>
<br />   &#x00A0;<span class="sectionToc" >H.1 <a 
href="#x1-211000H.1" id="QQ2-1-337"><span 
class="ptmri8t-">PostScript </span>driver bugs</a></span>
<br />   &#x00A0;<span class="sectionToc" >H.2 <a 
href="#x1-212000H.2" id="QQ2-1-338">Resolution and dots per inch</a></span>
<br />   &#x00A0;<span class="sectionToc" >H.3 <a 
href="#x1-213000H.3" id="QQ2-1-339">European characters</a></span>
<br />   &#x00A0;<span class="sectionToc" >H.4 <a 
href="#x1-214000H.4" id="QQ2-1-340">Hints</a></span>
<br />   <span class="appendixToc" >I <a 
href="#x1-215000I" id="QQ2-1-341">Color Space: The final frontier</a></span>
<br />   &#x00A0;<span class="sectionToc" >I.1 <a 
href="#x1-216000I.1" id="QQ2-1-342">RGB color system</a></span>
<br />   &#x00A0;<span class="sectionToc" >I.2 <a 
href="#x1-217000I.2" id="QQ2-1-345">HSV color system</a></span>
<br />   &#x00A0;<span class="sectionToc" >I.3 <a 
href="#x1-218000I.3" id="QQ2-1-346">The color cube</a></span>
<br />   &#x00A0;<span class="sectionToc" >I.4 <a 
href="#x1-219000I.4" id="QQ2-1-348">Color interpolation</a></span>
<br />   &#x00A0;<span class="sectionToc" >I.5 <a 
href="#x1-220000I.5" id="QQ2-1-350">Artificial illumination</a></span>
<br />   &#x00A0;<span class="sectionToc" >I.6 <a 
href="#x1-221000I.6" id="QQ2-1-351">Thinking in RGB or HSV</a></span>
<br />   &#x00A0;<span class="sectionToc" >I.7 <a 
href="#x1-222000I.7" id="QQ2-1-352">CMYK color system</a></span>
<br />   <span class="appendixToc" >J <a 
href="#x1-223000J" id="QQ2-1-353">Filtering of data in <span 
class="ptmb8t-">GMT</span></a></span>
<br />   <span class="appendixToc" >K <a 
href="#x1-224000K" id="QQ2-1-357">The <span 
class="ptmb8t-">GMT</span> High-Resolution Coastline Data</a></span>
<br />   &#x00A0;<span class="sectionToc" >K.1 <a 
href="#x1-225000K.1" id="QQ2-1-358">Selecting the right data</a></span>
<br />   &#x00A0;<span class="sectionToc" >K.2 <a 
href="#x1-226000K.2" id="QQ2-1-359">Format required by <span 
class="ptmb8t-">GMT</span></a></span>
<br />   &#x00A0;<span class="sectionToc" >K.3 <a 
href="#x1-227000K.3" id="QQ2-1-360">The long and winding road</a></span>
<br />   &#x00A0;<span class="sectionToc" >K.4 <a 
href="#x1-228000K.4" id="QQ2-1-361">The Five Resolutions</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >K.4.1 <a 
href="#x1-229000K.4.1" id="QQ2-1-362">The crude resolution (<span 
class="pcrb8t-">-Dc</span>)</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >K.4.2 <a 
href="#x1-230000K.4.2" id="QQ2-1-364">The low resolution (<span 
class="pcrb8t-">-Dl</span>)</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >K.4.3 <a 
href="#x1-231000K.4.3" id="QQ2-1-366">The intermediate resolution (<span 
class="pcrb8t-">-Di</span>)</a></span>
                                                                                 

                                                                                 
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >K.4.4 <a 
href="#x1-232000K.4.4" id="QQ2-1-368">The high resolution (<span 
class="pcrb8t-">-Dh</span>)</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >K.4.5 <a 
href="#x1-233000K.4.5" id="QQ2-1-370">The full resolution (<span 
class="pcrb8t-">-Df</span>)</a></span>
<br />   <span class="appendixToc" >L <a 
href="#x1-234000L" id="QQ2-1-372"><span 
class="ptmb8t-">GMT</span> on non-<span 
class="ptmri8t-">UNIX </span>platforms</a></span>
<br />   &#x00A0;<span class="sectionToc" >L.1 <a 
href="#x1-235000L.1" id="QQ2-1-373">Introduction</a></span>
<br />   &#x00A0;<span class="sectionToc" >L.2 <a 
href="#x1-236000L.2" id="QQ2-1-374">Cygwin and <span 
class="ptmb8t-">GMT</span></a></span>
<br />   &#x00A0;<span class="sectionToc" >L.3 <a 
href="#x1-237000L.3" id="QQ2-1-375">SFU and <span 
class="ptmb8t-">GMT</span></a></span>
<br />   &#x00A0;<span class="sectionToc" >L.4 <a 
href="#x1-238000L.4" id="QQ2-1-376">DJGPP and <span 
class="ptmb8t-">GMT</span></a></span>
<br />   &#x00A0;<span class="sectionToc" >L.5 <a 
href="#x1-239000L.5" id="QQ2-1-377">WIN32 and <span 
class="ptmb8t-">GMT</span></a></span>
<br />   &#x00A0;<span class="sectionToc" >L.6 <a 
href="#x1-240000L.6" id="QQ2-1-378">OS/2 and <span 
class="ptmb8t-">GMT</span></a></span>
<br />   &#x00A0;<span class="sectionToc" >L.7 <a 
href="#x1-241000L.7" id="QQ2-1-379">Mac OS and <span 
class="ptmb8t-">GMT</span></a></span>
<br />   <span class="appendixToc" >M <a 
href="#x1-242000M" id="QQ2-1-380">Of colors and color legends</a></span>
<br />   &#x00A0;<span class="sectionToc" >M.1 <a 
href="#x1-243000M.1" id="QQ2-1-381">Built-in color palette tables</a></span>
<br />   &#x00A0;<span class="sectionToc" >M.2 <a 
href="#x1-244000M.2" id="QQ2-1-383">Labeled and non-equidistant color legends</a></span>
<br />   <span class="appendixToc" >N <a 
href="#x1-245000N" id="QQ2-1-385">Custom Plot Symbols</a></span>
<br />   <span class="appendixToc" >O <a 
href="#x1-246000O" id="QQ2-1-387">Annotation of Contours and &#8220;Quoted Lines&#8221;</a></span>
<br />   &#x00A0;<span class="sectionToc" >O.1 <a 
href="#x1-247000O.1" id="QQ2-1-388">Label Placement</a></span>
<br />   &#x00A0;<span class="sectionToc" >O.2 <a 
href="#x1-248000O.2" id="QQ2-1-389">Label Attributes</a></span>
<br />   &#x00A0;<span class="sectionToc" >O.3 <a 
href="#x1-249000O.3" id="QQ2-1-390">Examples of Contour Label Placement</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >O.3.1 <a 
href="#x1-250000O.3.1" id="QQ2-1-391">Equidistant labels</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >O.3.2 <a 
href="#x1-251000O.3.2" id="QQ2-1-393">Fixed number of labels</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >O.3.3 <a 
href="#x1-252000O.3.3" id="QQ2-1-395">Prescribed label placements</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >O.3.4 <a 
href="#x1-253000O.3.4" id="QQ2-1-397">Label placement at simple line intersections</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >O.3.5 <a 
href="#x1-254000O.3.5" id="QQ2-1-399">Label placement at general line intersections</a></span>
<br />   &#x00A0;<span class="sectionToc" >O.4 <a 
href="#x1-255000O.4" id="QQ2-1-401">Examples of Label Attributes</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >O.4.1 <a 
href="#x1-256000O.4.1" id="QQ2-1-402">Label placement by along-track distances, 1</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >O.4.2 <a 
href="#x1-257000O.4.2" id="QQ2-1-404">Label placement by along-track distances, 2</a></span>
<br />   &#x00A0;&#x00A0;<span class="subsectionToc" >O.4.3 <a 
href="#x1-258000O.4.3" id="QQ2-1-406">Using a different data set for labels</a></span>
<br />   &#x00A0;<span class="sectionToc" >O.5 <a 
href="#x1-259000O.5" id="QQ2-1-408">Putting it all together</a></span>
<br />   <span class="appendixToc" >P <a 
href="#x1-260000P" id="QQ2-1-410">Special Operations</a></span>
<br />   &#x00A0;<span class="sectionToc" >P.1 <a 
href="#x1-261000P.1" id="QQ2-1-411">Running <span 
class="ptmb8t-">GMT</span> in <span 
class="ptmri8t-">isolation mode</span></a></span>
<br />   &#x00A0;<span class="sectionToc" >P.2 <a 
href="#x1-262000P.2" id="QQ2-1-413">Using both <span 
class="ptmb8t-">GMT</span> 3 and 4</a></span>
   </div>
                                                                                 

                                                                                 
                                                                                 

                                                                                 
   <h2 class="likechapterHead"><a 
 id="x1-2000"></a>List of Tables</h2> <a 
 id="Q1-1-4"></a> <div class="tableofcontents"><span class="lotToc" >4.1&#x00A0;<a 
href="#x1-44021r1">The 17 standardized <span 
class="ptmb8t-">GMT</span> command line switches.</a></span><br /><span class="lotToc" >4.2&#x00A0;<a 
href="#x1-47008r2">Interval
type codes.</a></span><br /><span class="lotToc" >4.3&#x00A0;<a 
href="#x1-47009r3">Interval unit codes.</a></span><br /><span class="lotToc" >4.4&#x00A0;<a 
href="#x1-73006r4"><span 
class="ptmb8t-">GMT</span> predefined pen widths.</a></span><br /><span class="lotToc" >4.5&#x00A0;<a 
href="#x1-73029r5">A few examples
of pen specifications.</a></span><br /><span class="lotToc" >4.6&#x00A0;<a 
href="#x1-74012r6">A few examples of fill specifications.</a></span><br /><span class="lotToc" >4.7&#x00A0;<a 
href="#x1-78027r7"><span 
class="ptmb8t-">GMT</span> text escape
sequences.</a></span><br /><span class="lotToc" >4.8&#x00A0;<a 
href="#x1-78030r8">Shortcuts for some European characters.</a></span><br /><span class="lotToc" >4.9&#x00A0;<a 
href="#x1-79013r9"><span 
class="ptmb8t-">GMT</span> grid file formats.</a></span><br /><span class="lotToc" >6.1&#x00A0;<a 
href="#x1-116009r1">Standard
parallels for some cylindrical equidistant projections.</a></span><br /><span class="lotToc" >6.2&#x00A0;<a 
href="#x1-117012r2">Standard parallels for some
cylindrical equal-area projections.</a></span><br /><span class="lotToc" >6.3&#x00A0;<a 
href="#x1-119009r3">Standard parallels for some cylindrical equal-area
projections.</a></span><br /><span class="lotToc" >B.1&#x00A0;<a 
href="#x1-188004r1">Attributes of default <span 
class="ptmb8t-">GMT</span> grid file in COARDS-compliant netCDF
format.</a></span><br /><span class="lotToc" >B.2&#x00A0;<a 
href="#x1-193004r2"><span 
class="ptmb8t-">GMT</span> grid file header record. <span 
class="ptmb8t-">TYPE </span>can be <span 
class="ptmb8t-">char</span>, <span 
class="ptmb8t-">short</span>, <span 
class="ptmb8t-">int</span>, <span 
class="ptmb8t-">float</span>, or
<span 
class="ptmb8t-">double</span>.</a></span><br /><span class="lotToc" >B.3&#x00A0;<a 
href="#x1-194002r3">Structure of a Sun raster file.</a></span><br /><span class="lotToc" >B.4&#x00A0;<a 
href="#x1-194004r4">Sun macro definitions relevant to raster files.</a></span><br />
   </div>
                                                                                 

                                                                                 
                                                                                 

                                                                                 
   <h2 class="likechapterHead"><a 
 id="x1-3000"></a>List of Figures</h2> <a 
 id="Q1-1-6"></a> <div class="tableofcontents"><span class="lofToc" >1&#x00A0;<a 
href="#x1-4002r1">The four horsemen of the <span 
class="ptmb8t-">GMT</span> apocalypse: Remko Scharroo, Paul Wessel,
Walter H.F. Smith, and Joaquim Luis at the <span 
class="ptmb8t-">GMT</span> Developer Summit in Honolulu, Hawaii
during February 14&#8211;18, 2011.</a></span><br /><span class="lofToc" >4.1&#x00A0;<a 
href="#x1-41003r1">Some <span 
class="ptmb8t-">GMT</span> parameters that affect plot appearance.</a></span><br /><span class="lofToc" >4.2&#x00A0;<a 
href="#x1-41012r2">More
<span 
class="ptmb8t-">GMT</span> parameters that affect plot appearance.</a></span><br /><span class="lofToc" >4.3&#x00A0;<a 
href="#x1-42013r3">Even more <span 
class="ptmb8t-">GMT</span> parameters that affect
plot appearance.</a></span><br /><span class="lofToc" >4.4&#x00A0;<a 
href="#x1-45003r4">The plot region can be specified in two different ways. (a) Extreme
values for each dimension, or (b) coordinates of lower left and upper right corners.</a></span><br /><span class="lofToc" >4.5&#x00A0;<a 
href="#x1-46004r5">The
30+ map projections and coordinate transformations available in <span 
class="ptmb8t-">GMT</span>.</a></span><br /><span class="lofToc" >4.6&#x00A0;<a 
href="#x1-48001r6">Geographic
map border using separate selections for annotation, frame, and grid intervals. Formatting
of the annotation is controlled by the parameter <span 
class="ptmb8t-">PLOT_DEGREE_FORMAT </span>in your
<span class="underline">.gmtdefaults4</span> file.</a></span><br /><span class="lofToc" >4.7&#x00A0;<a 
href="#x1-48002r7">Geographic map border with both primary (P) and secondary (S)
components.</a></span><br /><span class="lofToc" >4.8&#x00A0;<a 
href="#x1-49004r8">Linear Cartesian projection axis. Long tickmarks accompany annotations,
shorter ticks indicate frame interval. The axis label is optional. We used <span 
class="pcrb8t-">-R</span>0/12/0/1 <span 
class="pcrb8t-">-JX</span>3/0.4
<span 
class="pcrb8t-">-Ba</span>4<span 
class="ptmb8t-">f</span>2<span 
class="ptmb8t-">g</span>1:Frequency::,%:.</a></span><br /><span class="lofToc" >4.9&#x00A0;<a 
href="#x1-50011r9">Logarithmic projection axis using separate values for annotation,
frame, and grid intervals. (top) Here, we have chosen to annotate the actual values. Interval = 1
means every whole power of 10, 2 means 1, 2, 5 times powers of 10, and 3 means every 0.1 times
powers of 10. We used <span 
class="pcrb8t-">-R</span>1/1000/0/1 <span 
class="pcrb8t-">-JX</span>3l/0.4 <span 
class="pcrb8t-">-Ba</span>1<span 
class="ptmb8t-">f</span>2<span 
class="ptmb8t-">g</span>3. (middle) Here, we have chosen to
annotate log<!--l. 72--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mn>1</mn><mn>0</mn></mrow></msub 
></math>
of the actual values, with <span 
class="pcrb8t-">-Ba</span>1<span 
class="ptmb8t-">f</span>2<span 
class="ptmb8t-">g</span>3<span 
class="ptmb8t-">l</span>. (bottom) We annotate every power of 10 using
log<!--l. 72--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mn>1</mn><mn>0</mn></mrow></msub 
></math>
of    the    actual    values    as    exponents,    with    <span 
class="pcrb8t-">-Ba</span>1<span 
class="ptmb8t-">f</span>2<span 
class="ptmb8t-">g</span>3<span 
class="ptmb8t-">p</span>.</a></span><br /><span class="lofToc" >4.10&#x00A0;<a 
href="#x1-51001r10">Exponential
or   power   projection   axis.   (top)   Using   an   exponent   of   0.5   yields   a
<!--l. 74--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msqrt><mrow><mi 
>x</mi></mrow></msqrt></math> axis. Here,
intervals refer to actual data values, in <span 
class="pcrb8t-">-R</span>0/100/0/1 <span 
class="pcrb8t-">-JX</span>3<span 
class="ptmb8t-">p</span>0.5/0.4 <span 
class="pcrb8t-">-Ba</span>20<span 
class="ptmb8t-">f</span>10<span 
class="ptmb8t-">g</span>5. (bottom)
Here, intervals refer to projected values, although the annotation uses the corresponding
unprojected values, as in <span 
class="pcrb8t-">-Ba</span>3<span 
class="ptmb8t-">f</span>2<span 
class="ptmb8t-">g</span>1<span 
class="ptmb8t-">p</span>.</a></span><br /><span class="lofToc" >4.11&#x00A0;<a 
href="#x1-52001r11">Cartesian time axis, example 1.</a></span><br /><span class="lofToc" >4.12&#x00A0;<a 
href="#x1-52002r12">Cartesian
time axis, example 2.</a></span><br /><span class="lofToc" >4.13&#x00A0;<a 
href="#x1-52003r13">Cartesian time axis, example 3.</a></span><br /><span class="lofToc" >4.14&#x00A0;<a 
href="#x1-52004r14">Cartesian time axis, example
4.</a></span><br /><span class="lofToc" >4.15&#x00A0;<a 
href="#x1-52005r15">Cartesian time axis, example 5.</a></span><br /><span class="lofToc" >4.16&#x00A0;<a 
href="#x1-52006r16">Cartesian time axis, example 6.</a></span><br /><span class="lofToc" >4.17&#x00A0;<a 
href="#x1-52007r17">Cartesian
time axis, example 7.</a></span><br /><span class="lofToc" >4.18&#x00A0;<a 
href="#x1-54008r18">Users can specify Landscape [Default] or Portrait (<span 
class="pcrb8t-">-P</span>)
orientation.</a></span><br /><span class="lofToc" >4.19&#x00A0;<a 
href="#x1-55006r19">A final <span 
class="ptmri8t-">PostScript </span>file consists of any number of individual pieces.</a></span><br /><span class="lofToc" >4.20&#x00A0;<a 
href="#x1-56004r20">The
<span 
class="pcrb8t-">-U </span>option makes it easy to &#8220;date&#8221; a plot.</a></span><br /><span class="lofToc" >4.21&#x00A0;<a 
href="#x1-58005r21">Plot origin can be translated freely with <span 
class="pcrb8t-">-X</span>
<span 
class="pcrb8t-">-Y</span>.</a></span><br /><span class="lofToc" >5.1&#x00A0;<a 
href="#x1-86001r1">Linear transformation of Cartesian coordinates.</a></span><br /><span class="lofToc" >5.2&#x00A0;<a 
href="#x1-87004r2">Linear transformation of map
coordinates.</a></span><br /><span class="lofToc" >5.3&#x00A0;<a 
href="#x1-88004r3">Linear transformation of calendar coordinates.</a></span><br /><span class="lofToc" >5.4&#x00A0;<a 
href="#x1-89004r4">Logarithmic transformation of
<!--l. 133--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi></math>-coordinates.</a></span><br /><span class="lofToc" >5.5&#x00A0;<a 
href="#x1-90004r5">Exponential
or power transformation of <!--l. 135--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi></math>-coordinates.</a></span><br /><span class="lofToc" >5.6&#x00A0;<a 
href="#x1-91004r6">Polar
(Cylindrical) transformation of (<!--l. 137--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>&#x03B8;</mi><mo 
class="MathClass-punc">,</mo><mi 
>r</mi></math>)
coordinates.</a></span><br /><span class="lofToc" >6.1&#x00A0;<a 
href="#x1-94004r1">Albers equal-area conic map projection</a></span><br /><span class="lofToc" >6.2&#x00A0;<a 
href="#x1-95004r2">Equidistant conic map
projection</a></span><br /><span class="lofToc" >6.3&#x00A0;<a 
href="#x1-96004r3">Lambert conformal conic map projection</a></span><br /><span class="lofToc" >6.4&#x00A0;<a 
href="#x1-97004r4">(American) polyconic
projection</a></span><br /><span class="lofToc" >6.5&#x00A0;<a 
href="#x1-100003r5">Rectangular map using the Lambert azimuthal equal-area projection.</a></span><br /><span class="lofToc" >6.6&#x00A0;<a 
href="#x1-101002r6">Hemisphere
map using the Lambert azimuthal equal-area projection.</a></span><br /><span class="lofToc" >6.7&#x00A0;<a 
href="#x1-101003r7">Equal-Area (Schmidt) and
Equal-Angle (Wulff) stereo nets.</a></span><br /><span class="lofToc" >6.8&#x00A0;<a 
href="#x1-103002r8">Polar stereographic conformal projection.</a></span><br /><span class="lofToc" >6.9&#x00A0;<a 
href="#x1-104002r9">Polar
stereographic conformal projection with rectangular borders.</a></span><br /><span class="lofToc" >6.10&#x00A0;<a 
href="#x1-105002r10">General stereographic
conformal projection with rectangular borders.</a></span><br /><span class="lofToc" >6.11&#x00A0;<a 
href="#x1-106005r11">View from the Space Shuttle in Perspective
projection.</a></span><br /><span class="lofToc" >6.12&#x00A0;<a 
href="#x1-107005r12">Hemisphere map using the Orthographic projection.</a></span><br /><span class="lofToc" >6.13&#x00A0;<a 
href="#x1-108005r13">World map using
the equidistant azimuthal projection.</a></span><br /><span class="lofToc" >6.14&#x00A0;<a 
href="#x1-109005r14">Gnomonic azimuthal projection.</a></span><br /><span class="lofToc" >6.15&#x00A0;<a 
href="#x1-111007r15">Simple
Mercator map.</a></span><br /><span class="lofToc" >6.16&#x00A0;<a 
href="#x1-112004r16">Rectangular Transverse Mercator map.</a></span><br /><span class="lofToc" >6.17&#x00A0;<a 
href="#x1-112005r17">A global transverse Mercator
map.</a></span><br /><span class="lofToc" >6.18&#x00A0;<a 
href="#x1-113004r18">Universal Transverse Mercator zone layout.</a></span><br /><span class="lofToc" >6.19&#x00A0;<a 
href="#x1-114010r19">Oblique Mercator map using <span 
class="pcrb8t-">-Joc</span>.
We make it clear which direction is North by adding a star rose with the <span 
class="pcrb8t-">-T </span>option.</a></span><br /><span class="lofToc" >6.20&#x00A0;<a 
href="#x1-115004r20">Cassini
map over Sardinia.</a></span><br /><span class="lofToc" >6.21&#x00A0;<a 
href="#x1-116005r21">World map using the Plate Carrée projection.</a></span><br /><span class="lofToc" >6.22&#x00A0;<a 
href="#x1-117013r22">World map using
the Behrman cylindrical equal-area projection.</a></span><br /><span class="lofToc" >6.23&#x00A0;<a 
href="#x1-118004r23">World map using the Miller cylindrical
projection.</a></span><br /><span class="lofToc" >6.24&#x00A0;<a 
href="#x1-119010r24">World map using Gall&#8217;s stereographic projection.</a></span><br /><span class="lofToc" >6.25&#x00A0;<a 
href="#x1-121004r25">World map using the
Hammer projection.</a></span><br /><span class="lofToc" >6.26&#x00A0;<a 
href="#x1-122004r26">World map using the Mollweide projection.</a></span><br /><span class="lofToc" >6.27&#x00A0;<a 
href="#x1-123004r27">World map using
the Winkel Tripel projection.</a></span><br /><span class="lofToc" >6.28&#x00A0;<a 
href="#x1-124005r28">World map using the Robinson projection.</a></span><br /><span class="lofToc" >6.29&#x00A0;<a 
href="#x1-125004r29">World map
using the Eckert IV projection.</a></span><br /><span class="lofToc" >6.30&#x00A0;<a 
href="#x1-125005r30">World map using the Eckert VI projection.</a></span><br /><span class="lofToc" >6.31&#x00A0;<a 
href="#x1-126004r31">World
map using the Sinusoidal projection.</a></span><br /><span class="lofToc" >6.32&#x00A0;<a 
href="#x1-126007r32">World map using the Interrupted Sinusoidal
                                                                                 

                                                                                 
projection.</a></span><br /><span class="lofToc" >6.33&#x00A0;<a 
href="#x1-127004r33">World map using the Van der Grinten projection.</a></span><br /><span class="lofToc" >7.1&#x00A0;<a 
href="#x1-129004r1">Contour maps
of gridded data.</a></span><br /><span class="lofToc" >7.2&#x00A0;<a 
href="#x1-130014r2">Color images from gridded data.</a></span><br /><span class="lofToc" >7.3&#x00A0;<a 
href="#x1-131015r3">Spectral estimation and
<!--l. 216--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi><mo 
class="MathClass-bin">&#x2215;</mo><mi 
>y</mi></math>-plots.</a></span><br /><span class="lofToc" >7.4&#x00A0;<a 
href="#x1-132004r4">3-D
perspective mesh plot (left) and colored version (right).</a></span><br /><span class="lofToc" >7.5&#x00A0;<a 
href="#x1-133009r5">3-D illuminated surface.</a></span><br /><span class="lofToc" >7.6&#x00A0;<a 
href="#x1-134004r6">Two kinds
of histograms.</a></span><br /><span class="lofToc" >7.7&#x00A0;<a 
href="#x1-135003r7">A typical location map.</a></span><br /><span class="lofToc" >7.8&#x00A0;<a 
href="#x1-136003r8">A 3-D histogram.</a></span><br /><span class="lofToc" >7.9&#x00A0;<a 
href="#x1-137006r9">Time-series as &#8220;wiggles&#8221; along
a track.</a></span><br /><span class="lofToc" >7.10&#x00A0;<a 
href="#x1-138002r10">Geographical bar graph.</a></span><br /><span class="lofToc" >7.11&#x00A0;<a 
href="#x1-139003r11">The RGB color cube.</a></span><br /><span class="lofToc" >7.12&#x00A0;<a 
href="#x1-140006r12">Optimal triangulation of
data.</a></span><br /><span class="lofToc" >7.13&#x00A0;<a 
href="#x1-141005r13">Display of vector fields in <span 
class="ptmb8t-">GMT</span>.</a></span><br /><span class="lofToc" >7.14&#x00A0;<a 
href="#x1-142012r14">Gridding of data and trend surfaces.</a></span><br /><span class="lofToc" >7.15&#x00A0;<a 
href="#x1-143010r15">Gridding,
contouring, and masking of data.</a></span><br /><span class="lofToc" >7.16&#x00A0;<a 
href="#x1-144017r16">More ways to grid data.</a></span><br /><span class="lofToc" >7.17&#x00A0;<a 
href="#x1-145007r17">Clipping of images using
coastlines.</a></span><br /><span class="lofToc" >7.18&#x00A0;<a 
href="#x1-146008r18">Volumes and geo-spatial selections.</a></span><br /><span class="lofToc" >7.19&#x00A0;<a 
href="#x1-147009r19">Using color patterns and additional
PostScript material in illustrations.</a></span><br /><span class="lofToc" >7.20&#x00A0;<a 
href="#x1-148017r20">Using custom symbols in <span 
class="ptmb8t-">GMT</span>.</a></span><br /><span class="lofToc" >7.21&#x00A0;<a 
href="#x1-149002r21">Time-series of
RedHat stock price since IPO.</a></span><br /><span class="lofToc" >7.22&#x00A0;<a 
href="#x1-150008r22">World-wide seismicity the last 7 days.</a></span><br /><span class="lofToc" >7.23&#x00A0;<a 
href="#x1-151005r23">All great-circle
paths lead to Rome.</a></span><br /><span class="lofToc" >7.24&#x00A0;<a 
href="#x1-152011r24">Data selection based on geospatial criteria.</a></span><br /><span class="lofToc" >7.25&#x00A0;<a 
href="#x1-153006r25">Global distribution
of antipodes.</a></span><br /><span class="lofToc" >7.26&#x00A0;<a 
href="#x1-154004r26">General vertical perspective projection.</a></span><br /><span class="lofToc" >7.27&#x00A0;<a 
href="#x1-155011r27">Plotting Sandwell/Smith
Mercator img grids.</a></span><br /><span class="lofToc" >7.28&#x00A0;<a 
href="#x1-156007r28">Mixing UTM and geographic data sets requires knowledge of the
map region domain in both UTM and lon/lat coordinates and consistent use of the same map
scale.</a></span><br /><span class="lofToc" >7.29&#x00A0;<a 
href="#x1-157006r29">Gridding of spherical surface data using Green&#8217;s function splines.</a></span><br /><span class="lofToc" >7.30&#x00A0;<a 
href="#x1-158002r30">Trigonometric
functions plotted in graph mode.</a></span><br /><span class="lofToc" >8.1&#x00A0;<a 
href="#x1-160002r1">Animation of a simple sine function.</a></span><br /><span class="lofToc" >8.2&#x00A0;<a 
href="#x1-161003r2">Animation of a DEM
using variable illumination.</a></span><br /><span class="lofToc" >8.3&#x00A0;<a 
href="#x1-162003r3">Orbiting a static map.</a></span><br /><span class="lofToc" >8.4&#x00A0;<a 
href="#x1-163006r4">Flying over topography.</a></span><br /><span class="lofToc" >B.1&#x00A0;<a 
href="#x1-190002r1">Gridline
registration of data nodes.</a></span><br /><span class="lofToc" >B.2&#x00A0;<a 
href="#x1-191002r2">Pixel registration of data nodes.</a></span><br /><span class="lofToc" >C.1&#x00A0;<a 
href="#x1-202001r1">Examples of rendered
images in a <span 
class="ptmbo8t-">PowerPoint </span>presentation.</a></span><br /><span class="lofToc" >C.2&#x00A0;<a 
href="#x1-202003r2"><span 
class="ptmbo8t-">PowerPoint</span>&#8217;s &#8220;Format Picture&#8221; dialogue to set
scale and rotation.</a></span><br /><span class="lofToc" >F.1&#x00A0;<a 
href="#x1-208006r1">Octal codes and corresponding symbols for StandardEncoding (left)
and ISOLatin1Encoding (right) fonts.</a></span><br /><span class="lofToc" >F.2&#x00A0;<a 
href="#x1-208010r2">Octal codes and corresponding symbols for Symbol
(left) and ZapfDingbats (right) fonts.</a></span><br /><span class="lofToc" >G.1&#x00A0;<a 
href="#x1-209002r1">The standard 35 <span 
class="ptmri8t-">PostScript </span>fonts recognized by
<span 
class="ptmb8t-">GMT</span>.</a></span><br /><span class="lofToc" >I.1&#x00A0;<a 
href="#x1-216002r1">Chartreuse in <span 
class="ptmbo8t-">GIMP</span>. (<span 
class="ptmri8t-">a</span>) Sliders indicate how the color is altered when changing
the H, S, V, R, G, or B levels. (<span 
class="ptmri8t-">b</span>) For a constant hue (here 90<span 
class="ptmr8c-">°</span>) value increases to the right and
saturation increases up, so the &#8220;pure&#8221; color is on the top right.</a></span><br /><span class="lofToc" >I.2&#x00A0;<a 
href="#x1-216005r2">The 555 unique color names
that can be used in GMT. Lower, upper, or mixed case, as well as the british spelling of &#8220;grey&#8221;
are allowed. A4, Letter, and Tabloid sized versions of this RGB chart can be found in the GMT
documentation directory.</a></span><br /><span class="lofToc" >I.3&#x00A0;<a 
href="#x1-218001r3">The HSV color space.</a></span><br /><span class="lofToc" >I.4&#x00A0;<a 
href="#x1-219002r4">When interpolating colors, the color
system matters. The polar palette on the left needs to be interpolated in RGB, otherwise hue
will change between blue (240<span 
class="ptmr8c-">°</span>) and white (0<span 
class="ptmr8c-">°</span>). The rainbow palette should be interpolated in
HSV, since only hue should change between magenta (300<span 
class="ptmr8c-">°</span>) and red (0<span 
class="ptmr8c-">°</span>). Diamonds indicate
which colors are defined in the palettes; they are fixed, the rest is interpolated.</a></span><br /><span class="lofToc" >J.1&#x00A0;<a 
href="#x1-223006r1">Impulse
responses for <span 
class="ptmb8t-">GMT</span> filters.</a></span><br /><span class="lofToc" >J.2&#x00A0;<a 
href="#x1-223007r2">Transfer functions for 1-D <span 
class="ptmb8t-">GMT</span> filters.</a></span><br /><span class="lofToc" >J.3&#x00A0;<a 
href="#x1-223009r3">Transfer functions
for 2-D (radial) <span 
class="ptmb8t-">GMT</span> filters.</a></span><br /><span class="lofToc" >K.1&#x00A0;<a 
href="#x1-229002r1">Map using the crude resolution coastline data.</a></span><br /><span class="lofToc" >K.2&#x00A0;<a 
href="#x1-230002r2">Map
using the low resolution coastline data.</a></span><br /><span class="lofToc" >K.3&#x00A0;<a 
href="#x1-231002r3">Map using the intermediate resolution coastline
data. We have added a compass rose just because we have the power to do so.</a></span><br /><span class="lofToc" >K.4&#x00A0;<a 
href="#x1-232002r4">Map using
the high resolution coastline data.</a></span><br /><span class="lofToc" >K.5&#x00A0;<a 
href="#x1-233002r5">Map using the full resolution coastline data.</a></span><br /><span class="lofToc" >M.1&#x00A0;<a 
href="#x1-243006r1">The
standard 22 cpt files supported by <span 
class="ptmb8t-">GMT</span>.</a></span><br /><span class="lofToc" >M.2&#x00A0;<a 
href="#x1-244003r2">The many forms of color legends created by
<span 
class="phvb8t-">psscale</span>.</a></span><br /><span class="lofToc" >N.1&#x00A0;<a 
href="#x1-245004r1">Custom plot symbols supported by <span 
class="ptmb8t-">GMT</span>.</a></span><br /><span class="lofToc" >O.1&#x00A0;<a 
href="#x1-250001r1">Equidistant contour label
placement with <span 
class="pcrb8t-">-Gd</span>, the only algorithm available in previous <span 
class="ptmb8t-">GMT</span> versions.</a></span><br /><span class="lofToc" >O.2&#x00A0;<a 
href="#x1-251001r2">Placing one
label per contour that exceed 1 inch in length, centered on the segment with <span 
class="pcrb8t-">-Gn</span>.</a></span><br /><span class="lofToc" >O.3&#x00A0;<a 
href="#x1-252001r3">Four
labels are positioned on the points along the contours that are closest to the locations given in
the file <span class="underline">fix.d</span> in the <span 
class="pcrb8t-">-Gf </span>option.</a></span><br /><span class="lofToc" >O.4&#x00A0;<a 
href="#x1-253001r4">Labels are placed at the intersections between contours
and the great circle specified in the <span 
class="pcrb8t-">-GL </span>option.</a></span><br /><span class="lofToc" >O.5&#x00A0;<a 
href="#x1-254001r5">Labels are placed at the intersections
between contours and the multi-segment lines specified in the <span 
class="pcrb8t-">-GX </span>option.</a></span><br /><span class="lofToc" >O.6&#x00A0;<a 
href="#x1-256001r6">Labels
attributes are controlled with the arguments to the <span 
class="pcrb8t-">-Sq </span>option.</a></span><br /><span class="lofToc" >O.7&#x00A0;<a 
href="#x1-257001r7">Another label attribute
example.</a></span><br /><span class="lofToc" >O.8&#x00A0;<a 
href="#x1-258002r8">Labels based on another data set (here bathymetry) while the placement is based
on distances.</a></span><br /><span class="lofToc" >O.9&#x00A0;<a 
href="#x1-259003r9">Tsunami travel times from the Canary Islands to places in the Atlantic, in
particular New York. Should a catastrophic landslide occur it is possible that New York will
experience a large tsunami about 8 hours after the event.</a></span><br /><span class="lofToc" >P.1&#x00A0;<a 
href="#x1-261003r1">Example created in isolation mode</a></span><br />
   </div>
                                                                                 

                                                                                 
                                                                                 

                                                                                 
   <h2 class="likechapterHead"><a 
 id="x1-4000"></a>Acknowledgments</h2><a 
 id="dx1-4001"></a> <a 
 id="Q1-1-8"></a>
<!--l. 15--><p class="noindent" >The Generic Mapping Tools (<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>) could not have been designed without the generous support of several people.
We gratefully acknowledge A. B. Watts and the late W. F. Haxby for supporting our efforts on the original version
1.0 while we were their graduate students at Lamont-Doherty Earth Observatory. Doug Shearer and Roger Davis
patiently answered many questions over e-mail. The subroutine <span 
class="pcrr8t-">gauss </span>was written and supplied by Bill Menke.
Further development of versions 2.0&#8211;2.1 at SOEST would not have been possible without the support from the
HIGP/SOEST Post-Doctoral Fellowship program to Paul Wessel. Walter H. F. Smith gratefully acknowledges
the generous support of the C. H. and I. M. Green Foundation for Earth Sciences at the Institute of
Geophysics and Planetary Physics, Scripps Institution of Oceanography, University of California at San
Diego. <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;series 3.x, 4.x, and 5.x owe their existence to grants EAR-93-02272, OCE-95-29431,
OCE-00-82552, OCE-04-52126, and OCE-1029874 from the National Science Foundation, which we gratefully
acknowledge.
</p><!--l. 33--><p class="indent" >   We would also like to acknowledge the feedback we have received from many of the users of earlier versions.
Many of these suggestions have been implemented, and the bug reports have been useful in providing more robust
programs. Specifically, we would like to thank Michael Barck, Manfred Brands, Stephan Eickschen, Ben
Horner-Johnson, John Kuhn, Angel Li, John Lillibridge, Andrew Macrae, Alex Madon, Greg Neumann, Lloyd
Parkes, Ameet Raval, Georg Schwarz, Richard Signell, Peter Schimidt, Dirk Stoecker, Eduardo Suárez, Mikhail
Tchernychev, Malte Thoma, David Townsend, Garry Vaughan, William Weibel, Florian Wobbe, and many
others, including their advice on how to make <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;portable to a wide range of platforms. John
Lillibridge provided the original example 11; Hanno von Lom helped resolve early problems with DLL
libraries for Win32; Lloyd Parkes enabled indexed color images in <span 
class="ptmri8t-">PostScript</span>; Kurt Schwehr maintains
the <span 
class="phvr8t-">Fink </span>packages; Wayne Wilson implemented the full general perspective projection; and William
Yip helped translate <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;to POSIX ANSI C and incorporate netCDF 3. The SOEST RCF staff
(Ross Ishida, Pat Townsend, and Sharon Stahl) provided valuable help on Linux, web, and CGI script
issues.
</p>
                                                                                 <div class="flushright" 
>
<!--l. 71--><p class="noindent" >
 Honolulu, HI, Silver Spring, MD, Cornish, NH, and Faro, Portugal, November 2013</p></div>
<!--l. 75--><p class="noindent" ></p><hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-4002r1"></a>
                                                                                 

                                                                                 

<!--l. 78--><p class="noindent" ><img 
src="images/GMT5_Summit_2011.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;1: </span><span  
class="content">The four horsemen of the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;apocalypse: Remko Scharroo, Paul Wessel, Walter H.F. Smith,
and Joaquim Luis at the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;Developer Summit in Honolulu, Hawaii during February 14&#8211;18, 2011.</span></div><!--tex4ht:label?: x1-4002r1 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
                                                                                 

                                                                                 
   <h2 class="likechapterHead"><a 
 id="x1-5000"></a>The GMT Documentation Project</h2> <a 
 id="Q1-1-11"></a>
<!--l. 89--><p class="noindent" >Starting with <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;version 3.2, all <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;documentation was converted from Microsoft <span 
class="ptmbo8t-">Word</span><a 
 id="dx1-5001"></a> to <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span 
class="E">E</span>X</span></span>&#x00A0;files.
This step was taken for a number of reasons:
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-5003x1">Having all the documentation source available in ASCII format makes it easier to access by several
   <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;developers working on different platforms in different countries.
   </li>
   <li 
  class="enumerate" id="x1-5005x2"><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;scripts can now be included directly into the text so that the documentation is automatically
   up-to-date when scripts are modified.
   </li>
   <li 
  class="enumerate" id="x1-5007x3">All figures are generated on the fly and included as <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;EPS files which thus are always up-to-date.
   </li>
   <li 
  class="enumerate" id="x1-5009x4">It is easy to convert the <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span 
class="E">E</span>X</span></span>&#x00A0;files to other formats, such as HTML, SGML, <span 
class="ptmri8t-">PostScript</span>, and PDF.
   </li>
   <li 
  class="enumerate" id="x1-5011x5">The whole task of assembling the pieces, be it generating figures or extracting text portions from the
   master archive under subversion control, is automated by a makefile.
   </li>
   <li 
  class="enumerate" id="x1-5013x6">Only free software are used to maintain the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;Documentation.
   </li></ol>
<!--l. 118--><p class="indent" >   Please send email to <a 
href="mailto:gmt-help@lists.hawaii.edu" >the GMT help list</a> if you find errors or inconsistencies in the documentation.
                                                                                 

                                                                                 
</p>
   <h2 class="likechapterHead"><a 
 id="x1-6000"></a>A Reminder</h2> <a 
 id="Q1-1-13"></a>
<!--l. 126--><p class="noindent" >If you feel it is appropriate, you may consider paying us back by citing our <span 
class="ptmri8t-">EOS </span>articles on <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;(and perhaps
also our Geophysics article on the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;program <a 
href="../html/man/surface.html" ><span 
class="phvb8t-">surface</span></a><a 
 id="dx1-6001"></a>) when you publish papers containing results or
illustrations obtained using <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>. The EOS articles on <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;are <br 
class="newline" /><a 
 id="dx1-6002"></a><a 
 id="dx1-6003"></a>
</p>
   <ul class="itemize1">
   <li class="itemize">Wessel, P., and W. H. F. Smith, New, improved version of Generic Mapping Tools released, <span 
class="ptmri8t-">EOS Trans.</span>
   <span 
class="ptmri8t-">Amer. Geophys. U.</span>, vol. 79 (47), pp. 579, 1998.
   </li>
   <li class="itemize">Wessel, P., and W. H. F. Smith, New version of the Generic Mapping Tools released, <span 
class="ptmri8t-">EOS Trans. Amer.</span>
   <span 
class="ptmri8t-">Geophys. U.</span>, vol. 76 (33), pp. 329, 1995.
   </li>
   <li class="itemize">Wessel, P., and W. H. F. Smith, New version of the Generic Mapping Tools released, <span 
class="ptmri8t-">EOS Trans. Amer.</span>
   <span 
class="ptmri8t-">Geophys. U. electronic supplement</span>, <a 
href="http://www.agu.org/eos_elec/95154e.html" >http://www.agu.org/eos_elec/95154e.html</a>, 1995.
   </li>
   <li class="itemize">Wessel, P., and W. H. F. Smith, Free software helps map and display data, <span 
class="ptmri8t-">EOS Trans. Amer. Geophys.</span>
   <span 
class="ptmri8t-">U.</span>, vol. 72 (41), pp. 441, 445-446, 1991.
   </li></ul>
<!--l. 155--><p class="indent" >   The article in <span 
class="ptmri8t-">Geophysics </span>on surface is <a 
 id="dx1-6004"></a><a 
 id="dx1-6005"></a></p>
   <ul class="itemize1">
   <li class="itemize">Smith, W. H. F., and P. Wessel, Gridding with continuous curvature splines in tension, <span 
class="ptmri8t-">Geophysics</span>, vol.
   55 (3), pp. 293-305, 1990.
   </li></ul>
<!--l. 166--><p class="indent" >   <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;includes some code supplied by others, in particular the Triangle code used for Delaunay triangulation.
Its author, Jonathan Shewchuk, says
   </p><div class="quote">
   <!--l. 169--><p class="noindent" >&#8220;If you use Triangle, and especially if you use it to accomplish real work, I would like very much
   to hear from you. A short letter or email (to jrs@cs.cmu.edu) describing how you use Triangle will
   mean a lot to me. The more people I know are using this program, the more easily I can justify
   spending time on improvements and on the three-dimensional successor to Triangle, which in turn
   will benefit you.&#8221;</p></div>
<!--l. 177--><p class="indent" >   A few <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;users take the time to write us letters, telling us of the difference <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;is making in their work.
We appreciate receiving these letters. On days when we wonder why we ever released <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;we pull these letters
out and read them. Seriously, as financial support for <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;depends on how well we can &#8220;sell&#8221; the idea to funding
agencies and our superiors, letter-writing is one area where <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;users can affect such decisions by supporting the
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;project.
                                                                                 

                                                                                 
</p>
   <h2 class="likechapterHead"><a 
 id="x1-7000"></a>Copyright and Caveat Emptor!</h2> <a 
 id="dx1-7001"></a><a 
 id="Q1-1-15"></a>
<div class="center" 
>
<!--l. 191--><p class="noindent" >
</p><!--l. 192--><p class="noindent" >Copyright <span 
class="ptmr8c-">©</span>1991 &#8211; 2013&#x00A0;by Paul Wessel and Walter H. F. Smith</p></div>
<!--l. 197--><p class="noindent" >The Generic Mapping Tools (<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>) is free software; you can redistribute it and/or modify it under the terms of the
GNU General Public License as published by the Free Software Foundation. <br 
class="newline" />
</p><!--l. 201--><p class="indent" >   The <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
the file <span class="underline">LICENSE.TXT</span> in the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;directory or the <a 
href="http://www.gnu.org/copyleft/gpl.html" >GNU General Public License</a> for more details.
<br 
class="newline" />
</p><!--l. 208--><p class="indent" >   Permission is granted to make and distribute verbatim copies of this manual provided that the copyright notice
and these paragraphs are preserved on all copies. The <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;package may be included in a bundled distribution of
software for which a reasonable fee may be charged. <br 
class="newline" />
</p><!--l. 213--><p class="indent" >   The Generic Mapping Tools (<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>) does not come with any warranties, nor is it guaranteed to work on your
computer. The user assumes full responsibility for the use of this system. In particular, the School of Ocean and
Earth Science and Technology, the National Oceanic and Atmospheric Administration, the National Science
Foundation, Paul Wessel, Walter H. F. Smith, or any other individuals involved in the design and maintenance of
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;are NOT responsible for any damage that may follow from correct <span 
class="ptmri8t-">or </span>incorrect use of these
programs.
                                                                                 

                                                                                 
</p>
   <h2 class="likechapterHead"><a 
 id="x1-8000"></a>Typographic conventions</h2> <a 
 id="dx1-8001"></a><a 
 id="Q1-1-17"></a>
<!--l. 228--><p class="noindent" >In reading this documentation, the following provides a summary of the typographic conventions used in this
document.
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-8003x1">User input and <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;or <span 
class="ptmri8t-">UNIX</span>&#x00A0;commands are indicated by using the <span 
class="pcrr8t-">typewriter </span>type style, e.g.,
   <span 
class="pcrr8t-">chmod +x job03.sh</span>.
   </li>
   <li 
  class="enumerate" id="x1-8005x2">The names of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;programs are indicated by the <span 
class="phvb8t-">bold, sans serif </span>type style, e.g., we plot text with
   <span 
class="phvb8t-">pstext</span>.
   </li>
   <li 
  class="enumerate" id="x1-8007x3">The names of other programs are indicated by the <span 
class="ptmbo8t-">bold, slanted </span>type style, e.g., <span 
class="ptmbo8t-">grep</span>.
   </li>
   <li 
  class="enumerate" id="x1-8009x4">File names are indicated by the <span class="underline">underline</span> type style, e.g., <span class="underline">gmt.h</span>.
   </li></ol>
                                                                                 

                                                                                 
                                                                                 

                                                                                 
                                                                                 

                                                                                 
   <h2 class="chapterHead"><span class="titlemark">Chapter&#x00A0;1</span><br /><a 
 id="x1-90001"></a>Preface</h2>
<!--l. 13--><p class="noindent" >While <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;has served the map-making and data processing needs of scientists since
1988<span class="footnote-mark"><a 
href="#fn1x1" id="fn1x1-bk"><sup class="textsuperscript">1</sup></a></span><a 
 id="x1-9001f1"></a>,
the current global use was heralded by the first official release in <span 
class="ptmri8t-">EOS Trans. AGU </span>in the fall of 1991. Since
then, <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;has grown to become a standard tool for many users, particularly in the Earth and Ocean
Sciences. Development has at times been rapid, and numerous releases have seen the light of day since
the early versions. For a detailed history of the changes from release to release, see file <span class="underline">ChangeLog</span>
in the main <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;directory. For a nightly snapshot of ongoing activity, see the online <a 
href="http://gmt.soest.hawaii.edu/gmt/gmt_changelog.php" >ChangeLog</a>
page.
</p><!--l. 22--><p class="indent" >   The success of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;is to a large degree due to the input of the user community. In fact, most of the
capabilities and options in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;programs originated as user requests. We would like to hear from you should you
have any suggestions for future enhancements and modification. Please send your comments to <a 
href="mailto:gmt-help@lists.hawaii.edu" >the GMT help
list</a>.
</p>
   <h3 class="sectionHead"><span class="titlemark">1.1    </span> <a 
 id="x1-100001.1"></a>What is new in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.x?</h3>
<!--l. 30--><p class="noindent" ><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.x will continue to see corrections of legacy bugs and problems, including Windows DLL silliness. The
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.x releases are mostly bug-fixes as all development is now focussed on <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;5; this new series,
released Nov-5, 2013, is distinguished by being completely restructured so as to allow developers
to call high-level <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;processes from a variety of programming environments. Below is a brief
history of the development milestones in the 4.x series. We expect to maintain the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4 series for
some time until <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;5 has reached a stable state. As of July 27, 2011, GMT&#x00A0;4 is under subversion
control.
</p><!--l. 37--><p class="noindent" ><span 
class="ptmb8t-x-x-120">]</span>
</p>
   <h4 class="subsectionHead"><span class="titlemark">1.1.1    </span> <a 
 id="x1-110001.1.1"></a>Overview of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.5.11 [Nov-5, 2013]</h4>
<!--l. 39--><p class="noindent" >Note: Due to a few issues we had an aborted update to 4.5.10 that was briefly released, then retracted; hence the
4.5.11-numbered version. Another service release with bug-fixes only. The only non-bug change was adding the
latest dimensions for recent Sandwell/Smith img files that go up to 85<span 
class="ptmr8c-">°</span>, and adding definition file dat.def for mgd77
ASCII DAT format to the x2sys supplement. We also had to modify the <span 
class="pcrb8t-">&#8211;S </span>option in <a 
href="../html/man/pscontour.c.html" ><span 
class="phvb8t-">pscontour.c</span></a><a 
 id="dx1-11001"></a> to
address a bug. This <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;release also coincides with the latest GSHHG release version 2.2.4 which
adds a few missing lakes to California and fixes an error in the Baffin Island coastline and removes
skinny spikes from numerous features. Below is the list of bug corrections for individual library files or
programs:
   </p><dl class="description"><dt class="description">
<a 
href="../html/man/gmt_customio.c.html" ><span 
class="phvb8t-">gmt_customio.c</span></a><a 
 id="dx1-11002"></a> </dt><dd 
class="description">: The magic recognition of native bit grids failed due to bad math. Wrote wrong number
   of bytes per record for odd-width Sun rasterfiles.
   </dd><dt class="description">
<a 
href="../html/man/gmt_grdio.c.html" ><span 
class="phvb8t-">gmt_grdio.c</span></a><a 
 id="dx1-11003"></a> </dt><dd 
class="description">: Would restrict grid region in <a 
href="../html/man/grdimage.c.html" ><span 
class="phvb8t-">grdimage.c</span></a><a 
 id="dx1-11004"></a> despite doing a global map with azimuthal
   projections.
   </dd><dt class="description">
<a 
href="../html/man/gmt_io.c.html" ><span 
class="phvb8t-">gmt_io.c</span></a><a 
 id="dx1-11005"></a> </dt><dd 
class="description">:  Formats  for  degree  annotations  using  colons  should  never  end  in  a  trailing  colon.  Could
   not properly decode yyodd (no delimiter) time coordinates like 12Oct24. The <span 
class="pcrr8t-">GMT_import_table</span>
   function checked for greenwich before assigning the input data.
   </dd><dt class="description">
<a 
href="../html/man/gmt_init.c.html" ><span 
class="phvb8t-">gmt_init.c</span></a><a 
 id="dx1-11006"></a> </dt><dd 
class="description">: Shifted JD origin by one day (24 Nov, instead of 25 Nov).
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/gmt_map.c.html" ><span 
class="phvb8t-">gmt_map.c</span></a><a 
 id="dx1-11007"></a> </dt><dd 
class="description">:  The  oblique  Mercator  would  get  the  pole  on  the  wrong  hemisphere.  When  <span 
class="pcrb8t-">-Jx </span>is
   used  with  longitudes  we  must  use  the  wesn  clipping  and  outside  functions,  not  the  Cartesian
   ones.  Fixed  clipping  problem  in  <span 
class="pcrr8t-">GMT_wesn_clip </span>for  regions  larger  than  180  but  less  than  360.
   <span 
class="pcrr8t-">GMT_grdproject_init </span>did not handle increments that had been specified as units, e.g., <span 
class="pcrb8t-">-D</span>30e.
   </dd><dt class="description">
<a 
href="../html/man/gmt_plot.c.html" ><span 
class="phvb8t-">gmt_plot.c</span></a><a 
 id="dx1-11008"></a> </dt><dd 
class="description">: Did not check for map-jumping in <span 
class="pcrr8t-">GMT_plot_rectangle </span>(psxy <span 
class="pcrb8t-">-SJ</span>).
   </dd><dt class="description">
<a 
href="../html/man/gmt_proj.c.html" ><span 
class="phvb8t-">gmt_proj.c</span></a><a 
 id="dx1-11009"></a> </dt><dd 
class="description">: Inverse <span 
class="pcrb8t-">-JR </span>blew up at origin; now added a check. Needed to allow for minor round-off
   when determining if a point is beyond the horizon for <span 
class="pcrb8t-">-JG </span>general perspective projection.
   </dd><dt class="description">
<a 
href="../html/man/blockmean.c.html" ><span 
class="phvb8t-">blockmean.c</span></a><a 
 id="dx1-11010"></a> </dt><dd 
class="description">: Did not use data near west column nodes that were off by 360 for gridline registered
   grids.
   </dd><dt class="description">
<a 
href="../html/man/blockmedian.c.html" ><span 
class="phvb8t-">blockmedian.c</span></a><a 
 id="dx1-11011"></a> </dt><dd 
class="description">: Did not use data near west column nodes that were off by 360 for gridline registered
   grids.
   </dd><dt class="description">
<a 
href="../html/man/blockmode.c.html" ><span 
class="phvb8t-">blockmode.c</span></a><a 
 id="dx1-11012"></a> </dt><dd 
class="description">: Did not use data near west column nodes that were off by 360 for gridline registered
   grids.
   </dd><dt class="description">
<a 
href="../html/man/filter1d.c.html" ><span 
class="phvb8t-">filter1d.c</span></a><a 
 id="dx1-11013"></a> </dt><dd 
class="description">: Susceptible to round-off when determining t of first and last output point when <span 
class="pcrb8t-">-T </span>was not
   given.
   </dd><dt class="description">
<a 
href="../html/man/gmtmath.c.html" ><span 
class="phvb8t-">gmtmath.c</span></a><a 
 id="dx1-11014"></a> </dt><dd 
class="description">: The MIN and MAX operators ignored NaNs, but result should be NaN if one of the operands
   equal NaN. Wrong index order in rarely used SVD part of LSQFIT.
   </dd><dt class="description">
<a 
href="../html/man/gmtset.c.html" ><span 
class="phvb8t-">gmtset.c</span></a><a 
 id="dx1-11015"></a> </dt><dd 
class="description">: Did not write values to <span class="underline">.gmtdefaults4</span> if BASEMAP_TYPE was graph or inside.
   </dd><dt class="description">
<a 
href="../html/man/grdfft.c.html" ><span 
class="phvb8t-">grdfft.c</span></a><a 
 id="dx1-11016"></a> </dt><dd 
class="description">: Fix normalization for std.dev of power estimate in <span 
class="pcrb8t-">-E</span>.
   </dd><dt class="description">
<a 
href="../html/man/grdimage.c.html" ><span 
class="phvb8t-">grdimage.c</span></a><a 
 id="dx1-11017"></a> </dt><dd 
class="description">:  Fix  bug  represented  by  the  <span class="underline">globalgrid.sh</span>  test  script  for  mix  of  <span 
class="pcrb8t-">-R </span>selections  and
   pixel/gridline choices.
   </dd><dt class="description">
<a 
href="../html/man/grdblend.c.html" ><span 
class="phvb8t-">grdblend.c</span></a><a 
 id="dx1-11018"></a> </dt><dd 
class="description">:    Despite    geographic    grids    there    were    no    check    to    shift    a    grid    region    by
   <!--l. 79--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-bin">±</mo><mn>3</mn><mn>6</mn><mn>0</mn></math>
   to match specified output region.
   </dd><dt class="description">
<a 
href="../html/man/grdlandmask.c.html" ><span 
class="phvb8t-">grdlandmask.c</span></a><a 
 id="dx1-11019"></a> </dt><dd 
class="description">: Did not set output as geographic after using <span 
class="pcrb8t-">-Jx</span>1d.
   </dd><dt class="description">
<a 
href="../html/man/grdmath.c.html" ><span 
class="phvb8t-">grdmath.c</span></a><a 
 id="dx1-11020"></a> </dt><dd 
class="description">: The MIN and MAX operators ignored NaNs, but result should be NaN if one of the operands
   equal NaN. The XOR operator was incorrect, it is now clarified to be 0 if A == NaN and B == NaN,
   NaN if B == NaN, else A. Fix bug in CURV operator.
   </dd><dt class="description">
<a 
href="../html/man/grdsample.c.html" ><span 
class="phvb8t-">grdsample.c</span></a><a 
 id="dx1-11021"></a> </dt><dd 
class="description">: When given a <span 
class="pcrb8t-">-Rg </span>grid and giving <span 
class="pcrb8t-">-Rg </span>on command line, the output region became
   -360/0 instead of the expected 0/360.
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/grdtrend.c.html" ><span 
class="phvb8t-">grdtrend.c</span></a><a 
 id="dx1-11022"></a> </dt><dd 
class="description">: We messed up an interior parameter array in the 2009-10-14 fix in 4.5.2. This affected robust
   fits and grids with NaNs.
   </dd><dt class="description">
<a 
href="../html/man/grdvector.c.html" ><span 
class="phvb8t-">grdvector.c</span></a><a 
 id="dx1-11023"></a> </dt><dd 
class="description">: Did not reject vectors on far side of orthographic maps. Enforce that <span 
class="pcrb8t-">-I</span>dx/dy must be
   multiples of grid dx/dy and abort if they are not. Before we would crash, hang, etc.
   </dd><dt class="description">
<a 
href="../html/man/greenspline.c.html" ><span 
class="phvb8t-">greenspline.c</span></a><a 
 id="dx1-11024"></a> </dt><dd 
class="description">:          The          normalization          for          2-D          with          geographic          data
   suffered         from         not         checking         that         longitudes         may         be         off         by
   <!--l. 92--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-bin">±</mo><mn>3</mn><mn>6</mn><mn>0</mn></math>.
   Needed <span 
class="pcrb8t-">-f </span>in order to select <span 
class="pcrb8t-">-f0T </span>input, plus it made assumptions about getting lon,lat despite not
   being selected. When <span 
class="pcrb8t-">-T </span>was used the number of z-layers (1) was not initialized.
   </dd><dt class="description">
<a 
href="../html/man/nearneighbor.c.html" ><span 
class="phvb8t-">nearneighbor.c</span></a><a 
 id="dx1-11025"></a> </dt><dd 
class="description">: Clarify how <span 
class="pcrb8t-">-N </span>works, what the defaults are, and let the minimum number of sectors
   default to 50% of sectors instead of a hard-wired 2.
   </dd><dt class="description">
<a 
href="../html/man/pscontour.c.html" ><span 
class="phvb8t-">pscontour.c</span></a><a 
 id="dx1-11026"></a> </dt><dd 
class="description">: Added <span 
class="pcrb8t-">-St </span>to skip triangles whose 3 vertices are outside domain; in contrast, <span 
class="pcrb8t-">-S </span>or <span 
class="pcrb8t-">-Sp</span>
   skips all points outside domain before triangularization.
   </dd><dt class="description">
<a 
href="../html/man/psmask.c.html" ><span 
class="phvb8t-">psmask.c</span></a><a 
 id="dx1-11027"></a> </dt><dd 
class="description">: Multiple, ancient bugs fixed: properly mark used edges, fix memory allocations, not report
   clipping if <span 
class="pcrb8t-">-D </span>is used, starting point for a contour was not offset by 1/2 pixel. Was off by one in the
   grid index calculation.
   </dd><dt class="description">
<a 
href="../html/man/pstext.c.html" ><span 
class="phvb8t-">pstext.c</span></a><a 
 id="dx1-11028"></a> </dt><dd 
class="description">: The line in <span 
class="pcrb8t-">-D</span>...v was plotted on top rather than beneath box.
   </dd><dt class="description">
<a 
href="../html/man/xyz2grd.c.html" ><span 
class="phvb8t-">xyz2grd.c</span></a><a 
 id="dx1-11029"></a> </dt><dd 
class="description">: For <span 
class="pcrb8t-">-E</span>, must read data as double so can properly compare with the nodata_value read as
   double.
   </dd><dt class="description">
<a 
href="../html/man/meca/psvelo.cc.html" ><span 
class="phvb8t-">meca/psvelo.cc</span></a><a 
 id="dx1-11030"></a> </dt><dd 
class="description">: Called <span 
class="pcrr8t-">get_trans </span>at north pole and tried to find a point further north. Did not honor
   the <span 
class="pcrb8t-">-N </span>setting.
   </dd><dt class="description">
<a 
href="../html/man/mgd77/mgd77list.cc.html" ><span 
class="phvb8t-">mgd77/mgd77list.cc</span></a><a 
 id="dx1-11031"></a> </dt><dd 
class="description">: The azimuth written was back-azimuth, not forward. Picked id = time_column
   when set was 1 (custom), causing the first custom data column to be formatted as time (this is for the
   netCDF format files).
   </dd><dt class="description">
<a 
href="../html/man/sph/sphdistance.c.html" ><span 
class="phvb8t-">sph/sphdistance.c</span></a><a 
 id="dx1-11032"></a> </dt><dd 
class="description">: Make sure we visit replicated columns for gridline registered grids.</dd></dl>
<!--l. 113--><p class="noindent" ><span 
class="ptmb8t-x-x-120">]</span>
</p>
   <h4 class="subsectionHead"><span class="titlemark">1.1.2    </span> <a 
 id="x1-120001.1.2"></a>Overview of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.5.9 [Jan-1, 2013]</h4>
<!--l. 115--><p class="noindent" >Predominantly a bug-fix release, we also have made some changes to GSHHS. First, GSHHS is now called
GSHHG, the &#8220;Global Self-consistent Hierarchical High-resolution Geography&#8221;, since GSHHG contains both
shorelines as well as political boundaries and rivers. GSHHG, being required by both <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4 and 5, is now
released separately from <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>. Second, we have made some minor changes to a few islands that have shown to be
offset with respect to modern data (Tahiti, Moorea, and Mehetia in South Pacific and Agalega Islands in the Indian
                                                                                 

                                                                                 
Ocean). Third, we have removed the item known as &#8220;Sandy Island&#8221; in the Corel Sea since available satellite data
show no evidence of land in this area. Finally, we have purged 48 duplicates of very small islands
(mostly in the Red Sea, Persian Gulf, and the Cook-Austral archipelago) where inaccurate WDBII
versions and accurate WVS versions of the same features had survived our initial processing. This
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;release thus coincides with the latest GSHHG release version 2.2.2. We also fixed a typo in the
MJD date in the <span class="underline">gmtdefaults.txt</span> documentation and updated the CM4 coefficient files for the mgd77
supplement.
</p><!--l. 128--><p class="indent" >   Below is the list of bug corrections for individual programs:
   </p><dl class="description"><dt class="description">
<a 
href="../html/man/gmt_grdio.c.html" ><span 
class="phvb8t-">gmt_grdio.c</span></a><a 
 id="dx1-12001"></a> </dt><dd 
class="description">: For <span 
class="pcrb8t-">-R</span>...r the adjusted w/e/s/n for a grid could have excessive e/n values, leading to extra
   work and large intermediate grids.
   </dd><dt class="description">
<a 
href="../html/man/gmt_map.c.html" ><span 
class="phvb8t-">gmt_map.c</span></a><a 
 id="dx1-12002"></a> </dt><dd 
class="description">: With <span 
class="pcrb8t-">-R</span>...r and <span 
class="pcrb8t-">-JE</span>, <a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-12003"></a> could end up trying to paint a block that is outside the
   rectangular region yet whose projection completely contains the region. Clipping function could shift
   the w/e boundaries by an extra 360, thus finding nothing inside in some <a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-12004"></a> tiles.
   </dd><dt class="description">
<a 
href="../html/man/gmt_shore.c.html" ><span 
class="phvb8t-">gmt_shore.c</span></a><a 
 id="dx1-12005"></a> </dt><dd 
class="description">: Will now look for either &#8220;.nc&#8221; or &#8220;.cdf&#8221; GSHHG files; needed since GSHHG is now
   stand-alone. Also look in given <span 
class="ptmri8t-">dir </span>directory if compiled in via configure with-gshhg-dir=<span 
class="ptmri8t-">dir</span>.
   </dd><dt class="description">
<a 
href="../html/man/gmt_support.c.html" ><span 
class="phvb8t-">gmt_support.c</span></a><a 
 id="dx1-12006"></a> </dt><dd 
class="description">:  Improved  contour  orientation  function  for  <a 
href="../html/man/grdcontour.html" ><span 
class="phvb8t-">grdcontour</span></a><a 
 id="dx1-12007"></a>  <span 
class="pcrb8t-">-F</span>,  thanks  to  Thomas
   Hottendorff. Resolved case of crossings at perfect saddles.
   </dd><dt class="description">
<a 
href="../html/man/gmtmath.c.html" ><span 
class="phvb8t-">gmtmath.c</span></a><a 
 id="dx1-12008"></a> </dt><dd 
class="description">: Operators <span 
class="ptmb8t-">UPPER </span>and <span 
class="ptmb8t-">LOWER </span>did not assign output to rows that contain NaN.
   </dd><dt class="description">
<a 
href="../html/man/grdfilter.c.html" ><span 
class="phvb8t-">grdfilter.c</span></a><a 
 id="dx1-12009"></a> </dt><dd 
class="description">: For <span 
class="pcrb8t-">-D</span>4 we must set scale based on max |lat| in input grid.
   </dd><dt class="description">
<a 
href="../html/man/grdproject.c.html" ><span 
class="phvb8t-">grdproject.c</span></a><a 
 id="dx1-12010"></a> </dt><dd 
class="description">: The north coordinate would get reset to 2 when <span 
class="pcrb8t-">-C </span>was used, thus creating wrong map
   setup calls.
   </dd><dt class="description">
<a 
href="../html/man/project.c.html" ><span 
class="phvb8t-">project.c</span></a><a 
 id="dx1-12011"></a> </dt><dd 
class="description">: Had to backport changes implemented in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;5 to make the <span 
class="pcrb8t-">-C-T-G </span>combination work
   properly.
   </dd><dt class="description">
<a 
href="../html/man/pslib.c.html" ><span 
class="phvb8t-">pslib.c</span></a><a 
 id="dx1-12012"></a> </dt><dd 
class="description">:  Typo  in  array  index  in  European  letter  shorthands  for  German  double-s;  thanks  to  David
   Lachapelle.
   </dd><dt class="description">
<a 
href="../html/man/psxy.c.html" ><span 
class="phvb8t-">psxy.c</span></a><a 
 id="dx1-12013"></a> </dt><dd 
class="description">: Would hang for <span 
class="pcrb8t-">-Jx</span>...d due to wrong meter-per-degree variable.
   </dd><dt class="description">
<a 
href="../html/man/meca/psvelo.c.html" ><span 
class="phvb8t-">meca/psvelo.c</span></a><a 
 id="dx1-12014"></a> </dt><dd 
class="description">: Bug in parsing the <span 
class="pcrb8t-">-A </span>arguments.
   </dd><dt class="description">
<a 
href="../html/man/mgd77/mgd77.c.html" ><span 
class="phvb8t-">mgd77/mgd77.c</span></a><a 
 id="dx1-12015"></a> </dt><dd 
class="description">: Copied 4 rather than 2 characters into day field, causing overflow and SEGV.
   </dd><dt class="description">
<a 
href="../html/man/mgd77/mgd77magerf.c.html" ><span 
class="phvb8t-">mgd77/mgd77magerf.c</span></a><a 
 id="dx1-12016"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-A+t</span><span 
class="ptmri8t-">time </span>option did not parse ISO calendar items.
   </dd><dt class="description">
<a 
href="../html/man/misc/dimfilter.c.html" ><span 
class="phvb8t-">misc/dimfilter.c</span></a><a 
 id="dx1-12017"></a> </dt><dd 
class="description">: Initialized a max value to -DBL_MIN instead of -DBL_MAX.
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/spotter/backtracker.c.html" ><span 
class="phvb8t-">spotter/backtracker.c</span></a><a 
 id="dx1-12018"></a> </dt><dd 
class="description">:  First  and  last  point  in  a  path  was  not  converted  back  from  geocentric
   coordinates.
   </dd><dt class="description">
<a 
href="../html/man/spotter/libspotter.c.html" ><span 
class="phvb8t-">spotter/libspotter.c</span></a><a 
 id="dx1-12019"></a> </dt><dd 
class="description">: Did not check for time reversals among total reconstruction rotations.
   </dd><dt class="description">
<a 
href="../html/man/spotter/originator.c.html" ><span 
class="phvb8t-">spotter/originator.c</span></a><a 
 id="dx1-12020"></a> </dt><dd 
class="description">: Bad format statement would wreck the 5th output column when run in default
   mode.
   </dd><dt class="description">
<a 
href="../html/man/x2sys/x2sys_cross.c.html" ><span 
class="phvb8t-">x2sys/x2sys_cross.c</span></a><a 
 id="dx1-12021"></a> </dt><dd 
class="description">:  Did  not  convert  time  to  seconds  before  calculating  speed.  Disallowed  the
   distance gap check if time was present.</dd></dl>
<!--l. 159--><p class="noindent" ><span 
class="ptmb8t-x-x-120">]</span>
</p>
   <h4 class="subsectionHead"><span class="titlemark">1.1.3    </span> <a 
 id="x1-130001.1.3"></a>Overview of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.5.8 [Apr-1, 2012]</h4>
<!--l. 161--><p class="noindent" >Another bug-fix release, except for the mgd77 supplement where we now have added support for the new
MGD77T tab-delimited format introduced by NGDC, and for <a 
href="../html/man/ps2raster.c.html" ><span 
class="phvb8t-">ps2raster.c</span></a><a 
 id="dx1-13001"></a> under Windows where the
<span 
class="ptmbo8t-">Ghostscript</span><a 
 id="dx1-13002"></a> executable path is now fetched from the registry. In case that fails, we fall back to the old &#8220;get it
from the path&#8221; mechanism. One common bug shared by several programs was the failure to consult
FIELD_DELIMITER and/or D_FORMAT for ASCII output formatting. Below is the list of bug corrections for
individual programs:
   </p><dl class="description"><dt class="description">
<a 
href="../html/man/gmt_customio.c.html" ><span 
class="phvb8t-">gmt_customio.c</span></a><a 
 id="dx1-13003"></a> </dt><dd 
class="description">: Change nx and ny to &#8220;unsigned short int&#8221; type in surfer6 header. Note that original
   format specification by Golden Software clearly say they are &#8220;short int&#8221; but this change shouldn&#8217;t break
   anything and will allow dealing with larger grid sizes.
   </dd><dt class="description">
<a 
href="../html/man/gmt_grdio.c.html" ><span 
class="phvb8t-">gmt_grdio.c</span></a><a 
 id="dx1-13004"></a> </dt><dd 
class="description">: The opening of files for rec-by-rec grid reading had a mixed if-test that inadvertently could
   take us to the wrong else clause.
   </dd><dt class="description">
<a 
href="../html/man/gmt_map.c.html" ><span 
class="phvb8t-">gmt_map.c</span></a><a 
 id="dx1-13005"></a> </dt><dd 
class="description">: <span 
class="pcrb8t-">-R</span>0/360/... and <span 
class="pcrb8t-">-JM</span>lon/lat would not set global_map properly, giving NaNs as scale.
   </dd><dt class="description">
<a 
href="../html/man/gmt_plot.c.html" ><span 
class="phvb8t-">gmt_plot.c</span></a><a 
 id="dx1-13006"></a> </dt><dd 
class="description">:   Fixed   the   corner   caps   in   linear   basemap   frames.   In   function   <span 
class="pcrr8t-">GMT_xy_axis</span>,
   string[GMT_CALSTRING_LENGTH] was used to hold labels that could be longer, leading to memory
   corruption.
   </dd><dt class="description">
<a 
href="../html/man/gmt_proj.c.html" ><span 
class="phvb8t-">gmt_proj.c</span></a><a 
 id="dx1-13007"></a> </dt><dd 
class="description">: For <span 
class="pcrb8t-">-JE</span>, both projection center and its antipode gave x = y = 0. Now, antipode (which
   maps to a circle) results in NaN, NaN. Determine whether conic projections are north or south polar by
   looking at the selected region, not just the central point.
   </dd><dt class="description">
<a 
href="../html/man/gmt_support.c.html" ><span 
class="phvb8t-">gmt_support.c</span></a><a 
 id="dx1-13008"></a> </dt><dd 
class="description">:   Function   <span 
class="pcrr8t-">GMT_crossover </span>was   susceptible   to   longitude   wrapping.   Function
   <span 
class="pcrr8t-">GMT_getfill </span>got confused when a Windows path C:/etc was given as an pattern file (mixed up with
   :F and :B mechanism). In <span 
class="pcrr8t-">GMT_hold_contour_sub</span>, a variable called closed (which could be a
   flag 0-3) was used as a 0/1 variable. Added variable is_closed = 0|1. Fixed error in reading colors of
   patterns in <span 
class="pcrb8t-">-G </span>options. <span 
class="pcrr8t-">GMT_inonout_sphpol_count </span>did not properly handle line segments that
   were exactly vertical in all cases, leading to errors as to a point being inside or outside a spherical
   polygon.
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/grdcut.c.html" ><span 
class="phvb8t-">grdcut.c</span></a><a 
 id="dx1-13009"></a> </dt><dd 
class="description">: Now recognizes any region to be a global grid as long as nx*dx == 360. The <span 
class="pcrb8t-">-Z </span>option would
   give incorrect region for pixel grids; print warning if output grid equals input grid (i.e., no change).
   </dd><dt class="description">
<a 
href="../html/man/grdfilter.c.html" ><span 
class="phvb8t-">grdfilter.c</span></a><a 
 id="dx1-13010"></a> </dt><dd 
class="description">: Now recognizes any region to be a global grid as long as nx*dx == 360.
   </dd><dt class="description">
<a 
href="../html/man/grdimage.c.html" ><span 
class="phvb8t-">grdimage.c</span></a><a 
 id="dx1-13011"></a> </dt><dd 
class="description">: Now recognizes any region to be a global grid as long as nx*dx == 360.
   </dd><dt class="description">
<a 
href="../html/man/grdinfo.c.html" ><span 
class="phvb8t-">grdinfo.c</span></a><a 
 id="dx1-13012"></a> </dt><dd 
class="description">: Now recognizes any region to be a global grid as long as nx*dx == 360.
   </dd><dt class="description">
<a 
href="../html/man/grdlandmask.c.html" ><span 
class="phvb8t-">grdlandmask.c</span></a><a 
 id="dx1-13013"></a> </dt><dd 
class="description">: Now recognizes any <span 
class="pcrb8t-">-R </span>as a global grid as long as nx*dx == 360.
   </dd><dt class="description">
<a 
href="../html/man/grdview.c.html" ><span 
class="phvb8t-">grdview.c</span></a><a 
 id="dx1-13014"></a> </dt><dd 
class="description">: Contouring could suffer from the same round-off issues that affected <a 
href="../html/man/grdcontour.html" ><span 
class="phvb8t-">grdcontour</span></a><a 
 id="dx1-13015"></a> (and fixed
   back in 2004). Now the same fix is applied here. Also let <span 
class="pcrb8t-">-S </span>default to 0 as stated in man page; this
   matches the default in <a 
href="../html/man/grdcontour.html" ><span 
class="phvb8t-">grdcontour</span></a><a 
 id="dx1-13016"></a>. Also, when nodes are adjusted to avoid matching a contour value
   exactly (during contouring), the same adjustment must be made later when those nodes are used to
   determine how to stitch together polygons for fill.
   </dd><dt class="description">
<a 
href="../html/man/minmax.c.html" ><span 
class="phvb8t-">minmax.c</span></a><a 
 id="dx1-13017"></a> </dt><dd 
class="description">: Avoid infinite loop if a record has different number of fields than expected.
   </dd><dt class="description">
<a 
href="../html/man/nearneighbor.c.html" ><span 
class="phvb8t-">nearneighbor.c</span></a><a 
 id="dx1-13018"></a> </dt><dd 
class="description">: Now recognizes any region to be a global grid as long as nx*dx == 360.
   </dd><dt class="description">
<a 
href="../html/man/project.c.html" ><span 
class="phvb8t-">project.c</span></a><a 
 id="dx1-13019"></a> </dt><dd 
class="description">: For <span 
class="pcrb8t-">-G</span><span 
class="ptmri8t-">inc </span><span 
class="pcrb8t-">-bo </span>we failed to write any output.
   </dd><dt class="description">
<a 
href="../html/man/xyz2grd.c.html" ><span 
class="phvb8t-">xyz2grd.c</span></a><a 
 id="dx1-13020"></a> </dt><dd 
class="description">: On Windows it never actually opened the input data file, so a crash resulted down the road.
   Only require two input columns when using <span 
class="pcrb8t-">-An</span>.
   </dd><dt class="description">
<a 
href="../html/man/meca/pscoupe.c.html" ><span 
class="phvb8t-">meca/pscoupe.c</span></a><a 
 id="dx1-13021"></a> </dt><dd 
class="description">: Could not read from stdin because of the cross dll boundaries on Windows, must use
   GMT_stdin instead of stdin.
   </dd><dt class="description">
<a 
href="../html/man/meca/pspolar.c.html" ><span 
class="phvb8t-">meca/pspolar.c</span></a><a 
 id="dx1-13022"></a> </dt><dd 
class="description">: Could not read from stdin because of the cross dll boundaries on Windows, must use
   GMT_stdin instead of stdin.
   </dd><dt class="description">
<a 
href="../html/man/meca/psvelo.c.html" ><span 
class="phvb8t-">meca/psvelo.c</span></a><a 
 id="dx1-13023"></a> </dt><dd 
class="description">: Did not show <span 
class="pcrb8t-">-A </span>in the synopsis. Could not read from stdin because of the cross dll
   boundaries on Windows, must use GMT_stdin instead of stdin.
   </dd><dt class="description">
<a 
href="../html/man/mgd77/mgd77.c.html" ><span 
class="phvb8t-">mgd77/mgd77.c</span></a><a 
 id="dx1-13024"></a> </dt><dd 
class="description">: Fix memory allocation bug in <span 
class="pcrr8t-">MGD77_Read_Header_Sequence </span>where it was
   reading  MGD77_RECORD_LENGTH  records  into  a  shorter  MGD77_HEADER_LENGTH  longer
   variable.
   </dd><dt class="description">
<a 
href="../html/man/mgd77/mgd77list.c.html" ><span 
class="phvb8t-">mgd77/mgd77list.c</span></a><a 
 id="dx1-13025"></a> </dt><dd 
class="description">: Confused the meaning of the <span 
class="pcrb8t-">-F </span>shorthands mgd77 and all. Now handle all stored
   and derived quantities needed to reproduce original data files.
   </dd><dt class="description">
<a 
href="../html/man/mgd77/mgd77track.c.html" ><span 
class="phvb8t-">mgd77/mgd77track.c</span></a><a 
 id="dx1-13026"></a> </dt><dd 
class="description">: Did not set GMT&#8217;s time system to Unix before dealing with dates. Now done
   centrally by <span 
class="pcrr8t-">MGD77_Init</span>.
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/x2sys/x2sys_cross.c.html" ><span 
class="phvb8t-">x2sys/x2sys_cross.c</span></a><a 
 id="dx1-13027"></a> </dt><dd 
class="description">: A memset call used wrong size if 64-bit, thus not resetting some boolean values
   causing crossovers to be missed.</dd></dl>
<!--l. 226--><p class="noindent" ><span 
class="ptmb8t-x-x-120">]</span>
</p>
   <h4 class="subsectionHead"><span class="titlemark">1.1.4    </span> <a 
 id="x1-140001.1.4"></a>Overview of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.5.7 [Jul-15, 2011]</h4>
<!--l. 228--><p class="noindent" >This is another bug-fix release, including an update to GSHHS (now at 2.2.0) which fixes a truncation error for the
polygon areas (which only affected users of the gshhs supplement and not <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;itself). The supplement tool
<a 
href="../html/man/gshhs.html" ><span 
class="phvb8t-">gshhs</span></a><a 
 id="dx1-14001"></a> now has a few more options to allow better feature extraction for GSHHS users. Below is the list of bug
corrections:
   </p><dl class="description"><dt class="description">
<a 
href="../html/man/gmt_agc.c.html" ><span 
class="phvb8t-">gmt_agc.c</span></a><a 
 id="dx1-14002"></a> </dt><dd 
class="description">: Did not do proper indexing for complex data. Had wrong size for array floatvalue.
   </dd><dt class="description">
<a 
href="../html/man/gmt_grdio.c.html" ><span 
class="phvb8t-">gmt_grdio.c</span></a><a 
 id="dx1-14003"></a> </dt><dd 
class="description">: Failed to create proper old-style v3 netcdf file if selected for as output format in <a 
href="../html/man/grdblend.html" ><span 
class="phvb8t-">grdblend</span></a><a 
 id="dx1-14004"></a>.
   Did not account for the doubling of a grid array for complex data when scaling data after read. This
   made <a 
href="../html/man/grdfft.html" ><span 
class="phvb8t-">grdfft</span></a><a 
 id="dx1-14005"></a> give odd results when grids with a scale other than 1 was read. Bug was first introduced
   in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;3.0 in 1995, making it a bug with seniority!
   </dd><dt class="description">
<a 
href="../html/man/gmt_map.c.html" ><span 
class="phvb8t-">gmt_map.c</span></a><a 
 id="dx1-14006"></a> </dt><dd 
class="description">:  The  <span 
class="pcrr8t-">GMT_wesn_search </span>did  not  handle  periodic  longitudes  well,  now  replaced  with
   proper quadrant checking as in <a 
href="../html/man/minmax.html" ><span 
class="phvb8t-">minmax</span></a><a 
 id="dx1-14007"></a>. <span 
class="pcrr8t-">GMT_wesn_clip </span>needed to adjust longitudes to fit the
   given domain. Clip path for van Grinten was wrong for global maps.
   </dd><dt class="description">
<a 
href="../html/man/gmt_mgg_header2.c.html" ><span 
class="phvb8t-">gmt_mgg_header2.c</span></a><a 
 id="dx1-14008"></a> </dt><dd 
class="description">: Did not implement complex arrays at all.
   </dd><dt class="description">
<a 
href="../html/man/gmt_plot.c.html" ><span 
class="phvb8t-">gmt_plot.c</span></a><a 
 id="dx1-14009"></a> </dt><dd 
class="description">: Force arcs to be clockwise in <span 
class="pcrr8t-">GMT_pie </span>and <span 
class="pcrr8t-">GMT_matharc</span>.
   </dd><dt class="description">
<a 
href="../html/man/gmt_support.c.html" ><span 
class="phvb8t-">gmt_support.c</span></a><a 
 id="dx1-14010"></a> </dt><dd 
class="description">: Hardwired DEG_TO_KM with Earth&#8217;s mean radius meant wrong distance results for
   other planets. Now using the current ELLIPSOID values.
   </dd><dt class="description">
<a 
href="../html/man/pslib.c.html" ><span 
class="phvb8t-">pslib.c</span></a><a 
 id="dx1-14011"></a> </dt><dd 
class="description">: Did not restore to current font size after a sub- or super-script if a font size change had previously
   taken  place.  Also  did  not  recompute  sub-  or  super-script  sizes  after  a  font  size  change.  [Thanx  to
   Christian Sperber for noticing].
   </dd><dt class="description">
<a 
href="../html/man/grdcontour.c.html" ><span 
class="phvb8t-">grdcontour.c</span></a><a 
 id="dx1-14012"></a> </dt><dd 
class="description">: Could crash if <span 
class="pcrb8t-">-C -A </span>give no contours and we freed a non-allocated array. [Thanx to
   Walter Harms].
   </dd><dt class="description">
<a 
href="../html/man/grdblend.c.html" ><span 
class="phvb8t-">grdblend.c</span></a><a 
 id="dx1-14013"></a> </dt><dd 
class="description">: Now mentions which formats are supported and polices the process.
   </dd><dt class="description">
<a 
href="../html/man/grdedit.c.html" ><span 
class="phvb8t-">grdedit.c</span></a><a 
 id="dx1-14014"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-N </span>option did not consider replicate w/e points for gridline-registered grids.
   </dd><dt class="description">
<a 
href="../html/man/grdfilter.c.html" ><span 
class="phvb8t-">grdfilter.c</span></a><a 
 id="dx1-14015"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-Nr </span>option did not work as it skipped assigning the NaN. Convolution weights were
   y-transposed so gave wrong results at/near the poles for spherical filtering. Also, some nodes were
   duplicated in the convolution, resulting in inconsistent values at the S or N pole. Now gives consistent
   values at poles and along shared E/W cols.
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/grdimage.c.html" ><span 
class="phvb8t-">grdimage.c</span></a><a 
 id="dx1-14016"></a> </dt><dd 
class="description">: When image is grayscale and <span 
class="pcrb8t-">-Q </span>is used then image must be converted to 24-bit and we set
   NaN color to a non-gray value.
   </dd><dt class="description">
<a 
href="../html/man/grdlandmask.c.html" ><span 
class="phvb8t-">grdlandmask.c</span></a><a 
 id="dx1-14017"></a> </dt><dd 
class="description">: Did not correctly truncate nodes for GSHHS bins with no data.
   </dd><dt class="description">
<a 
href="../html/man/grdproject.c.html" ><span 
class="phvb8t-">grdproject.c</span></a><a 
 id="dx1-14018"></a> </dt><dd 
class="description">: Output header had wrong units when non-inch settings were in effect.
   </dd><dt class="description">
<a 
href="../html/man/grdview.c.html" ><span 
class="phvb8t-">grdview.c</span></a><a 
 id="dx1-14019"></a> </dt><dd 
class="description">:  Removed  <span 
class="pcrr8t-">grdview_init_setup </span>because  it  yields  unpredictable  results  and  prevents
   lineup of different 3D plots.
   </dd><dt class="description">
<a 
href="../html/man/mapproject.c.html" ><span 
class="phvb8t-">mapproject.c</span></a><a 
 id="dx1-14020"></a> </dt><dd 
class="description">: Kept treating x,y as lon,lat when <span 
class="pcrb8t-">-G</span>[lon/lat/]c (c for Cartesian) were given.
   </dd><dt class="description">
<a 
href="../html/man/nearneighbor.c.html" ><span 
class="phvb8t-">nearneighbor.c</span></a><a 
 id="dx1-14021"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-N</span>1 selection did not reset the minimum sector setting to 1. For global region in
   longitudes, cannot extend w/e limits as we do for Cartesian and region-limited areas.
   </dd><dt class="description">
<a 
href="../html/man/project.c.html" ><span 
class="phvb8t-">project.c</span></a><a 
 id="dx1-14022"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-G-T </span>combination failed to produce great circles.
   </dd><dt class="description">
<a 
href="../html/man/pscontour.c.html" ><span 
class="phvb8t-">pscontour.c</span></a><a 
 id="dx1-14023"></a> </dt><dd 
class="description">: Got wrong contour level when some segments along edges were skipped.
   </dd><dt class="description">
<a 
href="../html/man/pstext.c.html" ><span 
class="phvb8t-">pstext.c</span></a><a 
 id="dx1-14024"></a> </dt><dd 
class="description">: Option <span 
class="pcrb8t-">-L </span>was missing from the synopsis. The <span 
class="pcrb8t-">-A </span>option resets the text angle but also needed
   to reset justification.
   </dd><dt class="description">
<a 
href="../html/man/xyz2grd.c.html" ><span 
class="phvb8t-">xyz2grd.c</span></a><a 
 id="dx1-14025"></a> </dt><dd 
class="description">: Fixed bug when reading a file using <span 
class="pcrb8t-">-E </span>option on Windows.
   </dd><dt class="description">
<a 
href="../html/man/triangulate.c.html" ><span 
class="phvb8t-">triangulate.c</span></a><a 
 id="dx1-14026"></a> </dt><dd 
class="description">: Did not check that input file could be found before trying to compute stuff and crash
   [Thanks to Orion Poplawski].
   </dd><dt class="description">
<a 
href="../html/man/spotter/grdrotater.c.html" ><span 
class="phvb8t-">spotter/grdrotater.c</span></a><a 
 id="dx1-14027"></a> </dt><dd 
class="description">:                                  Ensure                                  that                                  output
   grid xmin/xmax honors the current OUTPUT_DEGREE_FORMAT range settings. Could end up with
   w=e=0 in some cases.</dd></dl>
<!--l. 283--><p class="noindent" ><span 
class="ptmb8t-x-x-120">]</span>
</p>
   <h4 class="subsectionHead"><span class="titlemark">1.1.5    </span> <a 
 id="x1-150001.1.5"></a>Overview of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.5.6 [Mar-1, 2011]</h4>
<!--l. 285--><p class="noindent" >This is another bug-fix release, including an update to GSHHS which fixes error is the Germany-Poland border and
a few &#8220;spiky&#8221; islands. Therefore, this version requires the new GSHHS 2.1.1 release. We also patched some errors
in the &#8220;jet&#8221; color table. Below is the list of bug corrections:
   </p><dl class="description"><dt class="description">
<a 
href="../html/man/gmt_init.c.html" ><span 
class="phvb8t-">gmt_init.c</span></a><a 
 id="dx1-15001"></a> </dt><dd 
class="description">: On Windows: Look for HOMEPATH after HOME for setting GMT_HOMEDIR. Processing
   of mathangle symbol (<span 
class="pcrb8t-">-Sm</span>[bfl]) confused the unit detector. The symbol-parsing for psxy and psxyz did
   not properly set the column types when no symbol size was given. This affected symbols that require
   angles (<span 
class="pcrb8t-">-Sw</span>, <span 
class="pcrb8t-">-SE</span>, <span 
class="pcrb8t-">-SJ</span>) when unit was SI. The <span 
class="pcrb8t-">-: </span>option messed up the column type arrays; should
   only swap x,y data columns, not type columns.
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/gmt_cdf.c.html" ><span 
class="phvb8t-">gmt_cdf.c</span></a><a 
 id="dx1-15002"></a> </dt><dd 
class="description">: Apply netcdf fix for open/fill; thanks to Sebastian Heimann.
   </dd><dt class="description">
<a 
href="../html/man/gmt_grdio.c.html" ><span 
class="phvb8t-">gmt_grdio.c</span></a><a 
 id="dx1-15003"></a> </dt><dd 
class="description">: Increase the size of the string array in <span 
class="pcrr8t-">GMT_grd_get_units </span>to avoid &#8220;Buffer overrun&#8221;
   that occurred with long description strings.
   </dd><dt class="description">
<a 
href="../html/man/gmt_io.c.html" ><span 
class="phvb8t-">gmt_io.c</span></a><a 
 id="dx1-15004"></a> </dt><dd 
class="description">: When ASCII mode, also need to save/restore any netcdf i/o settings.
   </dd><dt class="description">
<a 
href="../html/man/gmt_map.c.html" ><span 
class="phvb8t-">gmt_map.c</span></a><a 
 id="dx1-15005"></a> </dt><dd 
class="description">:  Fixed  bug  in  Haversine  equation  for  duplicate  point.  For  van  Grinten:  errors  in
   left/right-circle functions. We have a safety valve for preventing a painful slow search around the map
   perimeter. The search is appropriate for maps but not for mapproject results. The limit was for 200 inch
   wide maps == 14400p. A user ran pscoast with 14401p and was caught. Now check for 400 inch and
   also check current page size (PAPER_MEDIA). If map width vastly outsizes the paper size then it is
   probably a projection job.
   </dd><dt class="description">
<a 
href="../html/man/gmt_nc.c.html" ><span 
class="phvb8t-">gmt_nc.c</span></a><a 
 id="dx1-15006"></a> </dt><dd 
class="description">: Apply netcdf fix for open/fill; thanks to Sebastian Heimann.
   </dd><dt class="description">
<a 
href="../html/man/gmt_plot.c.html" ><span 
class="phvb8t-">gmt_plot.c</span></a><a 
 id="dx1-15007"></a> </dt><dd 
class="description">: A colored TICK_PEN would also color annotations. Tried to free an unallocated array in
   <span 
class="pcrr8t-">GMT_draw_custom_symbol</span>.
   </dd><dt class="description">
<a 
href="../html/man/gmt_support.c.html" ><span 
class="phvb8t-">gmt_support.c</span></a><a 
 id="dx1-15008"></a> </dt><dd 
class="description">: <span 
class="pcrr8t-">GMT_cspline </span>should initialize c[0] = c[n-1] = 0.0 in case it is called repeatedly
   [this is not the case in GMT]. When calculating how far to place an annotation from the tick mark we
   must check if a fancy frame width exceeds the tick length. <span 
class="pcrr8t-">GMT_inonout_sphpol_count </span>failed
   to detect crossings if a polygon had vertical line-segments with same longitude as the point we were
   testing.
   </dd><dt class="description">
<a 
href="../html/man/pslib.c.html" ><span 
class="phvb8t-">pslib.c</span></a><a 
 id="dx1-15009"></a> </dt><dd 
class="description">: Add check for incomplete escape sequences..
   </dd><dt class="description">
<a 
href="../html/man/gmtselect.c.html" ><span 
class="phvb8t-">gmtselect.c</span></a><a 
 id="dx1-15010"></a> </dt><dd 
class="description">: Due to resampling of parallels in <span 
class="pcrb8t-">-N</span>, some points exactly on a coast bin parallel could fail
   the test due to roundoff. Fixed by not resampling coastlines since it is a Cartesian test.
   </dd><dt class="description">
<a 
href="../html/man/grd2xyz.c.html" ><span 
class="phvb8t-">grd2xyz.c</span></a><a 
 id="dx1-15011"></a> </dt><dd 
class="description">: Extended <span 
class="pcrb8t-">-Ef </span>mode to write floats (patch by Pierre Cazenave).
   </dd><dt class="description">
<a 
href="../html/man/grdclip.c.html" ><span 
class="phvb8t-">grdclip.c</span></a><a 
 id="dx1-15012"></a> </dt><dd 
class="description">: Now complains if no <span 
class="pcrb8t-">-S </span>option was given.
   </dd><dt class="description">
<a 
href="../html/man/grdfilter.c.html" ><span 
class="phvb8t-">grdfilter.c</span></a><a 
 id="dx1-15013"></a> </dt><dd 
class="description">: Allow -D2 and -D3 to handle periodic and polar boundary conditions.
   </dd><dt class="description">
<a 
href="../html/man/grdlandmask.c.html" ><span 
class="phvb8t-">grdlandmask.c</span></a><a 
 id="dx1-15014"></a> </dt><dd 
class="description">: Same as entry for <a 
href="../html/man/gmtselect.c.html" ><span 
class="phvb8t-">gmtselect.c</span></a><a 
 id="dx1-15015"></a>.
   </dd><dt class="description">
<a 
href="../html/man/grdmask.c.html" ><span 
class="phvb8t-">grdmask.c</span></a><a 
 id="dx1-15016"></a> </dt><dd 
class="description">: Must skip &#8220;polygons&#8221; with less than 3 points. Also, the resampling distance for spherical
   data was wrong, now 0.1 degrees.
   </dd><dt class="description">
<a 
href="../html/man/grdproject.c.html" ><span 
class="phvb8t-">grdproject.c</span></a><a 
 id="dx1-15017"></a> </dt><dd 
class="description">: Not providing <span 
class="pcrb8t-">-R </span>was not working anymore. Test if hemisphere sign is provided when
   doing <span 
class="pcrb8t-">-Ju </span>and no <span 
class="pcrb8t-">-R</span>. Now assign proper x/y units.
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/grdtrack.c.html" ><span 
class="phvb8t-">grdtrack.c</span></a><a 
 id="dx1-15018"></a> </dt><dd 
class="description">: Message about <span 
class="pcrb8t-">-L </span>being obsolete should only come when no modifier is given; else it is
   valid for BC setting.
   </dd><dt class="description">
<a 
href="../html/man/ps2raster.c.html" ><span 
class="phvb8t-">ps2raster.c</span></a><a 
 id="dx1-15019"></a> </dt><dd 
class="description">: Bug fix after last <span 
class="pcrb8t-">-F </span>option update. Must pass the optional <span 
class="pcrb8t-">-C </span>args when calculating BB.
   Added <span 
class="pcrb8t-">-dSAFER </span>as well, + fix <span 
class="pcrb8t-">-F </span>option [F. Wobbe]. For some reason <span 
class="pcrb8t-">-W </span>was not forcing <span 
class="pcrb8t-">-A</span>. Now it
   does it again.
   </dd><dt class="description">
<a 
href="../html/man/pscontour.c.html" ><span 
class="phvb8t-">pscontour.c</span></a><a 
 id="dx1-15020"></a> </dt><dd 
class="description">: Did not find some contours following triangle edges.
   </dd><dt class="description">
<a 
href="../html/man/pslegend.c.html" ><span 
class="phvb8t-">pslegend.c</span></a><a 
 id="dx1-15021"></a> </dt><dd 
class="description">: Need to keep the original <span 
class="pcrb8t-">-R-J </span>around for proper calls.
   </dd><dt class="description">
<a 
href="../html/man/psscale.c.html" ><span 
class="phvb8t-">psscale.c</span></a><a 
 id="dx1-15022"></a> </dt><dd 
class="description">: Now patterns have constant orientation regardless of using horizontal or vertical bar.
   </dd><dt class="description">
<a 
href="../html/man/nearneighbor.c.html" ><span 
class="phvb8t-">nearneighbor.c</span></a><a 
 id="dx1-15023"></a> </dt><dd 
class="description">: Changed default to a more reasonable <span 
class="pcrb8t-">-N</span>4/2.
   </dd><dt class="description">
<a 
href="../html/man/splitxyz.c.html" ><span 
class="phvb8t-">splitxyz.c</span></a><a 
 id="dx1-15024"></a> </dt><dd 
class="description">: Did not list <span 
class="pcrb8t-">-Q </span>in the synopsis.
   </dd><dt class="description">
<a 
href="../html/man/surface.c.html" ><span 
class="phvb8t-">surface.c</span></a><a 
 id="dx1-15025"></a> </dt><dd 
class="description">: Bug if using seconds (c) in search radius (got minutes).
   </dd><dt class="description">
<a 
href="../html/man/triangulate.c.html" ><span 
class="phvb8t-">triangulate.c</span></a><a 
 id="dx1-15026"></a> </dt><dd 
class="description">: Did not use projected coordinates when <span 
class="pcrb8t-">-R-J </span>was given.
   </dd><dt class="description">
<a 
href="../html/man/xyz2grd.c.html" ><span 
class="phvb8t-">xyz2grd.c</span></a><a 
 id="dx1-15027"></a> </dt><dd 
class="description">: Do not tolerate NaNs in x,y and give error (e.g., if junk is given). Failed if <span 
class="pcrb8t-">-E</span>value was
   given and the ESRI grid already had a nodata-value line. Now will process this line, if present. The
   value given on the command line will override any setting found in the file. Also made string-checks
   case-insensitive.
   </dd><dt class="description">
<a 
href="../html/man/meca/utilmeca.c.html" ><span 
class="phvb8t-">meca/utilmeca.c</span></a><a 
 id="dx1-15028"></a> </dt><dd 
class="description">:  Patch  to  fix  incorrect  plotting  of  moment  tensors  with  big  isotropic  components.
   Thanks to Jeremy Pesicek. Fix bug affecting the plot of P and T axis.
   </dd><dt class="description">
<a 
href="../html/man/mex/grdwrite.c.html" ><span 
class="phvb8t-">mex/grdwrite.c</span></a><a 
 id="dx1-15029"></a> </dt><dd 
class="description">: Round-off could lead to false detection of a non-equally spaced grid.
   </dd><dt class="description">
<a 
href="../html/man/misc/gmt2kml.c.html" ><span 
class="phvb8t-">misc/gmt2kml.c</span></a><a 
 id="dx1-15030"></a> </dt><dd 
class="description">: Options <span 
class="pcrb8t-">-N+ </span>and <span 
class="pcrb8t-">-D </span>would crash under Windows (usual DLL hell).
   </dd><dt class="description">
<a 
href="../html/man/spotter/backtracker.c.html" ><span 
class="phvb8t-">spotter/backtracker.c</span></a><a 
 id="dx1-15031"></a> </dt><dd 
class="description">: For <span 
class="pcrb8t-">-W</span>, now report full-length major/minor axes and not SEMI-axes (docs said
   major/minor but code did semi.)
   </dd><dt class="description">
<a 
href="../html/man/spotter/grdrotater.c.html" ><span 
class="phvb8t-">spotter/grdrotater.c</span></a><a 
 id="dx1-15032"></a> </dt><dd 
class="description">: Did not handle the rotation of an entire global grid since the polygon outline
   interfered with the domain.
   </dd><dt class="description">
<a 
href="../html/man/spotter/rotconverter.c.html" ><span 
class="phvb8t-">spotter/rotconverter.c</span></a><a 
 id="dx1-15033"></a> </dt><dd 
class="description">: Forgot to skip args when <span 
class="pcrb8t-">-N </span>or <span 
class="pcrb8t-">-S </span>was used.
   </dd><dt class="description">
<a 
href="../html/man/x2sys/x2sys.c.html" ><span 
class="phvb8t-">x2sys/x2sys.c</span></a><a 
 id="dx1-15034"></a> </dt><dd 
class="description">: Minor bug in x2sys binary reading of floats.
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/x2sys/x2sys_datalist.c.html" ><span 
class="phvb8t-">x2sys/x2sys_datalist.c</span></a><a 
 id="dx1-15035"></a> </dt><dd 
class="description">: When geographic data and <span 
class="pcrb8t-">-R </span>it failed to consider periodic longitudes.
   </dd><dt class="description">
<a 
href="../html/man/x2sys/x2sys_get.c.html" ><span 
class="phvb8t-">x2sys/x2sys_get.c</span></a><a 
 id="dx1-15036"></a> </dt><dd 
class="description">:     The     <span 
class="pcrb8t-">-N  </span>option     did     not     work     properly,     and     the     reported
   Y<!--l. 363--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>N
   flags reflected the entire track on not just the portion inside the region. Man page updated to clarify
   what is returned.
   </dd><dt class="description">
<a 
href="../html/man/x2sys/x2sys_init.c.html" ><span 
class="phvb8t-">x2sys/x2sys_init.c</span></a><a 
 id="dx1-15037"></a> </dt><dd 
class="description">: Did not write both of <span 
class="pcrb8t-">-Nd-Ns </span>to the tag file. Crashed if <span 
class="pcrb8t-">-D </span>was not given [should
   imply -DTAG].</dd></dl>
<!--l. 370--><p class="noindent" ><span 
class="ptmb8t-x-x-120">]</span>
</p>
   <h4 class="subsectionHead"><span class="titlemark">1.1.6    </span> <a 
 id="x1-160001.1.6"></a>Overview of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.5.5 [Nov-1, 2010]</h4>
<!--l. 372--><p class="noindent" >This is again mostly a bug-fix release, and coincides with the availability of
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;5.0.0<!--l. 372--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>&#x03B1;</mi></math>.
Due to a few issues we had an aborted update to 4.5.4 that was never announced; hence the 4.5.5-numbered
version. A few minor improvements have been added:
</p><!--l. 376--><p class="indent" >
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-16002x1">The <a 
href="../html/man/spotter.html" ><span 
class="phvb8t-">spotter</span></a><a 
 id="dx1-16003"></a> supplement now converts geodetic latitudes to geocentric before doing spherical rotations
   and recovers geodetic coordinates for output (this new behavior can be bypassed by setting ELLIPSOID
   to Sphere). Thanks to L. M. Matias for pointing this out.
   </li>
   <li 
  class="enumerate" id="x1-16005x2">We have added time-axes support for the Hawaiian language (Thanks to K&#x0101;wika Trang).</li></ol>
<!--l. 382--><p class="noindent" >Here is the list of bug corrections:
   </p><dl class="description"><dt class="description">
<a 
href="../html/man/configure.html" ><span 
class="phvb8t-">configure</span></a><a 
 id="dx1-16006"></a> </dt><dd 
class="description">: Now sets correct mex extensions for 64-bit operating systems.
   </dd><dt class="description">
<a 
href="../html/man/gmt_init.c.html" ><span 
class="phvb8t-">gmt_init.c</span></a><a 
 id="dx1-16007"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-B </span>labels would not tolerate use of the text escape sequence @: (for changing font size).
   </dd><dt class="description">
<a 
href="../html/man/gmt_map.c.html" ><span 
class="phvb8t-">gmt_map.c</span></a><a 
 id="dx1-16008"></a> </dt><dd 
class="description">: Did not check if nodes were beyond the horizon in <span 
class="pcrr8t-">GMT_grd_project</span>. Also did not
   initialize output grid to NaNs before filling.
   </dd><dt class="description">
<a 
href="../html/man/gmt_plot.c.html" ><span 
class="phvb8t-">gmt_plot.c</span></a><a 
 id="dx1-16009"></a> </dt><dd 
class="description">: Bug in fault symbol <a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-16010"></a> <span 
class="pcrb8t-">-Sfrc </span>fixed (thanks to J. Robert). Also, <span 
class="pcrr8t-">GMT_map_latline</span>
   and <span 
class="pcrr8t-">GMT_map_lonline </span>functions tried to draw two-point lines when in fact no points were defined.
   </dd><dt class="description">
<a 
href="../html/man/gmtdefaults.c.html" ><span 
class="phvb8t-">gmtdefaults.c</span></a><a 
 id="dx1-16011"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-D </span>options would crash under Windows.
   </dd><dt class="description">
<a 
href="../html/man/grdmask.c.html" ><span 
class="phvb8t-">grdmask.c</span></a><a 
 id="dx1-16012"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-Ap</span><!--l. 392--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">m</span>
   options were ignored since the <span 
class="ptmri8t-">mode </span>was not checked.
   </dd><dt class="description">
<a 
href="../html/man/grdpaste.c.html" ><span 
class="phvb8t-">grdpaste.c</span></a><a 
 id="dx1-16013"></a> </dt><dd 
class="description">: Lacked <span 
class="pcrb8t-">-fg </span>so could not paste 352/360 and 0/8 in longitudes.
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/grdtrack.c.html" ><span 
class="phvb8t-">grdtrack.c</span></a><a 
 id="dx1-16014"></a> </dt><dd 
class="description">: Did not ensure that given <span 
class="pcrb8t-">-R </span>was adjusted to fit grid spacing.
   </dd><dt class="description">
<a 
href="../html/man/mapproject.c.html" ><span 
class="phvb8t-">mapproject.c</span></a><a 
 id="dx1-16015"></a> </dt><dd 
class="description">: Did not show/explain the option of appending <span 
class="ptmb8t-">+ </span>to <span 
class="pcrb8t-">-L</span>. Corrected synopsis, usage, and
   man page. Did not reset azimuth to NaN at start of new segment.
   </dd><dt class="description">
<a 
href="../html/man/minmax.c.html" ><span 
class="phvb8t-">minmax.c</span></a><a 
 id="dx1-16016"></a> </dt><dd 
class="description">: With <span 
class="pcrb8t-">-I</span>, could end up returning <span 
class="pcrb8t-">-R</span>355/0/... since 360 became 0.
   </dd><dt class="description">
<a 
href="../html/man/nearneighbor.c.html" ><span 
class="phvb8t-">nearneighbor.c</span></a><a 
 id="dx1-16017"></a> </dt><dd 
class="description">: Did not check if <span 
class="pcrb8t-">-S </span>had not been set.
   </dd><dt class="description">
<a 
href="../html/man/psbasemap.c.html" ><span 
class="phvb8t-">psbasemap.c</span></a><a 
 id="dx1-16018"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-L </span>option had trouble parsing if there were + signs within the label string.
   </dd><dt class="description">
<a 
href="../html/man/pscoast.c.html" ><span 
class="phvb8t-">pscoast.c</span></a><a 
 id="dx1-16019"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-L </span>option had trouble parsing if there were + signs within the label string.
   </dd><dt class="description">
<a 
href="../html/man/ps2raster.c.html" ><span 
class="phvb8t-">ps2raster.c</span></a><a 
 id="dx1-16020"></a> </dt><dd 
class="description">: Made tolerant of <!--l. 403--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-bin">\</mo></math>r-only
   line-endings which caused trouble before. The <span 
class="pcrb8t-">-A- </span>option did not reset <span 
class="pcrb8t-">-A </span>for <span 
class="pcrb8t-">-W</span>.
   </dd><dt class="description">
<a 
href="../html/man/psimage.c.html" ><span 
class="phvb8t-">psimage.c</span></a><a 
 id="dx1-16021"></a> </dt><dd 
class="description">: The justify text variable must be 3-char longs to hold trailing 0. This caused SEGV on some
   systems.
   </dd><dt class="description">
<a 
href="../html/man/psmask.c.html" ><span 
class="phvb8t-">psmask.c</span></a><a 
 id="dx1-16022"></a> </dt><dd 
class="description">: Did not warn if clipping levels were not restored in last overlay.
   </dd><dt class="description">
<a 
href="../html/man/pstext.c.html" ><span 
class="phvb8t-">pstext.c</span></a><a 
 id="dx1-16023"></a> </dt><dd 
class="description">: Added missing description of <span 
class="pcrb8t-">-A </span>option.
   </dd><dt class="description">
<a 
href="../html/man/psxy[z#." id="c" ><span 
class="ptmb8t-">.html]</span><span 
class="phvb8t-">psxy[z].c</span></a><a 
 id="dx1-16024"></a> </dt><dd 
class="description">:         Units         given         in         <span 
class="pcrb8t-">-S    </span>without         sizes         (e.g.,         <span 
class="pcrb8t-">-Sci</span>)
   would          be          ignored          and          overridden          by          <span 
class="ptmb8t-">MEASURE_UNIT</span>.          The
   <span 
class="pcrb8t-">-Ap</span><!--l. 410--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">m</span>
   options were ignored since the <span 
class="ptmri8t-">mode </span>was not checked.
   </dd><dt class="description">
<a 
href="../html/man/mgd77/mgd77manage.c.html" ><span 
class="phvb8t-">mgd77/mgd77manage.c</span></a><a 
 id="dx1-16025"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-F </span>option had no break statement to prevent fall-through.
   </dd><dt class="description">
<a 
href="../html/man/mgd77/mgd77track.c.html" ><span 
class="phvb8t-">mgd77/mgd77track.c</span></a><a 
 id="dx1-16026"></a> </dt><dd 
class="description">: Had inactive code to write segment header to output.
   </dd><dt class="description">
<a 
href="../html/man/mgd77/mgd77list.c.html" ><span 
class="phvb8t-">mgd77/mgd77list.c</span></a><a 
 id="dx1-16027"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-G </span>option was not listed in synopsis or usage, only in the man pages. Also
   <span 
class="pcrb8t-">-F</span>all+ and <span 
class="pcrb8t-">-F</span>mgd77+ did not append the auxiliary columns properly.
   </dd><dt class="description">
<a 
href="../html/man/mgd77/mgd77magref.c.html" ><span 
class="phvb8t-">mgd77/mgd77magref.c</span></a><a 
 id="dx1-16028"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-D </span>option failed on numeric arguments.
   </dd><dt class="description">
<a 
href="../html/man/misc/gmtstitch.c.html" ><span 
class="phvb8t-">misc/gmtstitch.c</span></a><a 
 id="dx1-16029"></a> </dt><dd 
class="description">: Could crash if <span 
class="pcrb8t-">-C </span>was used.
   </dd><dt class="description">
<a 
href="../html/man/misc/gmt2kml.c.html" ><span 
class="phvb8t-">misc/gmt2kml.c</span></a><a 
 id="dx1-16030"></a> </dt><dd 
class="description">:  Did  not  parse  <span 
class="pcrb8t-">-D</span>&#8220;description&#8221;  for  points.  Only  append  running  number  when  a
   segment has more than one point, else just use segment label.
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/spotter/rotconverter.c.html" ><span 
class="phvb8t-">spotter/rotconverter.c</span></a><a 
 id="dx1-16031"></a> </dt><dd 
class="description">: Complained of &#8220;bad option&#8221; when a rotation with a negative longitude was
   given on the command line, e.g., -135/35/-2.5. Would sometimes issue a rotation twice (for the same
   time).
   </dd><dt class="description">
<a 
href="../html/man/sph/Makefile.html" ><span 
class="phvb8t-">sph/Makefile</span></a><a 
 id="dx1-16032"></a> </dt><dd 
class="description">: Did not have LDFLAGS in link statement.</dd></dl>
<!--l. 424--><p class="noindent" >Also, Appendix F had missing shading for two items in the Standard+ table, and example 23 placed the city names at
an angle of 1 degree rather than horizontally.
</p><!--l. 427--><p class="noindent" ><span 
class="ptmb8t-x-x-120">]</span>
</p>
   <h4 class="subsectionHead"><span class="titlemark">1.1.7    </span> <a 
 id="x1-170001.1.7"></a>Overview of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.5.4 [Nov-1, 2010]</h4>
<!--l. 429--><p class="noindent" >A few minor technical issues in the distribution led us to make a few changes and increment the version to
4.5.5.
</p><!--l. 431--><p class="noindent" ><span 
class="ptmb8t-x-x-120">]</span>
</p>
   <h4 class="subsectionHead"><span class="titlemark">1.1.8    </span> <a 
 id="x1-180001.1.8"></a>Overview of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.5.3 [Jul-15, 2010]</h4>
<!--l. 433--><p class="noindent" >This is mostly a bug-fix release, including more corrections to the political boundaries distributed via the GSHHS
netCDF files (these affect the Syria-Israel, Israel-Jordan, Moldova-Ukraine, and the Eritrea-Ethiopia borders) as
well as missing river-lake metadata in the GSHHS distribution. Therefore, this version requires the new GSHHS
2.1.0 release.
</p><!--l. 438--><p class="indent" >   Here is the list of bug corrections:
   </p><dl class="description"><dt class="description">
<a 
href="../html/man/configure.html" ><span 
class="phvb8t-">configure</span></a><a 
 id="dx1-18001"></a> </dt><dd 
class="description">: Fixed reversed use off &#8211;enable-flock.
   </dd><dt class="description">
<a 
href="../html/man/gmt_init.c.html" ><span 
class="phvb8t-">gmt_init.c</span></a><a 
 id="dx1-18002"></a> </dt><dd 
class="description">: Chop off any eventual EOLs characters that might be in argv strings as it will happen when it
   was created by a shell command. We need this so that native Windows binaries can be used in Cygwin.
   </dd><dt class="description">
<a 
href="../html/man/gmt_io.c.html" ><span 
class="phvb8t-">gmt_io.c</span></a><a 
 id="dx1-18003"></a> </dt><dd 
class="description">:    <span 
class="pcrr8t-">GMT_is_a_blank_line  </span>saw    &#8220;t&#8221;    instead    of    TAB    as    whitespace.    Added
   <span 
class="pcrr8t-">GMT_io.skip_duplicates </span>[FALSE] to control if consecutive records with identical x,y should
   be skipped. This is needed by programs that uses <span 
class="pcrr8t-">GMT_sph_inonout</span>, which does not expect to find
   duplicates vertices. <span 
class="pcrr8t-">GMT_fgets </span>now checks for input record truncation and handles this gracefully
   (gives warning and winds to next record).
   </dd><dt class="description">
<a 
href="../html/man/gmt_map.c.html" ><span 
class="phvb8t-">gmt_map.c</span></a><a 
 id="dx1-18004"></a> </dt><dd 
class="description">: Tried to free memory when nothing had been allocated. <span 
class="pcrr8t-">GMT_wesn_clip </span>function would
   clip polygons even though there were no restrictions on longitudes (w/e = 360).
   </dd><dt class="description">
<a 
href="../html/man/gmt_plot.c.html" ><span 
class="phvb8t-">gmt_plot.c</span></a><a 
 id="dx1-18005"></a> </dt><dd 
class="description">: Parallels that should be straight (e.g., in <span 
class="pcrb8t-">-JI</span>) would sometimes appear with jump gaps.
   Fixed bug in <span 
class="pcrr8t-">GMT_plot_map_scale </span>that could lead to endless loops when using scales to 100 km
   or any exact power of 10. Error was limited to 64-bit.
   </dd><dt class="description">
<a 
href="../html/man/gmt2rgb.html" ><span 
class="phvb8t-">gmt2rgb</span></a><a 
 id="dx1-18006"></a> </dt><dd 
class="description">: Option <span 
class="pcrb8t-">-G </span>was freeing the output name before it was even allocated.
   </dd><dt class="description">
<a 
href="../html/man/grdcontour.c.html" ><span 
class="phvb8t-">grdcontour.c</span></a><a 
 id="dx1-18007"></a> </dt><dd 
class="description">:  The  L  or  H  color  for  first  min/max  annotation  was  not  set.  Placement  of  H  and  L
   annotations improved by using centroids.
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/grdmask.c.html" ><span 
class="phvb8t-">grdmask.c</span></a><a 
 id="dx1-18008"></a> </dt><dd 
class="description">: Did not handle periodic longitude input when <span 
class="pcrb8t-">-fg </span>was used.
   </dd><dt class="description">
<a 
href="../html/man/grdview.c.html" ><span 
class="phvb8t-">grdview.c</span></a><a 
 id="dx1-18009"></a> </dt><dd 
class="description">: Fixed bug in parsing of <span 
class="pcrb8t-">-W</span>[m<!--l. 460--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>c<!--l. 460--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>f]
   option when color starts with [m<!--l. 460--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>c<!--l. 460--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>f].
   Check that topo and illumination file have the same size, otherwise it would crash.
   </dd><dt class="description">
<a 
href="../html/man/greenspline.c.html" ><span 
class="phvb8t-">greenspline.c</span></a><a 
 id="dx1-18010"></a> </dt><dd 
class="description">: Must insist that one of [<span 
class="pcrb8t-">-R-I</span>], <span 
class="pcrb8t-">-N</span>, or <span 
class="pcrb8t-">-T </span>is specified.
   </dd><dt class="description">
<a 
href="../html/man/mapproject.c:.html" ><span 
class="phvb8t-">mapproject.c:</span></a><a 
 id="dx1-18011"></a> </dt><dd 
class="description">: Applied scaling to <span 
class="pcrb8t-">-C</span><span 
class="ptmri8t-">dx/dy </span>when <span 
class="pcrb8t-">-Fk </span>was used, despite docs saying <span 
class="pcrb8t-">-C </span>is in meters
   when <span 
class="pcrb8t-">-F </span>is used. Fixed, and clarified docs/man to say with <span 
class="pcrb8t-">-F</span>, <span 
class="pcrb8t-">-C </span>is always in meters.
   </dd><dt class="description">
<a 
href="../html/man/nearneighbor.c:.html" ><span 
class="phvb8t-">nearneighbor.c:</span></a><a 
 id="dx1-18012"></a> </dt><dd 
class="description">: Did not handle periodic longitude input when <span 
class="pcrb8t-">-fg </span>was used.
   </dd><dt class="description">
<a 
href="../html/man/ps2raster.c:.html" ><span 
class="phvb8t-">ps2raster.c:</span></a><a 
 id="dx1-18013"></a> </dt><dd 
class="description">: Now checks that all PS files begin with %!PS. End matter did not get parsed when there is
   no %%Orientation.
   </dd><dt class="description">
<a 
href="../html/man/pshistogram.c:.html" ><span 
class="phvb8t-">pshistogram.c:</span></a><a 
 id="dx1-18014"></a> </dt><dd 
class="description">: Fixed incorrect bin count when a datapoint equaled xmax.
   </dd><dt class="description">
<a 
href="../html/man/pslegend.c:.html" ><span 
class="phvb8t-">pslegend.c:</span></a><a 
 id="dx1-18015"></a> </dt><dd 
class="description">: Uninitialized text string could put garbage in script.
   </dd><dt class="description">
<a 
href="../html/man/psmask.c:.html" ><span 
class="phvb8t-">psmask.c:</span></a><a 
 id="dx1-18016"></a> </dt><dd 
class="description">: Did not handle periodic longitude input when <span 
class="pcrb8t-">-fg </span>was used.
   </dd><dt class="description">
<a 
href="../html/man/psxy.c:.html" ><span 
class="phvb8t-">psxy.c:</span></a><a 
 id="dx1-18017"></a> </dt><dd 
class="description">:      For      <span 
class="pcrb8t-">-Svs</span>,      the      2nd      set      of      coordinates      did      not      obey      <span 
class="pcrb8t-">-:</span>.      The
   <span 
class="pcrb8t-">-Sw</span><!--l. 473--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="pcrb8t-">W</span>
   symbols  did  not  handle  the  azimuth/direction  conversions  properly.  Added  better  handling  of
   dimensions with units passed via columns in the data file.
   </dd><dt class="description">
<a 
href="../html/man/psxyz.c:.html" ><span 
class="phvb8t-">psxyz.c:</span></a><a 
 id="dx1-18018"></a> </dt><dd 
class="description">:      For      <span 
class="pcrb8t-">-Svs</span>,      the      2nd      set      of      coordinates      did      not      obey      <span 
class="pcrb8t-">-:</span>.      The
   <span 
class="pcrb8t-">-Sw</span><!--l. 476--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="pcrb8t-">W</span>
   symbols  did  not  handle  the  azimuth/direction  conversions  properly.  Added  better  handling  of
   dimensions with units passed via columns in the data file.
   </dd><dt class="description">
<a 
href="../html/man/surface.c:.html" ><span 
class="phvb8t-">surface.c:</span></a><a 
 id="dx1-18019"></a> </dt><dd 
class="description">: Did not handle periodic longitude input when <span 
class="pcrb8t-">-fg </span>was used.
   </dd><dt class="description">
<a 
href="../html/man/meca/psmeca.c.html" ><span 
class="phvb8t-">meca/psmeca.c</span></a><a 
 id="dx1-18020"></a> </dt><dd 
class="description">: Removed out of place and repeated line to compute size in <span 
class="pcrb8t-">-a </span>option.
   </dd><dt class="description">
<a 
href="../html/man/meca/submeca.c.html" ><span 
class="phvb8t-">meca/submeca.c</span></a><a 
 id="dx1-18021"></a> </dt><dd 
class="description">: Replaced calls to <span 
class="pcrr8t-">d_atan2 </span>by <span 
class="pcrr8t-">d_atan2d </span>since the code expects angles in degrees.
   </dd><dt class="description">
<a 
href="../html/man/mgd77/mgd77.c.html" ><span 
class="phvb8t-">mgd77/mgd77.c</span></a><a 
 id="dx1-18022"></a> </dt><dd 
class="description">: Incorrectly added track list =tracks.lis as another track name after correctly including
   all the listed tracks. No harm done other than an annoying &#8220;Cannot find track =tracks&#8221; message.
   </dd><dt class="description">
<a 
href="../html/man/mgd77/mgd77magref.c.html" ><span 
class="phvb8t-">mgd77/mgd77magref.c</span></a><a 
 id="dx1-18023"></a> </dt><dd 
class="description">: Fix bug in <span 
class="pcrb8t-">-A </span>option when using const time in calendar format.
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/mgg/mgd77togmt.c.html" ><span 
class="phvb8t-">mgg/mgd77togmt.c</span></a><a 
 id="dx1-18024"></a> </dt><dd 
class="description">: Now has proper synopsis.
   </dd><dt class="description">
<a 
href="../html/man/misc/kml2gmt.c.html" ><span 
class="phvb8t-">misc/kml2gmt.c</span></a><a 
 id="dx1-18025"></a> </dt><dd 
class="description">:        Did        not        anticipate        optional        attributes        for        tags        like
   <!--l. 486--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003C;</mo></math>PlaceMark<!--l. 486--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003E;</mo></math>,
   etc.
   </dd><dt class="description">
<a 
href="../html/man/sph/sphtriangulate.c.html" ><span 
class="phvb8t-">sph/sphtriangulate.c</span></a><a 
 id="dx1-18026"></a> </dt><dd 
class="description">: Incorrect items for cols 3&#8211;4 for <span 
class="pcrb8t-">-N</span>.
   </dd><dt class="description">
<a 
href="../html/man/x2sys/x2sys.c.html" ><span 
class="phvb8t-">x2sys/x2sys.c</span></a><a 
 id="dx1-18027"></a> </dt><dd 
class="description">: Need to include the &#8220;.&#8221; when checking if a suffix is present in a filename. Reading of
   data formats .gmt and custom returned all columns and not just the requested columns, causing errors
   upstream.
   </dd><dt class="description">
<a 
href="../html/man/x2sys/x2sys_datalist.c.html" ><span 
class="phvb8t-">x2sys/x2sys_datalist.c</span></a><a 
 id="dx1-18028"></a> </dt><dd 
class="description">: Check to see if both lon and lat had been requested only checked for longitude
   (twice).
   </dd><dt class="description">
<a 
href="../html/man/x2sys/x2sys_list.c.html" ><span 
class="phvb8t-">x2sys/x2sys_list.c</span></a><a 
 id="dx1-18029"></a> </dt><dd 
class="description">: Implemented <span 
class="pcrb8t-">-S</span>[<span 
class="ptmb8t-">+</span>] to print info relevant to both cruises.</dd></dl>
<!--l. 496--><p class="indent" >   Here is a list of the recent enhancement to various programs; these were introduced to correct mistakes or
overcome limitations:
</p><!--l. 498--><p class="indent" >
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-18031x1"><a 
href="../html/man/gmtmath.c.html" ><span 
class="phvb8t-">gmtmath.c</span></a><a 
 id="dx1-18032"></a> has added function <span 
class="ptmb8t-">SQR </span>(square).
   </li>
   <li 
  class="enumerate" id="x1-18034x2"><a 
href="../html/man/grdgradient.c.html" ><span 
class="phvb8t-">grdgradient.c</span></a><a 
 id="dx1-18035"></a> now lets <span 
class="pcrb8t-">-S </span>work alone without requiring <span 
class="pcrb8t-">-G</span>.
   </li>
   <li 
  class="enumerate" id="x1-18037x3"><a 
href="../html/man/grdmath.c.html" ><span 
class="phvb8t-">grdmath.c</span></a><a 
 id="dx1-18038"></a>] has added function <span 
class="ptmb8t-">SQR </span>(square).
   </li>
   <li 
  class="enumerate" id="x1-18040x4"><a 
href="../html/man/pswiggle.c.html" ><span 
class="phvb8t-">pswiggle.c</span></a><a 
 id="dx1-18041"></a> <span 
class="pcrb8t-">-Dx</span><span 
class="ptmri8t-">gap </span>now allows gaps to be in projected distances.
   </li>
   <li 
  class="enumerate" id="x1-18043x5"><a 
href="../html/man/mgd77/mgd77.c.html" ><span 
class="phvb8t-">mgd77/mgd77.c</span></a><a 
 id="dx1-18044"></a> was updated for 11th generation IGRF &#8211; IGRF2010.
   </li>
   <li 
  class="enumerate" id="x1-18046x6"><a 
href="../html/man/x2sys/x2sys_get.c.html" ><span 
class="phvb8t-">x2sys/x2sys_get.c</span></a><a 
 id="dx1-18047"></a> needed <span 
class="pcrb8t-">&#8211;L+</span>[<span 
class="ptmri8t-">list</span>] so internal crossovers can be added.
   </li>
   <li 
  class="enumerate" id="x1-18049x7"><a 
href="../html/man/GMT_nighttime.cpt.html" ><span 
class="phvb8t-">GMT_nighttime.cpt</span></a><a 
 id="dx1-18050"></a> color table donated by Andreas Trawoeger.
   </li>
   <li 
  class="enumerate" id="x1-18052x8"><a 
href="../html/man/GMT_paired.cpt.html" ><span 
class="phvb8t-">GMT_paired.cpt</span></a><a 
 id="dx1-18053"></a> qualitative color table by Cynthia Brewer.</li></ol>
                                                                                 

                                                                                 
<!--l. 510--><p class="noindent" ><span 
class="ptmb8t-x-x-120">]</span>
</p>
   <h4 class="subsectionHead"><span class="titlemark">1.1.9    </span> <a 
 id="x1-190001.1.9"></a>Overview of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.5.2 [Jan-15, 2010]</h4>
<!--l. 512--><p class="noindent" >This is mostly another bug-fix release, including one that required us to add more meta-data to the GSHHS
coastline netCDF files. Therefore, this version requires GSHHS 2.0.2 or higher. As was the case for 4.5.1, note that
the GSHHS polygons themselves have not changed (still at version 2.0). We also added in the relatively recent
Nunavut province boundary in Canada. However, some enhancements were added as well, most notably a new
<span 
class="ptmb8t-">graph </span>frame mode for linear projections (to add arrow heads to math axes) and a new symbol in <a 
href="../html/man/psxy.c.html" ><span 
class="phvb8t-">psxy.c</span></a><a 
 id="dx1-19001"></a> (to draw a
circular arrow used to indicate angles); these capabilities are demonstrated in a new (and final) example 30. Finally,
we fixed the long-standing problem of <a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-19002"></a> <span 
class="pcrb8t-">-SE </span>requesting major and minor axes but actually treating
them as if they are semi-axes. We now consistently expect and use major and minor axes; you may
thus notice a scaling of two if you continue to give semi-major/minor axes. Here is the list of bug
corrections:
   </p><dl class="description"><dt class="description">
<a 
href="../html/man/configure.html" ><span 
class="phvb8t-">configure</span></a><a 
 id="dx1-19003"></a> </dt><dd 
class="description">: Fixed bug with &#8211;rpath.
   </dd><dt class="description">
<a 
href="../html/man/gmt_customio.c.html" ><span 
class="phvb8t-">gmt_customio.c</span></a><a 
 id="dx1-19004"></a> </dt><dd 
class="description">: Fixed bug resulting from releasing the pointer to from_gdalread structure before its
   members were freed.
   </dd><dt class="description">
<a 
href="../html/man/gmt_gdalread.c.html" ><span 
class="phvb8t-">gmt_gdalread.c</span></a><a 
 id="dx1-19005"></a> </dt><dd 
class="description">: Force computation of min/max since metadata info may be wrong.
   </dd><dt class="description">
<a 
href="../html/man/gmt_grdio.c.html" ><span 
class="phvb8t-">gmt_grdio.c</span></a><a 
 id="dx1-19006"></a> </dt><dd 
class="description">: <span 
class="pcrr8t-">GMT_read_img </span>did not apply swab if little-endian architecture.
   </dd><dt class="description">
<a 
href="../html/man/gmt_io.c.html" ><span 
class="phvb8t-">gmt_io.c</span></a><a 
 id="dx1-19007"></a> </dt><dd 
class="description">: <span 
class="pcrr8t-">GMT_access </span>did not check for NULL filename.
   </dd><dt class="description">
<a 
href="../html/man/gmt_init.c.html" ><span 
class="phvb8t-">gmt_init.c</span></a><a 
 id="dx1-19008"></a> </dt><dd 
class="description">: Now guards against getting a negative hash value, which happened when text was Russian
   language codes from ru.d. If GMT_DATADIR was set to a list of colon-separated dirs then init failed
   since we tried to check access as if GMT_DATADIR was always a single entity (as in the past). Opened
   file with <span 
class="pcrr8t-">fopen </span>but closed with <span 
class="pcrr8t-">GMT_fclose</span>. Bug in the parsing of <span 
class="pcrb8t-">-Jg</span><span 
class="ptmri8t-">lon/lat/radius/lat</span>. Both
   <span class="underline">.gmtdefaults4</span> and <span class="underline">.gmtcommands4</span> were assumed to be in UNIX format. Now we properly chop off
   Windows <span 
class="ptmri8t-">or </span>Unix end-of-line characters.
   </dd><dt class="description">
<a 
href="../html/man/gmt_mgg_header2.html" ><span 
class="phvb8t-">gmt_mgg_header2</span></a><a 
 id="dx1-19009"></a> </dt><dd 
class="description">: Opened file with <span 
class="pcrr8t-">GMT_fopen </span>but closed with <span 
class="pcrr8t-">fclose</span>.
   </dd><dt class="description">
<a 
href="../html/man/gmt_plot.c.html" ><span 
class="phvb8t-">gmt_plot.c</span></a><a 
 id="dx1-19010"></a> </dt><dd 
class="description">: <span 
class="pcrr8t-">qsort </span>of GMT_LONGs was passed int arrays. The calculation of the actual plot width of
   a map scale did not account for the effect of a 3-D view angle.
   </dd><dt class="description">
<a 
href="../html/man/gmt_shore.c.html" ><span 
class="phvb8t-">gmt_shore.c</span></a><a 
 id="dx1-19011"></a> </dt><dd 
class="description">: Changes to accommodate new GSHHS2.0.2 netCDF files which needed more metadata
   to properly compute the level of tile corners after features where dropped due to size, etc.
   </dd><dt class="description">
<a 
href="../html/man/gmt_support.c.html" ><span 
class="phvb8t-">gmt_support.c</span></a><a 
 id="dx1-19012"></a> </dt><dd 
class="description">: Increase the size of the variable that contains the path to a CPT file and the pathname
   to BUFSIZ bytes.
   </dd><dt class="description">
<a 
href="../html/man/gmtconvert.c.html" ><span 
class="phvb8t-">gmtconvert.c</span></a><a 
 id="dx1-19013"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-S </span>option failed for actual matches; the 2009/5/26 change screwed that up. Now
   fixed and tested.
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/grdcontour.c.html" ><span 
class="phvb8t-">grdcontour.c</span></a><a 
 id="dx1-19014"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-Q </span>option should only apply to closed contours, and <span 
class="pcrb8t-">-T </span>failed to find an inside point
   for some oblique projections.
   </dd><dt class="description">
<a 
href="../html/man/grdgradient.c.html" ><span 
class="phvb8t-">grdgradient.c</span></a><a 
 id="dx1-19015"></a> </dt><dd 
class="description">: Now, <span 
class="pcrb8t-">-Lg </span>will imply <span 
class="pcrb8t-">-fg </span>to properly set geographic units. Fixed bug where the gradient
   at the south pole was not replicated to x = east.
   </dd><dt class="description">
<a 
href="../html/man/grdlandmask.c.html" ><span 
class="phvb8t-">grdlandmask.c</span></a><a 
 id="dx1-19016"></a> </dt><dd 
class="description">: Round-off and bug caused missing nodes for <span 
class="pcrb8t-">-F </span>with <span 
class="pcrb8t-">-Rd</span>.
   </dd><dt class="description">
<a 
href="../html/man/grdtrack.c.html" ><span 
class="phvb8t-">grdtrack.c</span></a><a 
 id="dx1-19017"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-Z </span>option gave z-values a longitude formatting, including 360-degree wrapping.
   </dd><dt class="description">
<a 
href="../html/man/mapproject.c.html" ><span 
class="phvb8t-">mapproject.c</span></a><a 
 id="dx1-19018"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-S </span>option failed after recent i/o makeover.
   </dd><dt class="description">
<a 
href="../html/man/pslib.c.html" ><span 
class="phvb8t-">pslib.c</span></a><a 
 id="dx1-19019"></a> </dt><dd 
class="description">: Ellipse was wrongly dimensioned by semi-major and semi-minor axes, instead of major and
   minor axes. Also, memory never got freed by <span 
class="pcrr8t-">ps_free</span>.
   </dd><dt class="description">
<a 
href="../html/man/psrose.c.html" ><span 
class="phvb8t-">psrose.c</span></a><a 
 id="dx1-19020"></a> </dt><dd 
class="description">: Needed to set scale to 1 so the bounding box calculations would be correct for EPS output.
   </dd><dt class="description">
<a 
href="../html/man/psscale.c.html" ><span 
class="phvb8t-">psscale.c</span></a><a 
 id="dx1-19021"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-Bg </span>now correctly produces gridlines using <span 
class="ptmb8t-">GRID_PEN_PRIMARY</span>.
   </dd><dt class="description">
<a 
href="../html/man/psxy.c.html" ><span 
class="phvb8t-">psxy.c</span></a><a 
 id="dx1-19022"></a> </dt><dd 
class="description">: Incorrectly drew tips at plot boundary when clipping the error bars.
   </dd><dt class="description">
<a 
href="../html/man/psxyz.c.html" ><span 
class="phvb8t-">psxyz.c</span></a><a 
 id="dx1-19023"></a> </dt><dd 
class="description">: Fixed bug in distance sorting (also made much simpler).
   </dd><dt class="description">
<a 
href="../html/man/imgsrc/img2google.html" ><span 
class="phvb8t-">imgsrc/img2google</span></a><a 
 id="dx1-19024"></a> </dt><dd 
class="description">: One <a 
href="../html/man/gmtmath.html" ><span 
class="phvb8t-">gmtmath</span></a><a 
 id="dx1-19025"></a> call did not have the required <span 
class="pcrb8t-">-Q</span>.
   </dd><dt class="description">
<a 
href="../html/man/mgd77/mgd77sniffer.c.html" ><span 
class="phvb8t-">mgd77/mgd77sniffer.c</span></a><a 
 id="dx1-19026"></a> </dt><dd 
class="description">: SEGV when an array index was allowed to become -1.
   </dd><dt class="description">
<a 
href="../html/man/misc/gmt2kml.c.html" ><span 
class="phvb8t-">misc/gmt2kml.c</span></a><a 
 id="dx1-19027"></a> </dt><dd 
class="description">:    Removed    rogue    newline    before    writing    coordinates    and    an    additional
   <!--l. 562--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003E;</mo></math>
   in a tag.
   </dd><dt class="description">
<a 
href="../html/man/misc/gmtstitch.c.html" ><span 
class="phvb8t-">misc/gmtstitch.c</span></a><a 
 id="dx1-19028"></a> </dt><dd 
class="description">: NULL segment headers were passed to strcpy() to give SEGV; also fixed output
   message when <span 
class="pcrb8t-">-C </span>was used and only one segment was present.
   </dd><dt class="description">
<a 
href="../html/man/misc/kml2gmt.c.html" ><span 
class="phvb8t-">misc/kml2gmt.c</span></a><a 
 id="dx1-19029"></a> </dt><dd 
class="description">: Mix of <span 
class="pcrr8t-">fopen </span>and <span 
class="pcrr8t-">GMT_fclose </span>not good under Windoze.
   </dd><dt class="description">
<a 
href="../html/man/sph/sphinterpolate.c.html" ><span 
class="phvb8t-">sph/sphinterpolate.c</span></a><a 
 id="dx1-19030"></a> </dt><dd 
class="description">: Bad index on line 317 went outside array limit. Also did not initialize the grid
   header properly.
   </dd><dt class="description">
<a 
href="../html/man/sph/sphdistance.c.html" ><span 
class="phvb8t-">sph/sphdistance.c</span></a><a 
 id="dx1-19031"></a> </dt><dd 
class="description">: Did not initialize the grid header properly.
   </dd><dt class="description">
<a 
href="../html/man/spotter/backtracker.c.html" ><span 
class="phvb8t-">spotter/backtracker.c</span></a><a 
 id="dx1-19032"></a> </dt><dd 
class="description">: When <span 
class="pcrb8t-">-L </span>is set, <span 
class="pcrb8t-">-mo </span>must be turned on automatically even if <span 
class="pcrb8t-">-m </span>is not set.
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/spotter/grdrotater.c.html" ><span 
class="phvb8t-">spotter/grdrotater.c</span></a><a 
 id="dx1-19033"></a> </dt><dd 
class="description">: Bug in node index resulted in no longitudinal variation in the rotated grid.
   </dd><dt class="description">
<a 
href="../html/man/x2sys/x2sys_init.c.html" ><span 
class="phvb8t-">x2sys/x2sys_init.c</span></a><a 
 id="dx1-19034"></a> </dt><dd 
class="description">: Did not accept <span 
class="pcrb8t-">-m</span>, only the now obsolete <span 
class="pcrb8t-">-M</span>.
   </dd><dt class="description">
<a 
href="../html/man/x2sys/x2sys_datalist.c.html" ><span 
class="phvb8t-">x2sys/x2sys_datalist.c</span></a><a 
 id="dx1-19035"></a> </dt><dd 
class="description">: Did not retrieve the correct data columns when <span 
class="pcrb8t-">-F </span>was used.
   </dd><dt class="description">
<a 
href="../html/man/x2sys/x2sys_list.c.html" ><span 
class="phvb8t-">x2sys/x2sys_list.c</span></a><a 
 id="dx1-19036"></a> </dt><dd 
class="description">: Weights were not written out when names were selected as well, as in <span 
class="pcrb8t-">-Fncw</span>.</dd></dl>
<!--l. 576--><p class="indent" >   Here is a list of the recent enhancement to various programs:
</p><!--l. 578--><p class="indent" >
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-19038x1"><a 
href="../html/man/fitcircle.c.html" ><span 
class="phvb8t-">fitcircle.c</span></a><a 
 id="dx1-19039"></a>  will  let  <span 
class="pcrb8t-">-S </span>optionally  take  a  fixed  latitude  instead  of  finding  the  best-fitting  latitude
   [Default].
   </li>
   <li 
  class="enumerate" id="x1-19041x2"><a 
href="../html/man/gmtdefaults.c.html" ><span 
class="phvb8t-">gmtdefaults.c</span></a><a 
 id="dx1-19042"></a> has new <span 
class="ptmb8t-">BASEMAP_TYPE </span>= <span 
class="ptmri8t-">graph </span>option for linear projections that wish to have
   their axes extended 7.5%, ending in arrow heads.
   </li>
   <li 
  class="enumerate" id="x1-19044x3"><a 
href="../html/man/grd2xyz.c.html" ><span 
class="phvb8t-">grd2xyz.c</span></a><a 
 id="dx1-19045"></a> has a new option <span 
class="pcrb8t-">-N </span>which can be used to replace NaNs with another value on output.
   </li>
   <li 
  class="enumerate" id="x1-19047x4"><a 
href="../html/man/psxy.c.html" ><span 
class="phvb8t-">psxy.c</span></a><a 
 id="dx1-19048"></a> now has a new symbol <span 
class="pcrb8t-">-Sm </span>option for math angle, which lets user draw a circular arc with
   optional curved arrow heads at neither, one, or both ends.
   </li>
   <li 
  class="enumerate" id="x1-19050x5"><a 
href="../html/man/psxyz.c.html" ><span 
class="phvb8t-">psxyz.c</span></a><a 
 id="dx1-19051"></a> also has the new symbol <span 
class="pcrb8t-">-Sm </span>option but does not draw the curved arrow heads yet.
   </li>
   <li 
  class="enumerate" id="x1-19053x6"><a 
href="../html/man/mgd77/mgd77manage.c.html" ><span 
class="phvb8t-">mgd77/mgd77manage.c</span></a><a 
 id="dx1-19054"></a> adds attribute array of TZ corrections for the few cruises that stored TZ
   and local time instead of UTC time.
   </li>
   <li 
  class="enumerate" id="x1-19056x7"><a 
href="../html/man/spotter/rotconverter.c.html" ><span 
class="phvb8t-">spotter/rotconverter.c</span></a><a 
 id="dx1-19057"></a> has new option <span 
class="pcrb8t-">-E </span>to reduce stage pole opening angles by <span 
class="ptmri8t-">fact </span>[0.5] (e.g., to
   get half-spreading rates).
   </li>
   <li 
  class="enumerate" id="x1-19059x8"><a 
href="../html/man/x2sys/x2sys.c.html" ><span 
class="phvb8t-">x2sys/x2sys.c</span></a><a 
 id="dx1-19060"></a> now lets x2sys programs automatically strip off extensions for tracks given via list
   files. Also, various lists can contain header records.
   </li>
   <li 
  class="enumerate" id="x1-19062x9"><a 
href="../html/man/x2sys/x2sys_get.c.html" ><span 
class="phvb8t-">x2sys/x2sys_get.c</span></a><a 
 id="dx1-19063"></a>     has     new     option     <span 
class="pcrb8t-">-E  </span>to     select     extensions     on     output,     and
   <span 
class="pcrb8t-">-Q</span>[<span 
class="ptmb8t-">i</span><!--l. 593--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">e</span>]
   to be used with <span 
class="pcrb8t-">-L</span>. Finally, <span 
class="pcrb8t-">-D </span>now only lists track names.
   </li>
   <li 
  class="enumerate" id="x1-19065x10"><a 
href="../html/man/x2sys/x2sys_solve.c.html" ><span 
class="phvb8t-">x2sys/x2sys_solve.c</span></a><a 
 id="dx1-19066"></a>     has      new      option      <span 
class="pcrb8t-">-Z  </span>to      remove      smallest      dist/time      for
   <span 
class="pcrb8t-">-E</span><span 
class="ptmb8t-">d</span><!--l. 595--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">t</span>.</li></ol>
                                                                                 

                                                                                 
<!--l. 598--><p class="noindent" ><span 
class="ptmb8t-x-x-120">]</span>
</p>
   <h4 class="subsectionHead"><span class="titlemark">1.1.10    </span> <a 
 id="x1-200001.1.10"></a>Overview of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.5.1 [Sept-20, 2009]</h4>
<!--l. 600--><p class="noindent" >This is almost entirely a bug-fix release where we address several 64-bit incompatibilities and rebuild the netcdf
GSHHS library to include some attributes from GSHHS that were needed by new options in <a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-20001"></a> and other
programs. Note that the GSHHS polygons have not changed (still at version 2.0), but we had to update the derived
netcdf repackaging used by <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;to 2.0.1. However, some enhancements were added as well, most significantly
support for the polyconic projection (<span 
class="pcrb8t-">-JPoly</span>), experimental support for grid and image imports via GDAL
(requires &#8211;enable-gdal during configure and properly installed GDAL libraries and include files), and allowing
<span 
class="pcrb8t-">-JX</span><span 
class="ptmri8t-">width/height </span>to recompute a <span 
class="ptmri8t-">height </span>given as zero based on the <span 
class="ptmri8t-">width </span>(or vice versa) and the aspect ratio of the
region.
</p><!--l. 610--><p class="indent" >   Here is the list of bug corrections:
   </p><dl class="description"><dt class="description">
<a 
href="../html/man/configure.ac.html" ><span 
class="phvb8t-">configure.ac</span></a><a 
 id="dx1-20002"></a> </dt><dd 
class="description">: Now use &#8211;enable-flock to enable file locking, instead of &#8211;disable-flock to disable if. Use
   &#8211;enable-64  to  force  64-bit  compilation,  use  &#8211;disable-64  to  force  32-bit  compilation;  otherwise  use
   default. Switch -DGMT_QSORT is now on only for OS X prior to Snow Leopard as the latter has a
   correctly working 64-bit <span 
class="pcrr8t-">qsort </span>function.
   </dd><dt class="description">
<a 
href="../html/man/gmt_customio.c.html" ><span 
class="phvb8t-">gmt_customio.c</span></a><a 
 id="dx1-20003"></a> </dt><dd 
class="description">: Made surfer grid header i/o 64-bit compliant.
   </dd><dt class="description">
<a 
href="../html/man/gmt_map.c.html" ><span 
class="phvb8t-">gmt_map.c</span></a><a 
 id="dx1-20004"></a> </dt><dd 
class="description">: Changed <span 
class="pcrr8t-">GMT_truncate </span>from being a pointer function (PFL) to a regular function that
   simply calls <span 
class="pcrr8t-">GMT_truncate_x </span>or <span 
class="pcrr8t-">GMT_truncate_tm </span>depending on whether projection is TM.
   This to avoid problems with calling <span 
class="pcrr8t-">GMT_truncate </span>with constant argument -1 in 64-bit machines
   and thus producing wrapped <a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-20005"></a> maps.
   </dd><dt class="description">
<a 
href="../html/man/gmt_shore.c.html" ><span 
class="phvb8t-">gmt_shore.c</span></a><a 
 id="dx1-20006"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-A+r</span><!--l. 624--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">+l</span>
   option was premature as more info in the GSHHS netcdf files were needed to properly skip features.
   Now working with the revision GSHHS 2.0.1.
   </dd><dt class="description">
<a 
href="../html/man/gmt_support.c.html" ><span 
class="phvb8t-">gmt_support.c</span></a><a 
 id="dx1-20007"></a> </dt><dd 
class="description">: The routine that checks if a points is inside or outside a polar cap had trouble when a
   point&#8217;s longitude exactly equalled one of the polygon points since round-off could cause our test to fail.
   Fixed bug in <span 
class="ptmri8t-">x_inc </span>variable as function of latitude. <span 
class="pcrr8t-">GMT_log_array </span>recoded to avoid 64-bit error
   (last value was not included).
   </dd><dt class="description">
<a 
href="../html/man/grdcontour.c.html" ><span 
class="phvb8t-">grdcontour.c</span></a><a 
 id="dx1-20008"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-L </span>option was not used in limiting contours.
   </dd><dt class="description">
<a 
href="../html/man/minmax.c.html" ><span 
class="phvb8t-">minmax.c</span></a><a 
 id="dx1-20009"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-EH </span>option did not work.
   </dd><dt class="description">
<a 
href="../html/man/psmask.c.html" ><span 
class="phvb8t-">psmask.c</span></a><a 
 id="dx1-20010"></a> </dt><dd 
class="description">: With <span 
class="pcrb8t-">-D</span>, the internal <span 
class="ptmri8t-">di, dj </span>constants were set way too large.
   </dd><dt class="description">
<a 
href="../html/man/pswiggle.c.html" ><span 
class="phvb8t-">pswiggle.c</span></a><a 
 id="dx1-20011"></a> </dt><dd 
class="description">: With <span 
class="pcrb8t-">-Jx</span><span 
class="ptmri8t-">scale</span><span 
class="ptmb8t-">d</span>, distances were not scaled correctly so <span 
class="pcrb8t-">-D </span>failed.
   </dd><dt class="description">
<a 
href="../html/man/mgd77/mgd77magref.c.html" ><span 
class="phvb8t-">mgd77/mgd77magref.c</span></a><a 
 id="dx1-20012"></a> </dt><dd 
class="description">: Got wrong time as time initialization had changed but not implemented in
   this program.
   </dd><dt class="description">
<a 
href="../html/man/mgd77/mgd77sniffer.c.html" ><span 
class="phvb8t-">mgd77/mgd77sniffer.c</span></a><a 
 id="dx1-20013"></a> </dt><dd 
class="description">: Bug in <span 
class="pcrb8t-">-I </span>option; needed to set bitpattern for bad faa.
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/misc/gmt2kml.c.html" ><span 
class="phvb8t-">misc/gmt2kml.c</span></a><a 
 id="dx1-20014"></a> </dt><dd 
class="description">:  Option  <span 
class="pcrb8t-">-T </span>did  not  handle  spaces  in  titles  and  folder  names.  Under  Windows,  the
   output got scrambled due to DLL hell.
   </dd><dt class="description">
<a 
href="../html/man/spotter/backtracker.c.html" ><span 
class="phvb8t-">spotter/backtracker.c</span></a><a 
 id="dx1-20015"></a> </dt><dd 
class="description">: Failed in 64-bit mode due to variable mismatches.
   </dd><dt class="description">
<a 
href="../html/man/x2sys/x2sys_get.c.html" ><span 
class="phvb8t-">x2sys/x2sys_get.c</span></a><a 
 id="dx1-20016"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-L </span>option failed if list contained file extensions.
   </dd><dt class="description">
<a 
href="../html/man/x2sys/x2sys_solve.c.html" ><span 
class="phvb8t-">x2sys/x2sys_solve.c</span></a><a 
 id="dx1-20017"></a> </dt><dd 
class="description">: Did not allocate array for storing weights.</dd></dl>
<!--l. 647--><p class="indent" >   Here is a list of the recent enhancement to various programs:
</p><!--l. 649--><p class="indent" >
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-20019x1"><a 
href="../html/man/gmt_customio.c.html" ><span 
class="phvb8t-">gmt_customio.c</span></a><a 
 id="dx1-20020"></a> now has optional GDAL read-only interface as format 22 (code gd).
   </li>
   <li 
  class="enumerate" id="x1-20022x2"><a 
href="../html/man/gmtset.c.html" ><span 
class="phvb8t-">gmtset.c</span></a><a 
 id="dx1-20023"></a> has new default <span 
class="ptmb8t-">TRANSPARENCY </span>= <span 
class="ptmri8t-">stroke/fill </span>that can change the PDF transparency for
   stroked and filled items [Note: Only supported by Adobe Distiller].
   </li>
   <li 
  class="enumerate" id="x1-20025x3"><a 
href="../html/man/pslib.c.html" ><span 
class="phvb8t-">pslib.c</span></a><a 
 id="dx1-20026"></a> has added option to reduce all color to gray scale via <span 
class="ptmb8t-">PS_COLOR </span>= gray.
   </li>
   <li 
  class="enumerate" id="x1-20028x4"><a 
href="../html/man/grdimage.c.html" ><span 
class="phvb8t-">grdimage.c</span></a><a 
 id="dx1-20029"></a> has optional support that allow single-band image import via GDAL.
   </li>
   <li 
  class="enumerate" id="x1-20031x5"><a 
href="../html/man/misc/nc2xy.c.html" ><span 
class="phvb8t-">misc/nc2xy.c</span></a><a 
 id="dx1-20032"></a> now has <span 
class="pcrb8t-">-bo </span>option.
   </li>
   <li 
  class="enumerate" id="x1-20034x6"><a 
href="../html/man/mgd77/mgd77magref.c.html" ><span 
class="phvb8t-">mgd77/mgd77magref.c</span></a><a 
 id="dx1-20035"></a> can combine IGRF and CM4 computations.</li></ol>
<!--l. 659--><p class="noindent" ><span 
class="ptmb8t-x-x-120">]</span>
</p>
   <h4 class="subsectionHead"><span class="titlemark">1.1.11    </span> <a 
 id="x1-210001.1.11"></a>Overview of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.5.0 [July-15, 2009]</h4>
<!--l. 661--><p class="noindent" >This is another significant update of the official distribution and hence it has a mix of bug fixes and
program enhancements. We have added a new supplement (<span 
class="ptmb8t-">sph</span>) which offers interpolation, triangulation
(Delaunay and Voronoi), and distance calculations on a spherical surface. The hard work is done by the
original effort of Robert Renka who developed the Fortran-77 SSRFPACK and STRIPACK libraries;
these are here supplied via a <span 
class="ptmbo8t-">f2c</span><a 
 id="dx1-21001"></a>-assisted translation. The <span 
class="ptmb8t-">imgsrc </span>supplement has a new Bourne script
<a 
href="../html/man/img2google.html" ><span 
class="phvb8t-">img2google</span></a><a 
 id="dx1-21002"></a>, which simplifies making Google Earth tiles from Sandwell and Smith bathymetry. The
<span 
class="ptmb8t-">mgd77 </span>supplement has a new program <a 
href="../html/man/mgd77magref.html" ><span 
class="phvb8t-">mgd77magref</span></a><a 
 id="dx1-21003"></a>, which is used to evaluate either the CM4
comprehensive geomagnetic model, a more sophisticated alternative to IGRF, or the IGRF. The <span 
class="ptmb8t-">misc</span>
supplement has received two new tools (<a 
href="../html/man/gmt2kml.html" ><span 
class="phvb8t-">gmt2kml</span></a><a 
 id="dx1-21004"></a> and <a 
href="../html/man/kml2gmt.html" ><span 
class="phvb8t-">kml2gmt</span></a><a 
 id="dx1-21005"></a>) that simplify the presentation of
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;data in Google Earth, and one (<a 
href="../html/man/dimfilter.html" ><span 
class="phvb8t-">dimfilter</span></a><a 
 id="dx1-21006"></a>) that offers directional spatial filtering of grids. The <span 
class="ptmb8t-">x2sys</span>
supplement has a new tool (<a 
href="../html/man/x2sys_merge.html" ><span 
class="phvb8t-">x2sys_merge</span></a><a 
 id="dx1-21007"></a>) to merge updated COEs table into a main COE table database.
Finally, <a 
href="../html/man/ps2raster.c.html" ><span 
class="phvb8t-">ps2raster.c</span></a><a 
 id="dx1-21008"></a> has evolved further and can now be used to create simple KML files for Google
Earth.
</p><!--l. 676--><p class="indent" >   A major new enhancement is the global option <span 
class="pcrb8t-">-g</span>, which is used to determine if excessive spacing between
data points (&#8220;gaps&#8221;, to be defined in a variety of ways) should be used to segment an otherwise continuous line. We
expect to enable <span 
class="pcrb8t-">-g </span>in several programs during the next revision; at the moment it is available in <a 
href="../html/man/gmtconvert.html" ><span 
class="phvb8t-">gmtconvert</span></a><a 
 id="dx1-21009"></a>,
<a 
href="../html/man/mapproject.html" ><span 
class="phvb8t-">mapproject</span></a><a 
 id="dx1-21010"></a>, <a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-21011"></a> and <a 
href="../html/man/psxyz.html" ><span 
class="phvb8t-">psxyz</span></a><a 
 id="dx1-21012"></a>. Given that all the lower-case <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;options deal with low-level data i/o settings
                                                                                 

                                                                                 
we have decided to rename the <span 
class="pcrb8t-">-M </span>option (which controls the presence of multiple segment headers) to <span 
class="pcrb8t-">-m</span>;
this allows us to promote this ubiquitous option to global status (<span 
class="ptmri8t-">i.e.</span>, has the same meaning in all
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;programs). Use of <span 
class="pcrb8t-">-M </span>will remain valid for the rest of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.x but results in a warning about the new
usage. Related to this is the introduction of a new parameter (<span 
class="ptmb8t-">NAN_RECORDS</span>) that determines if
NaNs in key columns (such as longitude, latitude) should constitute a line break or bad data to be
skipped.
</p><!--l. 687--><p class="indent" >   We have revised how ellipsoids are specified. When importing an ellipsoid file, we allow a,b,f as
ellipsoid parameters, where b or f could both be zero. If file does not exist, attempt to read name as
a[/[b=<!--l. 688--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>f=]f],
meaning <span 
class="ptmri8t-">semi-major axis</span>, b=<span 
class="ptmri8t-">semi-minor axis</span>, f = <span 
class="ptmri8t-">flattening</span>, or <span 
class="ptmri8t-">inverse flattening</span>. We have also added parameters
for the TOPEX ellipsoid and for the Moon and planets (IAU2000).
</p><!--l. 692--><p class="indent" >   This release of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;coincides with the release 2.0 of GSHHS, the coastline data used by <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>. In addition to
general improvements to the data, we have expanded the <span 
class="pcrb8t-">-A </span>option that controls the limits on what features to
extract. New modifiers allow users to exclude &#8220;river-lakes&#8221; and any feature whose area is less than a fraction of the
original full resolution feature.
</p><!--l. 697--><p class="indent" >   Finally, our configure script continues to evolve and now better supports installation on 64-bit systems and can
automatically detect if and where netCDF exists on your system.
</p><!--l. 700--><p class="indent" >   Here is the list of bug corrections:
   </p><dl class="description"><dt class="description">
<a 
href="../html/man/gmt_customio.c.html" ><span 
class="phvb8t-">gmt_customio.c</span></a><a 
 id="dx1-21013"></a> </dt><dd 
class="description">: In <span 
class="pcrr8t-">GMT_ras_read_grd_info</span>, wrong size was passed to fread.
   </dd><dt class="description">
<a 
href="../html/man/gmt_grdio.c.html" ><span 
class="phvb8t-">gmt_grdio.c</span></a><a 
 id="dx1-21014"></a> </dt><dd 
class="description">:  Fixed  bug  in  <span 
class="pcrr8t-">GMT_grd_setregion</span>:  longitudes  were  limited  inward  instead  of
   outward. Caused white-space left and right in <a 
href="../html/man/grdimage.html" ><span 
class="phvb8t-">grdimage</span></a><a 
 id="dx1-21015"></a>.
   </dd><dt class="description">
<a 
href="../html/man/gmt_init.c.html" ><span 
class="phvb8t-">gmt_init.c</span></a><a 
 id="dx1-21016"></a> </dt><dd 
class="description">: No longer remove supposedly empty <span class="underline">.gmtcommands4</span> file. Could have been written to by
   piped <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;command. Now create/write only when new matter is to be written.
   </dd><dt class="description">
<a 
href="../html/man/gmt_io.c.html" ><span 
class="phvb8t-">gmt_io.c</span></a><a 
 id="dx1-21017"></a> </dt><dd 
class="description">: When only <span 
class="pcrb8t-">-mi </span>is set there should be no multisegment headers on output. yet there was no
   if-test to check for that.
   </dd><dt class="description">
<a 
href="../html/man/gmt_map.c.html" ><span 
class="phvb8t-">gmt_map.c</span></a><a 
 id="dx1-21018"></a> </dt><dd 
class="description">:  Fixed  serious  bug  in  <span 
class="pcrr8t-">GMT_az_backaz_flatearth</span>:  incorrectly  converted  degrees
   to   radians.   Fixed   bug   in   <span 
class="pcrr8t-">GMT_get_rotate_pole</span>:   called   <span 
class="pcrr8t-">GMT_rotate_pole_forward</span>
   with    radians    instead    of    degrees.    Incorrectly    attempted    to    free    array    only    used    when
   antialias   is   on.   Fixed   inability   to   determine   projection   pole   when   central   meridian   and
   western    boundary    are    the    same    (Albers,    Conic    equidistant).    Incorrectly    used    central
   longitude   to   set   default   midpoint   for   3-D   maps   using   the   <span 
class="pcrb8t-">-E...+ </span>mechanism   when   data
   were   not   geographic.   Numerous   bug   fixes   related   to   UTM:   Did   not   report   bad   zone   for
   <!--l. 715--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003C;</mo></math>
   A or <!--l. 715--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003E;</mo></math>
   Z; Zones A+B reached till 84S instead of 80S; Zone J wrongly produced value for Zone K; Zones
   U+W were not recognized; Now also equates Zone O to Zone P (already equated Zone I to J).
   </dd><dt class="description">
<a 
href="../html/man/gmt_mgg_header2.c.html" ><span 
class="phvb8t-">gmt_mgg_header2.c</span></a><a 
 id="dx1-21019"></a> </dt><dd 
class="description">: There was no support for (a) floating point grids and (b) swapping happened
   based on machine byte order and not based on actual file byte order.
   </dd><dt class="description">
<a 
href="../html/man/gmt_nc.c.html" ><span 
class="phvb8t-">gmt_nc.c</span></a><a 
 id="dx1-21020"></a> </dt><dd 
class="description">:  Argument  [layer]  was  not  stripped  from  varname  and  would  end  up  in  output  grid.  Set
   <span 
class="ptmri8t-">zmin/zmax </span>to NaN when info not in header.
   </dd><dt class="description">
<a 
href="../html/man/gmt_plot.c.html" ><span 
class="phvb8t-">gmt_plot.c</span></a><a 
 id="dx1-21021"></a> </dt><dd 
class="description">: Crashed when using time labels in 3D plot.
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/gmt_proj.c.html" ><span 
class="phvb8t-">gmt_proj.c</span></a><a 
 id="dx1-21022"></a> </dt><dd 
class="description">: Fixed bug in longitude computation when standard parallel is on Southern Hemisphere.
   </dd><dt class="description">
<a 
href="../html/man/gmt_support.c.html" ><span 
class="phvb8t-">gmt_support.c</span></a><a 
 id="dx1-21023"></a> </dt><dd 
class="description">:  Exceeded  array  bounds  in  <span 
class="pcrr8t-">GMT_read_cpt </span>for  hsv  conversion.  The  3-D  view  <span 
class="pcrb8t-">-E</span>
   option used in many programs (such as <a 
href="../html/man/psxyz.html" ><span 
class="phvb8t-">psxyz</span></a><a 
 id="dx1-21024"></a>) could not handle exponential notations. Determining of
   a color scale is continuous should be based on HSV (not RGB) values when read as HSV. The modifier
   :<span 
class="ptmri8t-">radius</span>[unit] to the <span 
class="pcrb8t-">-G </span>option in <a 
href="../html/man/grdcontour.html" ><span 
class="phvb8t-">grdcontour</span></a><a 
 id="dx1-21025"></a> for the placement of contour labels is now <span 
class="ptmb8t-">+r</span><span 
class="ptmri8t-">radius</span>[unit]
   since the colon interfered with ddd:mm:ss coordinates. Given <span 
class="pcrb8t-">-I</span>601+/601+ the y-increment was not
   processed correctly. Fixed bug when <span 
class="ptmri8t-">x_inc </span>in km, m, etc, the value was ignored (always 1).
   </dd><dt class="description">
<a 
href="../html/man/blockmean.c.html" ><span 
class="phvb8t-">blockmean.c</span></a><a 
 id="dx1-21026"></a> </dt><dd 
class="description">: Gave bogus usage about number of input columns when <span 
class="pcrb8t-">-E </span>is set but <span 
class="pcrb8t-">-E </span>only affects
   output. Same for <a 
href="../html/man/blockmedian.c.html" ><span 
class="phvb8t-">blockmedian.c</span></a><a 
 id="dx1-21027"></a> and <a 
href="../html/man/blockmode.c.html" ><span 
class="phvb8t-">blockmode.c</span></a><a 
 id="dx1-21028"></a>.
   </dd><dt class="description">
<a 
href="../html/man/gmtconvert.c.html" ><span 
class="phvb8t-">gmtconvert.c</span></a><a 
 id="dx1-21029"></a> </dt><dd 
class="description">: With <span 
class="pcrb8t-">-S</span>, did not report the number of output segments.
   </dd><dt class="description">
<a 
href="../html/man/gmtmath.c.html" ><span 
class="phvb8t-">gmtmath.c</span></a><a 
 id="dx1-21030"></a> </dt><dd 
class="description">: Tried to free memory that was not allocated.
   </dd><dt class="description">
<a 
href="../html/man/grdfilter.c.html" ><span 
class="phvb8t-">grdfilter.c</span></a><a 
 id="dx1-21031"></a> </dt><dd 
class="description">: Toggle <span 
class="pcrb8t-">-T </span>was not processed correctly if <span 
class="pcrb8t-">-R</span><span 
class="ptmri8t-">gridfile </span>was given.
   </dd><dt class="description">
<a 
href="../html/man/grdgradient.c.html" ><span 
class="phvb8t-">grdgradient.c</span></a><a 
 id="dx1-21032"></a> </dt><dd 
class="description">: For geographic grids, make sure N and S pole only has a single value on output.
   </dd><dt class="description">
<a 
href="../html/man/greenspline.c.html" ><span 
class="phvb8t-">greenspline.c</span></a><a 
 id="dx1-21033"></a> </dt><dd 
class="description">: Calculation of nz layers was off by one, leaving out the penultimate layer.
   </dd><dt class="description">
<a 
href="../html/man/grdimage.c.html" ><span 
class="phvb8t-">grdimage.c</span></a><a 
 id="dx1-21034"></a> </dt><dd 
class="description">: We now make sure the NaN color is unique when <span 
class="pcrb8t-">-Q </span>is used.
   </dd><dt class="description">
<a 
href="../html/man/grdmath.c.html" ><span 
class="phvb8t-">grdmath.c</span></a><a 
 id="dx1-21035"></a> </dt><dd 
class="description">: The <span 
class="ptmb8t-">PDIST </span>operator did not handle binary input files (as <span 
class="ptmb8t-">LDIST </span>does).
   </dd><dt class="description">
<a 
href="../html/man/ps2raster.c.html" ><span 
class="phvb8t-">ps2raster.c</span></a><a 
 id="dx1-21036"></a> </dt><dd 
class="description">: Exceeded memory allocation for out_file. Now in static memory.
   </dd><dt class="description">
<a 
href="../html/man/psclip.c.html" ><span 
class="phvb8t-">psclip.c</span></a><a 
 id="dx1-21037"></a> </dt><dd 
class="description">: Produce at least &#8220;S V&#8221; when the clippath is empty.
   </dd><dt class="description">
<a 
href="../html/man/pscoast.c.html" ><span 
class="phvb8t-">pscoast.c</span></a><a 
 id="dx1-21038"></a> </dt><dd 
class="description">: Produce at least &#8220;S V&#8221; when the clippath is empty.
   </dd><dt class="description">
<a 
href="../html/man/psscale.c.html" ><span 
class="phvb8t-">psscale.c</span></a><a 
 id="dx1-21039"></a> </dt><dd 
class="description">: When using <span 
class="pcrb8t-">-A </span>with a vertical color bar, the annotations where left- in stead of right-aligned.
   When using <span 
class="pcrb8t-">-A </span>on horizontal bar, the last tick mark would not appear.
   </dd><dt class="description">
<a 
href="../html/man/gshhs/gshhs.c.html" ><span 
class="phvb8t-">gshhs/gshhs.c</span></a><a 
 id="dx1-21040"></a> </dt><dd 
class="description">: Checked wrong variable to test if a file was given on the command line.
   </dd><dt class="description">
<a 
href="../html/man/meca/util_meca.c.html" ><span 
class="phvb8t-">meca/util_meca.c</span></a><a 
 id="dx1-21041"></a> </dt><dd 
class="description">: Needed to convert the output from <span 
class="pcrr8t-">d_atan2 </span>to degrees.
   </dd><dt class="description">
<a 
href="../html/man/mgd77/mgd77.c.html" ><span 
class="phvb8t-">mgd77/mgd77.c</span></a><a 
 id="dx1-21042"></a> </dt><dd 
class="description">:             Was             failing             to             read             Windows             terminated
   ASCII files. Fixed bug in <span 
class="pcrr8t-">MGD77_igrf10syn </span>routine (mistake done while cleaning the <span 
class="ptmbo8t-">f2c</span><a 
 id="dx1-21043"></a> version)
   that resulted in altitude always being on Earth surface when geocentric coordinates were used. Do not
   use any <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;i/o-functions to access ascii files on creation/writing so that it can work under Windows
   as well. Converting files from netCDF to MGD77 where time = NaN gave junk records.
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/mgd77/mgd77list.c.html" ><span 
class="phvb8t-">mgd77/mgd77list.c</span></a><a 
 id="dx1-21044"></a> </dt><dd 
class="description">: Used GMT_LONG in <span 
class="pcrr8t-">memset </span>for an array allocated as int. Used wrong time for
   IGRF calculation; worst case situation was off by 1 year.
   </dd><dt class="description">
<a 
href="../html/man/mgd77/mgd77manage.c.html" ><span 
class="phvb8t-">mgd77/mgd77manage.c</span></a><a 
 id="dx1-21045"></a> </dt><dd 
class="description">:  The  <span 
class="pcrb8t-">-D </span>option  would  remove  original  attributes.  Now  both  original  and
   revised attributes are carried in memory. This problem also affected <a 
href="../html/man/mgd77convert.html" ><span 
class="phvb8t-">mgd77convert</span></a><a 
 id="dx1-21046"></a> <span 
class="pcrb8t-">-FC </span>if used on
   a  file  after  <a 
href="../html/man/mgd77manage.html" ><span 
class="phvb8t-">mgd77manage</span></a><a 
 id="dx1-21047"></a> <span 
class="pcrb8t-">-D </span>had  been  run.  Used  wrong  time  for  IGRF  calculation;  worst  case
   situation was off by 1 year. Now uses <span 
class="pcrr8t-">GMT_read_img </span>to handle *.img files; earlier the inline code
   would fail on the new extended img files.
   </dd><dt class="description">
<a 
href="../html/man/mgd77/mgd77sniffer.c.html" ><span 
class="phvb8t-">mgd77/mgd77sniffer.c</span></a><a 
 id="dx1-21048"></a> </dt><dd 
class="description">: Did not reset the E77 structure between cruises.
   </dd><dt class="description">
<a 
href="../html/man/misc/gmtstitch.c.html" ><span 
class="phvb8t-">misc/gmtstitch.c</span></a><a 
 id="dx1-21049"></a> </dt><dd 
class="description">: Did not read standard input if no files were given. Now honors <span 
class="pcrb8t-">-V </span>properly.
   </dd><dt class="description">
<a 
href="../html/man/x2sys/x2sys.c.html" ><span 
class="phvb8t-">x2sys/x2sys.c</span></a><a 
 id="dx1-21050"></a> </dt><dd 
class="description">: Wrong array argument passed for correction aux values.
   </dd><dt class="description">
<a 
href="../html/man/x2sys/x2sys_cross.c.html" ><span 
class="phvb8t-">x2sys/x2sys_cross.c</span></a><a 
 id="dx1-21051"></a> </dt><dd 
class="description">: Removed the <span 
class="pcrb8t-">-F </span>option which was not honored anyway.
   </dd><dt class="description">
<a 
href="../html/man/x2sys/x2sys_init.c.html" ><span 
class="phvb8t-">x2sys/x2sys_init.c</span></a><a 
 id="dx1-21052"></a> </dt><dd 
class="description">: Now properly copies the *.def file to the TAG dir.
   </dd><dt class="description">
<a 
href="../html/man/x2sys/x2sys_datalist.c.html" ><span 
class="phvb8t-">x2sys/x2sys_datalist.c</span></a><a 
 id="dx1-21053"></a> </dt><dd 
class="description">: Only ASCII output had corrections (<span 
class="pcrb8t-">-L</span>) applied.
   </dd><dt class="description">
<a 
href="../html/man/x2sys/x2sys_put.c.html" ><span 
class="phvb8t-">x2sys/x2sys_put.c</span></a><a 
 id="dx1-21054"></a> </dt><dd 
class="description">: Fixed <span 
class="pcrb8t-">-D </span>option (was falling in a endless loop).</dd></dl>
<!--l. 770--><p class="indent" >   Here is a list of the recent enhancement to various programs:
</p><!--l. 772--><p class="indent" >
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-21056x1"><a 
href="../html/man/gmt_init.c.html" ><span 
class="phvb8t-">gmt_init.c</span></a><a 
 id="dx1-21057"></a>   has   added   support   for   enhanced   <span 
class="pcrb8t-">-E </span>option   for   3-D   perspective   views   which
   allows  the  specification  of  a  fixed  point  (needed  for  new  Default  setting  <span 
class="ptmb8t-">NAN_RECORDS  </span>=
   skip<!--l. 775--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>pass
   [skip]. If &#8220;pass&#8221; we treat let the programs handle the NaNs; for some programs the NaNs in input
   record will act as indicators of data gaps for continuous lines. If &#8220;skip&#8221; we report them as bad records.
   In both cases the records are skipped. Allow negative integer interval (-n) for annotating log axis; this
   means annotate every n&#8217;th power of 10.
   </li>
   <li 
  class="enumerate" id="x1-21059x2"><a 
href="../html/man/gmt_nc.c.html" ><span 
class="phvb8t-">gmt_nc.c</span></a><a 
 id="dx1-21060"></a> will properly handle netCDF that have LatLon = 0, 1: flip x and y.
   </li>
   <li 
  class="enumerate" id="x1-21062x3"><a 
href="../html/man/gmt_shore.c.html" ><span 
class="phvb8t-">gmt_shore.c</span></a><a 
 id="dx1-21063"></a> Added support for the <span 
class="ptmb8t-">+p</span><span 
class="ptmri8t-">percent </span>modifier to limit features whose area is less <span 
class="ptmri8t-">percent </span>of
   the corresponding full-resolution polygon.
   </li>
   <li 
  class="enumerate" id="x1-21065x4"><a 
href="../html/man/gmt_support.c.html" ><span 
class="phvb8t-">gmt_support.c</span></a><a 
 id="dx1-21066"></a> enables <span 
class="pcrr8t-">GMT_intpol </span>to handle NaNs by treating them as segment boundaries. Rely
   on Shewchuk&#8217;s triangle function to get Voronoi output.
   </li>
   <li 
  class="enumerate" id="x1-21068x5"><a 
href="../html/man/blockmedian.c.html" ><span 
class="phvb8t-">blockmedian.c</span></a><a 
 id="dx1-21069"></a> now returns the quantile(x), quantile(y) location when <span 
class="pcrb8t-">-T </span>is used. Added <span 
class="pcrb8t-">-Eb </span>to get
   box-and-whisker output (0. 25, 50, 75, and 100% quantiles).
                                                                                 

                                                                                 
   </li>
   <li 
  class="enumerate" id="x1-21071x6"><a 
href="../html/man/gmtconvert.c.html" ><span 
class="phvb8t-">gmtconvert.c</span></a><a 
 id="dx1-21072"></a> now allows <span 
class="pcrb8t-">-S</span><!--l. 788--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">~</mo></math>pattern
   which reports segments whose header does NOT contain pattern. Should pattern actually start with
   <!--l. 789--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">~</mo></math>
   we escape it with <!--l. 789--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-bin">\</mo><mo 
class="MathClass-rel">~</mo></math>pattern.
   </li>
   <li 
  class="enumerate" id="x1-21074x7"><a 
href="../html/man/gmtselect.c.html" ><span 
class="phvb8t-">gmtselect.c</span></a><a 
 id="dx1-21075"></a> can now handle dateTclock strings in <span 
class="pcrb8t-">-Z </span>when used with data whose 3rd column contains
   time.
   </li>
   <li 
  class="enumerate" id="x1-21077x8"><a 
href="../html/man/gmtmath.c.html" ><span 
class="phvb8t-">gmtmath.c</span></a><a 
 id="dx1-21078"></a> added <span 
class="ptmb8t-">MOD </span>function (remainder after floored division, Knuth style). This is in contrast
   to <span 
class="ptmb8t-">FMOD </span>which gives the remainder after (horror) truncated division.
   </li>
   <li 
  class="enumerate" id="x1-21080x9"><a 
href="../html/man/gmtselect.c.html" ><span 
class="phvb8t-">gmtselect.c</span></a><a 
 id="dx1-21081"></a> Same upgrade to <span 
class="pcrb8t-">-A </span>option as <a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-21082"></a>.
   </li>
   <li 
  class="enumerate" id="x1-21084x10"><a 
href="../html/man/grdcut.c.html" ><span 
class="phvb8t-">grdcut.c</span></a><a 
 id="dx1-21085"></a> has new option <span 
class="pcrb8t-">-Z </span>which is used to determine a rectangular subregion so that the rejected
   area have values entirely outside the given z-range.
   </li>
   <li 
  class="enumerate" id="x1-21087x11"><a 
href="../html/man/grdfft.c.html" ><span 
class="phvb8t-">grdfft.c</span></a><a 
 id="dx1-21088"></a> now also has a Butterworth band-pass filter.
   </li>
   <li 
  class="enumerate" id="x1-21090x12"><a 
href="../html/man/grdinfo.c.html" ><span 
class="phvb8t-">grdinfo.c</span></a><a 
 id="dx1-21091"></a> will now use plain text (and not code) to report the file format used. Add option <span 
class="pcrb8t-">-L</span>0 to
   actually scan data to determine <span 
class="ptmri8t-">zmin </span>and <span 
class="ptmri8t-">zmax</span>.
   </li>
   <li 
  class="enumerate" id="x1-21093x13"><a 
href="../html/man/grdlandmask.c.html" ><span 
class="phvb8t-">grdlandmask.c</span></a><a 
 id="dx1-21094"></a> Same upgrade to <span 
class="pcrb8t-">-A </span>option as <a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-21095"></a>.
   </li>
   <li 
  class="enumerate" id="x1-21097x14"><a 
href="../html/man/grdmath.c.html" ><span 
class="phvb8t-">grdmath.c</span></a><a 
 id="dx1-21098"></a> added <span 
class="ptmb8t-">MOD </span>function (remainder after floored division).
   </li>
   <li 
  class="enumerate" id="x1-21100x15"><a 
href="../html/man/ps2raster.c.html" ><span 
class="phvb8t-">ps2raster.c</span></a><a 
 id="dx1-21101"></a> takes <span 
class="pcrb8t-">-W+k </span>to create a simple KML file for Google Earth. Several other modifiers help
   to populate the KML file.
   </li>
   <li 
  class="enumerate" id="x1-21103x16"><a 
href="../html/man/psclip.c.html" ><span 
class="phvb8t-">psclip.c</span></a><a 
 id="dx1-21104"></a> has a new option <span 
class="pcrb8t-">-T </span>that turns on map region clipping without any input data files; it is a
   shorthand for <span 
class="pcrb8t-">-N</span><span class="underline">/dev/null</span>.
   </li>
   <li 
  class="enumerate" id="x1-21106x17"><a 
href="../html/man/pscoast.c.html" ><span 
class="phvb8t-">pscoast.c</span></a><a 
 id="dx1-21107"></a> has enhanced <span 
class="pcrb8t-">-C</span>[<span 
class="ptmb8t-">l</span><!--l. 806--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">r</span>/]it
   fill offers to paint river-lakes separately from lakes. The <span 
class="pcrb8t-">-A </span>option can be used to exclude river-lakes
   or lakes for level 2. <span 
class="pcrb8t-">-W </span>now allows different pens for the 4 levels of shorelines.
   </li>
   <li 
  class="enumerate" id="x1-21109x18"><a 
href="../html/man/pglegend.c.html" ><span 
class="phvb8t-">pglegend.c</span></a><a 
 id="dx1-21110"></a>      allows      <span 
class="ptmb8t-">S      </span>record      not      to      have      <span 
class="ptmri8t-">text</span>.      Until      now,      when      left
   empty      would      use      whatever      <span 
class="ptmri8t-">text      </span>was      set      to      in      previous      record.      The
   <!--l. 810--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003E;</mo></math>
   record no longer needed before T; T, L, S, H alignment harmonized; I, M, B spacing improved; <span 
class="pcrb8t-">-B</span>
   option added.
   </li>
   <li 
  class="enumerate" id="x1-21112x19"><a 
href="../html/man/psxy.c.html" ><span 
class="phvb8t-">psxy.c</span></a><a 
 id="dx1-21113"></a> added <span 
class="pcrb8t-">-g </span>to break lines into segments based on gap criteria; added <span 
class="pcrb8t-">-T </span>to be a shorthand for
   reading no input, where we used <span class="underline">/dev/null</span> before.
                                                                                 

                                                                                 
   </li>
   <li 
  class="enumerate" id="x1-21115x20"><a 
href="../html/man/psxyz.c.html" ><span 
class="phvb8t-">psxyz.c</span></a><a 
 id="dx1-21116"></a> added <span 
class="pcrb8t-">-g </span>to break lines into segments based on gap criteria.
   </li>
   <li 
  class="enumerate" id="x1-21118x21"><a 
href="../html/man/triangulate.c.html" ><span 
class="phvb8t-">triangulate.c</span></a><a 
 id="dx1-21119"></a> has new option <span 
class="pcrb8t-">-Q </span>to generate Voronoi polygon edges.
   </li>
   <li 
  class="enumerate" id="x1-21121x22"><a 
href="../html/man/mgd77/mgd77convert.c.html" ><span 
class="phvb8t-">mgd77/mgd77convert.c</span></a><a 
 id="dx1-21122"></a> allows users to give file.ext on command line.
   </li>
   <li 
  class="enumerate" id="x1-21124x23"><a 
href="../html/man/mgd77/mgd77list.c.html" ><span 
class="phvb8t-">mgd77/mgd77list.c</span></a><a 
 id="dx1-21125"></a>        can         now         take         <span 
class="pcrb8t-">-DA    </span>and         <span 
class="pcrb8t-">-DB    </span>which,         in
   the        presence        of        time        =        NaN,        will        not        output        such        records
   [<span 
class="pcrb8t-">-Da</span><!--l. 818--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">b</span>
   will]. Also clarified the ranges implied by <span 
class="pcrb8t-">-D </span>and <span 
class="pcrb8t-">-S</span>. Added <span 
class="pcrb8t-">-F</span>ytime which gives decimal absolute
   year for time output. Modifier <span 
class="pcrb8t-">-At </span>added which attempts to create fake cruise times based on header
   information and distance along track.
   </li>
   <li 
  class="enumerate" id="x1-21127x24"><a 
href="../html/man/mgd77/mgd77manage.c.html" ><span 
class="phvb8t-">mgd77/mgd77manage.c</span></a><a 
 id="dx1-21128"></a> added <span 
class="pcrb8t-">-AE </span>to ignore the verification status and process e77 anyway.
   </li>
   <li 
  class="enumerate" id="x1-21130x25"><a 
href="../html/man/mgd77/mgd77path.c.html" ><span 
class="phvb8t-">mgd77/mgd77path.c</span></a><a 
 id="dx1-21131"></a> added <span 
class="pcrb8t-">-P- </span>to just list the IDs and not the full paths.
   </li>
   <li 
  class="enumerate" id="x1-21133x26"><a 
href="../html/man/mgd77/mgd77track.c.html" ><span 
class="phvb8t-">mgd77/mgd77track.c</span></a><a 
 id="dx1-21134"></a> added <span 
class="pcrb8t-">-Gt</span><!--l. 824--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">d</span><span 
class="ptmri8t-">gap</span>
   to recognize gaps in tracks based on distance or time between successive points.
   </li>
   <li 
  class="enumerate" id="x1-21136x27"><a 
href="../html/man/mgg/mgd77togmt.c.html" ><span 
class="phvb8t-">mgg/mgd77togmt.c</span></a><a 
 id="dx1-21137"></a>  added  new  <span 
class="pcrb8t-">-T </span>and  <span 
class="pcrb8t-">-W </span>options  to  store  total  field  and  account  for  the
   magnetometer tow distance. Also tries to get info from header file.
   </li>
   <li 
  class="enumerate" id="x1-21139x28"><a 
href="../html/man/misc/gmtstitch.c.html" ><span 
class="phvb8t-">misc/gmtstitch.c</span></a><a 
 id="dx1-21140"></a> has enhanced <span 
class="pcrb8t-">-T </span>option to eliminate connections when the 2nd closest pair is too
   close. Also added <span 
class="pcrb8t-">-C </span>option to simply separate the open from the closed polygons (no stitching). Added
   <span 
class="pcrb8t-">-L </span>option to write out segment-link information.
   </li>
   <li 
  class="enumerate" id="x1-21142x29"><a 
href="../html/man/x2sys/x2sys_list.c.html" ><span 
class="phvb8t-">x2sys/x2sys_list.c</span></a><a 
 id="dx1-21143"></a> can now accept list of weights for each track and output the composite weight
   for each crossover.
   </li>
   <li 
  class="enumerate" id="x1-21145x30"><a 
href="../html/man/x2sys/x2sys_solve.c.html" ><span 
class="phvb8t-">x2sys/x2sys_solve.c</span></a><a 
 id="dx1-21146"></a> has option <span 
class="pcrb8t-">-W </span>means an extra column with crossover weight.</li></ol>
<!--l. 838--><p class="noindent" ><span 
class="ptmb8t-x-x-120">]</span>
</p>
   <h4 class="subsectionHead"><span class="titlemark">1.1.12    </span> <a 
 id="x1-220001.1.12"></a>Overview of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.4.0 [Feb-15, 2009]</h4>
<!--l. 840--><p class="noindent" >This is a significant update of the official distribution and hence has a mix of bug fixes and program enhancements.
We have added a new program (<a 
href="../html/man/greenspline.c.html" ><span 
class="phvb8t-">greenspline.c</span></a><a 
 id="dx1-22001"></a>) which offers interpolation and gridding in 1&#8211;3 dimensions using
Green&#8217;s functions of various splines. Also, the <span 
class="ptmb8t-">misc </span>supplement has a new tool (<a 
href="../html/man/gmtdp.c.html" ><span 
class="phvb8t-">gmtdp.c</span></a><a 
 id="dx1-22002"></a>) which offers
line-reduction using the Douglas-Peucker algorithm we used for the various shoreline resolutions. The <span 
class="ptmb8t-">mex</span>
supplement has a new Matlab/Octave function (<a 
href="../html/man/imgread.m.html" ><span 
class="phvb8t-">imgread.m</span></a><a 
 id="dx1-22003"></a>) to directly read Sandwell/Smith *.img files. The
<span 
class="ptmb8t-">x2sys </span>supplement has three new programs: <a 
href="../html/man/x2sys_list.c.html" ><span 
class="phvb8t-">x2sys_list.c</span></a><a 
 id="dx1-22004"></a> can extract a subset of crossovers from the list produced
by <a 
href="../html/man/x2sys_cross.c.html" ><span 
class="phvb8t-">x2sys_cross.c</span></a><a 
 id="dx1-22005"></a>, <a 
href="../html/man/x2sys_report.c.html" ><span 
class="phvb8t-">x2sys_report.c</span></a><a 
 id="dx1-22006"></a> reports statistics of crossovers, whereas <a 
href="../html/man/x2sys_solve.c.html" ><span 
class="phvb8t-">x2sys_solve.c</span></a><a 
 id="dx1-22007"></a> will determine
systematic trends from a set of crossover errors. These programs are intended to replace the old <span 
class="ptmb8t-">x_system </span>tools
<a 
href="../html/man/x_list.c.html" ><span 
class="phvb8t-">x_list.c</span></a><a 
 id="dx1-22008"></a>, <a 
href="../html/man/x_report.c.html" ><span 
class="phvb8t-">x_report.c</span></a><a 
 id="dx1-22009"></a> and <a 
href="../html/man/x_solve_dc_drift.c.html" ><span 
class="phvb8t-">x_solve_dc_drift.c</span></a><a 
 id="dx1-22010"></a>. We have also temporarily added <span 
class="pcrr8t-">GMT_qsort </span>which is a
                                                                                 

                                                                                 
64-bit compliant version of <span 
class="pcrr8t-">qsort</span>. The latter is broken under OS X 64-bit and is thus substituted
on that platform only for 64-bit compilations until Apple fixes the problem. Finally <a 
href="../html/man/ps2raster.c.html" ><span 
class="phvb8t-">ps2raster.c</span></a><a 
 id="dx1-22011"></a>
can now be used to create geotiff images if <span 
class="ptmbo8t-">gdal</span><a 
 id="dx1-22012"></a> is installed on your system. Here is the list of bug
corrections:
   </p><dl class="description"><dt class="description">
<a 
href="../html/man/gmt_customio.c.html" ><span 
class="phvb8t-">gmt_customio.c</span></a><a 
 id="dx1-22013"></a> </dt><dd 
class="description">: Fixed sub-region access in Surfer format. This bug would manifest itself mainly when
   doing a <a 
href="../html/man/grdcut.html" ><span 
class="phvb8t-">grdcut</span></a><a 
 id="dx1-22014"></a> with a N-S sub-region.
   </dd><dt class="description">
<a 
href="../html/man/gmt_init.c.html" ><span 
class="phvb8t-">gmt_init.c</span></a><a 
 id="dx1-22015"></a> </dt><dd 
class="description">:   Modified   special   checks   for   FreeBSD   by   also   considering   _AMD64_.   <span 
class="pcrb8t-">-JXh </span>was
   misinterpreted whereas <span 
class="pcrb8t-">-JXv </span>was OK.
   </dd><dt class="description">
<a 
href="../html/man/gmt_io.c.html" ><span 
class="phvb8t-">gmt_io.c</span></a><a 
 id="dx1-22016"></a> </dt><dd 
class="description">: Did not properly apply <span 
class="ptmb8t-">PLOT_DEGREE_FORMAT</span>=ddd.x for decimal degrees.
   </dd><dt class="description">
<a 
href="../html/man/gmt_map.c.html" ><span 
class="phvb8t-">gmt_map.c</span></a><a 
 id="dx1-22017"></a> </dt><dd 
class="description">: Determining where parallels and meridians intersected the map boundary was susceptible
   to  roundoff  for  very  small  regions.  Added  improved  clipping  for  geographic  polygons  using  the
   Sutherland and Hodgman algorithm when there are no map jumps in longitude. Fixes problem with
   tiny strips of &#8220;land&#8221; along map perimeter for some projections.
   </dd><dt class="description">
<a 
href="../html/man/gmt_math.h.html" ><span 
class="phvb8t-">gmt_math.h</span></a><a 
 id="dx1-22018"></a> </dt><dd 
class="description">: Check for macro definitions for system math functions.
   </dd><dt class="description">
<a 
href="../html/man/gmt_plot.c.html" ><span 
class="phvb8t-">gmt_plot.c</span></a><a 
 id="dx1-22019"></a> </dt><dd 
class="description">:   Wrongly   checked   for   map   jumps   for   non-periodic   map   boundaries.   Bug   in
   <span 
class="pcrr8t-">GMT_fill_polygon </span>that affected polygon outline. 3D text box was computed incorrectly. Could
   exceeded array size in <span 
class="pcrr8t-">GMT_epsinfo</span>.
   </dd><dt class="description">
<a 
href="../html/man/gmt_proj.c.html" ><span 
class="phvb8t-">gmt_proj.c</span></a><a 
 id="dx1-22020"></a> </dt><dd 
class="description">: Fixed bug in Lambert conformal conic projection for southern hemisphere.
   </dd><dt class="description">
<a 
href="../html/man/gmt_support.c.html" ><span 
class="phvb8t-">gmt_support.c</span></a><a 
 id="dx1-22021"></a> </dt><dd 
class="description">: Function <span 
class="pcrr8t-">GMT_get_arc </span>did not check for division by zero. The <span 
class="pcrb8t-">-Gx</span><span 
class="ptmri8t-">file:radius</span>[unit]
   option      in      <a 
href="../html/man/grdcontour.c.html" ><span 
class="phvb8t-">grdcontour.c</span></a><a 
 id="dx1-22022"></a>      passed      the      entire      argument      as      the      file      name.
   Function <span 
class="pcrr8t-">GMT_polygon_is_open </span>did not test for empty polygons (n = 0). Avoid interpolating hue
   (converted from RGB) over more than 180 degrees. Changed <span 
class="pcrr8t-">GMT_rgb_to_hsv </span>to integer logic to
   avoid errors on some compilers. As a result: much shorter code as well.
   </dd><dt class="description">
<a 
href="../html/man/gmt_vector.c.html" ><span 
class="phvb8t-">gmt_vector.c</span></a><a 
 id="dx1-22023"></a> </dt><dd 
class="description">: Function <span 
class="pcrr8t-">GMT_resample_path </span>would add 360 to points along meridians.
   </dd><dt class="description">
<a 
href="../html/man/pslib.c.html" ><span 
class="phvb8t-">pslib.c</span></a><a 
 id="dx1-22024"></a> </dt><dd 
class="description">:       <span 
class="pcrr8t-">ps_polygon   </span>can       only       split       line       when       rgb[0]       ==       -1       not
   <!--l. 881--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003C;</mo></math>
   0 since -3 now means to use a fill pattern. Redefined <span 
class="ptmri8t-">PostScript</span>code for circle which needed a stroke
   (S)  first,  otherwise  a  line  would  be  drawn  from  the  previous  symbol.  Updated  <span class="underline">PSL_prologue.ps</span>
   version. Image placement now in integers. Ensures that placement is consistent with e.g. box drawn
   with the same coordinates. Does not produce colormap with number of pixels and colors is the same.
   </dd><dt class="description">
<a 
href="../html/man/gmtmath.c.html" ><span 
class="phvb8t-">gmtmath.c</span></a><a 
 id="dx1-22025"></a> </dt><dd 
class="description">: The <span 
class="ptmb8t-">D2DT2 </span>operator whose boundary condition yields 0 should yield NaN if one or more
   of the nearby nodes are NaN.
   </dd><dt class="description">
<a 
href="../html/man/grdblend.c.html" ><span 
class="phvb8t-">grdblend.c</span></a><a 
 id="dx1-22026"></a> </dt><dd 
class="description">: A side-effect of the 2007-02-01 fix was that when the file is re-opened the row range is reset.
   Now the possible offset is computed during initialization but applied when the file is finally opened for
   reading. Better treatment of longitude periodicity if <span 
class="pcrb8t-">-fg </span>is selected. E.g., if <span 
class="pcrb8t-">-Rg </span>is used and a grid is
   -30/30 in longitude the output grid will consider 0-30 and 330-360 correctly
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/grdfilter.c.html" ><span 
class="phvb8t-">grdfilter.c</span></a><a 
 id="dx1-22027"></a> </dt><dd 
class="description">: <span 
class="pcrb8t-">-D</span>5 did not initialize <span 
class="ptmri8t-">xscale </span>so filter search box was set to region width which typically is
   much larger. The bug did not affect the results but unnecessarily increased runtime. Complained if <span 
class="pcrb8t-">-R</span>
   was used and <span 
class="ptmri8t-">xmin </span>was less than grid <span 
class="ptmri8t-">xmin </span>for a full 360-range grid.
   </dd><dt class="description">
<a 
href="../html/man/grdimage.c.html" ><span 
class="phvb8t-">grdimage.c</span></a><a 
 id="dx1-22028"></a> </dt><dd 
class="description">: Failed to determine boundary of projected grid with enough precision.
   </dd><dt class="description">
<a 
href="../html/man/grdmath.c.html" ><span 
class="phvb8t-">grdmath.c</span></a><a 
 id="dx1-22029"></a> </dt><dd 
class="description">: Some 2nd-order derivatives whose boundary condition yields 0 should yield NaN if one or
   more of the nearby nodes are NaN.
   </dd><dt class="description">
<a 
href="../html/man/grdreformat.c.html" ><span 
class="phvb8t-">grdreformat.c</span></a><a 
 id="dx1-22030"></a> </dt><dd 
class="description">:  Since  there  is  no  longer  a  <span class="underline">share/conf/gmt_formats.conf</span>  the  usage  message  crashed.
   Did not initialize grid header structure and could get netCDF error &#8220;Named variable does not exist
   in file&#8221;. This could also occur in <a 
href="../html/man/grd2cpt.c.html" ><span 
class="phvb8t-">grd2cpt.c</span></a><a 
 id="dx1-22031"></a>, <a 
href="../html/man/grdedit.c.html" ><span 
class="phvb8t-">grdedit.c</span></a><a 
 id="dx1-22032"></a>, <a 
href="../html/man/grdtrack.c.html" ><span 
class="phvb8t-">grdtrack.c</span></a><a 
 id="dx1-22033"></a>, <a 
href="../html/man/grdvector.c.html" ><span 
class="phvb8t-">grdvector.c</span></a><a 
 id="dx1-22034"></a>, <a 
href="../html/man/grdview.c.html" ><span 
class="phvb8t-">grdview.c</span></a><a 
 id="dx1-22035"></a>, and
   <a 
href="../html/man/grdvolume.c.html" ><span 
class="phvb8t-">grdvolume.c</span></a><a 
 id="dx1-22036"></a>.
   </dd><dt class="description">
<a 
href="../html/man/psbasemap.c.html" ><span 
class="phvb8t-">psbasemap.c</span></a><a 
 id="dx1-22037"></a> </dt><dd 
class="description">: The syntax for the <span 
class="pcrb8t-">-L </span>option had to change since one could not easily use the :label:
   specification if the coordinates were given in dd:mm[:ss] format. A new syntax has been implemented
   where  one  or  more  +?[args]  strings  are  appended  after  the  required  parameters  (see  man  page).
   Erroneously suggested that 3-D base was plotted at z=0, instead of at the bottom end of the z-axis.
   </dd><dt class="description">
<a 
href="../html/man/pscoast.c.html" ><span 
class="phvb8t-">pscoast.c</span></a><a 
 id="dx1-22038"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-Q </span>option incorrectly required <span 
class="pcrb8t-">-J</span>. Also, see revised <span 
class="pcrb8t-">-L </span>as for <a 
href="../html/man/psbasemap.c.html" ><span 
class="phvb8t-">psbasemap.c</span></a><a 
 id="dx1-22039"></a>.
   </dd><dt class="description">
<a 
href="../html/man/pslegend.c.html" ><span 
class="phvb8t-">pslegend.c</span></a><a 
 id="dx1-22040"></a> </dt><dd 
class="description">: Now use Unix <span 
class="pcrr8t-">remove </span>function to delete script after completion; this avoids a Windows
   problem.
   </dd><dt class="description">
<a 
href="../html/man/psmask.c.html" ><span 
class="phvb8t-">psmask.c</span></a><a 
 id="dx1-22041"></a> </dt><dd 
class="description">: Fixed a bug for <span 
class="pcrb8t-">-D-</span><span 
class="ptmri8t-">file </span>which did not write multi-segment headers.
   </dd><dt class="description">
<a 
href="../html/man/psscale.c.html" ><span 
class="phvb8t-">psscale.c</span></a><a 
 id="dx1-22042"></a> </dt><dd 
class="description">: Logarithmic scale did not function properly when scale bar was vertical. When <span 
class="pcrb8t-">-I </span>and <span 
class="pcrb8t-">-Li</span>
   was used we did not draw box outlines. Did not check if <span 
class="pcrb8t-">-D </span>was not given, and had wrong test for <span 
class="pcrb8t-">-E</span>.
   Added <span 
class="pcrb8t-">-Aa </span>and <span 
class="pcrb8t-">-Al </span>options to move only the annotations or label to the other side of the color bar.
   Now requires <span 
class="pcrb8t-">-Ac </span>to keep writing the vertical labels as columns.
   </dd><dt class="description">
<a 
href="../html/man/pstext.c.html" ><span 
class="phvb8t-">pstext.c</span></a><a 
 id="dx1-22043"></a> </dt><dd 
class="description">: We incorrectly removed blank lines but those mark new paragraphs when in <span 
class="pcrb8t-">-M </span>mode.
   </dd><dt class="description">
<a 
href="../html/man/psxyz.c.html" ><span 
class="phvb8t-">psxyz.c</span></a><a 
 id="dx1-22044"></a> </dt><dd 
class="description">: Did not pick up y-size for column from input data file.
   </dd><dt class="description">
<a 
href="../html/man/xyz2grd.c.html" ><span 
class="phvb8t-">xyz2grd.c</span></a><a 
 id="dx1-22045"></a> </dt><dd 
class="description">: For <span 
class="pcrb8t-">-E </span>under Windows we used <span 
class="pcrr8t-">fscanf </span>with a pointer from GMT DLL which would fail
   for mysterious reasons.
   </dd><dt class="description">
<a 
href="../html/man/meca/psmeca.c.html" ><span 
class="phvb8t-">meca/psmeca.c</span></a><a 
 id="dx1-22046"></a> </dt><dd 
class="description">: Fixed bugs that would give strange beach balls for some input.
   </dd><dt class="description">
<a 
href="../html/man/meca/pscoupe.c.html" ><span 
class="phvb8t-">meca/pscoupe.c</span></a><a 
 id="dx1-22047"></a> </dt><dd 
class="description">: Fixed bugs that would give strange beach balls for some input.
   </dd><dt class="description">
<a 
href="../html/man/misc/gmtstitch.c.html" ><span 
class="phvb8t-">misc/gmtstitch.c</span></a><a 
 id="dx1-22048"></a> </dt><dd 
class="description">: Check to see if format was set was wrong.
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/mgd77/mgd77.c.html" ><span 
class="phvb8t-">mgd77/mgd77.c</span></a><a 
 id="dx1-22049"></a> </dt><dd 
class="description">: Index array error resulting in wrong IGRF start and stop years was fixed. Now applies
   recalculation of fields requested by E77 flags as part of reading netcdf mgd77+ files. However, if the
   original anomaly was NaN then we leave it as is.
   </dd><dt class="description">
<a 
href="../html/man/mgd77/mgd77sniffer.c.html" ><span 
class="phvb8t-">mgd77/mgd77sniffer.c</span></a><a 
 id="dx1-22050"></a> </dt><dd 
class="description">: Bitwise assignment error was deactivating other fields when depth field was
   missing from a cruise. Another bitwise error was overwriting E77 nav flags when navigation was found
   on land Updated sample grid function to handle longitudes for img files.
   </dd><dt class="description">
<a 
href="../html/man/mgd77/mgd77track.c.html" ><span 
class="phvb8t-">mgd77/mgd77track.c</span></a><a 
 id="dx1-22051"></a> </dt><dd 
class="description">: Missing newline after last source line.
   </dd><dt class="description">
<a 
href="../html/man/spotter/backtracker.c.html" ><span 
class="phvb8t-">spotter/backtracker.c</span></a><a 
 id="dx1-22052"></a> </dt><dd 
class="description">:  The  <span 
class="pcrb8t-">-W </span>option  always  assumed  the  reverse  rotation,  <span 
class="ptmri8t-">i.e.</span>,  from  hotspot  to
   seamount. Now obeys the <span 
class="pcrb8t-">-D </span>option.
   </dd><dt class="description">
<a 
href="../html/man/x2sys/x2sys_get.c.html" ><span 
class="phvb8t-">x2sys/x2sys_get.c</span></a><a 
 id="dx1-22053"></a> </dt><dd 
class="description">: Now handles <span 
class="pcrb8t-">-R </span>with longitude periodicity correctly.
   </dd><dt class="description">
<a 
href="../html/man/xgrid/xGridEdit.c.html" ><span 
class="phvb8t-">xgrid/xGridEdit.c</span></a><a 
 id="dx1-22054"></a> </dt><dd 
class="description">: Needed <span 
class="pcrr8t-">GMT_io_init </span>to get all pieces needed to read grids.</dd></dl>
<!--l. 945--><p class="indent" >   Here is a list of the recent enhancement to various programs:
</p><!--l. 947--><p class="indent" >
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-22056x1"><a 
href="../html/man/gmt_init.c.html" ><span 
class="phvb8t-">gmt_init.c</span></a><a 
 id="dx1-22057"></a> has added support for enhanced <span 
class="pcrb8t-">-E </span>option for 3-D perspective views which allows the
   specification of a fixed point (needed for creating animations). Updated all programs to use the new
   option and added updated man page and synopsis to all programs. Now, <span 
class="pcrb8t-">-R </span>may take the name of an
   existing grid file. Then, the grid domain is used to set <span 
class="pcrb8t-">-R </span>as well as the grid increment (and registration)
   for those programs that have such options.
   </li>
   <li 
  class="enumerate" id="x1-22059x2"><a 
href="../html/man/gmt_map.c.html" ><span 
class="phvb8t-">gmt_map.c</span></a><a 
 id="dx1-22060"></a> also has added support for enhanced <span 
class="pcrb8t-">-E </span>option for 3-D perspective views.
   </li>
   <li 
  class="enumerate" id="x1-22062x3"><a 
href="../html/man/gmtmath.c.html" ><span 
class="phvb8t-">gmtmath.c</span></a><a 
 id="dx1-22063"></a> has added new operators <span 
class="ptmb8t-">NOT </span>and <span 
class="ptmb8t-">INRANGE</span>.
   </li>
   <li 
  class="enumerate" id="x1-22065x4"><a 
href="../html/man/grd2cpt.c.html" ><span 
class="phvb8t-">grd2cpt.c</span></a><a 
 id="dx1-22066"></a> can now accept multiple grid files at once.
   </li>
   <li 
  class="enumerate" id="x1-22068x5"><a 
href="../html/man/grdfilter.c.html" ><span 
class="phvb8t-">grdfilter.c</span></a><a 
 id="dx1-22069"></a> has new options <span 
class="pcrb8t-">-Np </span>to honor any NaNs found so output can be NaN, <span 
class="pcrb8t-">-Nr </span>to replace
   output node with NaN if input node is NaN, and <span 
class="pcrb8t-">-Ni </span>to ignore NaNs [Default].
   </li>
   <li 
  class="enumerate" id="x1-22071x6"><a 
href="../html/man/mapproject.c.html" ><span 
class="phvb8t-">mapproject.c</span></a><a 
 id="dx1-22072"></a> has extended the <span 
class="pcrb8t-">-A </span>option by making the fixed point optional; if not given we compute
   azimuths between successive data points.
   </li>
   <li 
  class="enumerate" id="x1-22074x7"><a 
href="../html/man/minmax.c.html" ><span 
class="phvb8t-">minmax.c</span></a><a 
 id="dx1-22075"></a> has optional /<span 
class="ptmri8t-">col </span>that may be added to <span 
class="pcrb8t-">-T</span><span 
class="ptmri8t-">dz </span>to select another column [third]. Added <span 
class="pcrb8t-">-S </span>to
   leave space for error bars. Useful with <span 
class="pcrb8t-">-I </span>and subsequent <a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-22076"></a> <span 
class="pcrb8t-">-E</span>.
   </li>
   <li 
  class="enumerate" id="x1-22078x8"><a 
href="../html/man/pscoast.c.html" ><span 
class="phvb8t-">pscoast.c</span></a><a 
 id="dx1-22079"></a>  has  a  new  modifier  <span 
class="ptmb8t-">+  </span>to  the  <span 
class="pcrb8t-">-D </span>option,  which  determines  the  next  lower  resolution
   should  the  selected  one  not  be  available.  This  enhancement  also  affects  both  <a 
href="../html/man/gmtselect.c.html" ><span 
class="phvb8t-">gmtselect.c</span></a><a 
 id="dx1-22080"></a>  and
   <a 
href="../html/man/grdlandmask.c.html" ><span 
class="phvb8t-">grdlandmask.c</span></a><a 
 id="dx1-22081"></a>.
                                                                                 

                                                                                 
   </li>
   <li 
  class="enumerate" id="x1-22083x9"><a 
href="../html/man/psimage.c.html" ><span 
class="phvb8t-">psimage.c</span></a><a 
 id="dx1-22084"></a> has new <span 
class="pcrb8t-">-Gt </span>option, with assignment of color to be made transparent.
   </li>
   <li 
  class="enumerate" id="x1-22086x10"><a 
href="../html/man/pslegend.c.html" ><span 
class="phvb8t-">pslegend.c</span></a><a 
 id="dx1-22087"></a> lets  <span 
class="ptmb8t-">N  </span>(number  of  columns)  also  affect  the  printing  of  labels.  Can  now  use  rectangle
   among the symbols.
   </li>
   <li 
  class="enumerate" id="x1-22089x11"><a 
href="../html/man/psmask.c.html" ><span 
class="phvb8t-">psmask.c</span></a><a 
 id="dx1-22090"></a> now has modifiers <span 
class="ptmb8t-">+n</span><span 
class="ptmri8t-">n_points </span>and <span 
class="ptmb8t-">+q </span>to the <span 
class="pcrb8t-">-D </span>option to limit the minimum number of
   points a polygon must have and, to suppress <span 
class="ptmri8t-">PostScript</span>&#x00A0;output, respectively.
   </li>
   <li 
  class="enumerate" id="x1-22092x12"><a 
href="../html/man/pstext.c.html" ><span 
class="phvb8t-">pstext.c</span></a><a 
 id="dx1-22093"></a> has enhanced <span 
class="pcrb8t-">-Z</span>+ option expects z-level values in 3rd column.
   </li>
   <li 
  class="enumerate" id="x1-22095x13"><a 
href="../html/man/pslib.c.html" ><span 
class="phvb8t-">pslib.c</span></a><a 
 id="dx1-22096"></a> internals now measure paper size in double precision points instead of truncating to nearest
   integer. To remain backwards compatible for <a 
href="../html/man/pslib.c.html" ><span 
class="phvb8t-">pslib.c</span></a><a 
 id="dx1-22097"></a> users we now initialize all plotting in GMT with
   <span 
class="pcrr8t-">ps_plotinit_hires </span>instead of <span 
class="pcrr8t-">ps_plotinit</span>. Allow transparency when plotting 8-bit images
   (as well as 24-bit). We now use a new implementation of <span 
class="pcrr8t-">ps_textdim </span>to ensure proper alignment of
   texts and the optional surrounding boxes. Finally, wehave simplified the <span 
class="ptmri8t-">PostScript</span>&#x00A0;code for symbols
   and removed some limitations on plotting by officially moving to <span 
class="ptmri8t-">PostScript</span>&#x00A0;language level 2.
   </li>
   <li 
  class="enumerate" id="x1-22099x14"><a 
href="../html/man/ps2raster.c.html" ><span 
class="phvb8t-">ps2raster.c</span></a><a 
 id="dx1-22100"></a>     now     will     scan     for     the     optional     comment     <span class="obeylines-h"><span class="verb"><span 
class="pcrr8t-">%%HiResBoundingBox</span></span></span>
   which     takes     precedence     over     the     values     in     <span class="obeylines-h"><span class="verb"><span 
class="pcrr8t-">%%BoundingBox</span></span></span>.     New     format     <span 
class="pcrb8t-">-TG</span>
   turns    on    transparency    for    PNG    output,    and    <span 
class="pcrb8t-">-Tb  </span>selects    Microsoft    BMP    output.
   Formats    <span 
class="ptmb8t-">b</span>,    <span 
class="ptmb8t-">g</span>,    <span 
class="ptmb8t-">j</span>,    and    <span 
class="ptmb8t-">t    </span>accept    modifier    &#8220;-&#8221;    to    produce    grayscale    images.    Added
   <span 
class="pcrb8t-">-C</span><span 
class="ptmri8t-">gs-command    </span>to    pass    one    or    more    custom    switches    directly    to    <span 
class="ptmbo8t-">ghostscript</span><a 
 id="dx1-22101"></a>,    and
   <span 
class="pcrb8t-">-Q</span>[<span 
class="ptmb8t-">g</span><!--l. 988--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">t</span>]<span 
class="ptmri8t-">bits</span>
   to set the level of anti-aliasing for graphics and text, respectively. We also added a new option <span 
class="pcrb8t-">-F </span>to
   force a specified output file name. Finally, added <span 
class="pcrb8t-">-W </span>to help create world files and geotiff output. To
   simplify boundary annotations for such plots (which must be inside the map region) we added the new
   choice <span 
class="ptmri8t-">inside </span>for the <span 
class="ptmb8t-">BASEMAP_TYPE </span>default parameter.
   </li>
   <li 
  class="enumerate" id="x1-22103x15"><a 
href="../html/man/psxy.c.html" ><span 
class="phvb8t-">psxy.c</span></a><a 
 id="dx1-22104"></a> has new option <span 
class="pcrb8t-">-I</span><span 
class="ptmri8t-">intens </span>to modulate fill color via a fixed illumination value.
   </li>
   <li 
  class="enumerate" id="x1-22106x16"><a 
href="../html/man/psxyz.c.html" ><span 
class="phvb8t-">psxyz.c</span></a><a 
 id="dx1-22107"></a> has the same new option <span 
class="pcrb8t-">-I</span><span 
class="ptmri8t-">intens</span>.
   </li>
   <li 
  class="enumerate" id="x1-22109x17"><a 
href="../html/man/xyz2grd.c.html" ><span 
class="phvb8t-">xyz2grd.c</span></a><a 
 id="dx1-22110"></a> has  new  format  (<span 
class="ptmb8t-">A</span>)  for  <span 
class="pcrb8t-">-Z </span>which  allows  more  than  one  floating  point  value  per  input
   record. Cannot be used if the z-values are in dateTclock or ddd:mm:ss format.
   </li>
   <li 
  class="enumerate" id="x1-22112x18"><a 
href="../html/man/mgd77/mgd77track.c.html" ><span 
class="phvb8t-">mgd77/mgd77track.c</span></a><a 
 id="dx1-22113"></a> has enhanced <span 
class="pcrb8t-">-A </span>option to place cruise ID equidistantly (distance or time)
   along the track.
   </li>
   <li 
  class="enumerate" id="x1-22115x19"><a 
href="../html/man/spotter/backtracker.c.html" ><span 
class="phvb8t-">spotter/backtracker.c</span></a><a 
 id="dx1-22116"></a> has new option <span 
class="pcrb8t-">-e </span>to specify a single fixed total reconstruction rotation that
   will be applied to all input points.
   </li>
   <li 
  class="enumerate" id="x1-22118x20"><a 
href="../html/man/x2sys/x2sys.c.html" ><span 
class="phvb8t-">x2sys/x2sys.c</span></a><a 
 id="dx1-22119"></a> internals  now  has  automatic  swabbing  of  index  files,  if  required.  Can  now  handle
   netCDF 1-D COARDS files.
   </li>
   <li 
  class="enumerate" id="x1-22121x21"><a 
href="../html/man/x2sys/x2sys_init.c.html" ><span 
class="phvb8t-">x2sys/x2sys_init.c</span></a><a 
 id="dx1-22122"></a> Now, the distance and speed unit settings (<span 
class="pcrb8t-">-C</span>, <span 
class="pcrb8t-">-N</span>) are set here and kept with the
   TAG for use in other <span 
class="ptmb8t-">x2sys </span>programs.
                                                                                 

                                                                                 
   </li>
   <li 
  class="enumerate" id="x1-22124x22"><a 
href="../html/man/x2sys/x2sys_datalist.c.html" ><span 
class="phvb8t-">x2sys/x2sys_datalist.c</span></a><a 
 id="dx1-22125"></a>  now  has  [experimental]  support  for  using  a  correction  table  and  can
   compute auxiliary data such as distance and azimuth.</li></ol>
<!--l. 1008--><p class="indent" >   Finally, we have added three new examples to demonstrate plotting of *.img grids, mixing UTM grids and
geographic projections, and using <a 
href="../html/man/greenspline.c.html" ><span 
class="phvb8t-">greenspline.c</span></a><a 
 id="dx1-22126"></a> for gridding on a spherical surface.
</p><!--l. 1011--><p class="noindent" ><span 
class="ptmb8t-x-x-120">]</span>
</p>
   <h4 class="subsectionHead"><span class="titlemark">1.1.13    </span> <a 
 id="x1-230001.1.13"></a>Overview of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.3.1 [May-15, 2008]</h4>
<!--l. 1013--><p class="noindent" >This quick update only 2 weeks after the release of version 4.3.0 was prompted by the discovery of three serious
bugs; two of which were quite old but had caused no harm until tested under Fedora 9. The third critical bug
prevented the wholesale reading and writing of GRD98 format grids. In addition a few minor bugs were
discovered; this is the list of all corrections:
   </p><dl class="description"><dt class="description">
<a 
href="../html/man/gmt_io.c.html" ><span 
class="phvb8t-">gmt_io.c</span></a><a 
 id="dx1-23001"></a> </dt><dd 
class="description">: <span 
class="pcrr8t-">GMT_nc_input </span>would not read all data columns when no variable names were given.
   </dd><dt class="description">
<a 
href="../html/man/gmt_mgg_header2.c.html" ><span 
class="phvb8t-">gmt_mgg_header2.c</span></a><a 
 id="dx1-23002"></a> </dt><dd 
class="description">: Passed two of the arguments to <span 
class="ptmri8t-">fread </span>in the wrong order. Prior to version 4.2.0
   the return code (which indicated an error) was not checked yet the read did return the correct data. With
   better error checking this latent bug now caused a refusal to read any GRD98 grid.
   </dd><dt class="description">
<a 
href="../html/man/gmt_support.c.html" ><span 
class="phvb8t-">gmt_support.c</span></a><a 
 id="dx1-23003"></a> </dt><dd 
class="description">: Allow a little more slop in determining whether primary tick is at same location as
   secondary tick.
   </dd><dt class="description">
<a 
href="../html/man/gmtselect.c.html" ><span 
class="phvb8t-">gmtselect.c</span></a><a 
 id="dx1-23004"></a> </dt><dd 
class="description">: Did not like a variable number of input columns. Now OK if both input and output is
   ASCII and there are at least 2 (3 with <span 
class="pcrb8t-">-Z</span>) input columns present.
   </dd><dt class="description">
<a 
href="../html/man/grd2xyz.c.html" ><span 
class="phvb8t-">grd2xyz.c</span></a><a 
 id="dx1-23005"></a> </dt><dd 
class="description">: For option <span 
class="pcrb8t-">-E</span>, the test for <span 
class="ptmri8t-">xinc </span>== <span 
class="ptmri8t-">yinc </span>was susceptible to round-off.
   </dd><dt class="description">
<a 
href="../html/man/project.c.html" ><span 
class="phvb8t-">project.c</span></a><a 
 id="dx1-23006"></a> </dt><dd 
class="description">: Now explicitly initializes the pointers in the data structure to NULL since <span 
class="ptmri8t-">realloc </span>does not
   initialize  new  memory  (yet  almost  all  implementations  of  <span 
class="ptmri8t-">realloc  </span>appear  to  have  done  so  anyway,
   masking the memory bug).
   </dd><dt class="description">
<a 
href="../html/man/psxy.c.html" ><span 
class="phvb8t-">psxy.c</span></a><a 
 id="dx1-23007"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-D </span>option erroneously gave an error despite being used properly.
   </dd><dt class="description">
<a 
href="../html/man/psxyz.c.html" ><span 
class="phvb8t-">psxyz.c</span></a><a 
 id="dx1-23008"></a> </dt><dd 
class="description">: Similar problem as described for <a 
href="../html/man/project.html" ><span 
class="phvb8t-">project</span></a><a 
 id="dx1-23009"></a>.
   </dd><dt class="description">
<a 
href="../html/man/xyz2grd.c.html" ><span 
class="phvb8t-">xyz2grd.c</span></a><a 
 id="dx1-23010"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-S </span>option incorrectly insisted that <span 
class="pcrb8t-">-G </span>must be used.</dd></dl>
<!--l. 1034--><p class="indent" >   In addition, many of the supplements did not work properly under Windows due to internal problems with the
DLL. Finally, one enhancement snuck in before the decision to issue this update was made:
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-23012x1"><a 
href="../html/man/gmt_init.c.html" ><span 
class="phvb8t-">gmt_init.c</span></a><a 
 id="dx1-23013"></a> was enhanced so that the media size <span 
class="ptmb8t-">Custom_WxH </span>can use W and H in inch, cm, or m by
   appending <span 
class="ptmb8t-">i</span>, <span 
class="ptmb8t-">c</span>, or <span 
class="ptmb8t-">m </span>to each dimension [Default remains points].</li></ol>
                                                                                 

                                                                                 
<!--l. 1041--><p class="noindent" ><span 
class="ptmb8t-x-x-120">]</span>
</p>
   <h4 class="subsectionHead"><span class="titlemark">1.1.14    </span> <a 
 id="x1-240001.1.14"></a>Overview of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.3.0 [May-1, 2008]</h4>
<!--l. 1043--><p class="noindent" >Changes are once again a mix of structural improvements, bug fixes, and a few enhancements. The coastline
files (now GSHHS 1.10) have seen minor modifications, the mex supplement now offers support for
<a 
href="http://www.octave.org" ><span 
class="ptmbo8t-">Octave</span><a 
 id="dx1-24001"></a></a>, all source code is now fully 64-bit compliant, we have added an isolation mode option (if
<span 
class="ptmb8t-">GMT_TMPDIR </span>is defined, write temporary and hidden files to that directory), and the configure/make setup has
been further improved (such as honoring CFLAGS and LDFLAGS set by user). Colors may now
be specified as hexadecimal codes (e.g., #ff0000 for red), and projections can be specified by name
(similar to <a 
href="http://proj.maptools.org" ><span 
class="ptmbo8t-">Proj4</span><a 
 id="dx1-24002"></a></a>). Finally, binary table data can now be COARDS-compliant netCDF files. As for
documentation, we have now switched from C shell to Bourne shell (although the <span 
class="ptmbo8t-">csh</span><a 
 id="dx1-24003"></a> examples are still
distributed).
</p><!--l. 1055--><p class="indent" >   The following lists specific enhancements or new program options:
</p><!--l. 1058--><p class="indent" >
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-24005x1"><a 
href="../html/man/gmt_grdio.c.html" ><span 
class="phvb8t-">gmt_grdio.c</span></a><a 
 id="dx1-24006"></a> is modified so the grid i/o supports the <span 
class="ptmb8t-">GMT_[DATA</span><!--l. 1059--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">IMG</span><!--l. 1059--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">GRID]DIR</span>
   environment settings.
   </li>
   <li 
  class="enumerate" id="x1-24008x2"><a 
href="../html/man/gmt_init.c.html" ><span 
class="phvb8t-">gmt_init.c</span></a><a 
 id="dx1-24009"></a>   was   enhanced   so   <span 
class="pcrb8t-">-U </span>can   now   interpret   a   justification   (e.g.,   <span 
class="ptmri8t-">just/dx/dy   </span>on   the
   command  line  or  by  setting  <span 
class="ptmb8t-">UNIX_TIME_POS</span>)  and  we  introduced  a  new  default  parameter
   <span 
class="ptmb8t-">UNIX_TIME_FORMAT </span>which controls the formatting of the timestamp.
   </li>
   <li 
  class="enumerate" id="x1-24011x3"><a 
href="../html/man/gmt_io.c.html" ><span 
class="phvb8t-">gmt_io.c</span></a><a 
 id="dx1-24012"></a> now implements <span 
class="pcrb8t-">-b</span>[<span 
class="ptmb8t-">i</span><!--l. 1063--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">o</span>]<span 
class="ptmb8t-">c</span>[<span 
class="ptmri8t-">var1/...</span>]
   option to indicate input is netCDF.
   </li>
   <li 
  class="enumerate" id="x1-24014x4"><a 
href="../html/man/gmtmath.html" ><span 
class="phvb8t-">gmtmath</span></a><a 
 id="dx1-24015"></a> recognizes new constants <span 
class="ptmb8t-">TMIN</span>, <span 
class="ptmb8t-">TMAX</span>, <span 
class="ptmb8t-">TINC</span>, and <span 
class="ptmb8t-">N</span>.
   </li>
   <li 
  class="enumerate" id="x1-24017x5"><a 
href="../html/man/grdimage.html" ><span 
class="phvb8t-">grdimage</span></a><a 
 id="dx1-24018"></a> uses <span 
class="pcrb8t-">-N </span>to not clip image at map boundary.
   </li>
   <li 
  class="enumerate" id="x1-24020x6"><a 
href="../html/man/grdview.html" ><span 
class="phvb8t-">grdview</span></a><a 
 id="dx1-24021"></a> now uses <span 
class="pcrb8t-">-Wf </span>to change the facade pen from its default value.
   </li>
   <li 
  class="enumerate" id="x1-24023x7"><a 
href="../html/man/grdmath.html" ><span 
class="phvb8t-">grdmath</span></a><a 
 id="dx1-24024"></a>  recognizes  new  constants  <span 
class="ptmb8t-">XMIN</span>,  <span 
class="ptmb8t-">XMAX</span>,  <span 
class="ptmb8t-">XINC</span>,  <span 
class="ptmb8t-">NX</span>,  and  similarly  <span 
class="ptmb8t-">YMIN</span>,  <span 
class="ptmb8t-">YMAX</span>,
   <span 
class="ptmb8t-">YINC</span>, <span 
class="ptmb8t-">NY</span>.
   </li>
   <li 
  class="enumerate" id="x1-24026x8"><a 
href="../html/man/mapproject.html" ><span 
class="phvb8t-">mapproject</span></a><a 
 id="dx1-24027"></a> <span 
class="pcrb8t-">-G+ </span>will compute distances between coordinates in first 4 columns.
   </li>
   <li 
  class="enumerate" id="x1-24029x9"><a 
href="../html/man/ps2raster.html" ><span 
class="phvb8t-">ps2raster</span></a><a 
 id="dx1-24030"></a> has new option <span 
class="pcrb8t-">-D </span>to specify alternative output directory and <span 
class="pcrb8t-">-V </span>to report progress.
   </li>
   <li 
  class="enumerate" id="x1-24032x10"><a 
href="../html/man/psrose.html" ><span 
class="phvb8t-">psrose</span></a><a 
 id="dx1-24033"></a> has new option <span 
class="pcrb8t-">-F </span>to disable the plotting of the scale bar.
   </li>
   <li 
  class="enumerate" id="x1-24035x11"><a 
href="../html/man/psxyz.html" ><span 
class="phvb8t-">psxyz</span></a><a 
 id="dx1-24036"></a> has new option <span 
class="pcrb8t-">-D </span>to match option set in <a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-24037"></a>.
   </li>
   <li 
  class="enumerate" id="x1-24039x12"><a 
href="../html/man/mgd77/mgd77list.html" ><span 
class="phvb8t-">mgd77/mgd77list</span></a><a 
 id="dx1-24040"></a> added <span 
class="pcrb8t-">-Ga</span><!--l. 1073--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">b</span><span 
class="ptmri8t-">rec</span>
   to limit output to a certain record range.
   </li>
   <li 
  class="enumerate" id="x1-24042x13"><a 
href="../html/man/spotter/hotspotter.html" ><span 
class="phvb8t-">spotter/hotspotter</span></a><a 
 id="dx1-24043"></a> added <span 
class="pcrb8t-">-S </span>to normalize output to percent of CVA maximum.
                                                                                 

                                                                                 
   </li>
   <li 
  class="enumerate" id="x1-24045x14"><a 
href="../html/man/spotter/grdspotter.html" ><span 
class="phvb8t-">spotter/grdspotter</span></a><a 
 id="dx1-24046"></a> is a new program, like <a 
href="../html/man/hotspotter.html" ><span 
class="phvb8t-">hotspotter</span></a><a 
 id="dx1-24047"></a>, but using gridded data as input.</li></ol>
<!--l. 1078--><p class="indent" >   A long list of bugs has been squashed since the last release, the most important are listed below:
   </p><dl class="description"><dt class="description">
<a 
href="../html/man/gmt_grdio.c.html" ><span 
class="phvb8t-">gmt_grdio.c</span></a><a 
 id="dx1-24048"></a> </dt><dd 
class="description">: Fixed 3 bugs in <span 
class="pcrr8t-">GMT_decode_grd_h_info </span>that caused problems parsing <span 
class="pcrb8t-">-D </span>option.
   Explicitly exclude = sign from becoming separator.
   </dd><dt class="description">
<a 
href="../html/man/gmt_io.c.html" ><span 
class="phvb8t-">gmt_io.c</span></a><a 
 id="dx1-24049"></a> </dt><dd 
class="description">: Now skips blank lines that has leading whitespace.
   </dd><dt class="description">
<a 
href="../html/man/gmt_init.c.html" ><span 
class="phvb8t-">gmt_init.c</span></a><a 
 id="dx1-24050"></a> </dt><dd 
class="description">:  <span 
class="ptmb8t-">c  </span>for  seconds  was  not  recognized  as  <span 
class="ptmb8t-">TIME_UNIT  </span>(expected  <span 
class="ptmb8t-">s</span>,  which  is  kept  for
   backwards  compatibility).  <span 
class="pcrb8t-">-B </span>processing  of  labels  used  an  internal  string  that  was  too  short,
   which could lead to label truncation. Fixed &#8220;Holiday-bug&#8221; in <span 
class="pcrr8t-">GMT_parse_J_option </span>introduced
   2007-12-21. <span 
class="pcrr8t-">GMT_str_tolower </span>could run out of bounds. Probably only affected 32-bit compilers.
   <span 
class="pcrr8t-">GMT_is_a_blank_line </span>is now used wherever ascii input is processed.
   </dd><dt class="description">
<a 
href="../html/man/gmt_map.c.html" ><span 
class="phvb8t-">gmt_map.c</span></a><a 
 id="dx1-24051"></a> </dt><dd 
class="description">: Fixed bug in radial clipping. The radial clipping would sometimes add arcs using the arc
   that exceeds 180 degrees. Added new rectangular clip function using Sutherland/Hodgman algorithm
   in order to fix incorrect results in <a 
href="../html/man/grdlandmask.html" ><span 
class="phvb8t-">grdlandmask</span></a><a 
 id="dx1-24052"></a>. Minor bug in 4th term in conformal to geodetic lat.
   Round-off could mess mapping of west/east to xmin/xmax. Now has a safety valve for checking that
   this does not occur.
   </dd><dt class="description">
<a 
href="../html/man/gmt_plot.c.html" ><span 
class="phvb8t-">gmt_plot.c</span></a><a 
 id="dx1-24053"></a> </dt><dd 
class="description">: 3-D basemap axis did not use <span 
class="ptmb8t-">LABEL_OFFSET</span>.
   </dd><dt class="description">
<a 
href="../html/man/gmt_proj.c.html" ><span 
class="phvb8t-">gmt_proj.c</span></a><a 
 id="dx1-24054"></a> </dt><dd 
class="description">: Fixed bug in azimuthal equal area projection that had the horizon shifted from where it
   ought to be. Avoid error in <span 
class="pcrr8t-">GMT_lamb_sph </span>when lat is 90 degrees. Clip path for general perspective
   projection was not closed. For <span 
class="pcrb8t-">-JS</span>: Would set slice to NaN if central meridian was not Greenwich. For
   <span 
class="pcrb8t-">-JR</span>: Longitudes beyond 180 were set to 180.
   </dd><dt class="description">
<a 
href="../html/man/gmt_stat.c.html" ><span 
class="phvb8t-">gmt_stat.c</span></a><a 
 id="dx1-24055"></a> </dt><dd 
class="description">: Bug in <span 
class="pcrr8t-">GMT_median </span>would sometime give subtle mistakes, most noticeable when only a
   few values were passed to the function. Traced to the use of <span 
class="ptmri8t-">size_t </span>variables in expressions that could
   yield a negative value. Fixed minor issues in <span 
class="pcrr8t-">GMT_PvQv </span>function.
   </dd><dt class="description">
<a 
href="../html/man/gmt_support.c.html" ><span 
class="phvb8t-">gmt_support.c</span></a><a 
 id="dx1-24056"></a> </dt><dd 
class="description">: Made <span 
class="pcrr8t-">GMT_polygon_is_open </span>tolerant of round-off and if polygon is not open set
   last to exactly equal first point. <span 
class="pcrr8t-">GMT_get_annot_label </span>did not properly honor the <span 
class="ptmri8t-">ddd.xx </span>setting.
   Now implements annotation for Gnomonic maps. In <span 
class="pcrr8t-">GMT_contour</span>, would occasionally not check
   internal crossings for some interior contours.
   </dd><dt class="description">
<a 
href="../html/man/pslib.c.html" ><span 
class="phvb8t-">pslib.c</span></a><a 
 id="dx1-24057"></a> </dt><dd 
class="description">:    Bug    in    <span 
class="pcrr8t-">ps_shorten_path  </span>lead    to    SEGV    when    path    resulted    in    a    single
   point.    Fixed    error    in    applying    <a 
href="../html/man/pstext.html" ><span 
class="phvb8t-">pstext</span></a><a 
 id="dx1-24058"></a>&#8217;s    <span 
class="pcrb8t-">-Dj</span><span 
class="ptmri8t-">dx/dy    </span>shift    in    paragraph    mode    (<span 
class="pcrb8t-">-M</span>).
   Redefine     rect     symbol     to     be     less     prone     to     round-off.     Used     internal     <span 
class="ptmri8t-">point_code</span>
   before      it      was      initialized.      This      caused      <span 
class="ptmb8t-">PAGE_COLOR      </span>not      to      work      (wrote
   <!--l. 1110--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003C;</mo></math>NUL<!--l. 1110--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003E;</mo></math>
   rather than C).
   </dd><dt class="description">
<a 
href="../html/man/gmtmath.c.html" ><span 
class="phvb8t-">gmtmath.c</span></a><a 
 id="dx1-24059"></a> </dt><dd 
class="description">: Implemented Welford (1962) algorithm in <span 
class="ptmb8t-">KURT</span>, <span 
class="ptmb8t-">SKEW </span>and <span 
class="ptmb8t-">STD </span>operators for more
   precise one-pass computation of mean and sum of squares.
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/gmtselect.c.html" ><span 
class="phvb8t-">gmtselect.c</span></a><a 
 id="dx1-24060"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-:o </span>option failed to reverse output order.
   </dd><dt class="description">
<a 
href="../html/man/grd2xyz.c.html" ><span 
class="phvb8t-">grd2xyz.c</span></a><a 
 id="dx1-24061"></a> </dt><dd 
class="description">: Do not abort when <span 
class="pcrb8t-">-R </span>exceeds grid; simply output common region. For gridline oriented
   grids: <span 
class="pcrb8t-">-E </span>returned xll and yll one cell too large. Now writing [xy]llcenter properly.
   </dd><dt class="description">
<a 
href="../html/man/grdblend.c.html" ><span 
class="phvb8t-">grdblend.c</span></a><a 
 id="dx1-24062"></a> </dt><dd 
class="description">: Did not pick up node registration before calculating output grid size.
   </dd><dt class="description">
<a 
href="../html/man/grdedit.c.html" ><span 
class="phvb8t-">grdedit.c</span></a><a 
 id="dx1-24063"></a> </dt><dd 
class="description">: Adjust z_min and z_max when changing add_offset or scale_factor.
   </dd><dt class="description">
<a 
href="../html/man/grdgradient.c.html" ><span 
class="phvb8t-">grdgradient.c</span></a><a 
 id="dx1-24064"></a> </dt><dd 
class="description">: With <span 
class="pcrb8t-">-D </span>and <span 
class="pcrb8t-">-S </span>the slopes were not set to NaN if data were NaN.
   </dd><dt class="description">
<a 
href="../html/man/grdinfo.c.html" ><span 
class="phvb8t-">grdinfo.c</span></a><a 
 id="dx1-24065"></a> </dt><dd 
class="description">: Implemented Welford (1962) algorithm for more precise one-pass computation of mean and
   sum of squares. zmin==zmax no longer forces <span 
class="pcrb8t-">-M </span>option.
   </dd><dt class="description">
<a 
href="../html/man/grdmask.c.html" ><span 
class="phvb8t-">grdmask.c</span></a><a 
 id="dx1-24066"></a> </dt><dd 
class="description">: Tiny bug for determining which hemisphere (N/S) unlikely to have had any effect. Needed
   to allow for some slop when comparing shrink to 0.0 since sometimes the result of <span 
class="ptmri8t-">acos </span>is 1e-14 or
   thereabouts.
   </dd><dt class="description">
<a 
href="../html/man/grdmath.c.html" ><span 
class="phvb8t-">grdmath.c</span></a><a 
 id="dx1-24067"></a> </dt><dd 
class="description">:  Implemented  Welford  (1962)  algorithm  in  <span 
class="ptmb8t-">KURT</span>,  <span 
class="ptmb8t-">SKEW  </span>and  <span 
class="ptmb8t-">STD  </span>operators  for  more
   precise one-pass computation of mean and sum of squares.
   </dd><dt class="description">
<a 
href="../html/man/grdview.c.html" ><span 
class="phvb8t-">grdview.c</span></a><a 
 id="dx1-24068"></a> </dt><dd 
class="description">:  The  facade  (<span 
class="pcrb8t-">-N</span>)  outline  was  drawn  with  contour  pen.  The  <span 
class="pcrb8t-">-Qc </span>option  failed  to  set
   the   &#8220;build   image&#8221;   flag   and   produced   garbage   surface   tiles.   Also,   <span 
class="pcrb8t-">-T</span>[<span 
class="ptmb8t-">s</span>]   produced   polygons
   that  were  not  checked  for  wrapping  at  a  periodic  map  boundary.  Clarified  that  <span 
class="pcrb8t-">-T </span>cannot  take
   <span 
class="pcrb8t-">-JZ</span><!--l. 1128--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">z</span>.
   </dd><dt class="description">
<a 
href="../html/man/minmax.c.html" ><span 
class="phvb8t-">minmax.c</span></a><a 
 id="dx1-24069"></a> </dt><dd 
class="description">:                                        Could                                        get                                        confused
   when longitudes crossed dateline or Greenwich, and <span 
class="ptmb8t-">OUTPUT_DEGREE_FORMAT </span>could interfere
   with result.
   </dd><dt class="description">
<a 
href="../html/man/pscontour.c.html" ><span 
class="phvb8t-">pscontour.c</span></a><a 
 id="dx1-24070"></a> </dt><dd 
class="description">: <span 
class="pcrb8t-">-T </span>option was susceptible to infinite loop if bad record was found.
   </dd><dt class="description">
<a 
href="../html/man/pshistogram.c.html" ><span 
class="phvb8t-">pshistogram.c</span></a><a 
 id="dx1-24071"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-R </span>option was processed separately and did not understand time coordinates. Bug
   in <span 
class="pcrb8t-">-F </span>option failed to center bins.
   </dd><dt class="description">
<a 
href="../html/man/psmask.c.html" ><span 
class="phvb8t-">psmask.c</span></a><a 
 id="dx1-24072"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-D </span>option used the wrong output file name.
   </dd><dt class="description">
<a 
href="../html/man/psscale.c.html" ><span 
class="phvb8t-">psscale.c</span></a><a 
 id="dx1-24073"></a> </dt><dd 
class="description">: Inverted vertical scale, when using filled rectangles: Colors remained in the original order.
   Inverted vertical or horizontal scale, when using rectangles with gradients: Size of rectangles followed
   original order, not inverted. In reverse mode, <span 
class="pcrb8t-">-Eb </span>was plotting foreground triangle, <span 
class="pcrb8t-">-Ef </span>background
   triangle.
   </dd><dt class="description">
<a 
href="../html/man/pstext.c.html" ><span 
class="phvb8t-">pstext.c</span></a><a 
 id="dx1-24074"></a> </dt><dd 
class="description">: Parsing of <span 
class="pcrb8t-">-C </span>complained about % sign.
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/psxy.c.html" ><span 
class="phvb8t-">psxy.c</span></a><a 
 id="dx1-24075"></a> </dt><dd 
class="description">: If first symbol in list with size was not circle, it got rejected. When sizes of <span 
class="pcrb8t-">-Sr </span>or <span 
class="pcrb8t-">-Sj </span>were read
   from list, they were always assumed to be in inches. Drawing arrows with <span 
class="pcrb8t-">-SvS </span>and time-coordinates
   did not work as 2nd time coordinate did not get processed properly.
   </dd><dt class="description">
<a 
href="../html/man/psxyz.c.html" ><span 
class="phvb8t-">psxyz.c</span></a><a 
 id="dx1-24076"></a> </dt><dd 
class="description">: If first symbol in list with size was not circle, it got rejected. When sizes of <span 
class="pcrb8t-">-Sr </span>or <span 
class="pcrb8t-">-Sj </span>were
   read from list, they were always assumed to be in inches.
   </dd><dt class="description">
<a 
href="../html/man/sample1d.c.html" ><span 
class="phvb8t-">sample1d.c</span></a><a 
 id="dx1-24077"></a> </dt><dd 
class="description">: Calendar time knots did not get properly interpreted with <span 
class="pcrb8t-">-N</span>.
   </dd><dt class="description">
<a 
href="../html/man/mgg/mgd77togmt.c.html" ><span 
class="phvb8t-">mgg/mgd77togmt.c</span></a><a 
 id="dx1-24078"></a> </dt><dd 
class="description">: Did not initialize the MGG_SHAREDIR path.
   </dd><dt class="description">
<a 
href="../html/man/mgd77/mgd77.c.html" ><span 
class="phvb8t-">mgd77/mgd77.c</span></a><a 
 id="dx1-24079"></a> </dt><dd 
class="description">: Wrong header order written if <a 
href="../html/man/mgd77convert.html" ><span 
class="phvb8t-">mgd77convert</span></a><a 
 id="dx1-24080"></a> ... <span 
class="pcrb8t-">-Tt </span>was used.
   </dd><dt class="description">
<a 
href="../html/man/mgd77/mgd77info.c.html" ><span 
class="phvb8t-">mgd77/mgd77info.c</span></a><a 
 id="dx1-24081"></a> </dt><dd 
class="description">:  Could  get  confused  when  longitudes  crossed  dateline  or  Greenwich,  and
   <span 
class="ptmb8t-">OUTPUT_DEGREE_FORMAT </span>could interfere with result.
   </dd><dt class="description">
<a 
href="../html/man/mgd77/mgd77sniffer.c.html" ><span 
class="phvb8t-">mgd77/mgd77sniffer.c</span></a><a 
 id="dx1-24082"></a> </dt><dd 
class="description">: Numerous fixes and enhancements; see ChangeLog.
   </dd><dt class="description">
<a 
href="../html/man/x2sys/x2sys.c.html" ><span 
class="phvb8t-">x2sys/x2sys.c</span></a><a 
 id="dx1-24083"></a> </dt><dd 
class="description">: Error in determining which columns had been requested.
   </dd><dt class="description">
<a 
href="../html/man/x2sys/x2sys_binlist.c.html" ><span 
class="phvb8t-">x2sys/x2sys_binlist.c</span></a><a 
 id="dx1-24084"></a> </dt><dd 
class="description">: Could create bad bins because of incorrect reallocation of memory.
   </dd><dt class="description">
<a 
href="../html/man/x2sys/x2sys_get.c.html" ><span 
class="phvb8t-">x2sys/x2sys_get.c</span></a><a 
 id="dx1-24085"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-L </span>option did not honor any <span 
class="pcrb8t-">-F </span>or <span 
class="pcrb8t-">-N </span>settings.
   </dd><dt class="description">
<a 
href="../html/man/x2sys/x2sys_put.c.html" ><span 
class="phvb8t-">x2sys/x2sys_put.c</span></a><a 
 id="dx1-24086"></a> </dt><dd 
class="description">: Wrong test when replacing older track info lead to data base loss.
   </dd><dt class="description">
<a 
href="../html/man/x2sys/x2sys_cross.c.html" ><span 
class="phvb8t-">x2sys/x2sys_cross.c</span></a><a 
 id="dx1-24087"></a> </dt><dd 
class="description">: Used wrong data column order and computed speed when there is no time.
   </dd></dl>
<!--l. 1160--><p class="noindent" ><span 
class="ptmb8t-x-x-120">]</span>
</p>
   <h4 class="subsectionHead"><span class="titlemark">1.1.15    </span> <a 
 id="x1-250001.1.15"></a>Overview of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.2.1 [October-10, 2007]</h4>
<!--l. 1162--><p class="noindent" >Changes in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.2.1 once again address many structural issues as well as numerous bug fixes. System-wide
changes include a revamping of the entire configure/make setup for both regular installations and CVS users, an
improvement to how the BCR 2-D interpolations for images and grids are done by adding B-spline and nearest
neighbor as optional interpolants, introduction of a new <span 
class="ptmri8t-">PostScript</span>&#x00A0;Level 2 pattern machinery in <a 
href="../html/man/pslib.c.html" ><span 
class="phvb8t-">pslib.c</span></a><a 
 id="dx1-25001"></a>, an
updated GSHHS coastline version (which also includes Australia internal state boundaries, fixes to the Yemeni and
Lebanese borders, and more river lines), and general improvements and corrections to the documentation, such as
placing all man pages in section 1 (except pslib which goes in section 3). Starting with <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.2.1 we will also
begin naming the coastline-related archives by the GSHHS prefix and use the actual GSHHS version number (now
1.9).
</p><!--l. 1174--><p class="indent" >   Individual programs have also seen some new options or enhancements:
                                                                                 

                                                                                 
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-25003x1"><a 
href="../html/man/gmtselect.html" ><span 
class="phvb8t-">gmtselect</span></a><a 
 id="dx1-25004"></a> has enhancement <span 
class="pcrb8t-">-Lp </span>to limit points beyond a line&#8217;s endpoints.
   </li>
   <li 
  class="enumerate" id="x1-25006x2"><a 
href="../html/man/grdfilter.html" ><span 
class="phvb8t-">grdfilter</span></a><a 
 id="dx1-25007"></a> has new option <span 
class="pcrb8t-">-D</span>5 to allow direct filtering of Mercator grids (img).
   </li>
   <li 
  class="enumerate" id="x1-25009x3"><a 
href="../html/man/grdmask.html" ><span 
class="phvb8t-">grdmask</span></a><a 
 id="dx1-25010"></a> has an enhanced <span 
class="pcrb8t-">-A </span>option; append <span 
class="ptmb8t-">m </span>or <span 
class="ptmb8t-">p </span>to design a mask polygon by first following a
   meridian, then a parallel, or vice versa.
   </li>
   <li 
  class="enumerate" id="x1-25012x4"><a 
href="../html/man/gmtmath.html" ><span 
class="phvb8t-">gmtmath</span></a><a 
 id="dx1-25013"></a> has several new operators, such as <span 
class="ptmb8t-">PLMg </span>(geophysical normalization and suitable for high
   degree and order), <span 
class="ptmb8t-">FACT, SKEW, KURT, PQUANT, EULER, PSI, PV, QV, COT, COTD, ACOT,</span>
   <span 
class="ptmb8t-">SEC, SECD, ASEC, CSC, CSCD</span>, and <span 
class="ptmb8t-">ACSC</span>.
   </li>
   <li 
  class="enumerate" id="x1-25015x5"><a 
href="../html/man/grdmath.html" ><span 
class="phvb8t-">grdmath</span></a><a 
 id="dx1-25016"></a> has the same new operator as <a 
href="../html/man/gmtmath.html" ><span 
class="phvb8t-">gmtmath</span></a><a 
 id="dx1-25017"></a>, plus <span 
class="ptmb8t-">YLMg </span>and <span 
class="ptmb8t-">CBAZ</span>.
   </li>
   <li 
  class="enumerate" id="x1-25019x6"><a 
href="../html/man/grdproject.html" ><span 
class="phvb8t-">grdproject</span></a><a 
 id="dx1-25020"></a> now considers <span 
class="pcrb8t-">-R </span>an optional setting.
   </li>
   <li 
  class="enumerate" id="x1-25022x7"><a 
href="../html/man/mapproject.html" ><span 
class="phvb8t-">mapproject</span></a><a 
 id="dx1-25023"></a>  has  an  enhanced  <span 
class="pcrb8t-">-G- </span>option  where  increments  rather  than  cumulative  distances  are
   returned. Also, for UTM projections with <span 
class="pcrb8t-">-C</span>, the <span 
class="pcrb8t-">-R </span>option is now optional provided the UTM zone is
   properly specified.
   </li>
   <li 
  class="enumerate" id="x1-25025x8"><a 
href="../html/man/ps2raster.html" ><span 
class="phvb8t-">ps2raster</span></a><a 
 id="dx1-25026"></a> has now a new <span 
class="pcrb8t-">-P </span>option for forcing portrait orientation.
   </li>
   <li 
  class="enumerate" id="x1-25028x9"><a 
href="../html/man/pshistogram.html" ><span 
class="phvb8t-">pshistogram</span></a><a 
 id="dx1-25029"></a> has now a new <span 
class="pcrb8t-">-C </span>option for using a cpt file to paint the bars.
   </li>
   <li 
  class="enumerate" id="x1-25031x10"><a 
href="../html/man/pstext.html" ><span 
class="phvb8t-">pstext</span></a><a 
 id="dx1-25032"></a> will now accept the @_, @: and @; escape sequences for underline, font size change, and font
   color change regardless of mode.
   </li>
   <li 
  class="enumerate" id="x1-25034x11"><a 
href="../html/man/psrose.html" ><span 
class="phvb8t-">psrose</span></a><a 
 id="dx1-25035"></a> has a new option <span 
class="pcrb8t-">-L </span>to control the labels.
   </li>
   <li 
  class="enumerate" id="x1-25037x12"><a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-25038"></a>   has   an   enhanced   <span 
class="pcrb8t-">-A </span>option;   append   <span 
class="ptmb8t-">m   </span>or   <span 
class="ptmb8t-">p   </span>to   draw   a   line   by   first   following
   a   meridian,   then   a   parallel,   or   vice   versa.   Can   now   plot   a   notched   box-and-whisker
   symbol,     and     we     added     <span 
class="ptmb8t-">+n</span><span 
class="ptmri8t-">dx/dy     </span>to     nudge     placement     of     quoted     line     labels.
   Encanced<span 
class="pcrb8t-">-E</span>.../[-<!--l. 1197--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>+]<span 
class="ptmri8t-">pen</span>
   where + means apply cpt color (<span 
class="pcrb8t-">-C</span>) to symbol and bar - means apply to bar only (no fill). Likewise,
   <span 
class="pcrb8t-">-W</span>[+<!--l. 1198--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>-]<span 
class="ptmri8t-">pen</span>
   controls if <span 
class="pcrb8t-">-C </span>sets outline (-) or both fill and outline (+).
   </li>
   <li 
  class="enumerate" id="x1-25040x13"><a 
href="../html/man/psxyz.html" ><span 
class="phvb8t-">psxyz</span></a><a 
 id="dx1-25041"></a> hass enhanced <span 
class="pcrb8t-">-W</span>[+<!--l. 1200--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>-]<span 
class="ptmri8t-">pen</span>
   that controls if <span 
class="pcrb8t-">-C </span>sets outline (-) or both fill and outline (+).
   </li>
   <li 
  class="enumerate" id="x1-25043x14"><a 
href="../html/man/sample1d.html" ><span 
class="phvb8t-">sample1d</span></a><a 
 id="dx1-25044"></a> now accepts <span 
class="pcrb8t-">-Fn </span>for no interpolation (returns nearest value).
   </li>
   <li 
  class="enumerate" id="x1-25046x15">Two  additional  color  maps  have  been  added:  <span 
class="ptmb8t-">panoply  </span>mimics  the  default  colormap  in  the  netCDF
   viewing program <span 
class="ptmbo8t-">Panoply</span><a 
 id="dx1-25047"></a>; <span 
class="ptmb8t-">cyclic </span>provides a full spectrum of 360 degrees in hue.
                                                                                 

                                                                                 
   </li>
   <li 
  class="enumerate" id="x1-25049x16"><a 
href="../html/man/originator.html" ><span 
class="phvb8t-">originator</span></a><a 
 id="dx1-25050"></a> (<span 
class="ptmri8t-">spotter </span>supplement) has new option <span 
class="pcrb8t-">-Q </span>to specify constant r/t for (x,y,z) data only.</li></ol>
<!--l. 1209--><p class="indent" >   Below is a list of previous problems that we have identified and corrected in the current release:
   </p><dl class="description"><dt class="description">
<a 
href="../html/man/gmt_agc_io.c.html" ><span 
class="phvb8t-">gmt_agc_io.c</span></a><a 
 id="dx1-25051"></a> </dt><dd 
class="description">: Failed when nx and/or ny was multiple of 40 + 1.
   </dd><dt class="description">
<a 
href="../html/man/gmt_custom_io.c.html" ><span 
class="phvb8t-">gmt_custom_io.c</span></a><a 
 id="dx1-25052"></a> </dt><dd 
class="description">: Surfer grid start at lower, not upper left.
   </dd><dt class="description">
<a 
href="../html/man/gmt_io.c.html" ><span 
class="phvb8t-">gmt_io.c</span></a><a 
 id="dx1-25053"></a> </dt><dd 
class="description">:  Combinations  of  <span 
class="ptmb8t-">OUTPUT_DEGREE_FORMAT</span>=ddd:mm:ss.xxxF  and  <span 
class="pcrb8t-">-: </span>would  add
   W<!--l. 1214--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>E
   to lat and S<!--l. 1214--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>N
   to    lon    for    formatted    output.    Blank    lines    were    not    recognized    under    cygwin/SFU.
   When    no    delimiters    are    used    for    input    date    format    (e.g.,    yyyymmdd)    then    yyyy
   <span 
class="ptmri8t-">must    be    </span>4    characters    and    we    must    use    %4d.    Leading    zeros    are    required    if    year
   <!--l. 1217--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003C;</mo></math>
   1000.
   </dd><dt class="description">
<a 
href="../html/man/gmt_init.c.html" ><span 
class="phvb8t-">gmt_init.c</span></a><a 
 id="dx1-25054"></a> </dt><dd 
class="description">:   For   quoted   lines,   the   :Lh   modifier   did   not   reset   label   if   a   segment   header
   had    no    label    specified.    Also,    label    would    include    the    leading    ïn    a    multi-word
   label.    Now,    UTM    zones    may    be    A,B,Y,Z    or    1-60    with    modifiers    C-X    (except
   I    and    O).    Parsing    of    psxy&#8217;s    <span 
class="pcrb8t-">-Sf  </span>incorrectly    scaled    a    count    to    inches.    Suffices
   <span 
class="ptmb8t-">h</span><!--l. 1222--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">+</span><!--l. 1222--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">-</span>
   in <span 
class="pcrb8t-">-J </span>were mistaken for units.
   </dd><dt class="description">
<a 
href="../html/man/gmt_map.c.html" ><span 
class="phvb8t-">gmt_map.c</span></a><a 
 id="dx1-25055"></a> </dt><dd 
class="description">: KM_PER_DEG was not reset in <span 
class="pcrr8t-">GMT_set_spherical</span>. This may have caused errors
   in scaling when <span 
class="ptmb8t-">ELLIPSOID </span>was not set to Sphere. <span 
class="pcrr8t-">GMT_distances </span>function did not work with
   correct pointer. Great circle intersection did not select correct vector sign so points 180 degrees from a
   line could pass as close in <a 
href="../html/man/gmtselect.html" ><span 
class="phvb8t-">gmtselect</span></a><a 
 id="dx1-25056"></a>. Removed restriction that east and west limits can not be both
   negative. This fixed the remaining Hexagone problem.
   </dd><dt class="description">
<a 
href="../html/man/gmt_nc.c.html" ><span 
class="phvb8t-">gmt_nc.c</span></a><a 
 id="dx1-25057"></a> </dt><dd 
class="description">: The attribute <span 
class="pcrr8t-">actual_range </span>was erroneously stored in grid units in stead of actual units.
   The difference is only relevant when storing scaled integers. A backward compatibility for grids written
   with previous versions is built in. Also the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;version number is added to the global attributes and
   text attributes are truncated to their proper length.
   </dd><dt class="description">
<a 
href="../html/man/gmt_plot.c.html" ><span 
class="phvb8t-">gmt_plot.c</span></a><a 
 id="dx1-25058"></a> </dt><dd 
class="description">: Failed to activate ddd.mm.xxx format for maps. Oblique tickmarks sometimes were missing
   for latitudes.
   </dd><dt class="description">
<a 
href="../html/man/gmt_proj.c.html" ><span 
class="phvb8t-">gmt_proj.c</span></a><a 
 id="dx1-25059"></a> </dt><dd 
class="description">: <span 
class="pcrb8t-">-JS </span>inverse did not apply quadrant check.
   </dd><dt class="description">
<a 
href="../html/man/gmt_support.c.html" ><span 
class="phvb8t-">gmt_support.c</span></a><a 
 id="dx1-25060"></a> </dt><dd 
class="description">: ddd:mm.xx (2 or more x) failed to format properly. Needed to reverse z_low and z_high
   values as well as rgb values when reversing color maps.
   </dd><dt class="description">
<a 
href="../html/man/gmt_vector.c.html" ><span 
class="phvb8t-">gmt_vector.c</span></a><a 
 id="dx1-25061"></a> </dt><dd 
class="description">:   Function   <span 
class="pcrr8t-">GMT_fix_up_path</span>:   Intermediate   longitudes   now   wrapped   based   on
   segment, not on map extent.&#8220;greenwich&#8221; argument became superfluous and was removed. Argument
   &#8220;step&#8221; was found to be in degrees, not in inches as some calling programs assumed.
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/filter1d.c.html" ><span 
class="phvb8t-">filter1d.c</span></a><a 
 id="dx1-25062"></a> </dt><dd 
class="description">: For <span 
class="pcrb8t-">-Ff</span><span 
class="ptmri8t-">file</span>, set filter width to DBL_MAX until filter is read.
   </dd><dt class="description">
<a 
href="../html/man/grd2cpt.c.html" ><span 
class="phvb8t-">grd2cpt.c</span></a><a 
 id="dx1-25063"></a> </dt><dd 
class="description">: <span 
class="pcrb8t-">-E </span>flag did not work unless <span 
class="pcrb8t-">-T </span>was used.
   </dd><dt class="description">
<a 
href="../html/man/grd2xyz.c.html" ><span 
class="phvb8t-">grd2xyz.c</span></a><a 
 id="dx1-25064"></a> </dt><dd 
class="description">: Did not switch to binary i/o mode when <span 
class="pcrb8t-">-Z </span>specified binary output (Windows bug only).
   </dd><dt class="description">
<a 
href="../html/man/grdblend.c.html" ><span 
class="phvb8t-">grdblend.c</span></a><a 
 id="dx1-25065"></a> </dt><dd 
class="description">: Now works with Windows DLL by using the GMT i/o functions.
   </dd><dt class="description">
<a 
href="../html/man/grdcontour.c.html" ><span 
class="phvb8t-">grdcontour.c</span></a><a 
 id="dx1-25066"></a> </dt><dd 
class="description">: <span 
class="pcrb8t-">-A</span><span 
class="ptmri8t-">value </span>would turn off the expected default transparency.
   </dd><dt class="description">
<a 
href="../html/man/grdcut.c.html" ><span 
class="phvb8t-">grdcut.c</span></a><a 
 id="dx1-25067"></a> </dt><dd 
class="description">: Domain check failed for geographic 360-degree grid with <span 
class="pcrb8t-">-fg</span>.
   </dd><dt class="description">
<a 
href="../html/man/grdedit.c.html" ><span 
class="phvb8t-">grdedit.c</span></a><a 
 id="dx1-25068"></a> </dt><dd 
class="description">: Disallow <span 
class="pcrb8t-">-T </span>for Surfer grids since they don&#8217;t support both kinds of node registration. <span 
class="pcrb8t-">-N </span>did
   not take into account if <span 
class="pcrb8t-">-fg </span>was given.
   </dd><dt class="description">
<a 
href="../html/man/grdfilter.c.html" ><span 
class="phvb8t-">grdfilter.c</span></a><a 
 id="dx1-25069"></a> </dt><dd 
class="description">: <span 
class="pcrb8t-">-I</span><span 
class="ptmri8t-">nx+/ny+ </span>was not propagated to the output grid setup.
   </dd><dt class="description">
<a 
href="../html/man/grdimage.c.html" ><span 
class="phvb8t-">grdimage.c</span></a><a 
 id="dx1-25070"></a> </dt><dd 
class="description">: Removed <span 
class="pcrb8t-">-T </span>option; no more polygon drawing (use <a 
href="../html/man/grdview.html" ><span 
class="phvb8t-">grdview</span></a><a 
 id="dx1-25071"></a>). <span 
class="pcrb8t-">-S</span><span 
class="ptmri8t-">max_radius </span>changed to
   <span 
class="pcrb8t-">-S</span>[-]<span 
class="ptmb8t-">b</span><!--l. 1252--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">c</span><!--l. 1252--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">l</span><!--l. 1252--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">n</span>[/<span 
class="ptmri8t-">threshold</span>]
   to take advantage of new and improved projection function <span 
class="pcrr8t-">GMT_grd_project</span>.
   </dd><dt class="description">
<a 
href="../html/man/grdlandmask.c.html" ><span 
class="phvb8t-">grdlandmask.c</span></a><a 
 id="dx1-25072"></a> </dt><dd 
class="description">:  Failed  to  set  rightmost,  empty  bin  if  360-periodicity  in  effect;  also  needed  to  set
   repeating right column to left column.
   </dd><dt class="description">
<a 
href="../html/man/grdmask.c.html" ><span 
class="phvb8t-">grdmask.c</span></a><a 
 id="dx1-25073"></a> </dt><dd 
class="description">:  For  <span 
class="pcrb8t-">-S</span>..<span 
class="ptmb8t-">k</span>,  did  not  properly  account  for  latitude  effect  on  dx.  SEGV  error  when
   <span 
class="pcrr8t-">GMT_fix_up_path </span>returned <span 
class="ptmri8t-">f </span>ewer points than originally allocated and the n_alloc variable was not
   reduced accordingly.
   </dd><dt class="description">
<a 
href="../html/man/grdmath.c.html" ><span 
class="phvb8t-">grdmath.c</span></a><a 
 id="dx1-25074"></a> </dt><dd 
class="description">: When M=0, set Imaginary component of <span 
class="ptmb8t-">YLM </span>to 0 (was same as real).
   </dd><dt class="description">
<a 
href="../html/man/grdproject.c.html" ><span 
class="phvb8t-">grdproject.c</span></a><a 
 id="dx1-25075"></a> </dt><dd 
class="description">: <span 
class="pcrb8t-">-S</span><span 
class="ptmri8t-">max_radius </span>changed to <span 
class="pcrb8t-">-S</span>[-]<span 
class="ptmb8t-">b</span><!--l. 1260--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">c</span><!--l. 1260--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">l</span><!--l. 1260--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">n</span>[/<span 
class="ptmri8t-">threshold</span>]
   to take advantage of new and improved projection function <span 
class="pcrr8t-">GMT_grd_project</span>.
   </dd><dt class="description">
<a 
href="../html/man/grdreformat.c.html" ><span 
class="phvb8t-">grdreformat.c</span></a><a 
 id="dx1-25076"></a> </dt><dd 
class="description">: Could not determine format of output file automatically since file does not yet exist
   (must append file-type code).
   </dd><dt class="description">
<a 
href="../html/man/grdsample.c.html" ><span 
class="phvb8t-">grdsample.c</span></a><a 
 id="dx1-25077"></a> </dt><dd 
class="description">: <span 
class="pcrb8t-">-Q</span><span 
class="ptmri8t-">value </span>changed to <span 
class="pcrb8t-">-Q</span>[-]<span 
class="ptmb8t-">b</span><!--l. 1264--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">c</span><!--l. 1264--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">l</span><!--l. 1264--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">n</span>[/<span 
class="ptmri8t-">threshold</span>]
   to take advantage of new BCR code.
   </dd><dt class="description">
<a 
href="../html/man/makecpt.c.html" ><span 
class="phvb8t-">makecpt.c</span></a><a 
 id="dx1-25078"></a> </dt><dd 
class="description">: Colormaps with non-equidistant intervals can now be reversed properly.
   </dd><dt class="description">
<a 
href="../html/man/project.c.html" ><span 
class="phvb8t-">project.c</span></a><a 
 id="dx1-25079"></a> </dt><dd 
class="description">: Wrong azimuth for <span 
class="pcrb8t-">-N </span>and <span 
class="pcrb8t-">-G </span>generating lines.
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/pslegend.c.html" ><span 
class="phvb8t-">pslegend.c</span></a><a 
 id="dx1-25080"></a> </dt><dd 
class="description">: Usage message did not explain the <span 
class="pcrb8t-">-L </span>option. Added @ECHO OFF to avoid commands
   being echoed into the <span 
class="ptmri8t-">PostScript</span>&#x00A0;output under Windows. The color change (C) macro messed up <span 
class="pcrb8t-">-Xa</span>
   and <span 
class="pcrb8t-">-Ya </span>absolute settings.
   </dd><dt class="description">
<a 
href="../html/man/psbasemap.c.html" ><span 
class="phvb8t-">psbasemap.c</span></a><a 
 id="dx1-25081"></a> </dt><dd 
class="description">: Check that <span 
class="pcrb8t-">-L </span>is used with geographic coordinates only.
   </dd><dt class="description">
<a 
href="../html/man/psimage.c.html" ><span 
class="phvb8t-">psimage.c</span></a><a 
 id="dx1-25082"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-I </span>option had become always active.
   </dd><dt class="description">
<a 
href="../html/man/pslib.c.html" ><span 
class="phvb8t-">pslib.c</span></a><a 
 id="dx1-25083"></a> </dt><dd 
class="description">: Now no text is written if font size equals 0.
   </dd><dt class="description">
<a 
href="../html/man/psscale.c.html" ><span 
class="phvb8t-">psscale.c</span></a><a 
 id="dx1-25084"></a> </dt><dd 
class="description">: Annotations did not work properly if <span 
class="pcrb8t-">-Q </span>and <span 
class="pcrb8t-">-B</span>1p were used together.
   </dd><dt class="description">
<a 
href="../html/man/psxyz.c.html" ><span 
class="phvb8t-">psxyz.c</span></a><a 
 id="dx1-25085"></a> </dt><dd 
class="description">: Fixed bug in painting outline of text symbols.
   </dd><dt class="description">
<a 
href="../html/man/xyz2grd.c.html" ><span 
class="phvb8t-">xyz2grd.c</span></a><a 
 id="dx1-25086"></a> </dt><dd 
class="description">: <span 
class="pcrb8t-">-E </span>did not process pixel grids properly.</dd></dl>
<!--l. 1278--><p class="noindent" >A few bug-fixes applies to the supplements as well:
   </p><dl class="description"><dt class="description">
<a 
href="../html/man/gshhstograss.c.html" ><span 
class="phvb8t-">gshhstograss.c</span></a><a 
 id="dx1-25087"></a> </dt><dd 
class="description">:  Removed  use  of  <span 
class="pcrr8t-">getopt </span>so  even  the  lamest  systems  can  compile  it  (incuding
   Windows).
   </dd><dt class="description">
<a 
href="../html/man/img2mercgrd.c.html" ><span 
class="phvb8t-">img2mercgrd.c</span></a><a 
 id="dx1-25088"></a> </dt><dd 
class="description">: Fixed AND vs OR logic in lat bounds check when <span 
class="pcrb8t-">-D </span>was set. Used wrong origin
   when <span 
class="pcrb8t-">-C </span>was used. Now relative to lon = lat = 0.
   </dd><dt class="description">
<span 
class="ptmb8t-">DLL</span> </dt><dd 
class="description">: The <span 
class="ptmri8t-">meca </span>supplements now work with Windows DLL by using the GMT i/o functions.
   </dd><dt class="description">
<a 
href="../html/man/utilmeca.c.html" ><span 
class="phvb8t-">utilmeca.c</span></a><a 
 id="dx1-25089"></a> </dt><dd 
class="description">: Make sure that checks on floating point numbers work well, even in case of small round off
   errors. Thanks to Peter Lombard.
   </dd><dt class="description">
<a 
href="../html/man/mgd77manage.c.html" ><span 
class="phvb8t-">mgd77manage.c</span></a><a 
 id="dx1-25090"></a> </dt><dd 
class="description">: <span 
class="pcrb8t-">-Q</span><span 
class="ptmri8t-">value </span>changed to <span 
class="pcrb8t-">-Q</span>[-]<span 
class="ptmb8t-">b</span><!--l. 1287--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">c</span><!--l. 1287--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">l</span><!--l. 1287--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">n</span>[/<span 
class="ptmri8t-">threshold</span>]
   to take advantage of new BCR code. Added E77 status attribute to MGD77+ files.
   </dd><dt class="description">
<a 
href="../html/man/mgd77sniffer.c.html" ><span 
class="phvb8t-">mgd77sniffer.c</span></a><a 
 id="dx1-25091"></a> </dt><dd 
class="description">:  Same.  Adjusted  anomaly  recalculation  code  so  that  cruises  with  m=1  and  b=0  are
   reported  to  be  same  as  expected.  Repaired  8  memory  leaks.  Fixed  two  regression  bugs,  one  in
   grid  comparisons  in  which  not  all  data  were  copied  into  the  regression  arrays  and  the  other  in  faa
   recomputation  regression  where  eot  was  being  applied  twice.  Added  code  to  check  if  regression  is
   outside a specified percent (<span 
class="pcrb8t-">-P</span>). Updated e77 messages and moved along-track grid offset errors to e77
   header rather than having its own error class.
   </dd><dt class="description">
<a 
href="../html/man/gmtdigitize.c.html" ><span 
class="phvb8t-">gmtdigitize.c</span></a><a 
 id="dx1-25092"></a> </dt><dd 
class="description">: Must use separate x and y-scales if <span 
class="pcrb8t-">-Jx </span>is specified. Wrong coordinates used to calculate
   rms misfit.
   </dd><dt class="description">
 </dt><dd 
class="description"><a 
href="../html/man/originator.c.html" ><span 
class="phvb8t-">originator.c</span></a><a 
 id="dx1-25093"></a> Now lists option <span 
class="pcrb8t-">-L </span>in both usage and man page.
                                                                                 

                                                                                 
   </dd><dt class="description">
 </dt><dd 
class="description"><a 
href="../html/man/x2sys.c.html" ><span 
class="phvb8t-">x2sys.c</span></a><a 
 id="dx1-25094"></a> <span 
class="pcrr8t-">x2sys_set_system </span>did not initialize structures properly.
   </dd><dt class="description">
 </dt><dd 
class="description"><a 
href="../html/man/x2sys_cross.c.html" ><span 
class="phvb8t-">x2sys_cross.c</span></a><a 
 id="dx1-25095"></a>   Skip   duplicate   files   with   a   warning.   Distance   calculations   were   bogus   (see
   <a 
href="../html/man/gmt_map.c.html" ><span 
class="phvb8t-">gmt_map.c</span></a><a 
 id="dx1-25096"></a>), and wrong number of arguments passed to readfile function pointer.</dd></dl>
<!--l. 1303--><p class="indent" >   Finally, as far as CVS users are concerned, the old "gurumake" system has gone. To compile from CVS, users
need to use a GNU compatible make program. A combination of GNUmakefile and makefile files make sure that
those components not in the tarballs are created from scratch. Type <span 
class="ptmbo8t-">make</span><a 
 id="dx1-25097"></a> in the GMT directory to get a list of
targets.
</p><!--l. 1309--><p class="noindent" ><span 
class="ptmb8t-x-x-120">]</span>
</p>
   <h4 class="subsectionHead"><span class="titlemark">1.1.16    </span> <a 
 id="x1-260001.1.16"></a>Overview of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.2.0 [April-1, 2007]</h4>
<!--l. 1311--><p class="noindent" >Changes in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.2.0 address many structural issues as well as many bug fixes. We have consolidated user
initialization files in the &#x00A0;/.gmt directory, continued to replace tiling with bitmaps, and have performed a myriad of
under-the-hood changes. One imporant and more visible new feature is the fact that <a 
href="../html/man/grdimage.html" ><span 
class="phvb8t-">grdimage</span></a><a 
 id="dx1-26001"></a> and <a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-26002"></a> now
can use the general perspective projection with arbitrary elevation (<span 
class="pcrb8t-">-JG </span>has been enhanced to handle the extra
arguments required &#8211; see the new example 26 for details). Also, the coastline files have been updated to use
GSHHS version 1.5 which fixes minor inconsistencies in the coastline database. We have also corrected issues
that made the Windows DLL explode in 4.1.4. Finally, a few enhancements have been made to these
programs:
</p><!--l. 1321--><p class="indent" >
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-26004x1">NGDC&#8217;s GRD98 format has been updated to handle both gridline and pixel node registrations.
   </li>
   <li 
  class="enumerate" id="x1-26006x2">We  have  relaxed  the  restriction  on  latitude  for  <span 
class="pcrb8t-">-JA</span>,  <span 
class="pcrb8t-">-JS </span>for  polar  aspects;  now  more  than  one
   hemisphere may be displayed. Better warning/error messages.
   </li>
   <li 
  class="enumerate" id="x1-26008x3"><a 
href="../html/man/gmtconvert.html" ><span 
class="phvb8t-">gmtconvert</span></a><a 
 id="dx1-26009"></a> has an enhanced <span 
class="pcrb8t-">-E </span>option; append <span 
class="ptmb8t-">f </span>or <span 
class="ptmb8t-">l </span>to only get first or last record per segment.
   </li>
   <li 
  class="enumerate" id="x1-26011x4"><a 
href="../html/man/gmtmath.html" ><span 
class="phvb8t-">gmtmath</span></a><a 
 id="dx1-26012"></a> <span 
class="pcrb8t-">-T </span>can now have <span 
class="ptmb8t-">+ </span>appended to indicate number of points instead of increment.
   </li>
   <li 
  class="enumerate" id="x1-26014x5"><a 
href="../html/man/grdcontour.html" ><span 
class="phvb8t-">grdcontour</span></a><a 
 id="dx1-26015"></a> has a new option <span 
class="pcrb8t-">-F </span>to orient dumped contours. Can now append :<span 
class="ptmri8t-">radius </span>to the <span 
class="pcrb8t-">-G </span>option
   in order to specify a minimum spacing (measured in the x/y plane) between contour labels.
   </li>
   <li 
  class="enumerate" id="x1-26017x6"><a 
href="../html/man/grdinfo.html" ><span 
class="phvb8t-">grdinfo</span></a><a 
 id="dx1-26018"></a> has an enhanced <span 
class="pcrb8t-">-I </span>option. With no arguments we return the grid&#8217;s <span 
class="pcrb8t-">-I</span><span 
class="ptmri8t-">dx/dy </span>string whereas
   <span 
class="pcrb8t-">-I</span>- will return the grid&#8217;s <span 
class="pcrb8t-">-R</span><span 
class="ptmri8t-">w/e/s/n </span>string.
   </li>
   <li 
  class="enumerate" id="x1-26020x7"><a 
href="../html/man/grdmath.html" ><span 
class="phvb8t-">grdmath</span></a><a 
 id="dx1-26021"></a> has new option <span 
class="pcrb8t-">-M </span>for using map units in gradients and new <span 
class="ptmb8t-">D2DXY </span>operator. Also added
   <span 
class="ptmb8t-">SBAZ </span>for back-azimuths and now allow <span 
class="ptmb8t-">ELLIPSOID </span>to control if great circles or geodesics should be
   used (Sphere selects great circles)
   </li>
   <li 
  class="enumerate" id="x1-26023x8"><a 
href="../html/man/psrose.html" ><span 
class="phvb8t-">psrose</span></a><a 
 id="dx1-26024"></a> has new <span 
class="pcrb8t-">-D </span>option to center the sector bins (like <a 
href="../html/man/pshistogram.html" ><span 
class="phvb8t-">pshistogram</span></a><a 
 id="dx1-26025"></a> <span 
class="pcrb8t-">-C</span>).
                                                                                 

                                                                                 
   </li>
   <li 
  class="enumerate" id="x1-26027x9"><a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-26028"></a> understand <span 
class="pcrb8t-">-W- </span>and <span 
class="pcrb8t-">-W+ </span>in multisegment headers which will turn off outline or reset to default,
   respectively. Similarly, <span 
class="pcrb8t-">-G- </span>and <span 
class="pcrb8t-">-G+ </span>will turn off fill or reset to default (with <span 
class="pcrb8t-">-M</span>). Also added new
   option <span 
class="pcrb8t-">-SB </span>for horizontal bar (<span 
class="pcrb8t-">-Sb </span>is vertical).
   </li>
   <li 
  class="enumerate" id="x1-26030x10"><a 
href="../html/man/psxyz.html" ><span 
class="phvb8t-">psxyz</span></a><a 
 id="dx1-26031"></a> also has <span 
class="pcrb8t-">-SB </span>for horizontal bar (<span 
class="pcrb8t-">-Sb </span>is vertical).
   </li>
   <li 
  class="enumerate" id="x1-26033x11"><a 
href="../html/man/sample1d.html" ><span 
class="phvb8t-">sample1d</span></a><a 
 id="dx1-26034"></a> now allows absolute time in <span 
class="pcrb8t-">-S </span>option.
   </li>
   <li 
  class="enumerate" id="x1-26036x12"><a 
href="../html/man/imgsrc/img2mercgrd.html" ><span 
class="phvb8t-">imgsrc/img2mercgrd</span></a><a 
 id="dx1-26037"></a> can take <span 
class="pcrb8t-">-C </span>to let the Mercator x/y use the global origin of img file.
   </li>
   <li 
  class="enumerate" id="x1-26039x13">Because of its popularity, ease of use, and importance to many user how otherwise would not know
   about its existence, <a 
href="../html/man/ps2raster.html" ><span 
class="phvb8t-">ps2raster</span></a><a 
 id="dx1-26040"></a> is moved from the supplementary <span 
class="ptmbo8t-">misc</span><a 
 id="dx1-26041"></a> directory to the main set of
   <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;programs.</li></ol>
<!--l. 1347--><p class="indent" >   Below is a list of previous problems that we have identified and corrected in the current release:
   </p><dl class="description"><dt class="description">
<a 
href="../html/man/gmt_init.c.html" ><span 
class="phvb8t-">gmt_init.c</span></a><a 
 id="dx1-26042"></a> </dt><dd 
class="description">: Fixed unit problem with<span 
class="pcrb8t-">-Jx</span>1:xxxxx. Erroneously added degree symbol to both coordinates
   in case of <span 
class="pcrb8t-">-JX</span>..d/.. (single d). Now properly adds only degree symbol on specified axis. Did not change
   time-system when only <span 
class="ptmb8t-">TIME_UNIT </span>was specified. Failed to properly parse a single PAR=ARG (one
   word) argument given to <a 
href="../html/man/gmtset.html" ><span 
class="phvb8t-">gmtset</span></a><a 
 id="dx1-26043"></a>.
   </dd><dt class="description">
<a 
href="../html/man/gmt_io.c.html" ><span 
class="phvb8t-">gmt_io.c</span></a><a 
 id="dx1-26044"></a> </dt><dd 
class="description">: Did not terminate a calendar string after copying it.
   </dd><dt class="description">
<a 
href="../html/man/gmt_plot.c.html" ><span 
class="phvb8t-">gmt_plot.c</span></a><a 
 id="dx1-26045"></a> </dt><dd 
class="description">:       The       logic       to       check       for       seconds       annotations       failed       if       inc
   <!--l. 1355--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003C;</mo></math>1
   arc second. Did not set the contour annotation font before writing labels.
   </dd><dt class="description">
<a 
href="../html/man/gmt_support.c.html" ><span 
class="phvb8t-">gmt_support.c</span></a><a 
 id="dx1-26046"></a> </dt><dd 
class="description">: Parsing old-style pens did not set offset to 0 when no texture was given. Fixed IFACT
   size in the old Brenner FORTRAN FFT &#8211; bug undetected since GMT 1! Contouring of grids with NaNs
   need to check both vertical AND horizontal interior gridcell boundaries for possible crossings. The
   label machinery for ddd:mm:ss.xx used the wrong parameter to check for fractional seconds annotation
   (the .xxx part).
   </dd><dt class="description">
<a 
href="../html/man/gmt_time_systems.h.html" ><span 
class="phvb8t-">gmt_time_systems.h</span></a><a 
 id="dx1-26047"></a> </dt><dd 
class="description">: J2000 epoch was 1.0 Jan 2000, instead of 1.5 Jan 2000.
   </dd><dt class="description">
<a 
href="../html/man/filter1d.html" ><span 
class="phvb8t-">filter1d</span></a><a 
 id="dx1-26048"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-T </span>option can now parse datestrings for the min/max fields.
   </dd><dt class="description">
<a 
href="../html/man/gmtmath.html" ><span 
class="phvb8t-">gmtmath</span></a><a 
 id="dx1-26049"></a> </dt><dd 
class="description">: Fixed memory allocation bug for files with more than BUFSIZ records. Now works correctly
   with multisegment headers. Multisegment headers now written to the output file and not always to
   stdout. Option <span 
class="pcrb8t-">-C </span>now works (used to deselect all columns). Fixed <span 
class="ptmb8t-">LSQFIT </span>(used wrong columns
   when some were skipped).
   </dd><dt class="description">
<a 
href="../html/man/grdcontour.html" ><span 
class="phvb8t-">grdcontour</span></a><a 
 id="dx1-26050"></a> </dt><dd 
class="description">: Interior contours were not smoothed unless NaNs were involved. Also the labeling of closed
   highs/lows were insensitive to pixel versus gridline grids and could get the wrong result. <span 
class="pcrb8t-">-C </span>need to
   check for&#8220;.cpt&#8221; at END of file name. Fixed contour label angle specifications were always ignored.
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/grdfft.html" ><span 
class="phvb8t-">grdfft</span></a><a 
 id="dx1-26051"></a> </dt><dd 
class="description">: <span 
class="pcrb8t-">-D </span>and <span 
class="pcrb8t-">-I </span>options could have junk in the parameter arrays if given more than once.
   </dd><dt class="description">
<a 
href="../html/man/grdimage.html" ><span 
class="phvb8t-">grdimage</span></a><a 
 id="dx1-26052"></a> </dt><dd 
class="description">: <span 
class="pcrb8t-">-JX </span>with a negative scale/length and <span 
class="pcrb8t-">-E</span><span 
class="ptmri8t-">dpi </span>failed to flip the image.
   </dd><dt class="description">
<a 
href="../html/man/grdinfo.html" ><span 
class="phvb8t-">grdinfo</span></a><a 
 id="dx1-26053"></a> </dt><dd 
class="description">: Would not take both <span 
class="pcrb8t-">-L</span>1 and <span 
class="pcrb8t-">-L</span>2.
   </dd><dt class="description">
<a 
href="../html/man/grdview.html" ><span 
class="phvb8t-">grdview</span></a><a 
 id="dx1-26054"></a> </dt><dd 
class="description">: Plot no mesh when <span 
class="pcrb8t-">-T </span>is used.
   </dd><dt class="description">
<a 
href="../html/man/mapproject.html" ><span 
class="phvb8t-">mapproject</span></a><a 
 id="dx1-26055"></a> </dt><dd 
class="description">: <span 
class="pcrb8t-">-L </span>option did not allocate enough output memory for extra columns.
   </dd><dt class="description">
<a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-26056"></a> </dt><dd 
class="description">: Did not list <span 
class="pcrb8t-">-Z </span>in synopsis/usage.
   </dd><dt class="description">
<a 
href="../html/man/pscontour.html" ><span 
class="phvb8t-">pscontour</span></a><a 
 id="dx1-26057"></a> </dt><dd 
class="description">:  For  3-D  views,  <span 
class="pcrb8t-">-E </span>projected  contours  (<span 
class="pcrb8t-">-W</span>)  twice  and  mesh  lines  (<span 
class="pcrb8t-">-L</span>)  not  at  all.  Fixed
   contour label angles were always ignored.
   </dd><dt class="description">
<a 
href="../html/man/pslib.c.html" ><span 
class="phvb8t-">pslib.c</span></a><a 
 id="dx1-26058"></a> </dt><dd 
class="description">: Only issue setdash <span 
class="ptmri8t-">PostScript</span>&#x00A0;commands if texture has changed. <span 
class="pcrr8t-">ps_clipoff </span>needed to reset
   memory of last pen width/color/pattern. <span 
class="pcrr8t-">ps_color_tiles </span>used wrong node registration.
   </dd><dt class="description">
<a 
href="../html/man/psrose.html" ><span 
class="phvb8t-">psrose</span></a><a 
 id="dx1-26059"></a> </dt><dd 
class="description">: Failed to skip pie-slice filling when no fill was selected. <span 
class="pcrb8t-">-C </span>lead to SEGV as it tried to read from
   a non-existent file.
   </dd><dt class="description">
<a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-26060"></a> </dt><dd 
class="description">: When used with <span 
class="pcrb8t-">-S </span>but no <span 
class="pcrb8t-">-W </span>or <span 
class="pcrb8t-">-G </span>given, only set default <span 
class="pcrb8t-">-W </span>if <span 
class="pcrb8t-">-M </span>not used. Erroneously turned
   symbol outlines on if just <span 
class="pcrb8t-">-C </span>was given. Incorrectly suggested that <span 
class="pcrb8t-">-Svs </span>needs 5 instead of 4 columns.
   <span 
class="pcrb8t-">-Sf </span>option was parsed to require 3 instead of 2 coordinates.
   </dd><dt class="description">
<a 
href="../html/man/psxyz.html" ><span 
class="phvb8t-">psxyz</span></a><a 
 id="dx1-26061"></a> </dt><dd 
class="description">: <span 
class="pcrb8t-">-Svs </span>could fail to plot by confusing y-coordinate and y-size. Also need 6 rather than 5 input
   columns. Bar width has only half of what was requested
   </dd><dt class="description">
<a 
href="../html/man/splitxyz.html" ><span 
class="phvb8t-">splitxyz</span></a><a 
 id="dx1-26062"></a> </dt><dd 
class="description">: Reported headings in radians instead of degrees.
   </dd><dt class="description">
<a 
href="../html/man/trend2d.html" ><span 
class="phvb8t-">trend2d</span></a><a 
 id="dx1-26063"></a> </dt><dd 
class="description">: Failed to pass the new variable with column choices. Also did not accept  <span 
class="ptmb8t-">z </span>as an output choice.</dd></dl>
<!--l. 1392--><p class="noindent" >A few bug-fixes applies to the supplements as well:
   </p><dl class="description"><dt class="description">
<a 
href="../html/man/gshhs.c.html" ><span 
class="phvb8t-">gshhs.c</span></a><a 
 id="dx1-26064"></a> </dt><dd 
class="description">: Had &amp;&amp; instead of &amp; in bit-arithmetic that reported level.
   </dd><dt class="description">
<a 
href="../html/man/mgd77manage.html" ><span 
class="phvb8t-">mgd77manage</span></a><a 
 id="dx1-26065"></a> </dt><dd 
class="description">: Failed to enforce that a new column abbreviation must be in lower case.
   </dd><dt class="description">
<a 
href="../html/man/x2sys_cross.html" ><span 
class="phvb8t-">x2sys_cross</span></a><a 
 id="dx1-26066"></a> </dt><dd 
class="description">: Failed to check for crossovers falling exacly on data nodes.</dd></dl>
                                                                                 

                                                                                 
<!--l. 1400--><p class="noindent" ><span 
class="ptmb8t-x-x-120">]</span>
</p>
   <h4 class="subsectionHead"><span class="titlemark">1.1.17    </span> <a 
 id="x1-270001.1.17"></a>Overview of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.1.4 [Nov-1, 2006]</h4>
<!--l. 1402--><p class="noindent" >Changes in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.1.4 are again relatively minor and predominantly bug fixes. One imporant new
feature is that <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;can now automatically recognize the format of the grid file given to a program.
The use of the &#8220;=id&#8221; mechanism is now only needed when writing an output file in a grid format
other than the netCDF default or when reading using custom scaline and translation is required.
We have also added a new user directory pointed to by <span 
class="ptmb8t-">GMT_USERDIR </span>(default directory is
<span class="underline"><!--l. 1407--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">~</mo></math>/.gmt</span>)
where items such as <span class="underline">.gmtdefaults4</span> will be looked for. Additionally, a few enhancements have been made to
overcome limitations in the previous versions:
</p><!--l. 1411--><p class="indent" >
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-27002x1"><a 
href="../html/man/grd2cpt.html" ><span 
class="phvb8t-">grd2cpt</span></a><a 
 id="dx1-27003"></a> has a new option <span 
class="pcrb8t-">-T </span>for the creation of tables symmetric about zero.
   </li>
   <li 
  class="enumerate" id="x1-27005x2"><a 
href="../html/man/grdblend.html" ><span 
class="phvb8t-">grdblend</span></a><a 
 id="dx1-27006"></a> will accept negative weights which are taken to mean that the sense of tapering should be
   reversed.
   </li>
   <li 
  class="enumerate" id="x1-27008x3"><a 
href="../html/man/grdedit.html" ><span 
class="phvb8t-">grdedit</span></a><a 
 id="dx1-27009"></a> has a new option <span 
class="pcrb8t-">-E </span>to transpose the entire grid.
   </li>
   <li 
  class="enumerate" id="x1-27011x4"><a 
href="../html/man/grdmath.html" ><span 
class="phvb8t-">grdmath</span></a><a 
 id="dx1-27012"></a> has a new option <span 
class="pcrb8t-">-N </span>to turn off strict domain match checking when multiple grid files are
   involved.
   </li>
   <li 
  class="enumerate" id="x1-27014x5"><a 
href="../html/man/grdreformat.html" ><span 
class="phvb8t-">grdreformat</span></a><a 
 id="dx1-27015"></a> now supports the <span 
class="pcrb8t-">-f </span>option.
   </li>
   <li 
  class="enumerate" id="x1-27017x6"><a 
href="../html/man/nearneighbor.html" ><span 
class="phvb8t-">nearneighbor</span></a><a 
 id="dx1-27018"></a> will now optionally accept a <span 
class="ptmri8t-">min_sectors </span>argument appended to the <span 
class="pcrb8t-">-N </span>option.
   </li>
   <li 
  class="enumerate" id="x1-27020x7"><a 
href="../html/man/pshistogram.html" ><span 
class="phvb8t-">pshistogram</span></a><a 
 id="dx1-27021"></a>&#8217;s   option   <span 
class="pcrb8t-">-I </span>can   now   accept   a   modifier   <span 
class="ptmb8t-">O   </span>to   output   all   bin   data   even   if
   <!--l. 1418--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>y</mi> <mo 
class="MathClass-rel">=</mo> <mn>0</mn></math>.
   </li>
   <li 
  class="enumerate" id="x1-27023x8"><a 
href="../html/man/psscale.html" ><span 
class="phvb8t-">psscale</span></a><a 
 id="dx1-27024"></a> will now invert the color scale if a negative length is provided, and <span 
class="pcrb8t-">-I </span>will now work with
   colormaps with non-constant interval and with gaps (<span 
class="pcrb8t-">-L</span>).
   </li>
   <li 
  class="enumerate" id="x1-27026x9"><a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-27027"></a> and <a 
href="../html/man/psxyz.html" ><span 
class="phvb8t-">psxyz</span></a><a 
 id="dx1-27028"></a> have a new option <span 
class="pcrb8t-">-Sj</span><!--l. 1421--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">J</span>
   that        plots        a        rotatable        rectangle        but        otherwise        behaves        similarly        to
   <span 
class="pcrb8t-">-Se</span><!--l. 1422--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">E</span>.
   </li>
   <li 
  class="enumerate" id="x1-27030x10"><a 
href="../html/man/ps2raster.html" ><span 
class="phvb8t-">ps2raster</span></a><a 
 id="dx1-27031"></a>  has  many  improvements;  added  EPS  output;  high-quality  PDF  output.  Also  removed
   -dDOINTERPOLATE option which caused inversion of colour map and had no benefits.</li></ol>
<!--l. 1427--><p class="indent" >   Below is a list of previous problems (a few accidently introduced in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.1.3) that we have identified and
corrected in the current release:
   </p><dl class="description"><dt class="description">
<a 
href="../html/man/gmt_agc.c.html" ><span 
class="phvb8t-">gmt_agc.c</span></a><a 
 id="dx1-27032"></a> </dt><dd 
class="description">: AGC grids use 0 to represent NaNs &#8211; this was not implemented yet.
   </dd><dt class="description">
<a 
href="../html/man/gmt_calclock.c.html" ><span 
class="phvb8t-">gmt_calclock.c</span></a><a 
 id="dx1-27033"></a> </dt><dd 
class="description">: Proper rounding of time when converting to dates.
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/gmt_support.c.html" ><span 
class="phvb8t-">gmt_support.c</span></a><a 
 id="dx1-27034"></a> </dt><dd 
class="description">: Fixed bug in <span 
class="pcrb8t-">-I </span>when modifier <span 
class="ptmb8t-">= </span>was used.
   </dd><dt class="description">
<a 
href="../html/man/gmt_init.c.html" ><span 
class="phvb8t-">gmt_init.c</span></a><a 
 id="dx1-27035"></a> </dt><dd 
class="description">: Fixed bug not recognizing <span 
class="ptmb8t-">PAGE_ORIENTATION </span>as well as a bug that prevented proper
   writing of <span 
class="ptmb8t-">PAGE_ORIENTATION </span>in defaults. Added a check so <a 
href="../html/man/gmtset.html" ><span 
class="phvb8t-">gmtset</span></a><a 
 id="dx1-27036"></a> will not crash if VALUE is
   not given. Finally, let <span 
class="ptmb8t-">GMT_HOMEDIR </span>default to C: under Windows if <span 
class="ptmb8t-">HOME </span>is not set.
   </dd><dt class="description">
<a 
href="../html/man/gmt_io.c.html" ><span 
class="phvb8t-">gmt_io.c</span></a><a 
 id="dx1-27037"></a> </dt><dd 
class="description">: <span 
class="pcrr8t-">GMT_scanf_argtime </span>now returns RELTIME (not ABSTIME) when relative time is found.
   </dd><dt class="description">
<a 
href="../html/man/gmt_grdio.c.html" ><span 
class="phvb8t-">gmt_grdio.c</span></a><a 
 id="dx1-27038"></a> </dt><dd 
class="description">: Set [xy]_units also in <span 
class="pcrr8t-">GMT_update_grd_info</span>. Fixed time-scaling bug on input (was
   always seconds). Make units check case-insensitive. Check for toggled lat/lon coordinates.
   </dd><dt class="description">
<a 
href="../html/man/gmt_nc.c.html" ><span 
class="phvb8t-">gmt_nc.c</span></a><a 
 id="dx1-27039"></a> </dt><dd 
class="description">:  Made  sure  no  garbage  remains  under  Cygwin  when  using  <span 
class="pcrr8t-">strncpy</span>.  Check  if  x-  and
   y-coordinates have constant step sizes; issue warning if not.
   </dd><dt class="description">
<a 
href="../html/man/gmt_plot.c.html" ><span 
class="phvb8t-">gmt_plot.c</span></a><a 
 id="dx1-27040"></a> </dt><dd 
class="description">: Bugs related to annotations with <span 
class="pcrb8t-">-JPa </span>and its <span 
class="ptmb8t-">z </span>modifier fixed. Log gridlines did not work
   for 3-D view. 3-D axis label would sometimes get misplaced due to round-off. 3-D map scale did not
   project correctly. Duplicate title could appear if <span 
class="pcrb8t-">-JX </span>was used and one axis was geographic (d). Needed
   to add secondary font to list to be encoded.
   </dd><dt class="description">
<a 
href="../html/man/pslib.c.html" ><span 
class="phvb8t-">pslib.c</span></a><a 
 id="dx1-27041"></a> </dt><dd 
class="description">: Fixed memory management in LZW compression (memory leak). Improved EPS conformance.
   </dd><dt class="description">
<a 
href="../html/man/filter1d.html" ><span 
class="phvb8t-">filter1d</span></a><a 
 id="dx1-27042"></a> </dt><dd 
class="description">: Robust option used extreme rather than median to determine the outliers.
   </dd><dt class="description">
<a 
href="../html/man/gmtconvert.html" ><span 
class="phvb8t-">gmtconvert</span></a><a 
 id="dx1-27043"></a> </dt><dd 
class="description">: Did not have <span 
class="pcrb8t-">-L </span>listed in synopsis.
   </dd><dt class="description">
<a 
href="../html/man/grdblend.html" ><span 
class="phvb8t-">grdblend</span></a><a 
 id="dx1-27044"></a> </dt><dd 
class="description">: Now skip grids that are entirely outside the region of interest.
   </dd><dt class="description">
<a 
href="../html/man/grdcontour.html" ><span 
class="phvb8t-">grdcontour</span></a><a 
 id="dx1-27045"></a> </dt><dd 
class="description">:    Crashed    if    <span 
class="pcrb8t-">-M  </span>and    <span 
class="pcrb8t-">-D  </span>were    used    with    no    file    name    specified.    The
   <span 
class="pcrb8t-">-W</span>[+][c<!--l. 1452--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>a]
   option was susceptible to misinterpreting things like <span 
class="pcrb8t-">-W</span>cyan as contour pen with color yan.
   </dd><dt class="description">
<a 
href="../html/man/grdcut.html" ><span 
class="phvb8t-">grdcut</span></a><a 
 id="dx1-27046"></a> </dt><dd 
class="description">: Require geographical instead of global in order to shift by 360 degrees.
   </dd><dt class="description">
<a 
href="../html/man/grdfilter.html" ><span 
class="phvb8t-">grdfilter</span></a><a 
 id="dx1-27047"></a> </dt><dd 
class="description">: Should not wrap over pole unless grid extends all the way to the pole.
   </dd><dt class="description">
<a 
href="../html/man/grdinfo.html" ><span 
class="phvb8t-">grdinfo</span></a><a 
 id="dx1-27048"></a> </dt><dd 
class="description">: When <span 
class="pcrb8t-">-C </span>was used there was no linefeed at the end.
   </dd><dt class="description">
<a 
href="../html/man/grdsample.html" ><span 
class="phvb8t-">grdsample</span></a><a 
 id="dx1-27049"></a> </dt><dd 
class="description">: <span 
class="pcrb8t-">-T </span>did not ignore <span 
class="pcrb8t-">-R </span>(as per manual), resulting in changed cell size. <span 
class="pcrb8t-">-F </span>did not use gridline
   node registration as default, rather that of the input grid. When using pixel node registration, number
   of cells would be one too large. <span 
class="pcrb8t-">-L </span>worked only in very limited case: going from x=[-180;180] to
   x=[0;360].  Now  supports  any  periodicity  in  X  and  Y  (as  per  manual).  <span 
class="pcrb8t-">-F </span>again  forces  pixel  node
   registration. Default is same as input. More consistency with manual.
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/grdtrack.html" ><span 
class="phvb8t-">grdtrack</span></a><a 
 id="dx1-27050"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-Z </span>option failed to be set for some input configurations.
   </dd><dt class="description">
<a 
href="../html/man/grdvector.html" ><span 
class="phvb8t-">grdvector</span></a><a 
 id="dx1-27051"></a> </dt><dd 
class="description">: Added <span 
class="pcrb8t-">-f </span>option.
   </dd><dt class="description">
<a 
href="../html/man/grdview.html" ><span 
class="phvb8t-">grdview</span></a><a 
 id="dx1-27052"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-W</span>[c<!--l. 1464--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>m]
   option was susceptible to misinterpreting things like <span 
class="pcrb8t-">-W</span>cyan as contour pen with color yan.
   </dd><dt class="description">
<a 
href="../html/man/grdvolume.html" ><span 
class="phvb8t-">grdvolume</span></a><a 
 id="dx1-27053"></a> </dt><dd 
class="description">: Three bugs squashed: gridcell oriented grids now get proper area and volume, including
   edges; only one cell per NaN is excluded; when <span 
class="pcrb8t-">-C </span>and <span 
class="pcrb8t-">-L </span>are combined, the volume is properly
   corrected for the baseline height.
   </dd><dt class="description">
<a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-27054"></a> </dt><dd 
class="description">: <span 
class="pcrb8t-">-N </span>and <span 
class="pcrb8t-">-I </span>reset pens to default settings after initially changing them. Did not change output
   mode to binary (Windows only) if <span 
class="pcrb8t-">-M </span>and <span 
class="pcrb8t-">-b </span>were set. Both <span 
class="pcrb8t-">-Gc </span>and <span 
class="pcrb8t-">-Sc </span>needed to check that no
   letter is following the <span 
class="ptmb8t-">c </span>modifier.
   </dd><dt class="description">
<a 
href="../html/man/pscontour.html" ><span 
class="phvb8t-">pscontour</span></a><a 
 id="dx1-27055"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-D </span>dump option wrote projected instead of original coordinates.
   </dd><dt class="description">
<a 
href="../html/man/psimage.html" ><span 
class="phvb8t-">psimage</span></a><a 
 id="dx1-27056"></a> </dt><dd 
class="description">: <span 
class="pcrb8t-">-G</span><span 
class="ptmri8t-">colorname </span>(e.g., <span 
class="pcrb8t-">-G</span>black) will now be interpreted as foreground color, e.g. <span 
class="pcrb8t-">-Gf</span>black.
   </dd><dt class="description">
<a 
href="../html/man/pslegend.html" ><span 
class="phvb8t-">pslegend</span></a><a 
 id="dx1-27057"></a> </dt><dd 
class="description">: Did not replace octagons with polygon form when pattern was requested. Did not consider if
   absolute coordinates were given in <span 
class="pcrb8t-">-X </span>and <span 
class="pcrb8t-">-Y</span>. Passed the wrong character code when <span 
class="ptmb8t-">M </span>was chosen
   with a plain scale modifier.
   </dd><dt class="description">
<a 
href="../html/man/psscale.html" ><span 
class="phvb8t-">psscale</span></a><a 
 id="dx1-27058"></a> </dt><dd 
class="description">: A vertical bar with a label placed along it was mis-justified.
   </dd><dt class="description">
<a 
href="../html/man/pstext.html" ><span 
class="phvb8t-">pstext</span></a><a 
 id="dx1-27059"></a> </dt><dd 
class="description">: Default for <span 
class="pcrb8t-">-G </span>is now <span 
class="ptmb8t-">BASEMAP_FRAME_RGB </span>as for other map annotations. The box option
   <span 
class="pcrb8t-">-W</span>[<span 
class="ptmri8t-">fill</span>][o<!--l. 1478--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>O<!--l. 1478--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>c<!--l. 1478--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>C][<span 
class="ptmri8t-">pen</span>]]
   is now <span 
class="pcrb8t-">-W</span>[<span 
class="ptmri8t-">fill</span>,][o<!--l. 1478--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>O<!--l. 1478--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>c<!--l. 1478--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>C][<span 
class="ptmri8t-">pen</span>]],
   <span 
class="ptmri8t-">i.e.</span>,  we  now  use  a  comma  to  separate  the  fill  and  pen  (done  since  fill  may  be  a  name  containing
   o<!--l. 1479--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>c);
   parsing is backwards compatible.
   </dd><dt class="description">
<a 
href="../html/man/psxyz.html" ><span 
class="phvb8t-">psxyz</span></a><a 
 id="dx1-27060"></a> </dt><dd 
class="description">: <span 
class="pcrb8t-">-C </span>for symbols did not pick up color fill.
   </dd><dt class="description">
<a 
href="../html/man/trend2d.html" ><span 
class="phvb8t-">trend2d</span></a><a 
 id="dx1-27061"></a> </dt><dd 
class="description">: Processing of <span 
class="pcrb8t-">-F </span>happened after checking.
   </dd><dt class="description">
<a 
href="../html/man/xyz2grd.html" ><span 
class="phvb8t-">xyz2grd</span></a><a 
 id="dx1-27062"></a> </dt><dd 
class="description">: Had <span 
class="pcrb8t-">-Az </span>as default rather than no <span 
class="pcrb8t-">-A</span>. Fixed bad header parsing when <span 
class="pcrb8t-">-E </span>was selected.</dd></dl>
<!--l. 1484--><p class="noindent" >A few bug-fixes applies to the supplements as well:
   </p><dl class="description"><dt class="description">
<a 
href="../html/man/grdraster.html" ><span 
class="phvb8t-">grdraster</span></a><a 
 id="dx1-27063"></a> </dt><dd 
class="description">: Only do 360-degree wrapping if working on a geographic grid.
   </dd><dt class="description">
<a 
href="../html/man/mgd77list.html" ><span 
class="phvb8t-">mgd77list</span></a><a 
 id="dx1-27064"></a> </dt><dd 
class="description">: Did not process time when <span 
class="pcrb8t-">-Am</span>2<!--l. 1487--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>4
   was    set    and    time    was    not    requested    as    output.    Also,    did    not    process    time    when
   <span 
class="pcrb8t-">-Am</span>2<!--l. 1488--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>4
   was set and time was not requested as output.
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/x2sys.c.html" ><span 
class="phvb8t-">x2sys.c</span></a><a 
 id="dx1-27065"></a> </dt><dd 
class="description">: Did not look in current dir for *.def files.</dd></dl>
<!--l. 1493--><p class="noindent" ><span 
class="ptmb8t-x-x-120">]</span>
</p>
   <h4 class="subsectionHead"><span class="titlemark">1.1.18    </span> <a 
 id="x1-280001.1.18"></a>Overview of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.1.3 [June-1, 2006]</h4>
<!--l. 1495--><p class="noindent" >Changes in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.1.3 are relatively minor and predominantly bug fixes. However, a few enhancements have been
made to overcome limitations in the previous versions:
</p><!--l. 1498--><p class="indent" >
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-28002x1">Added the Hughes 1980 ellipsoid for projection support for DMSP SSM/I grid products.
   </li>
   <li 
  class="enumerate" id="x1-28004x2"><a 
href="../html/man/grdfft.html" ><span 
class="phvb8t-">grdfft</span></a><a 
 id="dx1-28005"></a> has an extended <span 
class="pcrb8t-">-F </span>option to allow for either Gaussian- or cosine-tapered filtering.
   </li>
   <li 
  class="enumerate" id="x1-28007x3"><a 
href="../html/man/psscale.html" ><span 
class="phvb8t-">psscale</span></a><a 
 id="dx1-28008"></a> now has a <span 
class="pcrb8t-">-Q </span>option so that logarithmic color scales and annotations can be handled properly.
   </li>
   <li 
  class="enumerate" id="x1-28010x4"><a 
href="../html/man/makecpt.html" ><span 
class="phvb8t-">makecpt</span></a><a 
 id="dx1-28011"></a> and <a 
href="../html/man/grd2cpt.html" ><span 
class="phvb8t-">grd2cpt</span></a><a 
 id="dx1-28012"></a> have a new <span 
class="pcrb8t-">-M </span>option to allow the background, foreground, and NaN-colors
   to be assigned using the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;defaults instead of the settings in the master CPT file.
   </li>
   <li 
  class="enumerate" id="x1-28014x5"><a 
href="../html/man/mgd77list.html" ><span 
class="phvb8t-">mgd77list</span></a><a 
 id="dx1-28015"></a> in the <span 
class="ptmbo8t-">mgd77</span><a 
 id="dx1-28016"></a> supplement has new option <span 
class="pcrb8t-">-Q </span>to specify limits on speed and azimuths for
   output records.</li></ol>
<!--l. 1510--><p class="indent" >   Below is a list of previous problems (some accidentily introduced in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.1.2) that we have identified and
corrected in the current release:
   </p><dl class="description"><dt class="description">
<a 
href="../html/man/gmt_grdio.c.html" ><span 
class="phvb8t-">gmt_grdio.c</span></a><a 
 id="dx1-28017"></a> </dt><dd 
class="description">: Bug in <span 
class="pcrr8t-">GMT_grd_shift </span>for gridline-registered grids; this function is used in <a 
href="../html/man/grdedit.html" ><span 
class="phvb8t-">grdedit</span></a><a 
 id="dx1-28018"></a>
   to rotate grids of 360-degree longitudinal extent. Also added better testing for subsets of global (0-360)
   grids.
   </dd><dt class="description">
<a 
href="../html/man/gmt_init.c.html" ><span 
class="phvb8t-">gmt_init.c</span></a><a 
 id="dx1-28019"></a> </dt><dd 
class="description">:    <span 
class="pcrr8t-">GMT_PS_init </span>was    called    after    &#8211;PAR=val    had    been    decoded,    resetting    the
   <span 
class="ptmri8t-">PostScript</span>-related parameters to their default settings.
   </dd><dt class="description">
<a 
href="../html/man/gmt_support.c.html" ><span 
class="phvb8t-">gmt_support.c</span></a><a 
 id="dx1-28020"></a> </dt><dd 
class="description">: <span 
class="pcrr8t-">GMT_set_xy_domain </span>padded region for pixel instead of gridline node registration,
   which could cause SEGV in <a 
href="../html/man/xyz2grd.html" ><span 
class="phvb8t-">xyz2grd</span></a><a 
 id="dx1-28021"></a> if (<span 
class="ptmri8t-">x,y</span>) was less than half the grid-spacing outside region.
   </dd><dt class="description">
<a 
href="../html/man/blockmean.html" ><span 
class="phvb8t-">blockmean</span></a><a 
 id="dx1-28022"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-C </span>option got reversed in 4.1.2 - now fixed.
   </dd><dt class="description">
<a 
href="../html/man/blockmedian.html" ><span 
class="phvb8t-">blockmedian</span></a><a 
 id="dx1-28023"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-C </span>option got reversed in 4.1.2 - now fixed.
   </dd><dt class="description">
<a 
href="../html/man/grdcontour.html" ><span 
class="phvb8t-">grdcontour</span></a><a 
 id="dx1-28024"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-C </span>option with a non-cpt file failed to read due to lack of proper if-test.
   </dd><dt class="description">
<a 
href="../html/man/grdedit.html" ><span 
class="phvb8t-">grdedit</span></a><a 
 id="dx1-28025"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-S </span>option was backwards and tested <span 
class="ptmri8t-">w-e</span>=360; should be <span 
class="ptmri8t-">e-w</span>=360.
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/grdimage.html" ><span 
class="phvb8t-">grdimage</span></a><a 
 id="dx1-28026"></a> </dt><dd 
class="description">:  Fixed  bug  introduced  by  <span 
class="pcrr8t-">GMT_get_inc </span>in  4.1.2.  Internal  projected  grid  never  took
   node_offset from input grid.
   </dd><dt class="description">
<a 
href="../html/man/grdmask.html" ><span 
class="phvb8t-">grdmask</span></a><a 
 id="dx1-28027"></a> </dt><dd 
class="description">: Polygons with zig-zag shape would sometimes cause a node exactly on a polygon vertex to be
   considered inside. Radius was reset to 0 after <span 
class="pcrb8t-">-S</span><span 
class="ptmri8t-">radius </span>was assigned.
   </dd><dt class="description">
<a 
href="../html/man/grdvector.html" ><span 
class="phvb8t-">grdvector</span></a><a 
 id="dx1-28028"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-A </span>option was not properly initiated.
   </dd><dt class="description">
<a 
href="../html/man/psbasemap.html" ><span 
class="phvb8t-">psbasemap</span></a><a 
 id="dx1-28029"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-L </span>option did not properly parse the optional :label:&#x003C;just&#x003E; part.
   </dd><dt class="description">
<a 
href="../html/man/pslegend.html" ><span 
class="phvb8t-">pslegend</span></a><a 
 id="dx1-28030"></a> </dt><dd 
class="description">: If the <span 
class="ptmb8t-">M </span>(for map scale) was used, the <span 
class="pcrb8t-">-R </span>and <span 
class="pcrb8t-">-J </span>options would be reset. Also prevented the
   undoing of <span 
class="pcrb8t-">-X </span>and <span 
class="pcrb8t-">-Y </span>at the end of the program.</dd></dl>
<!--l. 1536--><p class="noindent" ><span 
class="ptmb8t-x-x-120">]</span>
</p>
   <h4 class="subsectionHead"><span class="titlemark">1.1.19    </span> <a 
 id="x1-290001.1.19"></a>Overview of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.1.2 [May-15, 2006]</h4>
<!--l. 1538--><p class="noindent" >On the surface, changes in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.1.2 are relatively minor. Most of the work has involved realignment of code
and parsing of arguments to simplify the upcoming port to <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;5; a brief listing of more visible changes
include
</p><!--l. 1542--><p class="indent" >
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-29002x1">Coastline files have been updated to use GSHHS version 1.4 which fixes minor inconsistencies in the
   coastline database.
   </li>
   <li 
  class="enumerate" id="x1-29004x2">All coastline files are now stored in a new subdirectory <span class="underline">coast</span> under the <span class="underline">share</span> directory, and the tar
   archives for coastlines now have their own version numbers as they do not change as frequently as the
   source code. Current coastline version number is 4.1.
   </li>
   <li 
  class="enumerate" id="x1-29006x3">The archives have been reorganized so that <span class="underline">GMT_share.*</span> contains all files needed at runtime whereas
   the standard coastline files are in the new <span class="underline">GMT_coast.*</span> archive. The <span class="underline">GMT_progs.*</span> archive has been
   renamed <span class="underline">GMT_src.*</span>.
   </li>
   <li 
  class="enumerate" id="x1-29008x4">CPT files can now have <span 
class="ptmri8t-">z</span>-values that are date-time strings.
   </li>
   <li 
  class="enumerate" id="x1-29010x5">Optionally append <span 
class="ptmb8t-">z </span>to the <span 
class="pcrb8t-">-Jp </span>projection to annotate depths (<span 
class="ptmri8t-">i.e.</span>, &#8220;north-y&#8221;) rather than radius.
   </li>
   <li 
  class="enumerate" id="x1-29012x6">Two new tools added to the <span 
class="ptmbo8t-">misc</span><a 
 id="dx1-29013"></a> supplement for digitizing lines (<a 
href="../html/man/gmtdigitize.html" ><span 
class="phvb8t-">gmtdigitize</span></a><a 
 id="dx1-29014"></a>) and to stitch digitized
   lines into continuous lines or polygons (<a 
href="../html/man/gmtstitch.html" ><span 
class="phvb8t-">gmtstitch</span></a><a 
 id="dx1-29015"></a>).
   </li>
   <li 
  class="enumerate" id="x1-29017x7">Extended <span 
class="pcrb8t-">-M </span>option to take optional modifiers <span 
class="ptmb8t-">i </span>or <span 
class="ptmb8t-">o </span>for input or output.
   </li>
   <li 
  class="enumerate" id="x1-29019x8">Added support for custom grd format AGC from Atlantic Geoscience Center, assigned the code <span 
class="ptmb8t-">af </span>[21].</li></ol>
                                                                                 

                                                                                 
<!--l. 1559--><p class="indent" >   A few programs or options have received minor updates and new features, such as
   </p><dl class="description"><dt class="description">
<a 
href="../html/man/blockmean.html" ><span 
class="phvb8t-">blockmean</span></a><a 
 id="dx1-29020"></a> </dt><dd 
class="description">: Added <span 
class="pcrb8t-">-E </span>for reporting standard deviation, min, and max values per block.
   </dd><dt class="description">
<a 
href="../html/man/blockmedian.html" ><span 
class="phvb8t-">blockmedian</span></a><a 
 id="dx1-29021"></a> </dt><dd 
class="description">:  Added  <span 
class="pcrb8t-">-E </span>for  reporting  L1  scale,  min,  and  max  values  per  block.  Also  added  <span 
class="pcrb8t-">-T </span>to
   specify a particular quartile [Default <span 
class="ptmri8t-">q </span>= 0.5 = median].
   </dd><dt class="description">
<a 
href="../html/man/blockmode.html" ><span 
class="phvb8t-">blockmode</span></a><a 
 id="dx1-29022"></a> </dt><dd 
class="description">: Added <span 
class="pcrb8t-">-E </span>for reporting LMS scale, min, and max values per block.
   </dd><dt class="description">
<span 
class="ptmbo8t-">configure</span><a 
 id="dx1-29023"></a> </dt><dd 
class="description">:  Added  explicit  options  to  bypass  the  installation  of  supplements  that  require  Matlab
   (&#8211;disable-mex) and X11 (&#8211;disable-xgrid).
   </dd><dt class="description">
<a 
href="../html/man/gmtconvert.html" ><span 
class="phvb8t-">gmtconvert</span></a><a 
 id="dx1-29024"></a> </dt><dd 
class="description">: Added <span 
class="pcrb8t-">-D </span>option to write segments to individual output files.
   </dd><dt class="description">
<a 
href="../html/man/gmtdefaults.html" ><span 
class="phvb8t-">gmtdefaults</span></a><a 
 id="dx1-29025"></a> </dt><dd 
class="description">:  Support  for  new  default  <span 
class="ptmb8t-">PS_VERBOSE  </span>which  controls  the  writing  of  comments  to
   <span 
class="ptmri8t-">PostScript</span>&#x00A0;files. <span 
class="ptmb8t-">COLOR_MODEL </span>can now accept a prefix &#8220;+&#8221; which forces color interpolation in
   the selected system (RGB or HSV only). Default remains RGB. <span 
class="ptmb8t-">PS_COLOR </span>has been extended to
   accept HSV as well (only applies to polygon, symbol, pen, and text colors, not images.). New parameter
   <span 
class="ptmb8t-">POLAR_CAP </span>which controls the number of gridlines that converge on the poles for azimuthal and
   some  other  projections.  Added  new  default  <span 
class="ptmb8t-">HISTORY  </span>[TRUE]  which  controls  whether  or  not  we
   maintain a common command option history via .gmtcommands4 files.
   </dd><dt class="description">
<a 
href="../html/man/gmtmath.html" ><span 
class="phvb8t-">gmtmath</span></a><a 
 id="dx1-29026"></a> </dt><dd 
class="description">: Added option <span 
class="pcrb8t-">-M </span>to indicate the program can now handle multisegment files. Added <span 
class="ptmb8t-">CPOISS</span>
   for cumulative Poisson distribution.
   </dd><dt class="description">
<a 
href="../html/man/grdmath.html" ><span 
class="phvb8t-">grdmath</span></a><a 
 id="dx1-29027"></a> </dt><dd 
class="description">: Added <span 
class="ptmb8t-">CPOISS </span>for cumulative Poisson distribution.
   </dd><dt class="description">
<a 
href="../html/man/minmax.html" ><span 
class="phvb8t-">minmax</span></a><a 
 id="dx1-29028"></a> </dt><dd 
class="description">: <span 
class="pcrb8t-">-D </span>made obsolete by improved range checking for longitudes (but available for backwards
   compatibility).
   </dd><dt class="description">
<a 
href="../html/man/psscale.html" ><span 
class="phvb8t-">psscale</span></a><a 
 id="dx1-29029"></a> </dt><dd 
class="description">: Enhanced <span 
class="pcrb8t-">-I </span>option for asymmetrical intensity ranges from <span 
class="ptmri8t-">low </span>to <span 
class="ptmri8t-">high</span>.
   </dd><dt class="description">
<a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-29030"></a> </dt><dd 
class="description">: Added <span 
class="pcrb8t-">-SW </span>for wedges defined by azimuths rather than directions. Polygons of large longitudinal
   extent now clip correctly.
   </dd><dt class="description">
<a 
href="../html/man/splitxyz.html" ><span 
class="phvb8t-">splitxyz</span></a><a 
 id="dx1-29031"></a> </dt><dd 
class="description">: New option <span 
class="pcrb8t-">-Q </span>to specify the output columns and their order.</dd></dl>
<!--l. 1588--><p class="indent" >   Below is a list of previous problems that we have identified and corrected in the current release:
   </p><dl class="description"><dt class="description">
<a 
href="../html/man/gmt_plot.c.html" ><span 
class="phvb8t-">gmt_plot.c</span></a><a 
 id="dx1-29032"></a> </dt><dd 
class="description">: The 3-D perspective plotting of text was not scaled correctly.
   </dd><dt class="description">
<a 
href="../html/man/gmt_support.c.html" ><span 
class="phvb8t-">gmt_support.c</span></a><a 
 id="dx1-29033"></a> </dt><dd 
class="description">: Parsing of <span 
class="pcrb8t-">-L </span>option used in <a 
href="../html/man/psbasemap.html" ><span 
class="phvb8t-">psbasemap</span></a> and <a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a> failed to get correct unit
   when ddd:mm:ss syntax was used for the position. Corner boundary conditions for grids (needed by
   <a 
href="../html/man/grdtrack.html" ><span 
class="phvb8t-">grdtrack</span></a><a 
 id="dx1-29034"></a>, <a 
href="../html/man/grdsample.html" ><span 
class="phvb8t-">grdsample</span></a><a 
 id="dx1-29035"></a>, <a 
href="../html/man/grdview.html" ><span 
class="phvb8t-">grdview</span></a><a 
 id="dx1-29036"></a>, and <a 
href="../html/man/grdgradient.html" ><span 
class="phvb8t-">grdgradient</span></a><a 
 id="dx1-29037"></a>) had the wrong sign.
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/gmt2rgb.html" ><span 
class="phvb8t-">gmt2rgb</span></a><a 
 id="dx1-29038"></a> </dt><dd 
class="description">: Did not check name template properly, and did not initialize region.
   </dd><dt class="description">
<a 
href="../html/man/gmtselect.html" ><span 
class="phvb8t-">gmtselect</span></a><a 
 id="dx1-29039"></a> </dt><dd 
class="description">: Option <span 
class="pcrb8t-">-F </span>insisted on using spherical testing for Cartesian <span 
class="ptmri8t-">x,y </span>data.
   </dd><dt class="description">
<a 
href="../html/man/grd2xyz.html" ><span 
class="phvb8t-">grd2xyz</span></a><a 
 id="dx1-29040"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-E </span>option had the <span 
class="ptmri8t-">y</span>-direction reversed.
   </dd><dt class="description">
<a 
href="../html/man/grdfilter.html" ><span 
class="phvb8t-">grdfilter</span></a><a 
 id="dx1-29041"></a> </dt><dd 
class="description">: Needed the <span 
class="pcrb8t-">-f </span>option to process <span 
class="pcrb8t-">-R</span>ddd:mm syntax.
   </dd><dt class="description">
<a 
href="../html/man/grdimage.html" ><span 
class="phvb8t-">grdimage</span></a><a 
 id="dx1-29042"></a> </dt><dd 
class="description">: Would hang in <span 
class="ptmri8t-">stdin </span>if <span 
class="pcrb8t-">-C </span>not given when one grid is plotted.
   </dd><dt class="description">
<a 
href="../html/man/grdmask.html" ><span 
class="phvb8t-">grdmask</span></a><a 
 id="dx1-29043"></a> </dt><dd 
class="description">: Did not explicitly close polygons before using them. Test for polar caps applied to the opposite
   pole.
   </dd><dt class="description">
<a 
href="../html/man/grdmath.html" ><span 
class="phvb8t-">grdmath</span></a><a 
 id="dx1-29044"></a> </dt><dd 
class="description">: Command <span 
class="ptmb8t-">INSIDE </span>for Cartesian data had bug (passed <span 
class="ptmri8t-">y </span>where <span 
class="ptmri8t-">x </span>was expected).
   </dd><dt class="description">
<a 
href="../html/man/grdsample.html" ><span 
class="phvb8t-">grdsample</span></a><a 
 id="dx1-29045"></a> </dt><dd 
class="description">: Failed when <span 
class="pcrb8t-">-I </span>was specified.
   </dd><dt class="description">
<a 
href="../html/man/grdview.html" ><span 
class="phvb8t-">grdview</span></a><a 
 id="dx1-29046"></a> </dt><dd 
class="description">: Bug in plotting north facade (<span 
class="pcrb8t-">-N</span>). Also tried to free unallocated memory if <span 
class="pcrb8t-">-G </span>was used.
   </dd><dt class="description">
<a 
href="../html/man/project.html" ><span 
class="phvb8t-">project</span></a><a 
 id="dx1-29047"></a> </dt><dd 
class="description">: Cartesian projections gave incorrect results for <span 
class="ptmri8t-">p,w,r,s</span>. Removed 0&#8211;360 restriction on azimuth.
   Option <span 
class="pcrb8t-">-G </span>was susceptible to round-off and thus sometimes reissued the final point.
   </dd><dt class="description">
<a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-29048"></a> </dt><dd 
class="description">: <span 
class="pcrb8t-">-SV </span>and <span 
class="pcrb8t-">-SE </span>for <span 
class="pcrb8t-">-JX </span>did not convert azimuths to directions. The <span 
class="pcrb8t-">-Sq </span>option would get confused
   when distances between successive labels were smaller than the line&#8217;s point spacing.
   </dd><dt class="description">
<a 
href="../html/man/mgd77/mgd77manage.html" ><span 
class="phvb8t-">mgd77/mgd77manage</span></a><a 
 id="dx1-29049"></a> </dt><dd 
class="description">: Did not properly close the file after ingesting E77 information.
   </dd><dt class="description">
<a 
href="../html/man/pslib.c.html" ><span 
class="phvb8t-">pslib.c</span></a><a 
 id="dx1-29050"></a> </dt><dd 
class="description">: <span 
class="pcrr8t-">ps_load_raster </span>did not use open mode <span 
class="ptmb8t-">rb </span>and hence failed under Windows.
   </dd><dt class="description">
<a 
href="../html/man/xyz2grd.html" ><span 
class="phvb8t-">xyz2grd</span></a><a 
 id="dx1-29051"></a> </dt><dd 
class="description">: The <span 
class="pcrb8t-">-E </span>option had the <span 
class="ptmri8t-">y</span>-direction reversed.</dd></dl>
<!--l. 1614--><p class="noindent" >A few bug-fixes applies to the supplements as well:
   </p><dl class="description"><dt class="description">
<a 
href="../html/man/x2sys_get.html" ><span 
class="phvb8t-">x2sys_get</span></a><a 
 id="dx1-29052"></a> </dt><dd 
class="description">: <span 
class="pcrb8t-">-N </span>did not work properly (now fixed and tested).</dd></dl>
<!--l. 1621--><p class="noindent" ><span 
class="ptmb8t-x-x-120">]</span>
</p>
   <h4 class="subsectionHead"><span class="titlemark">1.1.20    </span> <a 
 id="x1-300001.1.20"></a>Overview of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.1.1 [Mar-1, 2006]</h4>
<!--l. 1623--><p class="noindent" >Changes in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.1.1 are mostly minor; a brief listing include
</p><!--l. 1625--><p class="indent" >
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-30002x1"><a 
href="../html/man/gmt_nc.c.html" ><span 
class="phvb8t-">gmt_nc.c</span></a><a 
 id="dx1-30003"></a>: Introduced handling of 4-D COARDS compliant grids (See Chapter 4 for details).
                                                                                 

                                                                                 
   </li>
   <li 
  class="enumerate" id="x1-30005x2"><a 
href="../html/man/mgd77/mngd77sniffer.html" ><span 
class="phvb8t-">mgd77/mngd77sniffer</span></a><a 
 id="dx1-30006"></a>: New tool for along-track quality control checking of MGD77 files.
   </li>
   <li 
  class="enumerate" id="x1-30008x3"><a 
href="../html/man/spotter/grdrotater.html" ><span 
class="phvb8t-">spotter/grdrotater</span></a><a 
 id="dx1-30009"></a>: New tool that rotates grids given a specified finite rotation.
   </li>
   <li 
  class="enumerate" id="x1-30011x4">Jonathan  Shewchuk&#8217;s  triangulation  routines  are  now  stored  with  the  rest  of  the  source  in  the
   GMT_progs.tar<!--l. 1629--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>zip
   archives. (However, because his copyright is not GPL, installing it is still an option).</li></ol>
<!--l. 1633--><p class="indent" >   A few programs or options have received minor updates and new features, such as
   </p><dl class="description"><dt class="description">
<a 
href="../html/man/grdedit.html" ><span 
class="phvb8t-">grdedit</span></a><a 
 id="dx1-30012"></a> </dt><dd 
class="description">: Added option <span 
class="pcrb8t-">-T </span>to toggle between gridline and pixel node registrations (header only).
   </dd><dt class="description">
<a 
href="../html/man/grdgradient.html" ><span 
class="phvb8t-">grdgradient</span></a><a 
 id="dx1-30013"></a> </dt><dd 
class="description">: Implemented variation on Lambertian illumination.
   </dd><dt class="description">
<a 
href="../html/man/grdmask.html" ><span 
class="phvb8t-">grdmask</span></a><a 
 id="dx1-30014"></a> </dt><dd 
class="description">: Now takes <span 
class="pcrb8t-">-S</span><span 
class="ptmri8t-">radius</span>[<span 
class="ptmb8t-">c</span><!--l. 1638--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">m</span><!--l. 1638--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">k</span><!--l. 1638--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">K</span>]
   as is done in <a 
href="../html/man/nearneighbor.html" ><span 
class="phvb8t-">nearneighbor</span></a><a 
 id="dx1-30015"></a>.
   </dd><dt class="description">
<a 
href="../html/man/gmtmath.html" ><span 
class="phvb8t-">gmtmath</span></a><a 
 id="dx1-30016"></a> </dt><dd 
class="description">: If file is STDIN we read data from <span 
class="ptmri8t-">stdin </span>and put the contents on the stack. Also added <span 
class="pcrb8t-">-F </span>to
   select which columns to use for output [all].
   </dd><dt class="description">
<a 
href="../html/man/grdtrack.html" ><span 
class="phvb8t-">grdtrack</span></a><a 
 id="dx1-30017"></a> </dt><dd 
class="description">: Can now sample Sandwell/Smith IMG grids directly.
   </dd><dt class="description">
<a 
href="../html/man/psmask.html" ><span 
class="phvb8t-">psmask</span></a><a 
 id="dx1-30018"></a> </dt><dd 
class="description">: -Now takes <span 
class="pcrb8t-">-S</span><span 
class="ptmri8t-">radius</span>[<span 
class="ptmb8t-">c</span><!--l. 1642--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">m</span><!--l. 1642--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">k</span><!--l. 1642--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">K</span>]
   as is done in <a 
href="../html/man/nearneighbor.html" ><span 
class="phvb8t-">nearneighbor</span></a><a 
 id="dx1-30019"></a>. Can now plot tiles regardless of projection and use patterns.
   </dd><dt class="description">
<a 
href="../html/man/pstext.html" ><span 
class="phvb8t-">pstext</span></a><a 
 id="dx1-30020"></a> </dt><dd 
class="description">: <span 
class="pcrb8t-">-D</span>[...]<span 
class="ptmb8t-">v</span><span 
class="ptmri8t-">pen </span>can now be used with or without <span 
class="pcrb8t-">-M</span>.
   </dd><dt class="description">
<a 
href="../html/man/psxyz.html" ><span 
class="phvb8t-">psxyz</span></a><a 
 id="dx1-30021"></a> </dt><dd 
class="description">: <span 
class="pcrb8t-">-S</span><span 
class="ptmb8t-">O</span><!--l. 1645--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">U</span>
   imitate <span 
class="pcrb8t-">-S</span><span 
class="ptmb8t-">o</span><!--l. 1645--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">u</span>
   but without the 3-D color shading.
   </dd><dt class="description">
<a 
href="../html/man/mgd77.c.html" ><span 
class="phvb8t-">mgd77.c</span></a><a 
 id="dx1-30022"></a> </dt><dd 
class="description">: Added mechanism to search directories for files (<span 
class="ptmri8t-">mgd77 </span>supplement).
   </dd><dt class="description">
<a 
href="../html/man/mgd77list.html" ><span 
class="phvb8t-">mgd77list</span></a><a 
 id="dx1-30023"></a> </dt><dd 
class="description">:  Activated  <span 
class="pcrb8t-">-X </span>option  and  associated  machinery  for  applying  data  corrections  (<span 
class="ptmri8t-">mgd77</span>
   supplement).</dd></dl>
<!--l. 1651--><p class="indent" >   Inevitably, when new features are added, new bugs come along with them. Below is a list of problems that we
have identified and corrected in the current release:.
   </p><dl class="description"><dt class="description">
<span 
class="ptmbo8t-">configure.in</span><a 
 id="dx1-30024"></a> </dt><dd 
class="description">: Extracting VERSION from <a 
href="../html/man/gmt_version.h.html" ><span 
class="phvb8t-">gmt_version.h</span></a><a 
 id="dx1-30025"></a>, not <a 
href="../html/man/gmt.h.html" ><span 
class="phvb8t-">gmt.h</span></a><a 
 id="dx1-30026"></a>.
   </dd><dt class="description">
<a 
href="../html/man/gmt_init.c.html" ><span 
class="phvb8t-">gmt_init.c</span></a><a 
 id="dx1-30027"></a> </dt><dd 
class="description">:  BASEMAP_FRAME_RGB  overrode  any  changes  to  grid  pens  etc.  Now  only  does  so  if
   prefixed by &#8217;+&#8217;.
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/gmt_calclock.c.html" ><span 
class="phvb8t-">gmt_calclock.c</span></a><a 
 id="dx1-30028"></a> </dt><dd 
class="description">: Did not allow <span 
class="pcrb8t-">-B</span>0 for time-axis.
   </dd><dt class="description">
<a 
href="../html/man/gmt_map.c.html" ><span 
class="phvb8t-">gmt_map.c</span></a><a 
 id="dx1-30029"></a> </dt><dd 
class="description">: <span 
class="pcrb8t-">-JX</span>...<span 
class="ptmb8t-">d </span>now plots with WESN or degrees:minutes as per PLOT_DEGREE_FORMAT. Map
   clip paths for <span 
class="pcrb8t-">-JE</span><span 
class="ptmri8t-">lon</span>/<span 
class="ptmr8c-">±</span>90 were no good. Under certain circumstances, <span 
class="pcrr8t-">GMT_non_zero_winding</span>
   might be passed a polygon that was not closed, resulting in an error. <span 
class="pcrb8t-">-JQ </span>would give garbage if central
   lon was way outside <span 
class="pcrb8t-">-R</span>.
   </dd><dt class="description">
<a 
href="../html/man/gmt_plot.c.html" ><span 
class="phvb8t-">gmt_plot.c</span></a><a 
 id="dx1-30030"></a> </dt><dd 
class="description">: <span 
class="pcrb8t-">-JX</span>...<span 
class="ptmb8t-">d </span>now plots with WESN or degrees:minutes as per PLOT_DEGREE_FORMAT.
   </dd><dt class="description">
<a 
href="../html/man/gmt_grdio.c.html" ><span 
class="phvb8t-">gmt_grdio.c</span></a><a 
 id="dx1-30031"></a> </dt><dd 
class="description">: Changed logic to avoid false &#8220;scale==0&#8221; warning on Windows. <span 
class="pcrr8t-">GMT_open_grd </span>(used
   in <a 
href="../html/man/grdblend.html" ><span 
class="phvb8t-">grdblend</span></a><a 
 id="dx1-30032"></a>) reset scale to NaN. Initialize header information at start of <span 
class="pcrr8t-">GMT_read_grd_info</span>.
   </dd><dt class="description">
<a 
href="../html/man/gmt_support.c.html" ><span 
class="phvb8t-">gmt_support.c</span></a><a 
 id="dx1-30033"></a> </dt><dd 
class="description">: Initialize [xyz]_unit with more appropriate values. Got wrong conversion for dx in
   meters to degrees.
   </dd><dt class="description">
<a 
href="../html/man/gmt_grd.h.html" ><span 
class="phvb8t-">gmt_grd.h</span></a><a 
 id="dx1-30034"></a> </dt><dd 
class="description">: Improved definition of <span 
class="pcrr8t-">GMT_x_to_i </span>macro should reduce bugs
   </dd><dt class="description">
<a 
href="../html/man/pslib.c.html" ><span 
class="phvb8t-">pslib.c</span></a><a 
 id="dx1-30035"></a> </dt><dd 
class="description">: <span 
class="pcrr8t-">ps_polygon</span>: if outline == -9 just fill and no clip. Fixed two bugs concerning the /MaskColor
   operator.
   </dd><dt class="description">
<a 
href="../html/man/ISO-8859-9.ps.html" ><span 
class="phvb8t-">ISO-8859-9.ps</span></a><a 
 id="dx1-30036"></a> </dt><dd 
class="description">: Added /dotlessi per Onur Tan.
   </dd><dt class="description">
<a 
href="../html/man/blockm*.html" ><span 
class="phvb8t-">blockm*</span></a><a 
 id="dx1-30037"></a> </dt><dd 
class="description">: Now correctly deals with periodic longitude data.
   </dd><dt class="description">
<a 
href="../html/man/grdcontour.html" ><span 
class="phvb8t-">grdcontour</span></a><a 
 id="dx1-30038"></a> </dt><dd 
class="description">: Fixed several issues at grid limits and inappropriate scaling of grid dimensions..
   </dd><dt class="description">
<a 
href="../html/man/grdfilter.html" ><span 
class="phvb8t-">grdfilter</span></a><a 
 id="dx1-30039"></a> </dt><dd 
class="description">: Used -1 as index flag instead of INT_MIN.
   </dd><dt class="description">
<a 
href="../html/man/grdimage.html" ><span 
class="phvb8t-">grdimage</span></a><a 
 id="dx1-30040"></a> </dt><dd 
class="description">: Fixed several issues at grid limits and inappropriate scaling of grid dimensions.
   </dd><dt class="description">
<a 
href="../html/man/grdmask.html" ><span 
class="phvb8t-">grdmask</span></a><a 
 id="dx1-30041"></a> </dt><dd 
class="description">: Only let you change the value for outside nodes.
   </dd><dt class="description">
<a 
href="../html/man/grdmath.man.html" ><span 
class="phvb8t-">grdmath.man</span></a><a 
 id="dx1-30042"></a> </dt><dd 
class="description">: Did not list <span 
class="pcrb8t-">-f </span>option. Operators <span 
class="ptmb8t-">LT, LE, EQ, GE, GT </span>returned TRUE if NaNs were
   involved Now NaN is returned if any of the two operands is a NaN.
   </dd><dt class="description">
<a 
href="../html/man/grdreformat.html" ><span 
class="phvb8t-">grdreformat</span></a><a 
 id="dx1-30043"></a> </dt><dd 
class="description">: Update grd.command before writing grid
   </dd><dt class="description">
<a 
href="../html/man/grdvector.html" ><span 
class="phvb8t-">grdvector</span></a><a 
 id="dx1-30044"></a> </dt><dd 
class="description">: Did not place vectors correctly for pixel-pregistered grids.
   </dd><dt class="description">
<a 
href="../html/man/grdview.html" ><span 
class="phvb8t-">grdview</span></a><a 
 id="dx1-30045"></a> </dt><dd 
class="description">: Skipped nodes outside boundary but they might be needed to draw a tile.
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-30046"></a> </dt><dd 
class="description">: With <span 
class="pcrb8t-">-JE </span>and <span 
class="pcrb8t-">-G</span><span 
class="ptmri8t-">r/g/b</span>, the painting of the antipodal bin would incorrectly turn off clipping,
   messing up the rest of the plot. Now pass -9 to <span 
class="pcrr8t-">GMT_fill </span>which means just fill and no end of clipping.
   </dd><dt class="description">
<a 
href="../html/man/xyz2grd.html" ><span 
class="phvb8t-">xyz2grd</span></a><a 
 id="dx1-30047"></a> </dt><dd 
class="description">: For geographic grids with 360<span 
class="ptmr8c-">°</span>&#x00A0;range and gridline node registration, the west and east bin did
   not get replicated properly. Now considers data inside the first and last tiles which might stick outside
   w/e/s/n.</dd></dl>
<!--l. 1688--><p class="noindent" >A few bug-fixes applies to the supplements as well:
   </p><dl class="description"><dt class="description">
<a 
href="../html/man/x2sys_cross.html" ><span 
class="phvb8t-">x2sys_cross</span></a><a 
 id="dx1-30048"></a> </dt><dd 
class="description">: Several problems fixed.</dd></dl>
<!--l. 1693--><p class="noindent" ><span 
class="ptmb8t-x-x-120">]</span>
</p>
   <h4 class="subsectionHead"><span class="titlemark">1.1.21    </span> <a 
 id="x1-310001.1.21"></a>Overview of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.1 [Jan-7, 2006]</h4>
<!--l. 1695--><p class="noindent" >Most changes in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.1 are improvements &#8220;under the hood&#8221;. The most significant of these are
</p><!--l. 1697--><p class="indent" >
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-31002x1">Addition of ability to both read and write netCDF files that are COARDS compliant. This means that
   <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>, for the first time, is able to read netCDF files created by applications other than itself, and that
   other applications capable of reading COARDS-compliant netCDF grids can directly import data from
   <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>. We have added the new parameter <span 
class="ptmb8t-">GRID_FORMAT </span>to the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;defaults with &#8220;nf&#8221; as default.
   Users who, against our recommendation, prefer to maintain the old non-COARDS compliant format
   as their default grid format can instead select &#8220;cf&#8221;. Support for extracting 2-D slices from 3-D netCDF
   grids has also been added.
   </li>
   <li 
  class="enumerate" id="x1-31004x2">An overhaul of how the <span 
class="ptmb8t-">pslib </span>library encodes <span 
class="ptmri8t-">PostScript</span>&#x00A0;images, resulting in vastly smaller files when
   certain  conditions  are  met,  and  general  shrinking  overall  by  enabling  RLE  or  LZW  compression.
   We  have  also  added  hooks  for  setting  three  new  <span 
class="ptmri8t-">PostScript</span>&#x00A0;parameters  via  <a 
href="../html/man/gmtdefaults.html" ><span 
class="phvb8t-">gmtdefaults</span></a><a 
 id="dx1-31005"></a> settings:
   <span 
class="ptmb8t-">PS_LINE_CAP</span>, <span 
class="ptmb8t-">PS_LINE_JOIN</span>, and <span 
class="ptmb8t-">PS_MITER_LIMIT</span>. See <a 
href="../html/man/gmtdefaults.html" ><span 
class="phvb8t-">gmtdefaults</span></a><a 
 id="dx1-31006"></a> for details.
   </li>
   <li 
  class="enumerate" id="x1-31008x3">Improved alignment of strings ending in &#8220;1&#8221; in the <span 
class="ptmri8t-">PostScript</span>&#x00A0;output.
   </li>
   <li 
  class="enumerate" id="x1-31010x4">Adjustments to how native <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;grid headers are read and written in order to be fully 64-bit safe.
   <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;now runs in full 64-bit mode on platforms that supports it (e.g., Mac OS X G5).
   </li>
   <li 
  class="enumerate" id="x1-31012x5">Making <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;tread-safe by replacing <span 
class="ptmri8t-">strtok </span>with our own <span 
class="ptmri8t-">GMT_strtok </span>function.
   </li>
   <li 
  class="enumerate" id="x1-31014x6">Implemented  full  inverse  Winkel  map  projection  based  on  a  new  algorithm  by  Ipbuker,  2002,
   <span 
class="ptmri8t-">Cartography &amp; Geographical Information Science, 29</span>, 37-42.
   </li>
   <li 
  class="enumerate" id="x1-31016x7">Extended the options that is used to specify grid spacing (usually <span 
class="pcrb8t-">-I</span><span 
class="ptmri8t-">xinc/yinc</span>) to allow for specifying
   <span 
class="ptmri8t-">nx/ny  </span>instead  (by  appending  +).  Also,  append  !  to  adjust  the  range  so  it  fits  exactly  the  given
   increment [by default the range is kept fixed and sloppy increments are adjusted accordingly]. Append
   <span 
class="ptmb8t-">e</span><!--l. 1718--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">k</span><!--l. 1718--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">i</span><!--l. 1718--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">n</span>
   for increments in meter, km, miles or nautical miles, respectively. These increments are converted to
   degrees longitude (at the middle latitude) and degrees latitude.
                                                                                 

                                                                                 
   </li>
   <li 
  class="enumerate" id="x1-31018x8">The polar <!--l. 1721--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>r</mi><mo 
class="MathClass-punc">,</mo><mi 
>&#x03B8;</mi></math>
   projection  <span 
class="pcrb8t-">-Jp </span>now  takes  an  optional  suffix  <span 
class="ptmb8t-">r  </span>that  reverses  the  radial  coordinates  (useful  when
   <!--l. 1722--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>r</mi></math>
   is elevation as used by sky plots.)
   </li>
   <li 
  class="enumerate" id="x1-31020x9">The <span 
class="ptmbo8t-">misc</span><a 
 id="dx1-31021"></a> supplement has two new items: <a 
href="../html/man/ps2raster.html" ><span 
class="phvb8t-">ps2raster</span></a><a 
 id="dx1-31022"></a> uses <span 
class="ptmbo8t-">ghostscript</span><a 
 id="dx1-31023"></a> to fascilitate the rasterization
   of <span 
class="ptmri8t-">PostScript</span>&#x00A0;files, while <a 
href="../html/man/nc2xy.html" ><span 
class="phvb8t-">nc2xy</span></a><a 
 id="dx1-31024"></a> allows extraction of data columns from COARDS-compliant netCDF
   files.
   </li>
   <li 
  class="enumerate" id="x1-31026x10">The  <span 
class="ptmbo8t-">mgd77</span><a 
 id="dx1-31027"></a>  supplement  has  two  new  items:  <a 
href="../html/man/mgd77convert.html" ><span 
class="phvb8t-">mgd77convert</span></a><a 
 id="dx1-31028"></a> translates  between  different  MGD77
   formats (including a new netCDF-based format), while <a 
href="../html/man/mgd77manage.html" ><span 
class="phvb8t-">mgd77manage</span></a><a 
 id="dx1-31029"></a> assists in the management of
   trackline data sets.
   </li>
   <li 
  class="enumerate" id="x1-31031x11">We now have improved PDF layout and navigation (thanks to Misha Tchernychev).
   </li>
   <li 
  class="enumerate" id="x1-31033x12">The  HTML  versions  of  all  manual  pages  are  now  generated  with  <span 
class="ptmbo8t-">groff</span><a 
 id="dx1-31034"></a>,  and  has  active  links  for
   <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;Default parameters as they are references in the documentation.</li></ol>
<!--l. 1734--><p class="indent" >   Many programs or options have received minor updates and new features, such as
   </p><dl class="description"><dt class="description">
<span 
class="pcrb8t-">-b</span> </dt><dd 
class="description">:  Ability  to  specify  byte-swapping  for  native  binary  input  and  output  tables  by  using  upper  case
   <span 
class="ptmb8t-">S</span><!--l. 1738--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">D</span>.
   This is useful if you have binary tables created on a little-endian machine (e.g., Linux PC) and need to
   read them on a big-endian machine (e.g., most RISC-chip machines from Sun, HP, Apple).
   </dd><dt class="description">
<a 
href="../html/man/filter1d.html" ><span 
class="phvb8t-">filter1d</span></a><a 
 id="dx1-31035"></a> </dt><dd 
class="description">: Allow NaNs in all but the &#8220;independent data&#8221; column.
   </dd><dt class="description">
<a 
href="../html/man/grdcontour.html" ><span 
class="phvb8t-">grdcontour</span></a><a 
 id="dx1-31036"></a> </dt><dd 
class="description">: Label option <span 
class="ptmb8t-">+ap</span>[<span 
class="ptmb8t-">u</span><!--l. 1741--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">d</span>]
   for always having labels be readable up or down hills.
   </dd><dt class="description">
<a 
href="../html/man/gmtconvert.html" ><span 
class="phvb8t-">gmtconvert</span></a><a 
 id="dx1-31037"></a> </dt><dd 
class="description">: New <span 
class="pcrb8t-">-N </span>option suppresses output records when all fields are NaNs.
   </dd><dt class="description">
<a 
href="../html/man/gmtmath.html" ><span 
class="phvb8t-">gmtmath</span></a><a 
 id="dx1-31038"></a> </dt><dd 
class="description">: Added <span 
class="ptmb8t-">TN </span>function for evaluating Chebyshev polynomials; new constant <span 
class="ptmb8t-">Tn </span>was added to
   easily  select  normalized  <span 
class="ptmb8t-">T  </span>(gives  coordinates  from  -1  to  +  1  suitable  for  evaluating  Legendre  and
   Chebyshev polynomials). Finally, we added <span 
class="ptmb8t-">CORRCOEFF </span>for calculation of correlation coefficients,
   and <span 
class="pcrb8t-">-I </span>to reverse the output by printing the last row first.
   </dd><dt class="description">
<a 
href="../html/man/grd2cpt.html" ><span 
class="phvb8t-">grd2cpt</span></a><a 
 id="dx1-31039"></a> </dt><dd 
class="description">: New option <span 
class="pcrb8t-">-D </span>sets the back- and foreground colors to the colors at the limits of the cpt file.
   </dd><dt class="description">
<a 
href="../html/man/grd2xyz.html" ><span 
class="phvb8t-">grd2xyz</span></a><a 
 id="dx1-31040"></a> </dt><dd 
class="description">: Added <span 
class="pcrb8t-">-E </span>for ESRI interchange ASCII grid dump.
   </dd><dt class="description">
<a 
href="../html/man/grdfilter.html" ><span 
class="phvb8t-">grdfilter</span></a><a 
 id="dx1-31041"></a> </dt><dd 
class="description">: Geographic boundary conditions are now in effect if <span 
class="pcrb8t-">-D4 </span>is selected.
   </dd><dt class="description">
<a 
href="../html/man/grdgradient.html" ><span 
class="phvb8t-">grdgradient</span></a><a 
 id="dx1-31042"></a> </dt><dd 
class="description">: Added option <span 
class="pcrb8t-">-E </span>for Lambertian or Peuckeer illumination.
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/grdmath.html" ><span 
class="phvb8t-">grdmath</span></a><a 
 id="dx1-31043"></a> </dt><dd 
class="description">: Allow <span 
class="pcrb8t-">-bi </span>to be used with input files for commands <span 
class="ptmb8t-">PDIST</span>, <span 
class="ptmb8t-">LDIST</span>, and <span 
class="ptmb8t-">INSIDE</span>. When
   spherical  calculations  are  selected  we  now  use  the  <span 
class="ptmb8t-">ELLIPSOID  </span>setting  to  determine  if  distance
   calculations  should  be  along  geodesics  or  great  circles.  Also  added  <span 
class="ptmb8t-">TN  </span>function  for  evaluating
   Chebyshev polynomials; new constants <span 
class="ptmb8t-">Xn </span>and <span 
class="ptmb8t-">Yn </span>was added to easily select normalized <span 
class="ptmb8t-">X </span>and <span 
class="ptmb8t-">Y</span>.
   Finally, we added <span 
class="ptmb8t-">CORRCOEFF </span>for calculation of correlation coefficients.
   </dd><dt class="description">
<a 
href="../html/man/grdraster.html" ><span 
class="phvb8t-">grdraster</span></a><a 
 id="dx1-31044"></a> </dt><dd 
class="description">: Optionally select a data set by giving a text pattern instead of data ID number. This makes it
   easier to specify a certain data set (<span 
class="ptmri8t-">i.e.</span>, &#8220;ETOPO2&#8221;) than having to remember its arbitrary numerical
   ID. Also, native grids with <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;headers can also be placed in the database by appending <span 
class="ptmb8t-">H</span><span 
class="ptmri8t-">nbytes</span>
   to the corresponding <span class="underline">grdraster.info</span> entry, where <span 
class="ptmri8t-">nbytes </span>is the size of the header that should be skipped
   (use 892 for GMT headers).
   </dd><dt class="description">
<a 
href="../html/man/makecpt.html" ><span 
class="phvb8t-">makecpt</span></a><a 
 id="dx1-31045"></a> </dt><dd 
class="description">: New option <span 
class="pcrb8t-">-D </span>sets the back- and foreground colors to the colors at the limits of the cpt file.
   </dd><dt class="description">
<a 
href="../html/man/mapproject.html" ><span 
class="phvb8t-">mapproject</span></a><a 
 id="dx1-31046"></a> </dt><dd 
class="description">: <span 
class="pcrb8t-">-L </span>now outputs both the minimum distance and the coordinates of the nearest point on the
   line.
   </dd><dt class="description">
<a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-31047"></a> </dt><dd 
class="description">: Added <span 
class="pcrb8t-">-Z </span>for 3-D map z-level (as in <a 
href="../html/man/psbasemap.html" ><span 
class="phvb8t-">psbasemap</span></a><a 
 id="dx1-31048"></a> and others).
   </dd><dt class="description">
<a 
href="../html/man/pshistogram.html" ><span 
class="phvb8t-">pshistogram</span></a><a 
 id="dx1-31049"></a> </dt><dd 
class="description">: New option <span 
class="pcrb8t-">-T</span><span 
class="ptmri8t-">col </span>lets user select any column to be used, starting with 0 (first). The old
   <span 
class="pcrb8t-">-2 </span>option is retired (but remains accessible for backwards compatibility).
   </dd><dt class="description">
<a 
href="../html/man/psimage.html" ><span 
class="phvb8t-">psimage</span></a><a 
 id="dx1-31050"></a> </dt><dd 
class="description">: Now support inclusion of EPS images.
   </dd><dt class="description">
<a 
href="../html/man/pslegend.html" ><span 
class="phvb8t-">pslegend</span></a><a 
 id="dx1-31051"></a> </dt><dd 
class="description">: Added layout option <span 
class="ptmb8t-">B </span>for inserting color bars via <a 
href="../html/man/psscale.html" ><span 
class="phvb8t-">psscale</span></a><a 
 id="dx1-31052"></a>.
   </dd><dt class="description">
<a 
href="../html/man/psscale.html" ><span 
class="phvb8t-">psscale</span></a><a 
 id="dx1-31053"></a> </dt><dd 
class="description">: Now supports an optional <span 
class="ptmb8t-">;</span><span 
class="ptmri8t-">label </span>at end of each line in cpt files. If present this label will replace
   the default annotations when option <span 
class="pcrb8t-">-L </span>is used.
   </dd><dt class="description">
<a 
href="../html/man/psxyz.html" ><span 
class="phvb8t-">psxyz</span></a><a 
 id="dx1-31054"></a> </dt><dd 
class="description">: Added <span 
class="pcrb8t-">-Q </span>to disable sorting of points based on distance.
   </dd><dt class="description">
<a 
href="../html/man/sample1d.html" ><span 
class="phvb8t-">sample1d</span></a><a 
 id="dx1-31055"></a> </dt><dd 
class="description">: Allow NaNs in all but the &#8220;independent data&#8221; column.
   </dd><dt class="description">
<a 
href="../html/man/xyz2grd.html" ><span 
class="phvb8t-">xyz2grd</span></a><a 
 id="dx1-31056"></a> </dt><dd 
class="description">: Added <span 
class="pcrb8t-">-E </span>for ESRI interchange ASCII grid digest.</dd></dl>
<!--l. 1777--><p class="indent" >   Inevitably, when new features are added, new bugs come along with them. Below is a list of problems that we
have identified and corrected in the current release:
   </p><dl class="description"><dt class="description">
<span 
class="ptmbo8t-">install_gmt</span><a 
 id="dx1-31057"></a> </dt><dd 
class="description">: No longer test netcdf installation since that can fail even when install was successful [e.g.,
   under Mac OS X Tiger].
   </dd><dt class="description">
<a 
href="../html/man/gmt.h.html" ><span 
class="phvb8t-">gmt.h</span></a><a 
 id="dx1-31058"></a> </dt><dd 
class="description">:  <span 
class="pcrr8t-">GMT_swab4 </span>used  <span 
class="pcrr8t-">unsigned long </span>instead  of  <span 
class="pcrr8t-">unsigned int </span>which  could  cause  64-bit
   problems.
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/gmt_time_system.h.html" ><span 
class="phvb8t-">gmt_time_system.h</span></a><a 
 id="dx1-31059"></a> </dt><dd 
class="description">: Fixed MJD offsets by subtracting 10 days.
   </dd><dt class="description">
<a 
href="../html/man/gmt_calclock.c.html" ><span 
class="phvb8t-">gmt_calclock.c</span></a><a 
 id="dx1-31060"></a> </dt><dd 
class="description">:  time  to  hr,min,sec  was  vulnerable  to  round-off  when  optimized.  Also,  <span 
class="ptmri8t-">hh:mm  </span>data
   (without trailing <span 
class="ptmri8t-">:ss</span>) would loose the minutes (<span 
class="ptmri8t-">hh:mm:ss </span>was OK).
   </dd><dt class="description">
<a 
href="../html/man/gmt_grdio.c.html" ><span 
class="phvb8t-">gmt_grdio.c</span></a><a 
 id="dx1-31061"></a> </dt><dd 
class="description">: Bug in scale/offset for <a 
href="../html/man/grdblend.html" ><span 
class="phvb8t-">grdblend</span></a><a 
 id="dx1-31062"></a>&#8217;s row-by-row i/o.
   </dd><dt class="description">
<a 
href="../html/man/gmt_init.c.html" ><span 
class="phvb8t-">gmt_init.c</span></a><a 
 id="dx1-31063"></a> </dt><dd 
class="description">: Would eat number with leading plus sign without checking if it actually was a +<span class="underline">gmtdefaults</span>
   file  instruction;  thus  <a 
href="../html/man/gmtmath.html" ><span 
class="phvb8t-">gmtmath</span></a><a 
 id="dx1-31064"></a>  could  not  see  numbers  such  as  +13.5.  Command  line  argument
   &#8211;<span 
class="ptmb8t-">BASEMAP_FRAME_RGB</span>=<span 
class="ptmri8t-">color </span>was not passed through to tick-, grid- and annotation-properties.
   <span 
class="pcrr8t-">GMT_end </span>now frees memory used for hashing. Did not use custom ellipsoid to set DEG2M parameter
   so we got large errors for planets with significantly different radii.
   </dd><dt class="description">
<a 
href="../html/man/gmt_io.c.html" ><span 
class="phvb8t-">gmt_io.c</span></a><a 
 id="dx1-31065"></a> </dt><dd 
class="description">: Bug in reading <span 
class="ptmri8t-">yyyy</span>[/]<span 
class="ptmri8t-">jjj </span>data fixed. <span 
class="pcrr8t-">GMT_lines_init </span>had trouble if 2000 segments had no
   data at all. It also allocated 2000 points for each segment but never deallocated the unused portions,
   thus running up memory fast. <span 
class="pcrr8t-">GMT_write_segmentheader </span>wrote nothing if input was binary and
   output is ASCII. Fixed a few memory leaks.
   </dd><dt class="description">
<a 
href="../html/man/gmt_map.c.html" ><span 
class="phvb8t-">gmt_map.c</span></a><a 
 id="dx1-31066"></a> </dt><dd 
class="description">: Azimuth to angle calculation for linear projections now properly handle different scales in
   x and y. The calculation was also vulnerable to bad wrap-around, giving strange directions for vectors
   in <a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-31067"></a>. Geodesic distance calculation could get wrong quadrant.
   </dd><dt class="description">
<a 
href="../html/man/gmt_plot.c.html" ><span 
class="phvb8t-">gmt_plot.c</span></a><a 
 id="dx1-31068"></a> </dt><dd 
class="description">: 360<span 
class="ptmr8c-">°</span>&#x00A0;polar basemaps could lack outline. Direction for map roses were inaccurate. Circle
   and <!--l. 1802--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>&#x03B8;</mi></math>-<!--l. 1802--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>r</mi></math>
   boundaries did not allocate enough memory for arrays. Would plot both -180 and +180 annotations for
   periodic maps.
   </dd><dt class="description">
<a 
href="../html/man/gmt_shore.c.html" ><span 
class="phvb8t-">gmt_shore.c</span></a><a 
 id="dx1-31069"></a> </dt><dd 
class="description">: Must explicitly close polygons since inside/outside test in other programs expects it.
   </dd><dt class="description">
<a 
href="../html/man/gmt_support.c.html" ><span 
class="phvb8t-">gmt_support.c</span></a><a 
 id="dx1-31070"></a> </dt><dd 
class="description">:  Trouble  extracting  subregions  of  grid  with  <span 
class="ptmri8t-">east  </span>=  0.  Cartesian  <span 
class="ptmb8t-">LDIST  </span>failed  when
   mininum distance was requested (only done via <a 
href="../html/man/grdmath.html" ><span 
class="phvb8t-">grdmath</span></a><a 
 id="dx1-31071"></a>). Color names got truncated to 16 characters.
   Improved workings of <span 
class="pcrr8t-">GMT_sample_cpt </span>in support of <a 
href="../html/man/makecpt.html" ><span 
class="phvb8t-">makecpt</span></a><a 
 id="dx1-31072"></a>. Fixed more memory leaks. Bad
   LF/CR removal for <span class="underline">coastline.conf</span> dir.
   </dd><dt class="description">
<a 
href="../html/man/filter1d.html" ><span 
class="phvb8t-">filter1d</span></a><a 
 id="dx1-31073"></a> </dt><dd 
class="description">: <span 
class="pcrb8t-">-Ff </span>with even number of coefficients sometimes skip a coefficient.
   </dd><dt class="description">
<a 
href="../html/man/gmtconvert.html" ><span 
class="phvb8t-">gmtconvert</span></a><a 
 id="dx1-31074"></a> </dt><dd 
class="description">: Missed first multisegment output header if input file was ASCII.
   </dd><dt class="description">
<a 
href="../html/man/gmtmath.html" ><span 
class="phvb8t-">gmtmath</span></a><a 
 id="dx1-31075"></a> </dt><dd 
class="description">: No longer have to say <span 
class="pcrb8t-">-Ca </span>if there is only one input column. Did not understand <span 
class="ptmri8t-">date</span><span 
class="ptmb8t-">T</span><span 
class="ptmri8t-">clock</span>
   as command line data.
   </dd><dt class="description">
<a 
href="../html/man/gmtselect.html" ><span 
class="phvb8t-">gmtselect</span></a><a 
 id="dx1-31076"></a> </dt><dd 
class="description">: If <span 
class="pcrb8t-">-M </span>is on and a portion of a segment is skipped, we must reissue the multisegment header
   when segment resumes. Now handles both Cartesian and spherical polygons correctly.
   </dd><dt class="description">
<a 
href="../html/man/grd2xyz.html" ><span 
class="phvb8t-">grd2xyz</span></a><a 
 id="dx1-31077"></a> </dt><dd 
class="description">: Sloppy <span 
class="pcrb8t-">-R </span>resulted in bad x,y values and sometimes allocation error.
                                                                                 

                                                                                 
   </dd><dt class="description">
<a 
href="../html/man/grdfilter.html" ><span 
class="phvb8t-">grdfilter</span></a><a 
 id="dx1-31078"></a> </dt><dd 
class="description">: Convolution filters now use correct area normalization.
   </dd><dt class="description">
<a 
href="../html/man/grdgradient.html" ><span 
class="phvb8t-">grdgradient</span></a><a 
 id="dx1-31079"></a> </dt><dd 
class="description">: If <span 
class="pcrb8t-">-M </span>is used with grids that include poles, ignore the poles when normalizing the slopes.
   </dd><dt class="description">
<a 
href="../html/man/grdimage.html" ><span 
class="phvb8t-">grdimage</span></a><a 
 id="dx1-31080"></a> </dt><dd 
class="description">: Cannot use <span 
class="pcrb8t-">-R </span>to extract subset when <span 
class="pcrb8t-">-J </span>is oblique. Reverse log-axes did not work.
   </dd><dt class="description">
<a 
href="../html/man/grdmask.html" ><span 
class="phvb8t-">grdmask</span></a><a 
 id="dx1-31081"></a> </dt><dd 
class="description">: Now handles both Cartesian and spherical correctly.
   </dd><dt class="description">
<a 
href="../html/man/grdmath.html" ><span 
class="phvb8t-">grdmath</span></a><a 
 id="dx1-31082"></a> </dt><dd 
class="description">:  Wrong  sign  in  <span 
class="ptmb8t-">D2DY2</span>,  and  bogus  value  at  <span 
class="ptmri8t-">y  =  ymin</span>.  Now  handles  both  Cartesian  and
   spherical polygons correctly. Constants given on command line can now be absolute time, geographic
   coordinates, or regular floating-point numbers.
   </dd><dt class="description">
<a 
href="../html/man/grdtrack.html" ><span 
class="phvb8t-">grdtrack</span></a><a 
 id="dx1-31083"></a> </dt><dd 
class="description">: Would fail to skip first two columns for ASCII input if dd:mm:ss format was used.
   </dd><dt class="description">
<a 
href="../html/man/grdview.html" ><span 
class="phvb8t-">grdview</span></a><a 
 id="dx1-31084"></a> </dt><dd 
class="description">: Cannot use <span 
class="pcrb8t-">-R </span>to extract subset when <span 
class="pcrb8t-">-J </span>is oblique.
   </dd><dt class="description">
<a 
href="../html/man/grdvolume.html" ><span 
class="phvb8t-">grdvolume</span></a><a 
 id="dx1-31085"></a> </dt><dd 
class="description">: <span 
class="pcrb8t-">-C</span><span 
class="ptmri8t-">low/high/delta </span>did not check for <span 
class="ptmri8t-">low </span>&#x003C; <span 
class="ptmri8t-">high</span>, etc.
   </dd><dt class="description">
<a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-31086"></a> </dt><dd 
class="description">: Recursive painting could get tricked when boundaries were curved.
   </dd><dt class="description">
<a 
href="../html/man/pslegend.html" ><span 
class="phvb8t-">pslegend</span></a><a 
 id="dx1-31087"></a> </dt><dd 
class="description">: Did not pass +<span class="underline">gmtdefaults</span> and &#8211;<span 
class="ptmb8t-">PAR</span>=<span 
class="ptmri8t-">val </span>onto system calls.
   </dd><dt class="description">
<a 
href="../html/man/psscale.html" ><span 
class="phvb8t-">psscale</span></a><a 
 id="dx1-31088"></a> </dt><dd 
class="description">: Vertical annotations w/custom <span 
class="ptmb8t-">D_FORMAT </span>were not aligned. Now uses more optimal means
   to display the color bar, leading to smaller <span 
class="ptmri8t-">PostScript</span>&#x00A0;files. <span 
class="pcrb8t-">-E </span>did not flip sides when a negative width
   was used.
   </dd><dt class="description">
<a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-31089"></a> </dt><dd 
class="description">:  <span 
class="pcrb8t-">-Sp </span>is  now  a  true  point,  but  can  also  take  an  optional  size.  Pentagon  symbol  had  wrong
   normalization scale. If a fixed symbol size was given in <span 
class="pcrb8t-">-S</span>, with the symbol type supplied from file,
   we would not scale symbols correctly if upper case symbols were given.
   </dd><dt class="description">
<a 
href="../html/man/psxyz.html" ><span 
class="phvb8t-">psxyz</span></a><a 
 id="dx1-31090"></a> </dt><dd 
class="description">: Wrong index used in assigning color from cpt and in updating vector lengths. If a fixed symbol
   size was given in <span 
class="pcrb8t-">-S</span>, with the symbol type supplied from file, we would not scale symbols correctly if
   upper case symbols were given
   </dd><dt class="description">
<a 
href="../html/man/spectrum1d.html" ><span 
class="phvb8t-">spectrum1d</span></a><a 
 id="dx1-31091"></a> </dt><dd 
class="description">: Bugs in error expressions for admittance, gain, and phase have been corrected.
   </dd><dt class="description">
<span 
class="ptmbi8t-">x2sys </span><span 
class="ptmb8t-">&amp; </span><span 
class="ptmbi8t-">mgd77 </span><span 
class="ptmb8t-">supplements</span> </dt><dd 
class="description">:   Made   DOS-format   (CR/LF)   tolerant.   Both   supplements   are   now
   undergoing rapid development.</dd></dl>
                                                                                 

                                                                                 
<!--l. 1843--><p class="noindent" ><span 
class="ptmb8t-x-x-120">]</span>
</p>
   <h4 class="subsectionHead"><span class="titlemark">1.1.22    </span> <a 
 id="x1-320001.1.22"></a>Overview of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.0 [Oct-10, 2004]</h4>
<!--l. 1845--><p class="noindent" ><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4 represents a major overhaul of the package, hence the major version number increment. There are four
categories of changes that have been implemented:
   </p><dl class="description"><dt class="description">
<span 
class="ptmb8t-">Time-series support.</span> </dt><dd 
class="description"><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;can now read and write time-series data where the time coordinates are of the
   form <span 
class="ptmri8t-">date</span><span 
class="ptmb8t-">T</span><span 
class="ptmri8t-">clock</span><span class="footnote-mark"><a 
href="#fn2x1" id="fn2x1-bk"><sup class="textsuperscript">2</sup></a></span><a 
 id="x1-32001f2"></a>.
   The formats used for <span 
class="ptmri8t-">date </span>and <span 
class="ptmri8t-">clock </span>are under the user&#8217;s control. Both Gregorian and ISO calendars are
   supported. Frame annotation for time-series are now supported via the <span 
class="pcrb8t-">-B </span>option; there are many new
   modifiers reflecting the vast number of ways one may want to annotate time axes, including support for
   primary and secondary annotation levels and the day- and month-names in numerous languages (send
   us the information we need if your language is not supported). The capability to handle time (in <span 
class="pcrb8t-">-R</span>,
   <span 
class="pcrb8t-">-J</span>, <span 
class="pcrb8t-">-B</span>, i/o, and plotting) required considerable changes &#8220;under the hood&#8221;, including the introduction
   of numerous new <a 
href="../html/man/gmtdefaults.html" ><span 
class="phvb8t-">gmtdefaults</span></a><a 
 id="dx1-32004"></a> parameters to make the time series support as &#8220;generic&#8221; as we need it
   to be.
   </dd><dt class="description">
<span 
class="ptmb8t-">New Tools.</span> </dt><dd 
class="description">Three new tools have been added:
      <ol  class="enumerate1" >
      <li 
  class="enumerate" id="x1-32006x1"><a 
href="../html/man/gmt2rgb.html" ><span 
class="phvb8t-">gmt2rgb</span></a><a 
 id="dx1-32007"></a>: Makes red, green, and blue component grid files from an image (to be used with new
      options for false color imaging or image draping by <a 
href="../html/man/grdimage.html" ><span 
class="phvb8t-">grdimage</span></a><a 
 id="dx1-32008"></a> or <a 
href="../html/man/grdview.html" ><span 
class="phvb8t-">grdview</span></a><a 
 id="dx1-32009"></a>).
      </li>
      <li 
  class="enumerate" id="x1-32011x2"><a 
href="../html/man/grdblend.html" ><span 
class="phvb8t-">grdblend</span></a><a 
 id="dx1-32012"></a>: Blends several partially over-lapping grid files into one combined grid. Output grid is
      written one row at the time so truly enormous grids can be created.
      </li>
      <li 
  class="enumerate" id="x1-32014x3"><a 
href="../html/man/pslegend.html" ><span 
class="phvb8t-">pslegend</span></a><a 
 id="dx1-32015"></a>: Designs and plots elaborate legends on maps.</li></ol>
   </dd><dt class="description">
<span 
class="ptmb8t-">New Program Options.</span> </dt><dd 
class="description">Many programs have received additional options or features that enhances their
   usefulness:
      <ul class="itemize1">
      <li class="itemize"><a 
href="../html/man/blockmean.html" ><span 
class="phvb8t-">blockmean</span></a><a 
 id="dx1-32016"></a>: New option <span 
class="pcrb8t-">-Sw </span>will return weight sum while <span 
class="pcrb8t-">-Sz </span>returns the data sums (<span 
class="ptmri8t-">i.e.</span>, it
      duplicates the previous <span 
class="pcrb8t-">-S </span>option).
      </li>
      <li class="itemize"><a 
href="../html/man/filter1d.html" ><span 
class="phvb8t-">filter1d</span></a><a 
 id="dx1-32017"></a>: New filters <span 
class="pcrb8t-">-Fl</span><!--l. 1874--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="pcrb8t-">L</span><!--l. 1874--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="pcrb8t-">u</span><!--l. 1874--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="pcrb8t-">U</span>
      that return extreme (min, max) values.
      </li>
      <li class="itemize"><a 
href="../html/man/gmtconvert.html" ><span 
class="phvb8t-">gmtconvert</span></a><a 
 id="dx1-32018"></a>: Added new options <span 
class="pcrb8t-">-F</span>, <span 
class="pcrb8t-">-A</span>, and <span 
class="pcrb8t-">-I </span>that simulate <span 
class="ptmri8t-">UNIX</span>&#x00A0;<span 
class="ptmbo8t-">cut</span><a 
 id="dx1-32019"></a>, <span 
class="ptmbo8t-">paste</span><a 
 id="dx1-32020"></a>, and <span 
class="ptmbo8t-">tail</span><a 
 id="dx1-32021"></a> <span 
class="pcrb8t-">-r</span>
      (or <span 
class="ptmbo8t-">tac</span><a 
 id="dx1-32022"></a>) capabilities. Option <span 
class="pcrb8t-">-E </span>reports first and last point per segment only, <span 
class="pcrb8t-">-L </span>lists the segment
      headers only, while <span 
class="pcrb8t-">-S </span>lists records from segments whose header matches a given text pattern.
      </li>
      <li class="itemize"><a 
href="../html/man/gmtmath.html" ><span 
class="phvb8t-">gmtmath</span></a><a 
 id="dx1-32023"></a>:  Added  new  operators  for  solving  least  squares  problems  (<span 
class="ptmb8t-">COL,  LSQFIT</span>),  finding
      function roots (<span 
class="ptmb8t-">ROOTS</span>), and evaluating critical values (<span 
class="ptmb8t-">CHICRIT, FCRIT, TCRIT, ZCRIT</span>).
      We  also  added  some  general  functions  (<span 
class="ptmb8t-">SINC,  LOG2,  LRAND</span>)  and  miscellaneous  operations
      (<span 
class="ptmb8t-">FLIPUD, NEQ</span>). The <span 
class="pcrb8t-">-S </span>option may now take a modifier to select first or last record only.
      </li>
      <li class="itemize"><a 
href="../html/man/gmtselect.html" ><span 
class="phvb8t-">gmtselect</span></a><a 
 id="dx1-32024"></a>:       New       option       <span 
class="pcrb8t-">-Z   </span>to       pass       or       skip       based       on       input
      <!--l. 1883--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi></math>-range.
                                                                                 

                                                                                 
      </li>
      <li class="itemize"><a 
href="../html/man/grd2cpt.html" ><span 
class="phvb8t-">grd2cpt</span></a><a 
 id="dx1-32025"></a>:   New   options   <span 
class="pcrb8t-">-Q </span>for   logarithmic   scales,   <span 
class="pcrb8t-">-E </span>for   equidistant   color   intervals,
      <span 
class="pcrb8t-">-R  </span>for    selecting    a    grid    sub-region,    and    <span 
class="pcrb8t-">-N  </span>to    suppress    output    of    B,    F,    N
      colors<span class="footnote-mark"><a 
href="#fn3x1" id="fn3x1-bk"><sup class="textsuperscript">3</sup></a></span><a 
 id="x1-32026f3"></a>.
      </li>
      <li class="itemize"><a 
href="../html/man/grd2xyz.html" ><span 
class="phvb8t-">grd2xyz</span></a><a 
 id="dx1-32027"></a>: New option <span 
class="pcrb8t-">-W </span>to write a constant weight factor as a 4th output column, and ability to
      process several grid files at the same time.
      </li>
      <li class="itemize"><a 
href="../html/man/grdcontour.html" ><span 
class="phvb8t-">grdcontour</span></a><a 
 id="dx1-32028"></a>: Expanded the <span 
class="pcrb8t-">-G </span>option to handle 5 algorithms (4 new) for the placement of contour
      labels.
      </li>
      <li class="itemize"><a 
href="../html/man/grdedit.html" ><span 
class="phvb8t-">grdedit</span></a><a 
 id="dx1-32029"></a>: New option <span 
class="pcrb8t-">-N </span>to replace selected node values given <span 
class="ptmri8t-">x, y, z </span>data in table form (options
      <span 
class="pcrb8t-">-H</span>, <span 
class="pcrb8t-">-b</span>, <span 
class="pcrb8t-">-f</span>, and <span 
class="pcrb8t-">-: </span>added for file support).
      </li>
      <li class="itemize"><a 
href="../html/man/grdfilter.html" ><span 
class="phvb8t-">grdfilter</span></a><a 
 id="dx1-32030"></a>: New geospatial filters <span 
class="pcrb8t-">-Fl</span><!--l. 1893--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="pcrb8t-">L</span><!--l. 1893--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="pcrb8t-">u</span><!--l. 1893--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="pcrb8t-">U</span>
      that return extreme (min, max) values.
      </li>
      <li class="itemize"><a 
href="../html/man/grdimage.html" ><span 
class="phvb8t-">grdimage</span></a><a 
 id="dx1-32031"></a>:  New  option  for  colormasking  (<span 
class="pcrb8t-">-Q</span>;  <span 
class="ptmri8t-">PostScript</span>&#x00A0;Level  3  only),  <span 
class="ptmri8t-">PostScript</span>&#x00A0;image
      interpolation (<span 
class="pcrb8t-">-E</span><span 
class="ptmri8t-">-dpi</span>), and false RGB color image (when given three grids), as well as a modifier
      to <span 
class="pcrb8t-">-T </span>to draw tile outlines.
      </li>
      <li class="itemize"><a 
href="../html/man/grdinfo.html" ><span 
class="phvb8t-">grdinfo</span></a><a 
 id="dx1-32032"></a>:  New  option  to  create  argument  for  <a 
href="../html/man/makecpt.html" ><span 
class="phvb8t-">makecpt</span></a><a 
 id="dx1-32033"></a> (<span 
class="pcrb8t-">-T</span>)  and  to  round-off  region  boundary
      coordinates (<span 
class="pcrb8t-">-I</span>).
      </li>
      <li class="itemize"><a 
href="../html/man/grdmath.html" ><span 
class="phvb8t-">grdmath</span></a><a 
 id="dx1-32034"></a>:  Added  new  operators  for  critical  values  (<span 
class="ptmb8t-">CHICRIT,  FCRIT,  TCRIT,  ZCRIT</span>),
      geospatial analysis (<span 
class="ptmb8t-">LDIST, PDIST, INSIDE</span>) and for calculating azimuths (<span 
class="ptmb8t-">CAS, SAZ</span>). We have
      also added some general functions (<span 
class="ptmb8t-">SINC, LOG2, LRAND</span>) and a few grid operations (<span 
class="ptmb8t-">FLIPLR,</span>
      <span 
class="ptmb8t-">FLIPUD, ROTX, ROTY, NEQ, INRANGE</span>). We may now create multiple output grids from a
      single command.
      </li>
      <li class="itemize"><a 
href="../html/man/grdproject.html" ><span 
class="phvb8t-">grdproject</span></a><a 
 id="dx1-32035"></a>: Option to supply false easting/northing or other offsets from the origin(<span 
class="pcrb8t-">-C</span>).
      </li>
      <li class="itemize"><a 
href="../html/man/grdreformat.html" ><span 
class="phvb8t-">grdreformat</span></a><a 
 id="dx1-32036"></a>: Option to suppress header in raw output (<span 
class="pcrb8t-">-N</span>).
      </li>
      <li class="itemize"><a 
href="../html/man/grdsample.html" ><span 
class="phvb8t-">grdsample</span></a><a 
 id="dx1-32037"></a>: Option to push the bilinear interpolation closer to nodes that are NaN (<span 
class="pcrb8t-">-Q</span>).
      </li>
      <li class="itemize"><a 
href="../html/man/grdtrack.html" ><span 
class="phvb8t-">grdtrack</span></a><a 
 id="dx1-32038"></a>: Options to retrieve nearest node value (<span 
class="pcrb8t-">-N</span>, no interpolation) and to push the bilinear
      interpolation closer to nodes that are NaN (<span 
class="pcrb8t-">-Q</span>).
      </li>
      <li class="itemize"><a 
href="../html/man/grdview.html" ><span 
class="phvb8t-">grdview</span></a><a 
 id="dx1-32039"></a>:  Colormasking  (<span 
class="pcrb8t-">-Qc</span>,  PS  Level  3  only),  draping  of  images  via  red,  green,  and  blue
      component grids (<span 
class="pcrb8t-">-G</span>). Also, drapegrids can have higher resolution than the relief grid, and we
      added a modifier to <span 
class="pcrb8t-">-T </span>to draw tile outlines.
      </li>
      <li class="itemize"><a 
href="../html/man/makecpt.html" ><span 
class="phvb8t-">makecpt</span></a><a 
 id="dx1-32040"></a>: New options <span 
class="pcrb8t-">-Q </span>for logarithmic scales and <span 
class="pcrb8t-">-N </span>to suppress output of B, F, N colors.
      </li>
      <li class="itemize"><a 
href="../html/man/mapproject.html" ><span 
class="phvb8t-">mapproject</span></a><a 
 id="dx1-32041"></a>: New options for datum conversions (<span 
class="pcrb8t-">-T</span>, <span 
class="pcrb8t-">-E</span>, and <span 
class="pcrb8t-">-Q</span>), azimuth and back-azimuth
      (<span 
class="pcrb8t-">-A</span>), distance to point (<span 
class="pcrb8t-">-G</span>) and line (<span 
class="pcrb8t-">-L</span>)calculations, and optional false easting/northing (<span 
class="pcrb8t-">-C</span>).
      </li>
      <li class="itemize"><a 
href="../html/man/minmax.html" ><span 
class="phvb8t-">minmax</span></a><a 
 id="dx1-32042"></a>: Added <span 
class="pcrb8t-">-T</span><span 
class="ptmri8t-">dz </span>option to produce <span 
class="pcrb8t-">-T </span>string for <a 
href="../html/man/makecpt.html" ><span 
class="phvb8t-">makecpt</span></a><a 
 id="dx1-32043"></a>, <span 
class="pcrb8t-">-E </span>for returning extreme records,
      and the <span 
class="pcrb8t-">-I </span>option was extended to handle any number of columns when <span 
class="pcrb8t-">-C </span>is used.
                                                                                 

                                                                                 
      </li>
      <li class="itemize"><a 
href="../html/man/psbasemap.html" ><span 
class="phvb8t-">psbasemap</span></a><a 
 id="dx1-32044"></a>: Extended <span 
class="pcrb8t-">-L </span>to allow alternate label and justification, and added <span 
class="pcrb8t-">-T </span>for directional
      rose ornament or magnetic compass directions.
      </li>
      <li class="itemize"><a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-32045"></a>: Extended <span 
class="pcrb8t-">-L </span>to allow alternate label and justification, and added <span 
class="pcrb8t-">-T </span>for directional rose
      ornament or magnetic compass directions.
      </li>
      <li class="itemize"><a 
href="../html/man/pscontour.html" ><span 
class="phvb8t-">pscontour</span></a><a 
 id="dx1-32046"></a>: Expanded the <span 
class="pcrb8t-">-G </span>option to handle 5 algorithms (4 new) for the placement of contour
      labels.
      </li>
      <li class="itemize"><a 
href="../html/man/psimage.html" ><span 
class="phvb8t-">psimage</span></a><a 
 id="dx1-32047"></a>: <span 
class="ptmri8t-">PostScript</span>&#x00A0;image interpolation (<span 
class="pcrb8t-">-W</span><span 
class="ptmri8t-">-xlength</span>), and justification option in <span 
class="pcrb8t-">-C</span>.
      </li>
      <li class="itemize"><a 
href="../html/man/psscale.html" ><span 
class="phvb8t-">psscale</span></a><a 
 id="dx1-32048"></a>: Options to annotate on opposite side (<span 
class="pcrb8t-">-A</span>) and to plot back or foreground triangle only
      (<span 
class="pcrb8t-">-E</span>[<span 
class="ptmb8t-">b</span><!--l. 1926--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">f</span>]
      ). Also, draw discrete color-key table with centered annotations by appending an optional <span 
class="ptmri8t-">gap </span>to
      the <span 
class="pcrb8t-">-L </span>option.
      </li>
      <li class="itemize"><a 
href="../html/man/pstext.html" ><span 
class="phvb8t-">pstext</span></a><a 
 id="dx1-32049"></a>: New option <span 
class="pcrb8t-">-A </span>should azimuths rather than angles be given,
      </li>
      <li class="itemize"><a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-32050"></a>: Line color control (via <span 
class="pcrb8t-">-C</span>), symbol position offset (with <span 
class="pcrb8t-">-D</span>), custom symbols access (with
      <span 
class="pcrb8t-">-Sk</span>;  use  any  of  the  35  (Appendix&#x00A0;<a 
href="#x1-245000N">N<!--tex4ht:ref: app:N --></a>)  that  come  with  <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;or  design  your  own),  many  new
      symbols (horizontal and vertical dashes, pentagon, octagon, rectangle, double-headed and centered
      vectors), and annotated (&#8220;quoted&#8221;) lines with <span 
class="pcrb8t-">-Sq</span>.
      </li>
      <li class="itemize"><a 
href="../html/man/psxyz.html" ><span 
class="phvb8t-">psxyz</span></a><a 
 id="dx1-32051"></a>: Same, plus a vertical dash symbol.
      </li>
      <li class="itemize"><a 
href="../html/man/xyz2grd.html" ><span 
class="phvb8t-">xyz2grd</span></a><a 
 id="dx1-32052"></a>: Added <span 
class="pcrb8t-">-Au</span><!--l. 1933--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="pcrb8t-">l</span>
      for upper/lower value at each node.</li></ul>
   </dd><dt class="description">
<span 
class="ptmb8t-">General enhancements.</span> </dt><dd 
class="description">These affect most of the programs:
      <ul class="itemize1">
      <li class="itemize">The coastline data have been updated to GSHHS version 1.3. About 50 or so polygons had lingering
      crossovers and some had duplicate points or failed to close; these have now been fixed. Major errors
      in the Puget Sound coastline have also been corrected.
      </li>
      <li class="itemize">New shorthand to repeat the most recently used projection (<span 
class="pcrb8t-">-J</span>).
      </li>
      <li class="itemize">Options for phase-shifting the stride and supplying a prefix for frame annotations (<span 
class="pcrb8t-">-B</span>).
      </li>
      <li class="itemize">Override <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;defaults directly on the command line with any number of &#8211;&#8211;<span 
class="ptmri8t-">PAR=value </span>options.
      </li>
      <li class="itemize">Now choose from 63 ellipsoids and 223 datums, or use your own values.
      </li>
      <li class="itemize">Numerous new <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;defaults parameters, mostly in support of time-series functionality.
      </li>
      <li class="itemize">Shorthand for global regions (<span 
class="pcrb8t-">-Rg </span>for <span 
class="pcrb8t-">-R</span>0/360/-90/90 and <span 
class="pcrb8t-">-Rd </span>for <span 
class="pcrb8t-">-R</span>-180/180/-90/90).
      </li>
      <li class="itemize">Full support for either RGB, HSV, or CMYK in pen/fill command-line options or in cpt files.
                                                                                 

                                                                                 
      </li>
      <li class="itemize">Support for English color names (e.g., red, lightbrown).
      </li>
      <li class="itemize">Choice of unit when specifying pen thickness (cm, inch, point).
      </li>
      <li class="itemize">Easier pen specification mechanism, with predefined names for certain pen thicknesses.
      </li>
      <li class="itemize">Centering of plots on current page with <span 
class="pcrb8t-">-Xc</span>, <span 
class="pcrb8t-">-Yc</span>.
      </li>
      <li class="itemize">More control over input/output table formats (<span 
class="pcrb8t-">-f</span>, <span 
class="pcrb8t-">-:</span>[<span 
class="ptmb8t-">i</span><!--l. 1951--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">o</span>]).
      </li>
      <li class="itemize">Ability to read and write NOAA/NGDC GRD98 grid format.
      </li>
      <li class="itemize">Ability to add additional fonts.
      </li>
      <li class="itemize">Custom paper media size (useful for posters and large maps).
      </li>
      <li class="itemize">All text are now justified by the <span 
class="ptmri8t-">PostScript</span>&#x00A0;interpreter, as is the clipping of contours and &#8220;quoted
      lines&#8221; to make space for annotation labels.
      </li>
      <li class="itemize">Better support for various international character encodings.
      </li>
      <li class="itemize">New Appendices M (color tables), N (custom symbols), O (contours and &#8220;quoted lines&#8221;), and P
      (using both <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;3 and 4).
      </li>
      <li class="itemize">New   hidden   files   <span class="underline">.gmtdefaults4</span>   and   <span class="underline">.gmtcommands4</span>   to   ensure   peaceful   coexistence   with
      <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;3-series.
      </li>
      <li class="itemize">Data  files  in  directories  pointed  to  by  the  three  environmental  parameters  <span 
class="ptmb8t-">$GMT_DATADIR</span>,
      <span 
class="ptmb8t-">$GMT_GRIDDIR</span>, and <span 
class="ptmb8t-">$GMT_IMGDIR </span>can be specified without their full path names when
      used as input files.
      </li>
      <li class="itemize">We have added five new examples for a total of 25.
      </li>
      <li class="itemize">Bourne shell utility <span 
class="ptmbo8t-">gmtswitch</span><a 
 id="dx1-32053"></a> simplifies switching between installed <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;versions.</li></ul>
   </dd></dl>
                                                                                 

                                                                                 
                                                                                 

                                                                                 
                                                                                 

                                                                                 
   <h2 class="chapterHead"><span class="titlemark">Chapter&#x00A0;2</span><br /><a 
 id="x1-330002"></a>Introduction</h2>
<!--l. 13--><p class="noindent" >Most  scientists  are  familiar  with  the  sequence:  <span 
class="ptmri8t-">raw  data</span>
<!--l. 14--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x2192;</mo></math> <span 
class="ptmri8t-">processing</span>
<!--l. 14--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x2192;</mo></math>
<span 
class="ptmri8t-">final illustration</span>. In order to finalize papers for submission to scientific journals, prepare proposals,
and create overheads and slides for various presentations, many scientists spend large amounts of
time and money to create camera-ready figures. This process can be tedious and is often done
manually, since available commercial or in-house software usually can do only part of the job. To
expedite this process we introduce the Generic Mapping Tools (<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;for short), which is a
free<span class="footnote-mark"><a 
href="#fn4x2" id="fn4x2-bk"><sup class="textsuperscript">4</sup></a></span><a 
 id="x1-33001f4"></a>,
software package that can be used to manipulate columns of tabular data, time-series, and gridded data sets, and display
these data in a variety of forms ranging from simple <span 
class="ptmri8t-">x</span>-<span 
class="ptmri8t-">y </span>plots to maps and color, perspective, and shaded-relief
illustrations. <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;uses the <span 
class="ptmri8t-">PostScript</span>&#x00A0;page description language [<span 
class="ptmri8t-">Adobe Systems Inc.</span>, 1990]<a 
 id="dx1-33002"></a>. With <span 
class="ptmri8t-">PostScript</span>,
multiple plot files can easily be superimposed to create arbitrarily complex images in gray tones or 24-bit true
color. Line drawings, bitmapped images, and text can be easily combined in one illustration. <span 
class="ptmri8t-">PostScript</span>&#x00A0;plot files
are device-independent: The same file can be printed at 300 dots per inch (dpi) on an ordinary laserwriter or at
2470 dpi on a phototypesetter when ultimate quality is needed. <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;software is written as a set of
<span 
class="ptmri8t-">UNIX</span>&#x00A0;tools<span class="footnote-mark"><a 
href="#fn5x2" id="fn5x2-bk"><sup class="textsuperscript">5</sup></a></span><a 
 id="x1-33003f5"></a>
and is totally self-contained and fully documented. The system is offered free of charge and is distributed over the
computer network (Internet) [<span 
class="ptmri8t-">Wessel and Smith, 1991; 1995a,b; 1998</span>].
</p><!--l. 42--><p class="indent" >   The original version 1.0 of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;was released in the summer of 1988 when the authors were graduate students
at Lamont-Doherty Earth Observatory<a 
 id="dx1-33004"></a><a 
 id="dx1-33005"></a> of Columbia University. During our tenure as graduate students, L-DEO
changed its computing environment to a distributed network of <span 
class="ptmri8t-">UNIX</span>&#x00A0;workstations, and we wrote <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;to run in
this environment. It became a success at L-DEO, and soon spread to numerous other institutions in the US, Canada,
Europe, and Japan. The current version benefits from the many suggestions contributed by users of the earlier
versions, and now includes more than 50 tools, more than 30 projections, and many other new, more flexible
features. <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;provides scientists with a variety of tools for data manipulation and display, including
routines to sample, filter, compute spectral estimates, and determine trends in time series, grid or
triangulate arbitrarily spaced data, perform mathematical operations (including filtering) on 2-D data
sets both in the space and frequency domain, sample surfaces along arbitrary tracks or onto a new
grid, calculate volumes, and find trend surfaces. The plotting programs will let the user make linear,
log<!--l. 61--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mn>1</mn><mn>0</mn></mrow></msub 
></math>, and
<span 
class="ptmri8t-">x</span><!--l. 61--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msup><mrow 
></mrow><mrow 
><mi 
>a</mi></mrow></msup 
></math>&#8211;<span 
class="ptmri8t-">y</span><!--l. 61--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msup><mrow 
></mrow><mrow 
><mi 
>b</mi></mrow></msup 
></math>
diagrams, polar and rectangular histograms, maps with filled continents and coastlines choosing from many
common map projections, contour plots, mesh plots, monochrome or color images, and artificially illuminated
shaded-relief and 3-D perspective illustrations.
<a 
 id="dx1-33006"></a>
<a 
 id="dx1-33007"></a>
<a 
 id="dx1-33008"></a>
<a 
 id="dx1-33009"></a>
<a 
 id="dx1-33010"></a>
<a 
 id="dx1-33011"></a>
</p><!--l. 73--><p class="indent" >   <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;is written in the highly portable ANSI C <a 
 id="dx1-33012"></a>programming language [<span 
class="ptmri8t-">Kernighan and Ritchie</span>, 1988], is fully POSIX
compliant<a 
 id="dx1-33013"></a> [<span 
class="ptmri8t-">Lewine</span>, 1991], has no Year 2000 problems<a 
 id="dx1-33014"></a>, and may be used with any hardware running some flavor of
<span 
class="ptmri8t-">UNIX</span>, possibly with minor modifications. In writing <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>, we have followed the modular design philosophy of <span 
class="ptmri8t-">UNIX</span>:
The <span 
class="ptmri8t-">raw data </span><!--l. 78--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x2192;</mo></math>
<span 
class="ptmri8t-">processing </span><!--l. 78--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x2192;</mo></math>
<span 
class="ptmri8t-">final illustration </span>flow is broken down to a series of elementary steps; each step is accomplished by a separate
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;or <span 
class="ptmri8t-">UNIX</span>&#x00A0;tool. This modular approach brings several benefits: (1) only a few programs are needed, (2) each
program is small and easy to update and maintain, (3) each step is independent of the previous step and the
data type and can therefore be used in a variety of applications, and (4) the programs can be chained
together in shell scripts or with pipes, thereby creating a process tailored to do a user-specific task.
The decoupling of the data retrieval step from the subsequent massage and plotting is particularly
important, since each institution will typically have its own data base formats. To use <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;with custom
                                                                                 

                                                                                 
data bases, one has only to write a data extraction tool which will put out data in a form readable
by <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;(discussed below). After writing the extractor, all other <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;modules will work as they
are.
</p><!--l. 95--><p class="indent" >   <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;makes full use of the <span 
class="ptmri8t-">PostScript</span>&#x00A0;page description language, and can produce color illustrations if a
color <span 
class="ptmri8t-">PostScript</span>&#x00A0;device is available. One does not necessarily have to have access to a top-of-the-line
color printer to take advantage of the color capabilities offered by <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>: Several companies
offer imaging services where the customer provides a <span 
class="ptmri8t-">PostScript</span>&#x00A0;plot file and gets color slides or
hardcopies in return. Furthermore, general-purpose <span 
class="ptmri8t-">PostScript</span>&#x00A0;raster image processors (RIPs) are
now becoming available, letting the user create raster images from <span 
class="ptmri8t-">PostScript</span>&#x00A0;and plot these bitmaps
on raster devices like computer screens, dot-matrix printers, large format raster plotters, and film
writers<span class="footnote-mark"><a 
href="#fn6x2" id="fn6x2-bk"><sup class="textsuperscript">6</sup></a></span><a 
 id="x1-33015f6"></a>.
Because the publication costs of color illustrations are high, <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;offers 90 common bit and hachure patterns,
including many geologic map symbol types, as well as complete graytone shading operations. Additional bit and
hachure patterns may also be designed by the user. With these tools, it is possible to generate publication-ready
monochrome originals on a common laserwriter.
</p><!--l. 114--><p class="indent" >   <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;is thoroughly documented and comes with a technical reference and cookbook which explains the
purpose of the package and its many features, and provides numerous examples to help new users quickly become
familiar with the operation and philosophy of the system. The cookbook contains the shell scripts that were used
for each example; <span 
class="ptmri8t-">PostScript</span>&#x00A0;files of each illustration are also provided. All programs have individual manual
pages which can be installed as part of the on-line documentation under the <span 
class="ptmri8t-">UNIX</span>&#x00A0;<span 
class="ptmbo8t-">man</span><a 
 id="dx1-33017"></a> utility or as web pages. In
addition, the programs offer friendly help messages which make them essentially self-teaching &#8211; if a user enters
invalid or ambiguous command arguments, the program will print a warning to the screen with a synopsis of the
valid arguments. All the documentation is available for web browsing and may be installed at the user&#8217;s
site.
</p><!--l. 128--><p class="indent" >   The processing and display routines within <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;are completely general and will handle any (<span 
class="ptmri8t-">x,y</span>) or (<span 
class="ptmri8t-">x,y,z</span>)
data as input. For many purposes the (<span 
class="ptmri8t-">x,y</span>) coordinates will be (longitude, latitude) but in most cases
they could equally well be any other variables (e.g., wavelength, power spectral density). Since the
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;plot tools will map these (<span 
class="ptmri8t-">x,y</span>) coordinates to positions on a plot or map using a variety of
transformations (linear, log-log, and several map projections), they can be used with any data that are
given by two or three coordinates. In order to simplify and standardize input and output, <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;uses
two file formats only. Arbitrary sequences of (<span 
class="ptmri8t-">x,y</span>) or (<span 
class="ptmri8t-">x,y,z</span>) data are read from multi-column ASCII
tables, i.e., each file consists of several records, in which each coordinate is confined to a separate
column<span class="footnote-mark"><a 
href="#fn7x2" id="fn7x2-bk"><sup class="textsuperscript">7</sup></a></span><a 
 id="x1-33018f7"></a>.
This format is straightforward and allows the user to perform almost any simple (or complicated)
reformatting or processing task using standard <span 
class="ptmri8t-">UNIX</span>&#x00A0;utilities such as <span 
class="ptmbo8t-">cut</span><a 
 id="dx1-33019"></a>, <span 
class="ptmbo8t-">paste</span><a 
 id="dx1-33020"></a>, <span 
class="ptmbo8t-">grep</span><a 
 id="dx1-33021"></a>, <span 
class="ptmbo8t-">sed</span><a 
 id="dx1-33022"></a> and
<span 
class="ptmbo8t-">awk</span><a 
 id="dx1-33023"></a>. Two-dimensional data that have been sampled on an equidistant grid are read and written by
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;in a binary grid file using the functions provided with the netCDF<a 
 id="dx1-33024"></a> library (a free, public-domain
software library available separately from UCAR, the University Corporation of Atmospheric Research
[<span 
class="ptmri8t-">Treinish and Gough</span>, 1987]). This XDR<a 
 id="dx1-33025"></a> (External Data Representation) based format is architecture
independent, which allows the user to transfer the binary data files from one computer system to
another<span class="footnote-mark"><a 
href="#fn8x2" id="fn8x2-bk"><sup class="textsuperscript">8</sup></a></span><a 
 id="x1-33026f8"></a>.
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;contains programs that will read ASCII (<span 
class="ptmri8t-">x,y,z</span>) files and produce grid files. One such program, <a 
href="../html/man/surface.html" ><span 
class="phvb8t-">surface</span></a><a 
 id="dx1-33027"></a>,
includes new modifications to the gridding algorithm developed by <span 
class="ptmri8t-">Smith and Wessel </span>[1990] using continuous
splines in tension.
</p><!--l. 161--><p class="indent" >   Most of the programs will produce some form of output, which falls into four categories. Several of the
programs may produce more than one of these types of output:
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-33029x1">1-D ASCII Tables &#8212; For example, a (<!--l. 167--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi><mo 
class="MathClass-punc">,</mo><mi 
>y</mi></math>)
   series may be filtered and the filtered values output. ASCII output is written to the standard output
   stream.
   </li>
   <li 
  class="enumerate" id="x1-33031x2">2-D     binary     (netCDF     or     user-defined)     grid     files     &#8211;     Programs     that     grid     ASCII
   (<!--l. 171--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi><mo 
class="MathClass-punc">,</mo><mi 
>y</mi><mo 
class="MathClass-punc">,</mo><mi 
>z</mi></math>)
                                                                                 

                                                                                 
   data or operate on existing grid files produce this type of output.
   </li>
   <li 
  class="enumerate" id="x1-33033x3"><span 
class="ptmri8t-">PostScript</span>&#x00A0;&#8211; The plotting programs all use the <span 
class="ptmri8t-">PostScript</span>&#x00A0;page description language to define plots.
   These commands are stored as ASCII text and can be edited should you want to customize the plot
   beyond the options available in the programs themselves.
   </li>
   <li 
  class="enumerate" id="x1-33035x4">Reports &#8211; Several <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;programs read input files and report statistics and other information. Nearly
   all programs have an optional &#8220;verbose&#8221; operation, which reports on the progress of computation. All
   programs feature usage messages, which prompt the user if incorrect commands have been given. Such
   text is written to the standard error stream and can therefore be separated from ASCII table output.
   </li></ol>
<!--l. 187--><p class="indent" >   <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;is available over the Internet at no charge. To obtain a copy, visit the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;home page
gmt.soest.hawaii.edu, and select DOWNLOAD. This page contains all the information you need to obtain
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;for your platform. We also maintain two electronic mailing lists you may subscribe to in order to stay
informed about bug fixes and upgrades (See Chapter&#x00A0;<a 
href="#x1-1280007">7<!--tex4ht:ref: ch:7 --></a>).
</p><!--l. 194--><p class="indent" >   For those without net-access that need to obtain <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>: Geoware <a 
href="http://www.geoware-online.com" >(http://www.geoware-online.com)</a> makes and
distributes CD-R and DVD-R media with the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;package, compatible supplements, and several Gb of useful
Earth and ocean science data sets. For more information send e-mail to <a 
href="mailto:geoware@geoware-online.com" >geoware@geoware-online.com</a>.
</p><!--l. 200--><p class="indent" >   <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;has served a multitude of scientists very well, and their responses have prompted us to develop these
programs even further. It is our hope that the new version will satisfy these users and attract new users as well. We
present this system to the community in order to promote sharing of research software among investigators in the
US and abroad.
</p>
   <h3 class="likesectionHead"><a 
 id="x1-340002"></a>References</h3>
<!--l. 209--><p class="noindent" >
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-34002x1">Kernighan, B. W., and D. M. Ritchie, <span 
class="ptmri8t-">The C programming language</span>, 2nd edition, p. 272, Prentice-Hall,
   Englewood Cliffs, New Jersey, 1988.
   </li>
   <li 
  class="enumerate" id="x1-34004x2">Adobe Systems Inc., <span 
class="ptmri8t-">PostScript Language Reference Manual</span>, 2nd edition, p. 764, Addison-Wesley,
   Reading, Massachusetts, 1990.
   </li>
   <li 
  class="enumerate" id="x1-34006x3">Lewine,  D.,  POSIX  programmer&#8217;s  guide,  1st  edition,  p.  607,  O&#8217;Reilly  &amp;  Associates,  Sebastopol,
   California, 1991.
   </li>
   <li 
  class="enumerate" id="x1-34008x4">Treinish,  L.  A.,  and  M.  L.  Gough,  A  software  package  for  the  data-independent  management  of
   multidimensional data, <span 
class="ptmri8t-">EOS trans. AGU, 68, </span>633&#8211;635, 1987.
   </li>
   <li 
  class="enumerate" id="x1-34010x5">Smith, W. H. F., and P. Wessel, Gridding with continuous curvature splines in tension, <span 
class="ptmri8t-">Geophysics, 55,</span>
   293&#8211;305, 1990.
   </li>
   <li 
  class="enumerate" id="x1-34012x6">Wessel, P., and W. H. F. Smith, New, improved version of Generic Mapping Tools released, <span 
class="ptmri8t-">EOS trans.</span>
   <span 
class="ptmri8t-">AGU</span>, 79, 579, 1998.
   </li>
   <li 
  class="enumerate" id="x1-34014x7">Wessel, P., and W. H. F. Smith, New version of the Generic Mapping Tools released, <span 
class="ptmri8t-">EOS trans. AGU</span>,
   76, 329, 1995a.
                                                                                 

                                                                                 
   </li>
   <li 
  class="enumerate" id="x1-34016x8">Wessel, P., and W. H. F. Smith, New version of the Generic Mapping Tools released, <span 
class="ptmri8t-">EOS electronic</span>
   <span 
class="ptmri8t-">supplement,  </span>http://www.agu.org/eos_elec/95154e.html, 1995b.
   </li>
   <li 
  class="enumerate" id="x1-34018x9">Wessel, P., and W. H. F. Smith, Free software helps map and display data, <span 
class="ptmri8t-">EOS trans. AGU</span>, 72, 441 &amp;
   445&#8211;446, 1991.
   </li></ol>
                                                                                 

                                                                                 
                                                                                 

                                                                                 
   <h2 class="chapterHead"><span class="titlemark">Chapter&#x00A0;3</span><br /><a 
 id="x1-350003"></a><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;overview and quick reference</h2>
<a 
 id="dx1-35001"></a>
   <h3 class="sectionHead"><span class="titlemark">3.1    </span> <a 
 id="x1-360003.1"></a><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;summary</h3>
<!--l. 16--><p class="noindent" >The following is a summary of all the programs supplied with <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;and a very short description of their purpose.
For more details, see the individual <span 
class="ptmri8t-">UNIX</span>&#x00A0;manual pages or the online web documentation. For a listing sorted by
program purpose, see Section&#x00A0;<a 
href="#x1-370003.2">3.2<!--tex4ht:ref: sec:purpose --></a>. </p>
<table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/blockmean.html" ><span 
class="phvb8t-">blockmean</span></a><a 
 id="dx1-36001"></a>          </td><td  
class="tabbing">L<!--l. 22--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mn>2</mn></mrow></msub 
></math> (<span 
class="ptmri8t-">x</span>,<span 
class="ptmri8t-">y</span>,<span 
class="ptmri8t-">z</span>) table data filter/decimator
</td></tr></table>
<!--l. 22--><p class="indent" >   </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/blockmedian.html" ><span 
class="phvb8t-">blockmedian</span></a><a 
 id="dx1-36002"></a>       </td><td  
class="tabbing">L<!--l. 23--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mn>1</mn></mrow></msub 
></math> (<span 
class="ptmri8t-">x</span>,<span 
class="ptmri8t-">y</span>,<span 
class="ptmri8t-">z</span>) table data filter/decimator</td></tr></table>
<!--l. 23--><p class="indent" >                             </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/blockmode.html" ><span 
class="phvb8t-">blockmode</span></a><a 
 id="dx1-36003"></a>          </td><td  
class="tabbing">Mode estimate (<span 
class="ptmri8t-">x</span>,<span 
class="ptmri8t-">y</span>,<span 
class="ptmri8t-">z</span>) table data filter/decimator</td></tr></table>
<!--l. 24--><p class="indent" >                                     </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/filter1d.html" ><span 
class="phvb8t-">filter1d</span></a><a 
 id="dx1-36004"></a>                 </td><td  
class="tabbing">Filter 1-D table data sets (time series)</td></tr></table>
<!--l. 25--><p class="indent" >                    </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/fitcircle.html" ><span 
class="phvb8t-">fitcircle</span></a><a 
 id="dx1-36005"></a>                </td><td  
class="tabbing">Finds the best-fitting great or small circle for a set of points</td></tr></table>
<!--l. 26--><p class="indent" >               </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/gmt2rgb.html" ><span 
class="phvb8t-">gmt2rgb</span></a><a 
 id="dx1-36006"></a>               </td><td  
class="tabbing">Convert Sun raster or grid file to red, green, blue component grids</td></tr></table>
<!--l. 27--><p class="indent" >                              </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/gmtconvert.html" ><span 
class="phvb8t-">gmtconvert</span></a><a 
 id="dx1-36007"></a>         </td><td  
class="tabbing">Convert data tables from one format to another</td></tr></table>
<!--l. 28--><p class="indent" >                                          </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/gmtdefaults.html" ><span 
class="phvb8t-">gmtdefaults</span></a><a 
 id="dx1-36008"></a>        </td><td  
class="tabbing">List the current default settings</td></tr></table>
<!--l. 29--><p class="indent" >                                    </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/gmtmath.html" ><span 
class="phvb8t-">gmtmath</span></a><a 
 id="dx1-36009"></a>              </td><td  
class="tabbing">Mathematical operations on table data</td></tr></table>
<!--l. 30--><p class="indent" >                    </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/gmtselect.html" ><span 
class="phvb8t-">gmtselect</span></a><a 
 id="dx1-36010"></a>            </td><td  
class="tabbing">Select subsets of table data based on multiple spatial criteria</td></tr></table>
<!--l. 31--><p class="indent" >                       </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/gmtset.html" ><span 
class="phvb8t-">gmtset</span></a><a 
 id="dx1-36011"></a>                 </td><td  
class="tabbing">Change selected parameters in current <span class="underline">.gmtdefaults4</span> file</td></tr></table>
<!--l. 32--><p class="indent" >                                  </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/grd2cpt.html" ><span 
class="phvb8t-">grd2cpt</span></a><a 
 id="dx1-36012"></a>                </td><td  
class="tabbing">Make color palette table from a grid files</td></tr></table>
<!--l. 33--><p class="indent" >                                 </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/grd2xyz.html" ><span 
class="phvb8t-">grd2xyz</span></a><a 
 id="dx1-36013"></a>               </td><td  
class="tabbing">Conversion from 2-D grid file to table data</td></tr></table>
<!--l. 34--><p class="indent" >                    </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/grdblend.html" ><span 
class="phvb8t-">grdblend</span></a><a 
 id="dx1-36014"></a>              </td><td  
class="tabbing">Blend several partially over-lapping grid files onto one grid</td></tr></table>
<!--l. 35--><p class="indent" >                                     </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/grdclip.html" ><span 
class="phvb8t-">grdclip</span></a><a 
 id="dx1-36015"></a>                 </td><td  
class="tabbing">Limit the <span 
class="ptmri8t-">z</span>-range in gridded data sets</td></tr></table>
<!--l. 36--><p class="indent" >                                      </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/grdcontour.html" ><span 
class="phvb8t-">grdcontour</span></a><a 
 id="dx1-36016"></a>          </td><td  
class="tabbing">Contouring of 2-D gridded data sets</td></tr></table>
<!--l. 37--><p class="indent" >                                         </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/grdcut.html" ><span 
class="phvb8t-">grdcut</span></a><a 
 id="dx1-36017"></a>                  </td><td  
class="tabbing">Cut a sub-region from a grid file</td></tr></table>
<!--l. 38--><p class="indent" >                                </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/grdedit.html" ><span 
class="phvb8t-">grdedit</span></a><a 
 id="dx1-36018"></a>                 </td><td  
class="tabbing">Modify header information in a 2-D grid file</td></tr></table>
<!--l. 39--><p class="indent" >                      </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/grdfft.html" ><span 
class="phvb8t-">grdfft</span></a><a 
 id="dx1-36019"></a>                    </td><td  
class="tabbing">Perform operations on grid files in the frequency domain</td></tr></table>
<!--l. 40--><p class="indent" >                             </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/grdfilter.html" ><span 
class="phvb8t-">grdfilter</span></a><a 
 id="dx1-36020"></a>               </td><td  
class="tabbing">Filter 2-D gridded data sets in the space domain</td></tr></table>
<!--l. 41--><p class="indent" >                                </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/grdgradient.html" ><span 
class="phvb8t-">grdgradient</span></a><a 
 id="dx1-36021"></a>         </td><td  
class="tabbing">Compute directional gradient from grid files</td></tr></table>
<!--l. 42--><p class="indent" >                                      </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/grdhisteq.html" ><span 
class="phvb8t-">grdhisteq</span></a><a 
 id="dx1-36022"></a>             </td><td  
class="tabbing">Histogram equalization for grid files</td></tr></table>
<!--l. 43--><p class="indent" >                                 </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/grdimage.html" ><span 
class="phvb8t-">grdimage</span></a><a 
 id="dx1-36023"></a>             </td><td  
class="tabbing">Produce images from 2-D gridded data sets</td></tr></table>
<!--l. 44--><p class="indent" >                                         </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/grdinfo.html" ><span 
class="phvb8t-">grdinfo</span></a><a 
 id="dx1-36024"></a>                 </td><td  
class="tabbing">Get information about grid files</td></tr></table>
<!--l. 45--><p class="indent" >                           </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/grdlandmask.html" ><span 
class="phvb8t-">grdlandmask</span></a><a 
 id="dx1-36025"></a>       </td><td  
class="tabbing">Create masking grid files from shoreline data base</td></tr></table>
<!--l. 46--><p class="indent" >                           </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/grdmask.html" ><span 
class="phvb8t-">grdmask</span></a><a 
 id="dx1-36026"></a>              </td><td  
class="tabbing">Reset grid nodes in/outside a clip path to constants</td></tr></table>
<!--l. 47--><p class="indent" >                                     </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/grdmath.html" ><span 
class="phvb8t-">grdmath</span></a><a 
 id="dx1-36027"></a>               </td><td  
class="tabbing">Mathematical operations on grid files</td></tr></table>
<!--l. 48--><p class="indent" >                              </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/grdpaste.html" ><span 
class="phvb8t-">grdpaste</span></a><a 
 id="dx1-36028"></a>              </td><td  
class="tabbing">Paste together grid files along a common edge</td></tr></table>
<!--l. 49--><p class="indent" >                        </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/grdproject.html" ><span 
class="phvb8t-">grdproject</span></a><a 
 id="dx1-36029"></a>           </td><td  
class="tabbing">Project gridded data sets onto a new coordinate system</td></tr></table>
<!--l. 50--><p class="indent" >                                  </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/grdreformat.html" ><span 
class="phvb8t-">grdreformat</span></a><a 
 id="dx1-36030"></a>         </td><td  
class="tabbing">Converts grid files into other grid formats</td></tr></table>
<!--l. 51--><p class="indent" >                            </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/grdsample.html" ><span 
class="phvb8t-">grdsample</span></a><a 
 id="dx1-36031"></a>           </td><td  
class="tabbing">Resample a 2-D gridded data set onto a new grid</td></tr></table>
<!--l. 52--><p class="indent" >                            </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/grdtrack.html" ><span 
class="phvb8t-">grdtrack</span></a><a 
 id="dx1-36032"></a>               </td><td  
class="tabbing">Sampling of 2-D gridded data set along 1-D track</td></tr></table>
<!--l. 53--><p class="indent" >                                       </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/grdtrend.html" ><span 
class="phvb8t-">grdtrend</span></a><a 
 id="dx1-36033"></a>              </td><td  
class="tabbing">Fits polynomial trends to grid files</td></tr></table>
<!--l. 54--><p class="indent" >                                      </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/grdvector.html" ><span 
class="phvb8t-">grdvector</span></a><a 
 id="dx1-36034"></a>            </td><td  
class="tabbing">Plotting of 2-D gridded vector fields</td></tr></table>
<!--l. 55--><p class="indent" >                            </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/grdview.html" ><span 
class="phvb8t-">grdview</span></a><a 
 id="dx1-36035"></a>               </td><td  
class="tabbing">3-D perspective imaging of 2-D gridded data sets</td></tr></table>
<!--l. 56--><p class="indent" >                     </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/grdvolume.html" ><span 
class="phvb8t-">grdvolume</span></a><a 
 id="dx1-36036"></a>           </td><td  
class="tabbing">Calculate volumes under a surface within specified contour</td></tr></table>
<!--l. 57--><p class="indent" >              </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/greenspline.html" ><span 
class="phvb8t-">greenspline</span></a><a 
 id="dx1-36037"></a>         </td><td  
class="tabbing">Interpolation using Green&#8217;s functions for splines in 1&#8211;3 dimensions</td></tr></table>
<!--l. 58--><p class="indent" >                                              </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/makecpt.html" ><span 
class="phvb8t-">makecpt</span></a><a 
 id="dx1-36038"></a>              </td><td  
class="tabbing">Make color palette tables</td></tr></table>
<!--l. 59--><p class="indent" >                          </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/mapproject.html" ><span 
class="phvb8t-">mapproject</span></a><a 
 id="dx1-36039"></a>          </td><td  
class="tabbing">Transformation of coordinate systems for table data</td></tr></table>
<!--l. 60--><p class="indent" >                                   </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/minmax.html" ><span 
class="phvb8t-">minmax</span></a><a 
 id="dx1-36040"></a>               </td><td  
class="tabbing">Report extreme values in table data files</td></tr></table>
<!--l. 61--><p class="indent" >                                       </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/nearneighbor.html" ><span 
class="phvb8t-">nearneighbor</span></a><a 
 id="dx1-36041"></a>      </td><td  
class="tabbing">Nearest-neighbor gridding scheme</td></tr></table>
<!--l. 62--><p class="indent" >                                 </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/project.html" ><span 
class="phvb8t-">project</span></a><a 
 id="dx1-36042"></a>                 </td><td  
class="tabbing">Project table data onto lines or great circles</td></tr></table>
<!--l. 63--><p class="indent" >                </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/ps2raster.html" ><span 
class="phvb8t-">ps2raster</span></a><a 
 id="dx1-36043"></a>             </td><td  
class="tabbing">Crop and convert PostScript files to raster images, EPS, and PDF</td></tr></table>
                                                                                 

                                                                                 
<!--l. 64--><p class="indent" >                                                 </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/psbasemap.html" ><span 
class="phvb8t-">psbasemap</span></a><a 
 id="dx1-36044"></a>         </td><td  
class="tabbing">Create a basemap plot</td></tr></table>
<!--l. 65--><p class="indent" >                                  </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/psclip.html" ><span 
class="phvb8t-">psclip</span></a><a 
 id="dx1-36045"></a>                   </td><td  
class="tabbing">Use polygon files to define clipping paths</td></tr></table>
<!--l. 66--><p class="indent" >                         </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-36046"></a>               </td><td  
class="tabbing">Plot (and fill) coastlines, borders, and rivers on maps</td></tr></table>
<!--l. 67--><p class="indent" >                            </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/pscontour.html" ><span 
class="phvb8t-">pscontour</span></a><a 
 id="dx1-36047"></a>           </td><td  
class="tabbing">Contour or image raw table data by triangulation</td></tr></table>
<!--l. 68--><p class="indent" >                                                     </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/pshistogram.html" ><span 
class="phvb8t-">pshistogram</span></a><a 
 id="dx1-36048"></a>       </td><td  
class="tabbing">Plot a histogram</td></tr></table>
<!--l. 69--><p class="indent" >                                           </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/psimage.html" ><span 
class="phvb8t-">psimage</span></a><a 
 id="dx1-36049"></a>              </td><td  
class="tabbing">Plot Sun raster files on a map</td></tr></table>
<!--l. 70--><p class="indent" >                                                </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/pslegend.html" ><span 
class="phvb8t-">pslegend</span></a><a 
 id="dx1-36050"></a>             </td><td  
class="tabbing">Plot a legend on a map</td></tr></table>
<!--l. 71--><p class="indent" >                                </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/psmask.html" ><span 
class="phvb8t-">psmask</span></a><a 
 id="dx1-36051"></a>               </td><td  
class="tabbing">Create overlay to mask out regions on maps</td></tr></table>
<!--l. 72--><p class="indent" >                                            </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/psrose.html" ><span 
class="phvb8t-">psrose</span></a><a 
 id="dx1-36052"></a>                 </td><td  
class="tabbing">Plot sector or rose diagrams</td></tr></table>
<!--l. 73--><p class="indent" >                                     </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/psscale.html" ><span 
class="phvb8t-">psscale</span></a><a 
 id="dx1-36053"></a>                </td><td  
class="tabbing">Plot gray scale or color scale on maps</td></tr></table>
<!--l. 74--><p class="indent" >                                               </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/pstext.html" ><span 
class="phvb8t-">pstext</span></a><a 
 id="dx1-36054"></a>                  </td><td  
class="tabbing">Plot text strings on maps</td></tr></table>
<!--l. 75--><p class="indent" >                             </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/pswiggle.html" ><span 
class="phvb8t-">pswiggle</span></a><a 
 id="dx1-36055"></a>              </td><td  
class="tabbing">Draw table data time-series along track on maps</td></tr></table>
<!--l. 76--><p class="indent" >                                 </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-36056"></a>                     </td><td  
class="tabbing">Plot symbols, polygons, and lines on maps</td></tr></table>
<!--l. 77--><p class="indent" >                                   </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/psxyz.html" ><span 
class="phvb8t-">psxyz</span></a><a 
 id="dx1-36057"></a>                   </td><td  
class="tabbing">Plot symbols, polygons, and lines in 3-D</td></tr></table>
<!--l. 78--><p class="indent" >                                        </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/sample1d.html" ><span 
class="phvb8t-">sample1d</span></a><a 
 id="dx1-36058"></a>            </td><td  
class="tabbing">Resampling of 1-D table data sets</td></tr></table>
<!--l. 79--><p class="indent" >                          </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/spectrum1d.html" ><span 
class="phvb8t-">spectrum1d</span></a><a 
 id="dx1-36059"></a>        </td><td  
class="tabbing">Compute various spectral estimates from time-series</td></tr></table>
<!--l. 80--><p class="indent" >                                       </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/splitxyz.html" ><span 
class="phvb8t-">splitxyz</span></a><a 
 id="dx1-36060"></a>                </td><td  
class="tabbing">Split <span 
class="ptmri8t-">xyz </span>files into several segments</td></tr></table>
<!--l. 81--><p class="indent" >                                 </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/surface.html" ><span 
class="phvb8t-">surface</span></a><a 
 id="dx1-36061"></a>                </td><td  
class="tabbing">A continuous curvature gridding algorithm</td></tr></table>
<!--l. 82--><p class="indent" >   </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/trend1d.html" ><span 
class="phvb8t-">trend1d</span></a><a 
 id="dx1-36062"></a>                </td><td  
class="tabbing">Fits polynomial or Fourier trends to <!--l. 83--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>y</mi> <mo 
class="MathClass-rel">=</mo> <mi 
>f</mi><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></math> series</td></tr></table>
<!--l. 83--><p class="indent" >   </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/trend2d.html" ><span 
class="phvb8t-">trend2d</span></a><a 
 id="dx1-36063"></a>                </td><td  
class="tabbing">Fits polynomial trends to <!--l. 84--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi> <mo 
class="MathClass-rel">=</mo> <mi 
>f</mi><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi><mo 
class="MathClass-punc">,</mo><mi 
>y</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></math> series</td></tr></table>
<!--l. 84--><p class="indent" >                         </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/triangulate.html" ><span 
class="phvb8t-">triangulate</span></a><a 
 id="dx1-36064"></a>          </td><td  
class="tabbing">Perform optimal Delauney triangulation and gridding</td></tr></table>
<!--l. 85--><p class="indent" >                         </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:120;" 
class="tabbing"><a 
href="../html/man/xyz2grd.html" ><span 
class="phvb8t-">xyz2grd</span></a><a 
 id="dx1-36065"></a>               </td><td  
class="tabbing">Convert an equidistant table <span 
class="ptmri8t-">xyz </span>file to a 2-D grid file</td></tr></table>
<!--l. 87--><p class="indent" >
<a 
 id="dx1-36066"></a>
</p><!--l. 90--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">3.2    </span> <a 
 id="x1-370003.2"></a><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;quick reference</h3>
<a 
 id="dx1-37001"></a>
<!--l. 93--><p class="noindent" >Instead of an alphabetical listing, this section contains a summary sorted by program purpose. Also included is a
quick summary of the standard command line options and a breakdown of the <span 
class="pcrb8t-">-J </span>option for each of the over 30
projections available in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>. <br 
class="newline" />
</p>
<div class="center" 
>
<!--l. 98--><p class="noindent" >
</p>
                                                                                 

                                                                                 
<div class="tabular"> <table id="TBL-1" class="tabular" 
cellspacing="0" cellpadding="0" rules="groups" 
><colgroup id="TBL-1-1g"><col 
id="TBL-1-1" /><col 
id="TBL-1-2" /></colgroup><tr  
 style="vertical-align:baseline;" id="TBL-1-1-"><td colspan="2" style="text-align:center; white-space:nowrap;" id="TBL-1-1-1"  
class="td11">                                                                           <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmb8t-">FILTERING OF 1-D AND 2-D DATA</span></div></td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-1-2-"><td  style="text-align:left; white-space:nowrap;" id="TBL-1-2-1"  
class="td11"><a 
href="../html/man/blockmean.html" ><span 
class="phvb8t-">blockmean</span></a><a 
 id="dx1-37002"></a> </td><td  style="text-align:left; white-space:nowrap;" id="TBL-1-2-2"  
class="td11">L<!--l. 102--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
>
<mn>2</mn></mrow></msub 
></math> estimate (<!--l. 102--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi><mo 
class="MathClass-punc">,</mo><mi 
>y</mi><mo 
class="MathClass-punc">,</mo><mi 
>z</mi></math>) data filters/decimators</td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-1-3-"><td  style="text-align:left; white-space:nowrap;" id="TBL-1-3-1"  
class="td11"><a 
href="../html/man/blockmedian.html" ><span 
class="phvb8t-">blockmedian</span></a><a 
 id="dx1-37003"></a></td><td  style="text-align:left; white-space:nowrap;" id="TBL-1-3-2"  
class="td11">L<!--l. 103--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mn>1</mn></mrow></msub 
></math> estimate (<!--l. 103--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi><mo 
class="MathClass-punc">,</mo><mi 
>y</mi><mo 
class="MathClass-punc">,</mo><mi 
>z</mi></math>) data filters/decimators</td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-1-4-"><td  style="text-align:left; white-space:nowrap;" id="TBL-1-4-1"  
class="td11"><a 
href="../html/man/blockmode.html" ><span 
class="phvb8t-">blockmode</span></a><a 
 id="dx1-37004"></a>   </td><td  style="text-align:left; white-space:nowrap;" id="TBL-1-4-2"  
class="td11">Mode estimate (<!--l. 104--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi><mo 
class="MathClass-punc">,</mo><mi 
>y</mi><mo 
class="MathClass-punc">,</mo><mi 
>z</mi></math>) data filters/decimators                                                                                                                                                                   </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-1-5-"><td  style="text-align:left; white-space:nowrap;" id="TBL-1-5-1"  
class="td11"><a 
href="../html/man/filter1d.html" ><span 
class="phvb8t-">filter1d</span></a><a 
 id="dx1-37005"></a>          </td><td  style="text-align:left; white-space:nowrap;" id="TBL-1-5-2"  
class="td11">Filter 1-D data (time series)                                                                                                                                                                                                                                                                                                                                                                </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-1-6-"><td  style="text-align:left; white-space:nowrap;" id="TBL-1-6-1"  
class="td11"><a 
href="../html/man/grdfilter.html" ><span 
class="phvb8t-">grdfilter</span></a><a 
 id="dx1-37006"></a>        </td><td  style="text-align:left; white-space:nowrap;" id="TBL-1-6-2"  
class="td11">Filter 2-D data in space domain                                                                                                                                                                                                                                                                                                                                                          </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-1-7-"><td colspan="2" style="text-align:center; white-space:nowrap;" id="TBL-1-7-1"  
class="td11">                                                                            <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmb8t-">PLOTTING OF 1-D and 2-D DATA</span></div></td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-1-8-"><td  style="text-align:left; white-space:nowrap;" id="TBL-1-8-1"  
class="td11"><a 
href="../html/man/grdcontour.html" ><span 
class="phvb8t-">grdcontour</span></a><a 
 id="dx1-37007"></a> </td><td  style="text-align:left; white-space:nowrap;" id="TBL-1-8-2"  
class="td11">Contouring of 2-D gridded data                                                                                                                                                                                      </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-1-9-"><td  style="text-align:left; white-space:nowrap;" id="TBL-1-9-1"  
class="td11"><a 
href="../html/man/grdimage.html" ><span 
class="phvb8t-">grdimage</span></a><a 
 id="dx1-37008"></a>      </td><td  style="text-align:left; white-space:nowrap;" id="TBL-1-9-2"  
class="td11">Produce images from 2-D gridded data                                                                                                                                                                                                                                                                                                                                              </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-1-10-"><td  style="text-align:left; white-space:nowrap;" id="TBL-1-10-1"  
class="td11"><a 
href="../html/man/grdvector.html" ><span 
class="phvb8t-">grdvector</span></a><a 
 id="dx1-37009"></a>     </td><td  style="text-align:left; white-space:nowrap;" id="TBL-1-10-2"  
class="td11">Plot vector fields from 2-D gridded data                                                                                                                                                                                                                                                                                                                                             </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-1-11-"><td  style="text-align:left; white-space:nowrap;" id="TBL-1-11-1"  
class="td11"><a 
href="../html/man/grdview.html" ><span 
class="phvb8t-">grdview</span></a><a 
 id="dx1-37010"></a>        </td><td  style="text-align:left; white-space:nowrap;" id="TBL-1-11-2"  
class="td11">3-D perspective imaging of 2-D gridded data                                                                                                                                                                                                                                                                                                                                     </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-1-12-"><td  style="text-align:left; white-space:nowrap;" id="TBL-1-12-1"  
class="td11"><a 
href="../html/man/psbasemap.html" ><span 
class="phvb8t-">psbasemap</span></a><a 
 id="dx1-37011"></a>  </td><td  style="text-align:left; white-space:nowrap;" id="TBL-1-12-2"  
class="td11">Create a basemap frame                                                                                                                                                                                                                                                                                                                                                                      </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-1-13-"><td  style="text-align:left; white-space:nowrap;" id="TBL-1-13-1"  
class="td11"><a 
href="../html/man/psclip.html" ><span 
class="phvb8t-">psclip</span></a><a 
 id="dx1-37012"></a>            </td><td  style="text-align:left; white-space:nowrap;" id="TBL-1-13-2"  
class="td11">Use polygon files as clipping paths                                                                                                                                                                                                                                                                                                                                                     </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-1-14-"><td  style="text-align:left; white-space:nowrap;" id="TBL-1-14-1"  
class="td11"><a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-37013"></a>        </td><td  style="text-align:left; white-space:nowrap;" id="TBL-1-14-2"  
class="td11">Plot coastlines, filled continents, rivers, and political borders                                                                                                                                                                                                                                                                                                            </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-1-15-"><td  style="text-align:left; white-space:nowrap;" id="TBL-1-15-1"  
class="td11"><a 
href="../html/man/pscontour.html" ><span 
class="phvb8t-">pscontour</span></a><a 
 id="dx1-37014"></a>    </td><td  style="text-align:left; white-space:nowrap;" id="TBL-1-15-2"  
class="td11">Direct contouring or imaging of <span 
class="ptmri8t-">xyz </span>data by triangulation                                                                                                                                                                                                                                                                                                                 </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-1-16-"><td  style="text-align:left; white-space:nowrap;" id="TBL-1-16-1"  
class="td11"><a 
href="../html/man/pshistogram.html" ><span 
class="phvb8t-">pshistogram</span></a><a 
 id="dx1-37015"></a></td><td  style="text-align:left; white-space:nowrap;" id="TBL-1-16-2"  
class="td11">Plot a histogram                                                                                                                                                                                                                                                                                                                                                                                  </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-1-17-"><td  style="text-align:left; white-space:nowrap;" id="TBL-1-17-1"  
class="td11"><a 
href="../html/man/psimage.html" ><span 
class="phvb8t-">psimage</span></a><a 
 id="dx1-37016"></a>       </td><td  style="text-align:left; white-space:nowrap;" id="TBL-1-17-2"  
class="td11">Plot Sun raster files on a map                                                                                                                                                                                                                                                                                                                                                              </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-1-18-"><td  style="text-align:left; white-space:nowrap;" id="TBL-1-18-1"  
class="td11"><a 
href="../html/man/pslegend.html" ><span 
class="phvb8t-">pslegend</span></a><a 
 id="dx1-37017"></a>      </td><td  style="text-align:left; white-space:nowrap;" id="TBL-1-18-2"  
class="td11">Plot a legend on a map                                                                                                                                                                                                                                                                                                                                                                        </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-1-19-"><td  style="text-align:left; white-space:nowrap;" id="TBL-1-19-1"  
class="td11"><a 
href="../html/man/psmask.html" ><span 
class="phvb8t-">psmask</span></a><a 
 id="dx1-37018"></a>        </td><td  style="text-align:left; white-space:nowrap;" id="TBL-1-19-2"  
class="td11">Create overlay to mask specified regions of a map                                                                                                                                                                                                                                                                                                                             </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-1-20-"><td  style="text-align:left; white-space:nowrap;" id="TBL-1-20-1"  
class="td11"><a 
href="../html/man/psrose.html" ><span 
class="phvb8t-">psrose</span></a><a 
 id="dx1-37019"></a>          </td><td  style="text-align:left; white-space:nowrap;" id="TBL-1-20-2"  
class="td11">Plot sector or rose diagrams                                                                                                                                                                                                                                                                                                                                                                </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-1-21-"><td  style="text-align:left; white-space:nowrap;" id="TBL-1-21-1"  
class="td11"><a 
href="../html/man/psscale.html" ><span 
class="phvb8t-">psscale</span></a><a 
 id="dx1-37020"></a>         </td><td  style="text-align:left; white-space:nowrap;" id="TBL-1-21-2"  
class="td11">Plot gray scale or color scale                                                                                                                                                                                                                                                                                                                                                              </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-1-22-"><td  style="text-align:left; white-space:nowrap;" id="TBL-1-22-1"  
class="td11"><a 
href="../html/man/pstext.html" ><span 
class="phvb8t-">pstext</span></a><a 
 id="dx1-37021"></a>           </td><td  style="text-align:left; white-space:nowrap;" id="TBL-1-22-2"  
class="td11">Plot text strings                                                                                                                                                                                                                                                                                                                                                                                   </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-1-23-"><td  style="text-align:left; white-space:nowrap;" id="TBL-1-23-1"  
class="td11"><a 
href="../html/man/pswiggle.html" ><span 
class="phvb8t-">pswiggle</span></a><a 
 id="dx1-37022"></a>       </td><td  style="text-align:left; white-space:nowrap;" id="TBL-1-23-2"  
class="td11">Draw anomalies along track                                                                                                                                                                                                                                                                                                                                                                </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-1-24-"><td  style="text-align:left; white-space:nowrap;" id="TBL-1-24-1"  
class="td11"><a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-37023"></a>              </td><td  style="text-align:left; white-space:nowrap;" id="TBL-1-24-2"  
class="td11">Plot symbols, polygons, and lines in 2-D                                                                                                                                                                                                                                                                                                                                           </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-1-25-"><td  style="text-align:left; white-space:nowrap;" id="TBL-1-25-1"  
class="td11"><a 
href="../html/man/psxyz.html" ><span 
class="phvb8t-">psxyz</span></a><a 
 id="dx1-37024"></a>            </td><td  style="text-align:left; white-space:nowrap;" id="TBL-1-25-2"  
class="td11">Plot symbols, polygons, and lines in 3-D                                                                                                                                                                                                                                                                                                                                           </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-1-26-"><td  style="text-align:left; white-space:nowrap;" id="TBL-1-26-1"  
class="td11">          </td></tr></table>
</div>
                                                                                 

                                                                                 
<div class="tabular"><table id="TBL-2" class="tabular" 
cellspacing="0" cellpadding="0" rules="groups" 
><colgroup id="TBL-2-1g"><col 
id="TBL-2-1" /><col 
id="TBL-2-2" /></colgroup><tr  
 style="vertical-align:baseline;" id="TBL-2-1-"><td colspan="2" style="text-align:center; white-space:nowrap;" id="TBL-2-1-1"  
class="td11">                                          <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmb8t-">GRIDDING OF (X,Y,Z) TABLE DATA</span></div>
</td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-2-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-2-1"  
class="td11"><a 
href="../html/man/greenspline.html" ><span 
class="phvb8t-">greenspline</span></a><a 
 id="dx1-37025"></a>   </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-2-2"  
class="td11">Interpolation using Green&#8217;s functions for splines in 1&#8211;3 dimensions                                                                                                                                  </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-3-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-3-1"  
class="td11"><a 
href="../html/man/nearneighbor.html" ><span 
class="phvb8t-">nearneighbor</span></a><a 
 id="dx1-37026"></a></td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-3-2"  
class="td11">Nearest-neighbor gridding scheme                                                                                                                                                                                       </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-4-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-4-1"  
class="td11"><a 
href="../html/man/surface.html" ><span 
class="phvb8t-">surface</span></a><a 
 id="dx1-37027"></a>          </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-4-2"  
class="td11">Continuous curvature gridding algorithm                                                                                                                                                                             </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-5-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-5-1"  
class="td11"><a 
href="../html/man/triangulate.html" ><span 
class="phvb8t-">triangulate</span></a><a 
 id="dx1-37028"></a>     </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-5-2"  
class="td11">Perform optimal Delauney triangulation on <span 
class="ptmri8t-">xyz </span>data                                                                                                                                                           </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-6-"><td colspan="2" style="text-align:center; white-space:nowrap;" id="TBL-2-6-1"  
class="td11">                                           <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmb8t-">SAMPLING OF 1-D AND 2-D DATA</span></div></td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-7-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-7-1"  
class="td11"><a 
href="../html/man/grdsample.html" ><span 
class="phvb8t-">grdsample</span></a><a 
 id="dx1-37029"></a> </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-7-2"  
class="td11">Resample a 2-D gridded data onto new grid                                                                                                      </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-8-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-8-1"  
class="td11"><a 
href="../html/man/grdtrack.html" ><span 
class="phvb8t-">grdtrack</span></a><a 
 id="dx1-37030"></a>         </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-8-2"  
class="td11">Sampling of 2-D data along 1-D track                                                                                                                                                                                 </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-9-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-9-1"  
class="td11"><a 
href="../html/man/sample1d.html" ><span 
class="phvb8t-">sample1d</span></a><a 
 id="dx1-37031"></a>      </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-9-2"  
class="td11">Resampling of 1-D data                                                                                                                                                                                                        </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-10-"><td colspan="2" style="text-align:center; white-space:nowrap;" id="TBL-2-10-1"  
class="td11">                                      <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmb8t-">PROJECTION AND MAP-TRANSFORMATION</span></div>
</td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-11-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-11-1"  
class="td11"><a 
href="../html/man/grdproject.html" ><span 
class="phvb8t-">grdproject</span></a><a 
 id="dx1-37032"></a>     </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-11-2"  
class="td11">Transform gridded data to a new coordinate system                                                                                                                                                            </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-12-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-12-1"  
class="td11"><a 
href="../html/man/mapproject.html" ><span 
class="phvb8t-">mapproject</span></a><a 
 id="dx1-37033"></a>    </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-12-2"  
class="td11">Transform table data to a new coordinate system                                                                                                                                                                </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-13-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-13-1"  
class="td11"><a 
href="../html/man/project.html" ><span 
class="phvb8t-">project</span></a><a 
 id="dx1-37034"></a>           </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-13-2"  
class="td11">Project data onto lines or great circles                                                                                                                                                                                  </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-14-"><td colspan="2" style="text-align:center; white-space:nowrap;" id="TBL-2-14-1"  
class="td11">                                                  <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmb8t-">INFORMATION</span></div></td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-15-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-15-1"  
class="td
11"><a 
href="../html/man/gmtdefaults.html" ><span 
class="phvb8t-">gmtdefaults</span></a><a 
 id="dx1-37035"></a>   </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-15-2"  
class="td11">List the current default settings                                                                                                                                                                                            </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-16-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-16-1"  
class="td11"><a 
href="../html/man/gmtset.html" ><span 
class="phvb8t-">gmtset</span></a><a 
 id="dx1-37036"></a>           </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-16-2"  
class="td11">Command-line editing of parameters in the <span class="underline">.gmtdefaults4</span> file                                                                                                                                            </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-17-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-17-1"  
class="td11"><a 
href="../html/man/grdinfo.html" ><span 
class="phvb8t-">grdinfo</span></a><a 
 id="dx1-37037"></a>           </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-17-2"  
class="td11">Get information about the content of grid files                                                                                                                                                                    </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-18-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-18-1"  
class="td11"><a 
href="../html/man/minmax.html" ><span 
class="phvb8t-">minmax</span></a><a 
 id="dx1-37038"></a>         </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-18-2"  
class="td11">Report extreme values in table data files                                                                                                                                                                              </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-19-"><td colspan="2" style="text-align:center; white-space:nowrap;" id="TBL-2-19-1"  
class="td11">                                                 <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmb8t-">MISCELLANEOUS</span></div></td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-20-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-20-1"  
class="td11"><a 
href="../html/man/gmtmath.html" ><span 
class="phvb8t-">gmtmath</span></a><a 
 id="dx1-37039"></a> </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-20-2"  
class="td11">Reverse Polish Notation (RPN) calculator for table data                                                                                                                     </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-21-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-21-1"  
class="td11"><a 
href="../html/man/makecpt.html" ><span 
class="phvb8t-">makecpt</span></a><a 
 id="dx1-37040"></a>        </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-21-2"  
class="td11">Create GMT color palette tables                                                                                                                                                                                           </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-22-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-22-1"  
class="td11"><a 
href="../html/man/spectrum1d.html" ><span 
class="phvb8t-">spectrum1d</span></a><a 
 id="dx1-37041"></a>   </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-22-2"  
class="td11">Compute spectral estimates from time-series                                                                                                                                                                       </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-23-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-23-1"  
class="td11"><a 
href="../html/man/triangulate.html" ><span 
class="phvb8t-">triangulate</span></a><a 
 id="dx1-37042"></a>     </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-23-2"  
class="td11">Perform optimal Delauney triangulation on xyz data                                                                                                                                                           </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-24-"><td colspan="2" style="text-align:center; white-space:nowrap;" id="TBL-2-24-1"  
class="td11">                                      <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmb8t-">CONVERT OR EXTRACT SUBSETS OF DATA</span></div></td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-25-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-25-1"  
class="td11"><a 
href="../html/man/gmt2rgb.html" ><span 
class="phvb8t-">gmt2rgb</span></a><a 
 id="dx1-37043"></a> </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-25-2"  
class="td11">Convert Sun raster or grid file to red, green, blue component grids                                                                                            </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-26-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-26-1"  
class="td11"><a 
href="../html/man/gmtconvert.html" ><span 
class="phvb8t-">gmtconvert</span></a><a 
 id="dx1-37044"></a>   </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-26-2"  
class="td11">Convert table data from one format to another                                                                                                                                                                     </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-27-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-27-1"  
class="td11"><a 
href="../html/man/gmtselect.html" ><span 
class="phvb8t-">gmtselect</span></a><a 
 id="dx1-37045"></a>      </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-27-2"  
class="td11">Select table data subsets based on multiple spatial criteria                                                                                                                                                  </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-28-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-28-1"  
class="td11"><a 
href="../html/man/grd2xyz.html" ><span 
class="phvb8t-">grd2xyz</span></a><a 
 id="dx1-37046"></a>         </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-28-2"  
class="td11">Convert 2-D gridded data to table data                                                                                                                                                                                 </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-29-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-29-1"  
class="td11"><a 
href="../html/man/grdcut.html" ><span 
class="phvb8t-">grdcut</span></a><a 
 id="dx1-37047"></a>            </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-29-2"  
class="td11">Cut a sub-region from a grid file                                                                                                                                                                                          </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-30-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-30-1"  
class="td11"><a 
href="../html/man/grdblend.html" ><span 
class="phvb8t-">grdblend</span></a><a 
 id="dx1-37048"></a>        </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-30-2"  
class="td11">Blend several partially over-lapping grid files onto one grid                                                                                                                                               </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-31-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-31-1"  
class="td11"><a 
href="../html/man/grdpaste.html" ><span 
class="phvb8t-">grdpaste</span></a><a 
 id="dx1-37049"></a>        </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-31-2"  
class="td11">Paste together grid files along common edge                                                                                                                                                                       </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-32-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-32-1"  
class="td11"><a 
href="../html/man/grdreformat.html" ><span 
class="phvb8t-">grdreformat</span></a><a 
 id="dx1-37050"></a>   </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-32-2"  
class="td11">Convert from one grid format to another                                                                                                                                                                              </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-33-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-33-1"  
class="td11"><a 
href="../html/man/splitxyz.html" ><span 
class="phvb8t-">splitxyz</span></a><a 
 id="dx1-37051"></a>          </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-33-2"  
class="td11">Split (<!--l. 161--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi><mo 
class="MathClass-punc">,</mo><mi 
>y</mi><mo 
class="MathClass-punc">,</mo><mi 
>z</mi></math>) table data into several segments     </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-34-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-34-1"  
class="td11"><a 
href="../html/man/xyz2grd.html" ><span 
class="phvb8t-">xyz2grd</span></a><a 
 id="dx1-37052"></a>         </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-34-2"  
class="td11">Convert table data to 2-D grid file                                                                                                                                                                                        </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-35-"><td colspan="2" style="text-align:center; white-space:nowrap;" id="TBL-2-35-1"  
class="td11">                                       <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmb8t-">DETERMINE TRENDS IN 1-D AND 2-D DATA</span></div>
</td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-36-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-36-1"  
class="td11"><a 
href="../html/man/fitcircle.html" ><span 
class="phvb8t-">fitcircle</span></a><a 
 id="dx1-37053"></a>          </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-36-2"  
class="td11">Finds best-fitting great or small circles                                                                                                                                                                                </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-37-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-37-1"  
class="td11"><a 
href="../html/man/grdtrend.html" ><span 
class="phvb8t-">grdtrend</span></a><a 
 id="dx1-37054"></a>        </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-37-2"  
class="td11">Fits polynomial trends to grid files (<!--l. 165--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi> <mo 
class="MathClass-rel">=</mo> <mi 
>f</mi><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi><mo 
class="MathClass-punc">,</mo><mi 
>y</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></math>)         </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-38-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-38-1"  
class="td11"><a 
href="../html/man/trend1d.html" ><span 
class="phvb8t-">trend1d</span></a><a 
 id="dx1-37055"></a>          </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-38-2"  
class="td11">Fits polynomial or Fourier trends to <!--l. 166--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>y</mi> <mo 
class="MathClass-rel">=</mo> <mi 
>f</mi><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></math> series</td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-39-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-39-1"  
class="td11"><a 
href="../html/man/trend2d.html" ><span 
class="phvb8t-">trend2d</span></a><a 
 id="dx1-37056"></a>          </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-39-2"  
class="td11">Fits polynomial trends to <!--l. 167--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi> <mo 
class="MathClass-rel">=</mo> <mi 
>f</mi><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi><mo 
class="MathClass-punc">,</mo><mi 
>y</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></math> series                 </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-40-"><td colspan="2" style="text-align:center; white-space:nowrap;" id="TBL-2-40-1"  
class="td11">                                          <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmb8t-">OTHER OPERATIONS ON 2-D GRIDS</span></div>
</td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-41-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-41-1"  
class="td11"><a 
href="../html/man/grd2cpt.html" ><span 
class="phvb8t-">grd2cpt</span></a><a 
 id="dx1-37057"></a>          </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-41-2"  
class="td11">Make color palette table from grid file                                                                                                                                                                                 </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-42-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-42-1"  
class="td11"><a 
href="../html/man/grdclip.html" ><span 
class="phvb8t-">grdclip</span></a><a 
 id="dx1-37058"></a>           </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-42-2"  
class="td11">Limit the <!--l. 170--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi></math>&#8211;range in gridded data sets          </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-43-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-43-1"  
class="td11"><a 
href="../html/man/grdedit.html" ><span 
class="phvb8t-">grdedit</span></a><a 
 id="dx1-37059"></a>           </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-43-2"  
class="td11">Modify grid header information                                                                                                                                                                                           </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-44-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-44-1"  
class="td11"><a 
href="../html/man/grdfft.html" ><span 
class="phvb8t-">grdfft</span></a><a 
 id="dx1-37060"></a>              </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-44-2"  
class="td11">Operate on grid files in frequency domain                                                                                                                                                                           </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-45-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-45-1"  
class="td11"><a 
href="../html/man/grdgradient.html" ><span 
class="phvb8t-">grdgradient</span></a><a 
 id="dx1-37061"></a>   </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-45-2"  
class="td11">Compute directional gradients from grid files                                                                                                                                                                      </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-46-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-46-1"  
class="td11"><a 
href="../html/man/grdhisteq.html" ><span 
class="phvb8t-">grdhisteq</span></a><a 
 id="dx1-37062"></a>       </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-46-2"  
class="td11">Histogram equalization for grid files                                                                                                                                                                                    </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-47-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-47-1"  
class="td11"><a 
href="../html/man/grdlandmask.html" ><span 
class="phvb8t-">grdlandmask</span></a><a 
 id="dx1-37063"></a> </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-47-2"  
class="td11">Creates mask grid file from coastline database                                                                                                                                                                    </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-48-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-48-1"  
class="td11"><a 
href="../html/man/grdmask.html" ><span 
class="phvb8t-">grdmask</span></a><a 
 id="dx1-37064"></a>        </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-48-2"  
class="td11">Set grid nodes in/outside a clip path to constants                                                                                                                                                                 </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-49-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-49-1"  
class="td11"><a 
href="../html/man/grdmath.html" ><span 
class="phvb8t-">grdmath</span></a><a 
 id="dx1-37065"></a>         </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-49-2"  
class="td11">Reverse Polish Notation (RPN) calculator for grid files                                                                                                                                                      </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-50-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-50-1"  
class="td11"><a 
href="../html/man/grdvolume.html" ><span 
class="phvb8t-">grdvolume</span></a><a 
 id="dx1-37066"></a>     </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-50-2"  
class="td11">Calculate volume under a surface within a contour                                                                                                                                                             </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-51-"><td colspan="2" style="text-align:center; white-space:nowrap;" id="TBL-2-51-1"  
class="td11">                                       <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmb8t-">MANIPULATING </span><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a><span 
class="ptmb8t-">&#x00A0;POSTSCRIPT FILES</span></div>
</td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-52-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-52-1"  
class="td11"><a 
href="../html/man/ps2raster.html" ><span 
class="phvb8t-">ps2raster</span></a><a 
 id="dx1-37067"></a>       </td><td  style="text-align:left; white-space:nowrap;" id="TBL-2-52-2"  
class="td11">Crop and convert PostScript files to raster images, EPS and PDF                                                                                                                                       </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-2-53-"><td  style="text-align:left; white-space:nowrap;" id="TBL-2-53-1"  
class="td11">           </td></tr></table>
</div>
                                                                                 

                                                                                 
<a 
 id="dx1-37068"></a>
<a 
 id="dx1-37069"></a>
<a 
 id="dx1-37070"></a>
<a 
 id="dx1-37071"></a>
<a 
 id="dx1-37072"></a>
<a 
 id="dx1-37073"></a>
<a 
 id="dx1-37074"></a>
<a 
 id="dx1-37075"></a>
<a 
 id="dx1-37076"></a>
<a 
 id="dx1-37077"></a>
<a 
 id="dx1-37078"></a>
<a 
 id="dx1-37079"></a>
<a 
 id="dx1-37080"></a>
<a 
 id="dx1-37081"></a>
<a 
 id="dx1-37082"></a>
<a 
 id="dx1-37083"></a>
<a 
 id="dx1-37084"></a>
<a 
 id="dx1-37085"></a>
<a 
 id="dx1-37086"></a>
<a 
 id="dx1-37087"></a>
<a 
 id="dx1-37088"></a>
<a 
 id="dx1-37089"></a>
<a 
 id="dx1-37090"></a>
<a 
 id="dx1-37091"></a>
<a 
 id="dx1-37092"></a>
<a 
 id="dx1-37093"></a>
<a 
 id="dx1-37094"></a>
<a 
 id="dx1-37095"></a>
<a 
 id="dx1-37096"></a>
<a 
 id="dx1-37097"></a>
<a 
 id="dx1-37098"></a>
<a 
 id="dx1-37099"></a>
<a 
 id="dx1-37100"></a>
<a 
 id="dx1-37101"></a>
<a 
 id="dx1-37102"></a>
<a 
 id="dx1-37103"></a>
<a 
 id="dx1-37104"></a>
<a 
 id="dx1-37105"></a>
<a 
 id="dx1-37106"></a>
<a 
 id="dx1-37107"></a>
<a 
 id="dx1-37108"></a>
<a 
 id="dx1-37109"></a>
<a 
 id="dx1-37110"></a>
<a 
 id="dx1-37111"></a>
<a 
 id="dx1-37112"></a>
<a 
 id="dx1-37113"></a>
<a 
 id="dx1-37114"></a>
<a 
 id="dx1-37115"></a>
<a 
 id="dx1-37116"></a>
<a 
 id="dx1-37117"></a>
<a 
 id="dx1-37118"></a>
<a 
 id="dx1-37119"></a>
<a 
 id="dx1-37120"></a>
<a 
 id="dx1-37121"></a>
                                                                                 

                                                                                 
<a 
 id="dx1-37122"></a>
<a 
 id="dx1-37123"></a>
<a 
 id="dx1-37124"></a>
<a 
 id="dx1-37125"></a>
<a 
 id="dx1-37126"></a>
<a 
 id="dx1-37127"></a>
<a 
 id="dx1-37128"></a>
<a 
 id="dx1-37129"></a>
<a 
 id="dx1-37130"></a>
<a 
 id="dx1-37131"></a>
<a 
 id="dx1-37132"></a>
<a 
 id="dx1-37133"></a>
<a 
 id="dx1-37134"></a>
<a 
 id="dx1-37135"></a>
<a 
 id="dx1-37136"></a>
<a 
 id="dx1-37137"></a>
<a 
 id="dx1-37138"></a>
<a 
 id="dx1-37139"></a>
<a 
 id="dx1-37140"></a>
<a 
 id="dx1-37141"></a>
<a 
 id="dx1-37142"></a>
<a 
 id="dx1-37143"></a>
<a 
 id="dx1-37144"></a>
<a 
 id="dx1-37145"></a>
<a 
 id="dx1-37146"></a>
<a 
 id="dx1-37147"></a>
<a 
 id="dx1-37148"></a>
<a 
 id="dx1-37149"></a>
<a 
 id="dx1-37150"></a>
<a 
 id="dx1-37151"></a>
<a 
 id="dx1-37152"></a>
<a 
 id="dx1-37153"></a>
<a 
 id="dx1-37154"></a>
<a 
 id="dx1-37155"></a>
<a 
 id="dx1-37156"></a>
<a 
 id="dx1-37157"></a>
<a 
 id="dx1-37158"></a>
<a 
 id="dx1-37159"></a>
<a 
 id="dx1-37160"></a>
<a 
 id="dx1-37161"></a>
<a 
 id="dx1-37162"></a>
<a 
 id="dx1-37163"></a>
<a 
 id="dx1-37164"></a>
<a 
 id="dx1-37165"></a>
<a 
 id="dx1-37166"></a>
<a 
 id="dx1-37167"></a>
<a 
 id="dx1-37168"></a>
<a 
 id="dx1-37169"></a>
<a 
 id="dx1-37170"></a>
<a 
 id="dx1-37171"></a>
<a 
 id="dx1-37172"></a>
<a 
 id="dx1-37173"></a>
<a 
 id="dx1-37174"></a>
                                                                                 

                                                                                 
<div class="tabular"><table id="TBL-3" class="tabular" 
cellspacing="0" cellpadding="0" rules="groups" 
><colgroup id="TBL-3-1g"><col 
id="TBL-3-1" /><col 
id="TBL-3-2" /></colgroup><tr  
 style="vertical-align:baseline;" id="TBL-3-1-"><td colspan="2" style="text-align:center; white-space:nowrap;" id="TBL-3-1-1"  
class="td11">                                                                                                                                                                                                                                                                                                                       <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmb8t-">STANDARDIZED COMMAND LINE OPTIONS WITH OLD PROJECTION CODES</span></div>
</td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-2-"><td colspan="2" style="text-align:left; white-space:nowrap;" id="TBL-3-2-1"  
class="td11"><div class="multicolumn"  style="text-align:left; white-space:nowrap;"><span 
class="pcrb8t-">-B</span>[<span 
class="ptmb8t-">p</span><!--l. 329--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">s</span>]<span 
class="ptmri8t-">xinfo</span>[<span 
class="ptmri8t-">/yinfo</span>[<span 
class="ptmri8t-">/zinfo</span>]][<span 
class="ptmri8t-">WESNZwesnz+</span>][<span 
class="ptmri8t-">:.title:</span>] Tickmarks. Each <span 
class="ptmri8t-">info </span>is</div>
</td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-3-"><td colspan="2" style="text-align:left; white-space:nowrap;" id="TBL-3-3-1"  
class="td11"><div class="multicolumn"  style="text-align:left; white-space:nowrap;">&#x00A0;      [<span 
class="ptmb8t-">t</span>]<span 
class="ptmri8t-">stride</span>[<span 
class="ptmr8c-">±</span><span 
class="ptmri8t-">phase</span>][<span 
class="ptmb8t-">u</span>][<span 
class="ptmb8t-">l</span><!--l. 329--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">p</span>][:"label":][:="prefix":][:,"unit":], where <span 
class="ptmb8t-">l </span>and <span 
class="ptmb8t-">p </span>apply to <!--l. 329--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
><mo 
class="MathClass-op">log</mo><!--nolimits--></mrow><mrow 
><mn>1</mn><mn>0</mn></mrow></msub 
></math> axes only,</div>
</td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-4-"><td colspan="2" style="text-align:left; white-space:nowrap;" id="TBL-3-4-1"  
class="td11"><div class="multicolumn"  style="text-align:left; white-space:nowrap;">&#x00A0;      and type <span 
class="ptmb8t-">t </span>= {<span 
class="ptmb8t-">a, A, f, g, i, I</span>}; unit <span 
class="ptmb8t-">u </span>= {<span 
class="ptmb8t-">c, C, d, D, h, H, K, k, m, M, o, O, r, R, u, U, y, Y</span>}</div>
</td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-5-"><td colspan="2" style="text-align:left; white-space:nowrap;" id="TBL-3-5-1"  
class="td11"><div class="multicolumn"  style="text-align:left; white-space:nowrap;">&#x00A0;      The leading <span 
class="ptmb8t-">p</span><!--l. 329--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">s </span>selects primary [Default] or secondary axis items</div>
</td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-6-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-6-1"  
class="td11"><span 
class="pcrb8t-">-H</span>[<span 
class="ptmb8t-">i</span>][<span 
class="ptmri8t-">n_headers</span>]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         </td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-6-2"  
class="td11">ASCII [input] tables have header record[s]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-7-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-7-1"  
class="td11"><span 
class="pcrb8t-">-J </span>(upper case for <span 
class="ptmri8t-">width</span>, lower case for <span 
class="ptmri8t-">scale</span>)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          </td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-7-2"  
class="td11">Map projection                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-8-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-8-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-JA</span><!--l. 330--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 330--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>[/<span 
class="ptmri8t-">horizon</span>]/<span 
class="ptmri8t-">width                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-8-2"  
class="td11">Lambert azimuthal equal area                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-9-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-9-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-JB</span><!--l. 331--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 331--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 331--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>1</mn></mrow></msub 
></math>/<!--l. 331--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>2</mn></mrow></msub 
></math>/<span 
class="ptmri8t-">width                                                                                                                                                                                                                                                                                                                                                                                                 </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-9-2"  
class="td11">Albers conic equal area                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-10-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-10-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-JC</span><!--l. 332--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 332--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<span 
class="ptmri8t-">width                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-10-2"  
class="td11">Cassini cylindrical                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-11-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-11-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-JCyl_stere/</span>[<!--l. 333--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/[<!--l. 333--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/]]<span 
class="ptmri8t-">width                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-11-2"  
class="td11">Cylindrical stereographic                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-12-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-12-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-JD</span><!--l. 334--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 334--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 334--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>1</mn></mrow></msub 
></math>/<!--l. 334--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>2</mn></mrow></msub 
></math>/<span 
class="ptmri8t-">width                                                                                                                                                                                                                                                                                                                                                                                                 </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-12-2"  
class="td11">Equidistant conic                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-13-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-13-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-JE</span><!--l. 335--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 335--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>[/<span 
class="ptmri8t-">horizon</span>]/<span 
class="ptmri8t-">width                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-13-2"  
class="td11">Azimuthal equidistant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-14-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-14-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-JF</span><!--l. 336--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 336--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>[/<span 
class="ptmri8t-">horizon</span>]/<span 
class="ptmri8t-">width                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-14-2"  
class="td11">Azimuthal gnomonic                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-15-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-15-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-JG</span><!--l. 337--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 337--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>[/<span 
class="ptmri8t-">horizon</span>]/<span 
class="ptmri8t-">width                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-15-2"  
class="td11">Azimuthal orthographic                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-16-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-16-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-JG</span><!--l. 338--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 338--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<span 
class="ptmri8t-">alt</span>/<span 
class="ptmri8t-">azim</span>/<span 
class="ptmri8t-">tilt</span>/<span 
class="ptmri8t-">twist</span>/<span 
class="ptmri8t-">W</span>/<span 
class="ptmri8t-">H</span>/<span 
class="ptmri8t-">width                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-16-2"  
class="td11">General perspective                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-17-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-17-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-JH</span>[<!--l. 339--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/]<span 
class="ptmri8t-">width                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-17-2"  
class="td11">Hammer equal area                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-18-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-18-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-JI</span>[<!--l. 340--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/]<span 
class="ptmri8t-">width                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-18-2"  
class="td11">Sinusoidal equal area                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-19-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-19-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-JJ</span>[<!--l. 341--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/]<span 
class="ptmri8t-">width                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-19-2"  
class="td11">Miller cylindrical                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-20-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-20-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-JKf</span>[<!--l. 342--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/]<span 
class="ptmri8t-">width                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-20-2"  
class="td11">Eckert IV equal area                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-21-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-21-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-JKs</span>[<!--l. 343--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/]<span 
class="ptmri8t-">width                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-21-2"  
class="td11">Eckert VI equal area                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-22-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-22-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-JL</span><!--l. 344--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 344--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 344--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>1</mn></mrow></msub 
></math>/<!--l. 344--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>2</mn></mrow></msub 
></math>/<span 
class="ptmri8t-">width                                                                                                                                                                                                                                                                                                                                                                                                 </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-22-2"  
class="td11">Lambert conic conformal                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-23-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-23-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-JM</span>[<!--l. 345--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/[<!--l. 345--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/]]<span 
class="ptmri8t-">width                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-23-2"  
class="td11">Mercator cylindrical                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-24-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-24-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-JN</span>[<!--l. 346--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/]<span 
class="ptmri8t-">width                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-24-2"  
class="td11">Robinson                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-25-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-25-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-JOa</span><!--l. 347--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 347--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<span 
class="ptmri8t-">azim</span>/<span 
class="ptmri8t-">width                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-25-2"  
class="td11">Oblique Mercator, 1: origin and azimuth                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-26-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-26-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-JOb</span><!--l. 348--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 348--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 348--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>1</mn></mrow></msub 
></math>/<!--l. 348--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>1</mn></mrow></msub 
></math>/<span 
class="ptmri8t-">width                                                                                                                                                                                                                                                                                                                                                                                               </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-26-2"  
class="td11">Oblique Mercator, 2: two points                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-27-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-27-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-JOc</span><!--l. 349--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 349--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 349--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mi 
>p</mi></mrow></msub 
></math>/<!--l. 349--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mi 
>p</mi></mrow></msub 
></math>/<span 
class="ptmri8t-">width                                                                                                                                                                                                                                                                                                                                                                                               </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-27-2"  
class="td11">Oblique Mercator, 3: origin and pole                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-28-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-28-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-JP</span>[<span 
class="ptmb8t-">a</span>]<span 
class="ptmri8t-">width</span>[/<span 
class="ptmri8t-">origin</span>]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          </td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-28-2"  
class="td11">Polar [azimuthal] (<!--l. 350--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>&#x03B8;</mi><mo 
class="MathClass-punc">,</mo><mi 
>r</mi></math>) (or cylindrical)                                                                                                                                                                                                                                                                                                                                </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-29-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-29-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-JPoly</span>[<!--l. 351--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/[<!--l. 351--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/]]<span 
class="ptmri8t-">width                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-29-2"  
class="td11">(American) polyconic                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-30-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-30-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-JQ</span>[<!--l. 352--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/[<!--l. 352--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/]]<span 
class="ptmri8t-">width                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-30-2"  
class="td11">Equidistant cylindrical                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-31-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-31-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-JR</span>[<!--l. 353--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/]<span 
class="ptmri8t-">width                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-31-2"  
class="td11">Winkel Tripel                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-32-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-32-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-JS</span><!--l. 354--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 354--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/[/<span 
class="ptmri8t-">horizon</span>]/<span 
class="ptmri8t-">width                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-32-2"  
class="td11">General stereographic                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-33-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-33-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-JT</span><!--l. 355--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/[<!--l. 355--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/]<span 
class="ptmri8t-">width                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-33-2"  
class="td11">Transverse Mercator                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-34-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-34-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-JU</span><span 
class="ptmri8t-">zone</span>/<span 
class="ptmri8t-">width                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-34-2"  
class="td11">Universal Transverse Mercator (UTM)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-35-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-35-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-JV</span>[<!--l. 357--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/]<span 
class="ptmri8t-">width                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-35-2"  
class="td11">Van der Grinten                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-36-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-36-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-JW</span>[<!--l. 358--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/]<span 
class="ptmri8t-">width                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-36-2"  
class="td11">Mollweide                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-37-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-37-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-JX</span><span 
class="ptmri8t-">width</span>[<span 
class="ptmb8t-">l</span><!--l. 359--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">p</span><span 
class="ptmri8t-">exp</span><!--l. 359--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">T</span><!--l. 359--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">t</span>][/<span 
class="ptmri8t-">height</span>[<span 
class="ptmb8t-">l</span><!--l. 359--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">p</span><span 
class="ptmri8t-">exp</span><!--l. 359--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">T</span><!--l. 359--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">t</span>]][<span 
class="ptmb8t-">d</span>]</td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-37-2"  
class="td11">Linear, log<!--l. 359--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mn>1</mn><mn>0</mn></mrow></msub 
></math>, <!--l. 359--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msup><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>a</mi></mrow></msup 
></math>&#8211;<!--l. 359--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msup><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>b</mi></mrow></msup 
></math>, and time</td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-38-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-38-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-JY</span><!--l. 360--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 360--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<span 
class="ptmri8t-">width                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-38-2"  
class="td11">Cylindrical equal area                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-39-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-39-1"  
class="td11"><span 
class="pcrb8t-">-K                                                                                                                                                                                                                                                                                                                                                                                                                                                                     </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-39-2"  
class="td11">Append more PS later                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-40-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-40-1"  
class="td11"><span 
class="pcrb8t-">-O                                                                                                                                                                                                                                                                                                                                                                                                                                                                     </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-40-2"  
class="td11">This is an overlay plot                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-41-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-41-1"  
class="td11"><span 
class="pcrb8t-">-P                                                                                                                                                                                                                                                                                                                                                                                                                                                                     </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-41-2"  
class="td11">Select Portrait orientation                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-42-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-42-1"  
class="td11"><span 
class="pcrb8t-">-R</span><span 
class="ptmri8t-">west/east/south/north</span>[<span 
class="ptmri8t-">/zmin/zmax</span>][<span 
class="ptmb8t-">r</span>]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    </td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-42-2"  
class="td11">Specify Region of interest                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-43-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-43-1"  
class="td11"><span 
class="pcrb8t-">-U</span>[[<span 
class="ptmri8t-">just</span>]/<span 
class="ptmri8t-">dx</span>/<span 
class="ptmri8t-">dy</span>/][<span 
class="ptmri8t-">label</span>]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               </td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-43-2"  
class="td11">Plot time-stamp on plot                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-44-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-44-1"  
class="td11"><span 
class="pcrb8t-">-V                                                                                                                                                                                                                                                                                                                                                                                                                                                                     </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-44-2"  
class="td11">Run in verbose mode                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-45-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-45-1"  
class="td11"><span 
class="pcrb8t-">-X</span>[<span 
class="ptmb8t-">a</span><!--l. 361--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">c</span><!--l. 361--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">r</span>]<span 
class="ptmri8t-">off </span>[<span 
class="ptmb8t-">u</span>]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          </td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-45-2"  
class="td11">Shift plot origin in <!--l. 361--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi></math>-direction                                                                                                                                                                                                                                                                                                                                           </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-46-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-46-1"  
class="td11"><span 
class="pcrb8t-">-Y</span>[<span 
class="ptmb8t-">a</span><!--l. 361--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">c</span><!--l. 361--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">r</span>]<span 
class="ptmri8t-">off </span>[<span 
class="ptmb8t-">u</span>]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          </td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-46-2"  
class="td11">Shift plot origin in <!--l. 361--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>y</mi></math>-direction                                                                                                                                                                                                                                                                                                                                           </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-47-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-47-1"  
class="td11"><span 
class="pcrb8t-">-b</span>[<span 
class="ptmb8t-">i</span><!--l. 361--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">o</span>][<span 
class="ptmb8t-">c</span><!--l. 361--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">s</span><!--l. 361--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">S</span><!--l. 361--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">d</span><!--l. 361--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">D</span>][<span 
class="ptmri8t-">ncol</span>]                                                                                                                                                                                                                  </td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-47-2"  
class="td11">Select binary input or output                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-48-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-48-1"  
class="td11"><span 
class="pcrb8t-">-c</span><span 
class="ptmri8t-">copies                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-48-2"  
class="td11">Set number of plot copies [1]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-49-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-49-1"  
class="td11"><span 
class="pcrb8t-">-f</span>[<span 
class="ptmb8t-">i</span><!--l. 361--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">o</span>]<span 
class="ptmri8t-">colinfo                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-49-2"  
class="td11">Set formatting of ASCII input or output                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-50-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-50-1"  
class="td11"><span 
class="pcrb8t-">-g</span>[<span 
class="ptmb8t-">+</span>]<span 
class="ptmb8t-">x</span><!--l. 361--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">X</span><!--l. 361--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">y</span><!--l. 361--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">Y</span><!--l. 361--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">d</span><!--l. 361--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">D</span><span 
class="ptmri8t-">gap</span>[<span 
class="ptmb8t-">u</span>]                                                                                                                                                                                                                </td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-50-2"  
class="td11">Segment data by detecting gaps                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-51-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-51-1"  
class="td11"><span 
class="pcrb8t-">-m</span>[<span 
class="ptmb8t-">i</span><!--l. 361--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">o</span>]<span 
class="ptmri8t-">flag                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-51-2"  
class="td11">Set multi-segment data mode                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-52-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-52-1"  
class="td11"><span 
class="pcrb8t-">-:</span>[<span 
class="ptmb8t-">i</span><!--l. 361--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">o</span>]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                </td><td  style="text-align:left; white-space:nowrap;" id="TBL-3-52-2"  
class="td11">Expect <span 
class="ptmri8t-">y</span>/<span 
class="ptmri8t-">x </span>input rather than <span 
class="ptmri8t-">x</span>/<span 
class="ptmri8t-">y                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 </span></td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-3-53-"><td  style="text-align:left; white-space:nowrap;" id="TBL-3-53-1"  
class="td11">                                                                                                                                                                                                                                                                                                                                                                                                                                                                       </td></tr></table>
</div>
                                                                                 

                                                                                 
<div class="tabular"><table id="TBL-4" class="tabular" 
cellspacing="0" cellpadding="0" rules="groups" 
><colgroup id="TBL-4-1g"><col 
id="TBL-4-1" /><col 
id="TBL-4-2" /></colgroup><tr  
 style="vertical-align:baseline;" id="TBL-4-1-"><td colspan="2" style="text-align:center; white-space:nowrap;" id="TBL-4-1-1"  
class="td11">                                                                                                                                                                                                                                                                                                                        <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmb8t-">STANDARDIZED COMMAND LINE OPTIONS (WITH </span><span 
class="ptmbo8t-">Proj4</span><a 
 id="dx1-37175"></a> <span 
class="ptmb8t-">PROJECTION CODES)</span></div>
</td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-2-"><td colspan="2" style="text-align:left; white-space:nowrap;" id="TBL-4-2-1"  
class="td11"><div class="multicolumn"  style="text-align:left; white-space:nowrap;"><span 
class="pcrb8t-">-B</span>[<span 
class="ptmb8t-">p</span><!--l. 363--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">s</span>]<span 
class="ptmri8t-">xinfo</span>[<span 
class="ptmri8t-">/yinfo</span>[<span 
class="ptmri8t-">/zinfo</span>]][<span 
class="ptmri8t-">WESNZwesnz+</span>][<span 
class="ptmri8t-">:.title:</span>] Tickmarks. Each <span 
class="ptmri8t-">info </span>is</div>
</td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-3-"><td colspan="2" style="text-align:left; white-space:nowrap;" id="TBL-4-3-1"  
class="td11"><div class="multicolumn"  style="text-align:left; white-space:nowrap;">&#x00A0;      [<span 
class="ptmb8t-">t</span>]<span 
class="ptmri8t-">stride</span>[<span 
class="ptmr8c-">±</span><span 
class="ptmri8t-">phase</span>][<span 
class="ptmb8t-">u</span>][<span 
class="ptmb8t-">l</span><!--l. 363--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">p</span>][:"label":][:="prefix":][:,"unit":], where <span 
class="ptmb8t-">l </span>and <span 
class="ptmb8t-">p </span>apply to <!--l. 363--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
><mo 
class="MathClass-op">log</mo><!--nolimits--></mrow><mrow 
><mn>1</mn><mn>0</mn></mrow></msub 
></math> axes only,</div>
</td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-4-"><td colspan="2" style="text-align:left; white-space:nowrap;" id="TBL-4-4-1"  
class="td11"><div class="multicolumn"  style="text-align:left; white-space:nowrap;">&#x00A0;      and type <span 
class="ptmb8t-">t </span>= {<span 
class="ptmb8t-">a, A, f, g, i, I</span>}; unit <span 
class="ptmb8t-">u </span>= {<span 
class="ptmb8t-">c, C, d, D, h, H, K, k, m, M, o, O, r, R, u, U, y, Y</span>}</div>
</td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-5-"><td colspan="2" style="text-align:left; white-space:nowrap;" id="TBL-4-5-1"  
class="td11"><div class="multicolumn"  style="text-align:left; white-space:nowrap;">&#x00A0;      The leading <span 
class="ptmb8t-">p</span><!--l. 363--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">s </span>selects primary [Default] or secondary axis items</div>
</td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-6-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-6-1"  
class="td11"><span 
class="pcrb8t-">-H</span>[<span 
class="ptmb8t-">i</span>][<span 
class="ptmri8t-">n_headers</span>]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               </td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-6-2"  
class="td11">ASCII [input] tables have header record[s]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-7-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-7-1"  
class="td11"><span 
class="pcrb8t-">-J </span>(upper case for <span 
class="ptmri8t-">width</span>, lower case for <span 
class="ptmri8t-">scale</span>)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                </td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-7-2"  
class="td11">Map projection                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-8-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-8-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-Jaea/</span><!--l. 364--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 364--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 364--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>1</mn></mrow></msub 
></math>/<!--l. 364--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>2</mn></mrow></msub 
></math>/<span 
class="ptmri8t-">scale                                                                                                                                                                                                                                                                                                                                                                                                </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-8-2"  
class="td11">Albers conic equal area                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-9-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-9-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-Jaeqd/</span><!--l. 365--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 365--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>[/<span 
class="ptmri8t-">horizon</span>]/<span 
class="ptmri8t-">scale                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-9-2"  
class="td11">Azimuthal equidistant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-10-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-10-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-Jcass/</span><!--l. 366--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 366--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<span 
class="ptmri8t-">scale                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-10-2"  
class="td11">Cassini cylindrical                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-11-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-11-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-Jcea/</span><!--l. 367--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 367--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<span 
class="ptmri8t-">scale                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-11-2"  
class="td11">Cylindrical equal area                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-12-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-12-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-Jcyl_stere/</span>[<!--l. 368--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/[<!--l. 368--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/]]<span 
class="ptmri8t-">scale                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-12-2"  
class="td11">Cylindrical stereographic                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-13-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-13-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-Jeqc/</span>[<!--l. 369--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/[<!--l. 369--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/]]<span 
class="ptmri8t-">scale                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-13-2"  
class="td11">Equidistant cylindrical                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-14-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-14-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-Jeqdc/</span><!--l. 370--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 370--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 370--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>1</mn></mrow></msub 
></math>/<!--l. 370--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>2</mn></mrow></msub 
></math>/<span 
class="ptmri8t-">scale                                                                                                                                                                                                                                                                                                                                                                                              </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-14-2"  
class="td11">Equidistant conic                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-15-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-15-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-Jgnom/</span><!--l. 371--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 371--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>[/<span 
class="ptmri8t-">horizon</span>]/<span 
class="ptmri8t-">scale                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-15-2"  
class="td11">Azimuthal gnomonic                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-16-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-16-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-Jhammer/</span>[<!--l. 372--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/]<span 
class="ptmri8t-">scale                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-16-2"  
class="td11">Hammer equal area                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-17-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-17-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-Jeck4/</span>[<!--l. 373--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/]<span 
class="ptmri8t-">scale                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-17-2"  
class="td11">Eckert IV equal area                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-18-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-18-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-Jeck6/</span>[<!--l. 374--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/]<span 
class="ptmri8t-">scale                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-18-2"  
class="td11">Eckert VI equal area                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-19-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-19-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-Jlaea/</span><!--l. 375--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 375--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>[/<span 
class="ptmri8t-">horizon</span>]/<span 
class="ptmri8t-">scale                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-19-2"  
class="td11">Lambert azimuthal equal area                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-20-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-20-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-Jlcc/</span><!--l. 376--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 376--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 376--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>1</mn></mrow></msub 
></math>/<!--l. 376--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>2</mn></mrow></msub 
></math>/<span 
class="ptmri8t-">scale                                                                                                                                                                                                                                                                                                                                                                                                </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-20-2"  
class="td11">Lambert conic conformal                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-21-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-21-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-Jmerc/</span>[<!--l. 377--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/[<!--l. 377--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/]]<span 
class="ptmri8t-">scale                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-21-2"  
class="td11">Mercator cylindrical                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-22-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-22-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-Jmill/</span>[<!--l. 378--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/]<span 
class="ptmri8t-">scale                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-22-2"  
class="td11">Miller cylindrical                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-23-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-23-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-Jmoll/</span>[<!--l. 379--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/]<span 
class="ptmri8t-">scale                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-23-2"  
class="td11">Mollweide                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-24-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-24-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-Jnsper/</span><!--l. 380--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 380--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<span 
class="ptmri8t-">alt</span>/<span 
class="ptmri8t-">azim</span>/<span 
class="ptmri8t-">tilt</span>/<span 
class="ptmri8t-">twist</span>/<span 
class="ptmri8t-">W</span>/<span 
class="ptmri8t-">H</span>/<span 
class="ptmri8t-">scale                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-24-2"  
class="td11">General perspective                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-25-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-25-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-Jomerc/</span><!--l. 381--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 381--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<span 
class="ptmri8t-">azim</span>/<span 
class="ptmri8t-">scale                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-25-2"  
class="td11">Oblique Mercator, 1: origin and azimuth                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-26-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-26-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-Jomerc/</span><!--l. 382--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 382--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 382--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>1</mn></mrow></msub 
></math>/<!--l. 382--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>1</mn></mrow></msub 
></math>/<span 
class="ptmri8t-">scale                                                                                                                                                                                                                                                                                                                                                                                           </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-26-2"  
class="td11">Oblique Mercator, 2: two points                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-27-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-27-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-Jomercp/</span><!--l. 383--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 383--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 383--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mi 
>p</mi></mrow></msub 
></math>/<!--l. 383--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mi 
>p</mi></mrow></msub 
></math>/<span 
class="ptmri8t-">scale                                                                                                                                                                                                                                                                                                                                                                                         </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-27-2"  
class="td11">Oblique Mercator, 3: origin and pole                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-28-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-28-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-Jortho/</span><!--l. 384--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 384--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>[/<span 
class="ptmri8t-">horizon</span>]/<span 
class="ptmri8t-">scale                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-28-2"  
class="td11">Azimuthal orthographic                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-29-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-29-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-Jpolar/</span>[<span 
class="ptmb8t-">a</span>]<span 
class="ptmri8t-">scale</span>[/<span 
class="ptmri8t-">origin</span>]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     </td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-29-2"  
class="td11">Polar [azimuthal] (<!--l. 385--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>&#x03B8;</mi><mo 
class="MathClass-punc">,</mo><mi 
>r</mi></math>) (or cylindrical)                                                                                                                                                                                                                                                                                                                                </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-30-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-30-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-Jpoly</span>[<!--l. 386--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/[<!--l. 386--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/]]<span 
class="ptmri8t-">width                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-30-2"  
class="td11">(American) polyconic                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-31-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-31-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-Jrobin/</span>[<!--l. 387--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/]<span 
class="ptmri8t-">scale                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-31-2"  
class="td11">Robinson                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-32-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-32-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-Jsinu/</span>[<!--l. 388--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/]<span 
class="ptmri8t-">scale                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-32-2"  
class="td11">Sinusoidal equal area                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-33-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-33-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-Jstere/</span><!--l. 389--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/<!--l. 389--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/[/<span 
class="ptmri8t-">horizon</span>]/<span 
class="ptmri8t-">scale                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-33-2"  
class="td11">General stereographic                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-34-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-34-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-Jtmerc/</span><!--l. 390--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/[<!--l. 390--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>a</mi><msub><mrow 
><mi 
>t</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/]<span 
class="ptmri8t-">scale                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-34-2"  
class="td11">Transverse Mercator                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-35-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-35-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-Jutm/</span><span 
class="ptmri8t-">zone</span>/<span 
class="ptmri8t-">scale                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-35-2"  
class="td11">Universal Transverse Mercator (UTM)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-36-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-36-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-Jvandg/</span>[<!--l. 392--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/]<span 
class="ptmri8t-">scale                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-36-2"  
class="td11">Van der Grinten                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-37-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-37-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-Jwintri/</span>[<!--l. 393--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>l</mi><mi 
>o</mi><msub><mrow 
><mi 
>n</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>/]<span 
class="ptmri8t-">scale                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-37-2"  
class="td11">Winkel Tripel                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-38-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-38-1"  
class="td11">&#x00A0;      <span 
class="pcrb8t-">-Jxy/</span><span 
class="ptmri8t-">xscale</span>[<span 
class="ptmb8t-">l</span><!--l. 394--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">p</span><span 
class="ptmri8t-">exp</span><!--l. 394--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">T</span><!--l. 394--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">t</span>][/<span 
class="ptmri8t-">yscale</span>[<span 
class="ptmb8t-">l</span><!--l. 394--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">p</span><span 
class="ptmri8t-">exp</span><!--l. 394--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">T</span><!--l. 394--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">t</span>]][<span 
class="ptmb8t-">d</span>]</td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-38-2"  
class="td11">Linear, log<!--l. 394--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mn>1</mn><mn>0</mn></mrow></msub 
></math>, <!--l. 394--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msup><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>a</mi></mrow></msup 
></math>&#8211;<!--l. 394--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msup><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>b</mi></mrow></msup 
></math>, and time</td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-39-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-39-1"  
class="td11"><span 
class="pcrb8t-">-K                                                                                                                                                                                                                                                                                                                                                                                                                                                                       </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-39-2"  
class="td11">Append more PS later                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-40-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-40-1"  
class="td11"><span 
class="pcrb8t-">-O                                                                                                                                                                                                                                                                                                                                                                                                                                                                        </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-40-2"  
class="td11">This is an overlay plot                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-41-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-41-1"  
class="td11"><span 
class="pcrb8t-">-P                                                                                                                                                                                                                                                                                                                                                                                                                                                                        </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-41-2"  
class="td11">Select Portrait orientation                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-42-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-42-1"  
class="td11"><span 
class="pcrb8t-">-R</span><span 
class="ptmri8t-">west/east/south/north</span>[<span 
class="ptmri8t-">/zmin/zmax</span>][<span 
class="ptmb8t-">r</span>]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          </td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-42-2"  
class="td11">Specify Region of interest                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-43-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-43-1"  
class="td11"><span 
class="pcrb8t-">-U</span>[[<span 
class="ptmri8t-">just</span>]/<span 
class="ptmri8t-">dx</span>/<span 
class="ptmri8t-">dy</span>/][<span 
class="ptmri8t-">label</span>]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     </td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-43-2"  
class="td11">Plot time-stamp on plot                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-44-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-44-1"  
class="td11"><span 
class="pcrb8t-">-V                                                                                                                                                                                                                                                                                                                                                                                                                                                                        </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-44-2"  
class="td11">Run in verbose mode                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-45-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-45-1"  
class="td11"><span 
class="pcrb8t-">-X</span>[<span 
class="ptmb8t-">a</span><!--l. 395--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">c</span><!--l. 395--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">r</span>]<span 
class="ptmri8t-">off </span>[<span 
class="ptmb8t-">u</span>]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                </td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-45-2"  
class="td11">Shift plot origin in <!--l. 395--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi></math>-direction                                                                                                                                                                                                                                                                                                                                           </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-46-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-46-1"  
class="td11"><span 
class="pcrb8t-">-Y</span>[<span 
class="ptmb8t-">a</span><!--l. 395--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">c</span><!--l. 395--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">r</span>]<span 
class="ptmri8t-">off </span>[<span 
class="ptmb8t-">u</span>]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                </td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-46-2"  
class="td11">Shift plot origin in <!--l. 395--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>y</mi></math>-direction                                                                                                                                                                                                                                                                                                                                           </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-47-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-47-1"  
class="td11"><span 
class="pcrb8t-">-b</span>[<span 
class="ptmb8t-">i</span><!--l. 395--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">o</span>][<span 
class="ptmb8t-">c</span><!--l. 395--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">s</span><!--l. 395--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">S</span><!--l. 395--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">d</span><!--l. 395--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">D</span>][<span 
class="ptmri8t-">ncol</span>]                                                                                                                                                                                                                        </td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-47-2"  
class="td11">Select binary input or output                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-48-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-48-1"  
class="td11"><span 
class="pcrb8t-">-c</span><span 
class="ptmri8t-">copies                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-48-2"  
class="td11">Set number of plot copies [1]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-49-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-49-1"  
class="td11"><span 
class="pcrb8t-">-f</span>[<span 
class="ptmb8t-">i</span><!--l. 395--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">o</span>]<span 
class="ptmri8t-">colinfo                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-49-2"  
class="td11">Set formatting of ASCII input or output                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-50-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-50-1"  
class="td11"><span 
class="pcrb8t-">-g</span>[<span 
class="ptmb8t-">+</span>]<span 
class="ptmb8t-">x</span><!--l. 395--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">X</span><!--l. 395--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">y</span><!--l. 395--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">Y</span><!--l. 395--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">d</span><!--l. 395--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">D</span><span 
class="ptmri8t-">gap</span>[<span 
class="ptmb8t-">u</span>]                                                                                                                                                                                                                      </td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-50-2"  
class="td11">Segment data by detecting gaps                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-51-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-51-1"  
class="td11"><span 
class="pcrb8t-">-m</span>[<span 
class="ptmb8t-">i</span><!--l. 395--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">o</span>]<span 
class="ptmri8t-">flag                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-51-2"  
class="td11">Set multi-segment data mode                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-52-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-52-1"  
class="td11"><span 
class="pcrb8t-">-:</span>[<span 
class="ptmb8t-">i</span><!--l. 395--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">o</span>]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      </td><td  style="text-align:left; white-space:nowrap;" id="TBL-4-52-2"  
class="td11">Expect <span 
class="ptmri8t-">y</span>/<span 
class="ptmri8t-">x </span>input rather than <span 
class="ptmri8t-">x</span>/<span 
class="ptmri8t-">y                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 </span></td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-4-53-"><td  style="text-align:left; white-space:nowrap;" id="TBL-4-53-1"  
class="td11">                                                                                                                                                                                                                                                                                                                                                                                                                                                                          </td></tr></table>
</div>
<a 
 id="dx1-37176"></a>
<a 
 id="dx1-37177"></a>
<a 
 id="dx1-37178"></a>
<a 
 id="dx1-37179"></a>
<a 
 id="dx1-37180"></a>
<a 
 id="dx1-37181"></a>
<a 
 id="dx1-37182"></a>
<a 
 id="dx1-37183"></a>
<a 
 id="dx1-37184"></a>
<a 
 id="dx1-37185"></a>
<a 
 id="dx1-37186"></a>
                                                                                 

                                                                                 
<a 
 id="dx1-37187"></a>
<a 
 id="dx1-37188"></a>
<a 
 id="dx1-37189"></a>
<a 
 id="dx1-37190"></a>
<a 
 id="dx1-37191"></a>
<a 
 id="dx1-37192"></a>
<a 
 id="dx1-37193"></a>
<a 
 id="dx1-37194"></a>
<a 
 id="dx1-37195"></a>
<a 
 id="dx1-37196"></a>
<a 
 id="dx1-37197"></a>
<a 
 id="dx1-37198"></a>
<a 
 id="dx1-37199"></a>
<a 
 id="dx1-37200"></a>
<a 
 id="dx1-37201"></a>
<a 
 id="dx1-37202"></a>
<a 
 id="dx1-37203"></a>
<a 
 id="dx1-37204"></a>
<a 
 id="dx1-37205"></a>
<a 
 id="dx1-37206"></a>
<a 
 id="dx1-37207"></a>
<a 
 id="dx1-37208"></a>
<a 
 id="dx1-37209"></a>
<a 
 id="dx1-37210"></a>
<a 
 id="dx1-37211"></a>
<a 
 id="dx1-37212"></a>
<a 
 id="dx1-37213"></a>
<a 
 id="dx1-37214"></a>
<a 
 id="dx1-37215"></a>
<a 
 id="dx1-37216"></a>
<a 
 id="dx1-37217"></a>
<a 
 id="dx1-37218"></a>
<a 
 id="dx1-37219"></a>
<a 
 id="dx1-37220"></a>
<a 
 id="dx1-37221"></a>
<a 
 id="dx1-37222"></a>
<a 
 id="dx1-37223"></a>
<a 
 id="dx1-37224"></a>
<a 
 id="dx1-37225"></a>
<a 
 id="dx1-37226"></a>
<a 
 id="dx1-37227"></a>
<a 
 id="dx1-37228"></a>
<a 
 id="dx1-37229"></a>
<a 
 id="dx1-37230"></a>
<a 
 id="dx1-37231"></a>
<a 
 id="dx1-37232"></a>
<a 
 id="dx1-37233"></a>
<a 
 id="dx1-37234"></a>
<a 
 id="dx1-37235"></a>
<a 
 id="dx1-37236"></a>
<a 
 id="dx1-37237"></a>
<a 
 id="dx1-37238"></a>
<a 
 id="dx1-37239"></a>
<a 
 id="dx1-37240"></a>
                                                                                 

                                                                                 
<a 
 id="dx1-37241"></a>
<a 
 id="dx1-37242"></a>
<a 
 id="dx1-37243"></a>
<a 
 id="dx1-37244"></a>
<a 
 id="dx1-37245"></a>
<a 
 id="dx1-37246"></a>
<a 
 id="dx1-37247"></a>
<a 
 id="dx1-37248"></a>
<a 
 id="dx1-37249"></a>
<a 
 id="dx1-37250"></a>
<a 
 id="dx1-37251"></a>
<a 
 id="dx1-37252"></a>
<a 
 id="dx1-37253"></a>
<a 
 id="dx1-37254"></a>
<a 
 id="dx1-37255"></a>
<a 
 id="dx1-37256"></a>
<a 
 id="dx1-37257"></a>
<a 
 id="dx1-37258"></a>
<a 
 id="dx1-37259"></a>
<a 
 id="dx1-37260"></a>
<a 
 id="dx1-37261"></a>
<a 
 id="dx1-37262"></a>
<a 
 id="dx1-37263"></a>
<a 
 id="dx1-37264"></a>
<a 
 id="dx1-37265"></a>
<a 
 id="dx1-37266"></a>
<a 
 id="dx1-37267"></a>
<a 
 id="dx1-37268"></a>
<a 
 id="dx1-37269"></a>
<a 
 id="dx1-37270"></a>
<a 
 id="dx1-37271"></a>
<a 
 id="dx1-37272"></a>
<a 
 id="dx1-37273"></a>
<a 
 id="dx1-37274"></a>
<a 
 id="dx1-37275"></a>
<a 
 id="dx1-37276"></a>
<a 
 id="dx1-37277"></a>
<a 
 id="dx1-37278"></a>
<a 
 id="dx1-37279"></a>
<a 
 id="dx1-37280"></a>
<a 
 id="dx1-37281"></a>
<a 
 id="dx1-37282"></a>
<a 
 id="dx1-37283"></a>
</div>
                                                                                 

                                                                                 
   <h2 class="chapterHead"><span class="titlemark">Chapter&#x00A0;4</span><br /><a 
 id="x1-380004"></a>General features</h2>
<!--l. 13--><p class="noindent" >This section explains features common to all the programs in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;and summarizes the philosophy behind the
system. Some of the features described here may make more sense once you reach the cook-book section where we
present actual examples of their use.
</p>
   <h3 class="sectionHead"><span class="titlemark">4.1    </span> <a 
 id="x1-390004.1"></a><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;units</h3>
<a 
 id="dx1-39001"></a>
<a 
 id="dx1-39002"></a>
<a 
 id="dx1-39003"></a>
<!--l. 23--><p class="noindent" ><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;programs can accept dimensional quantities in <span 
class="ptmb8t-">c</span>m, <span 
class="ptmb8t-">i</span>nch, <span 
class="ptmb8t-">m</span>eter, or <span 
class="ptmb8t-">p</span>oint (1/72 of an
inch)<span class="footnote-mark"><a 
href="#fn9x4" id="fn9x4-bk"><sup class="textsuperscript">9</sup></a></span><a 
 id="x1-39004f9"></a>.
There are two ways to ensure that <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;understands which unit you intend to use.
</p><!--l. 29--><p class="indent" >
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-39006x1">Append the desired unit to the dimension you supply. This way is explicit and clearly communicates
   what you intend, e.g., <span 
class="pcrb8t-">-X</span>4<span 
class="ptmb8t-">c </span>means the length being passed to the <span 
class="pcrb8t-">-X </span>switch is 4 cm.
   </li>
   <li 
  class="enumerate" id="x1-39008x2">Set the parameter <span 
class="ptmb8t-">MEASURE_UNIT </span>to the desired unit. Then, all dimensions without explicit unit
   will be interpreted accordingly.
   </li></ol>
<!--l. 39--><p class="indent" >   The latter method is less secure as other users may have a different unit set and your script may not work as
intended. We therefore recommend you always supply the desired unit explicitly. <a 
 id="dx1-39009"></a><a 
 id="dx1-39010"></a> <a 
 id="dx1-39011"></a>
</p><!--l. 46--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">4.2    </span> <a 
 id="x1-400004.2"></a><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;defaults</h3>
<!--l. 48--><p class="noindent" >
</p>
   <h4 class="subsectionHead"><span class="titlemark">4.2.1    </span> <a 
 id="x1-410004.2.1"></a>Overview and the <span class="underline">.gmtdefaults4</span>&#x00A0;file</h4>
<a 
 id="dx1-41001"></a>
<a 
 id="dx1-41002"></a>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-41003r1"></a>
                                                                                 

                                                                                 

<!--l. 53--><p class="noindent" ><img 
src="images/GMT_Defaults_1a.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;4.1: </span><span  
class="content">Some <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;parameters that affect plot appearance.</span></div><!--tex4ht:label?: x1-41003r1 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 56--><p class="indent" >   There are about 100 parameters which can be adjusted individually to modify the appearance of
plots or affect the manipulation of data. When a program is run, it initializes all parameters to the
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;defaults<span class="footnote-mark"><a 
href="#fn10x4" id="fn10x4-bk"><sup class="textsuperscript">10</sup></a></span><a 
 id="x1-41004f10"></a>, then tries to open the file
<span class="underline">.gmtdefaults4</span> in the current directory<span class="footnote-mark"><a 
href="#fn11x4" id="fn11x4-bk"><sup class="textsuperscript">11</sup></a></span><a 
 id="x1-41005f11"></a>.
If not found, it will look for that file in a sub-directory <span class="underline">/&#x0303;.gmt</span> of your home directory, and finally in your home
directory itself. If successful, the program will read the contents and set the default values to those provided in the
file. By editing this file you can affect features such as pen thicknesses used for maps, fonts and font sizes used for
annotations and labels, color of the pens, dots-per-inch resolution of the hardcopy device, what type of spline
interpolant to use, and many other choices (A complete list of all the parameters and their default values can be
found in the <a 
href="../html/man/gmtdefaults.html" ><span 
class="phvb8t-">gmtdefaults</span></a><a 
 id="dx1-41006"></a> manual pages). Figures <a 
href="#x1-410004.2.1">4.2.1<!--tex4ht:ref: fig:GMT_Defaults_1a --></a>, <a 
href="#x1-41012r2">4.2<!--tex4ht:ref: fig:GMT_Defaults_1b --></a>, and <a 
href="#x1-42013r3">4.3<!--tex4ht:ref: fig:GMT_Defaults_1c --></a> show the parameters that affect plots). You
may create your own <span class="underline">.gmtdefaults4</span> files by running <a 
href="../html/man/gmtdefaults.html" ><span 
class="phvb8t-">gmtdefaults</span></a><a 
 id="dx1-41007"></a> and then modify those parameters you
want to change. If you want to use the parameter settings in another file you can do so by specifying
<span 
class="pcrr8t-">+&#x003C;defaultfile&#x003E; </span>on the command line. This makes it easy to maintain several distinct parameter
settings, corresponding perhaps to the unique styles required by different journals or simply reflecting
font changes necessary to make readable overheads and slides. Note that any arguments given on the
command line (see below) will take precedent over the default values. E.g., if your <span class="underline">.gmtdefaults4</span>
file has <span 
class="ptmri8t-">x </span>offset = 1<span 
class="ptmb8t-">i </span>as default, the <span 
class="pcrb8t-">-X</span>1.5<span 
class="ptmb8t-">i </span>option will override the default and set the offset to 1.5
inches.
</p><!--l. 87--><p class="indent" >   There are at least two good reasons why the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;default options are placed in a separate parameter
file:
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-41009x1">It would not be practical to allow for command-line syntax covering so many options, many of which
   are rarely or never changed (such as the ellipsoid used for map projections).
   </li>
   <li 
  class="enumerate" id="x1-41011x2">It is convenient to keep separate <span class="underline">.gmtdefaults4</span> files for specific projects, so that one may achieve a
   special effect simply by running <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;commands in the directory whose <span class="underline">.gmtdefaults4</span> file has the
   desired  settings.  For  example,  when  making  final  illustrations  for  a  journal  article  one  must  often
   standardize on font sizes and font types, etc. Keeping all those settings in a separate <span class="underline">.gmtdefaults4</span> file
   simplifies this process and will allow you to generate those illustrations with the same settings later
   on. Likewise, <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;scripts that make figures for PowerPoint presentations often use a different color
   scheme and font size than output intended for laser printers. Organizing these various scenarios into
   separate <span class="underline">.gmtdefaults4</span> files will minimize headaches associated with micro-editing of illustrations.
   <hr class="figure" /><div class="figure" 
><a 
 id="x1-41012r2"></a><img 
src="images/GMT_Defaults_1b.png" alt="PIC"  
 />
<br /> <div class="caption" 
><span class="id">Figure&#x00A0;4.2: </span><span  
class="content">More <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;parameters that affect plot appearance.</span></div><!--tex4ht:label?: x1-41012r2 -->
   </div><hr class="endfigure" />
   </li></ol>
   <h4 class="subsectionHead"><span class="titlemark">4.2.2    </span> <a 
 id="x1-420004.2.2"></a>Changing <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;defaults</h4>
<!--l. 115--><p class="noindent" >As mentioned, <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;programs will attempt to open a file named <span class="underline">.gmtdefaults4</span>. At times it may be desirable to
override that default. There are several ways in which this can be accomplished.
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-42002x1">Supply  another  filename  using  the  <span 
class="ptmri8t-">+filename  </span>syntax,  i.e.,  on  the  same  command  line  as  the
   <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;command we append the name of the alternate <span class="underline">.gmtdefaults4</span> file with the plus sign as a prefix.
   Because any changes only apply to that one command you would have to append the alternate file to
   every command in your script. This is tedious but may be an option for situations when you cannot
   write in the current directory (e.g., some CGI scripts).
   </li>
   <li 
  class="enumerate" id="x1-42004x2">A perhaps less tedious method is to start each script by making a copy of the current <span class="underline">.gmtdefaults4</span>,
                                                                                 

                                                                                 
   then copy the desired <span class="underline">.gmtdefaults4</span> file to the current directory, and finally undo the changes at the end
   of the script. Possible side effects include premature ending of the script due to user error or bugs which
   means the final resetting does not take place (unless you write your script very carefully.)
   </li>
   <li 
  class="enumerate" id="x1-42006x3">To permanently change some of the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;parameters on the fly inside a script the <a 
href="../html/man/gmtset.html" ><span 
class="phvb8t-">gmtset</span></a><a 
 id="dx1-42007"></a> utility can
   be used. E.g., to change the primary annotation font to 12 point Times-Bold we run <br 
class="newline" />
   <!--l. 137--><p class="noindent" ><span 
class="pcrr8t-">gmtset ANNOT_FONT_PRIMARY Times-Bold ANNOT_FONT_SIZE_PRIMARY 12</span><br 
class="newline" />
   </p><!--l. 139--><p class="noindent" >These changes will remain in effect until they are overridden.
   </p></li>
   <li 
  class="enumerate" id="x1-42009x4">If all you want to achieve is to change a few parameters during the execution of a single command but
   otherwise leave the environment intact, consider passing the parameter changes on the command line
   via the &#8211;&#8211;<span 
class="ptmri8t-">PAR=value </span>mechanism. For instance, to temporarily set the output format for floating points
   to have lots of decimals, say, for map projection coordinate output, append &#8211;&#8211;<span 
class="ptmb8t-">D_FORMAT</span>=%.12lg to
   the command in question.
   </li>
   <li 
  class="enumerate" id="x1-42011x5">Finally,  since  version  4.2.2  <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;provides  to  possibility  to  override  the  settings  only  during  the
   running of a single script, reverting to the original settings after the script is run, as if the script was run
   in &#8220;isolation&#8221;. The isolation mode is discussed in Section&#x00A0;<a 
href="#x1-261000P.1">P.1<!--tex4ht:ref: sec:isolationmode --></a>.</li></ol>
<!--l. 148--><p class="noindent" >In addition to those parameters that directly affect the plot there are numerous parameters than modify units, scales,
etc. For a complete listing, see the <a 
href="../html/man/gmtdefaults.html" ><span 
class="phvb8t-">gmtdefaults</span></a><a 
 id="dx1-42012"></a> man pages. We suggest that you go through all the
available parameters at least once so that you know what is available to change via one of the described
mechanisms.
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-42013r3"></a>
                                                                                 

                                                                                 

<!--l. 155--><p class="noindent" ><img 
src="images/GMT_Defaults_1c.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;4.3: </span><span  
class="content">Even more <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;parameters that affect plot appearance.</span></div><!--tex4ht:label?: x1-42013r3 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 157--><p class="indent" >   <span 
class="ptmb8t-">Note: </span>All examples presented in this document started by copying the file <span class="underline">.gmtdefaults4.doc</span> from the
directory <span class="underline">doc/scripts</span> to <span class="underline">.gmtdefaults4</span>. As a result the commands <a 
href="../html/man/gmtset.html" ><span 
class="phvb8t-">gmtset</span></a><a 
 id="dx1-42014"></a> of other scripts were overall,
reverting to a &#8220;virgin&#8221; of parameters set in <span class="underline">.gmtdefaults4.doc</span>. The graphs in Chapter&#x00A0;<a 
href="#x1-1280007">7<!--tex4ht:ref: ch:7 --></a> were created
using <span class="underline">.gmtdefaults4.doc</span> from the directory <span class="underline">examples</span> after which the graphs were scaled down by
50%.
<a 
 id="dx1-42015"></a>
<a 
 id="dx1-42016"></a>
</p>
   <h3 class="sectionHead"><span class="titlemark">4.3    </span> <a 
 id="x1-430004.3"></a>Command line arguments</h3>
<a 
 id="dx1-43001"></a>
<a 
 id="dx1-43002"></a>
<!--l. 171--><p class="noindent" >Each program requires certain arguments specific to its operation. These are explained in the manual pages and in
the usage messages. Most programs are &#8220;case-sensitive&#8221;; almost all options must start with an upper-case
letter. We have tried to choose letters of the alphabet which stand for the argument so that they will
be easy to remember. Each argument specification begins with a hyphen (except input file names;
see below), followed by a letter, and sometimes a number or character string immediately after the
letter. <span 
class="ptmri8t-">Do not </span>space between the hyphen, letter, and number or string. <span 
class="ptmri8t-">Do </span>space between options.
Example:
</p><!--l. 184--><p class="indent" >   <span 
class="pcrr8t-">pscoast -R0/20/0/20 -Ggray -JM6i -Wthin -B5 -V -P</span>
<!--l. 184--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003E;</mo></math>
<span 
class="pcrr8t-">map.ps</span>
</p><!--l. 186--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">4.4    </span> <a 
 id="x1-440004.4"></a>Standardized command line options</h3>
<a 
 id="dx1-44001"></a>
<a 
 id="dx1-44002"></a>
<!--l. 191--><p class="noindent" >Most of the programs take many of the same arguments like those related to setting the data region, the map
projection, etc. The 17 switches in Table&#x00A0;<a 
href="#x1-44021r1">4.1<!--tex4ht:ref: tbl:switches --></a> have the same meaning in all the programs (although some programs
may not use all of them). These options will be described here as well as in the manual pages, as is vital that you
understand how to use these options. We will present these options in order of importance (some are use a lot more
than others).
</p>
   <div class="table">
                                                                                 

                                                                                 
<!--l. 200--><p class="indent" >   <a 
 id="x1-44021r1"></a></p><hr class="float" /><div class="float" 
>
                                                                                 

                                                                                 
<a 
 id="dx1-44003"></a>
<a 
 id="dx1-44004"></a>
<a 
 id="dx1-44005"></a>
<a 
 id="dx1-44006"></a>
<a 
 id="dx1-44007"></a>
<a 
 id="dx1-44008"></a>
<a 
 id="dx1-44009"></a>
<a 
 id="dx1-44010"></a>
<a 
 id="dx1-44011"></a>
<a 
 id="dx1-44012"></a>
<a 
 id="dx1-44013"></a>
<a 
 id="dx1-44014"></a>
<a 
 id="dx1-44015"></a>
<a 
 id="dx1-44016"></a>
<a 
 id="dx1-44017"></a>
<a 
 id="dx1-44018"></a>
<a 
 id="dx1-44019"></a>
<a 
 id="dx1-44020"></a>
<div class="tabular"> <table id="TBL-5" class="tabular" 
cellspacing="0" cellpadding="0" rules="groups" 
><colgroup id="TBL-5-1g"><col 
id="TBL-5-1" /></colgroup><colgroup id="TBL-5-2g"><col 
id="TBL-5-2" /></colgroup><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-5-1-"><td  style="text-align:center; white-space:nowrap;" id="TBL-5-1-1"  
class="td11"><div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">Option</span></div></td><td  style="text-align:center; white-space:nowrap;" id="TBL-5-1-2"  
class="td11">                   <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">Meaning</span></div>
</td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-5-2-"><td  style="text-align:left; white-space:nowrap;" id="TBL-5-2-1"  
class="td11"><span 
class="pcrb8t-">-B   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-5-2-2"  
class="td11">Defines tickmarks, annotations, and labels for basemaps and axes</td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-5-3-"><td  style="text-align:left; white-space:nowrap;" id="TBL-5-3-1"  
class="td11"><span 
class="pcrb8t-">-H   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-5-3-2"  
class="td11">Specifies that input/output tables have header record(s)                 </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-5-4-"><td  style="text-align:left; white-space:nowrap;" id="TBL-5-4-1"  
class="td11"><span 
class="pcrb8t-">-J   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-5-4-2"  
class="td11">Selects a map projection or coordinate transformation                   </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-5-5-"><td  style="text-align:left; white-space:nowrap;" id="TBL-5-5-1"  
class="td11"><span 
class="pcrb8t-">-K   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-5-5-2"  
class="td11">Allows more plot code to be appended to this plot later                 </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-5-6-"><td  style="text-align:left; white-space:nowrap;" id="TBL-5-6-1"  
class="td11"><span 
class="pcrb8t-">-O   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-5-6-2"  
class="td11">Allows this plot code to be appended to an existing plot                </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-5-7-"><td  style="text-align:left; white-space:nowrap;" id="TBL-5-7-1"  
class="td11"><span 
class="pcrb8t-">-P   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-5-7-2"  
class="td11">Selects Portrait plot orientation [Default is landscape]                   </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-5-8-"><td  style="text-align:left; white-space:nowrap;" id="TBL-5-8-1"  
class="td11"><span 
class="pcrb8t-">-R   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-5-8-2"  
class="td11">Defines the extent of the map/plot region                                       </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-5-9-"><td  style="text-align:left; white-space:nowrap;" id="TBL-5-9-1"  
class="td11"><span 
class="pcrb8t-">-U   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-5-9-2"  
class="td11">Plots a time-stamp, by default in the lower left corner of page      </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-5-10-"><td  style="text-align:left; white-space:nowrap;" id="TBL-5-10-1"  
class="td11"><span 
class="pcrb8t-">-V   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-5-10-2"  
class="td11">Selects verbose operation; reporting on progress                           </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-5-11-"><td  style="text-align:left; white-space:nowrap;" id="TBL-5-11-1"  
class="td11"><span 
class="pcrb8t-">-X   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-5-11-2"  
class="td11">Sets the <span 
class="ptmri8t-">x</span>-coordinate for the plot origin on the page                      </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-5-12-"><td  style="text-align:left; white-space:nowrap;" id="TBL-5-12-1"  
class="td11"><span 
class="pcrb8t-">-Y   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-5-12-2"  
class="td11">Sets the <span 
class="ptmri8t-">y</span>-coordinate for the plot origin on the page                      </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-5-13-"><td  style="text-align:left; white-space:nowrap;" id="TBL-5-13-1"  
class="td11"><span 
class="pcrb8t-">-b   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-5-13-2"  
class="td11">Selects binary input and/or output                                                  </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-5-14-"><td  style="text-align:left; white-space:nowrap;" id="TBL-5-14-1"  
class="td11"><span 
class="pcrb8t-">-c   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-5-14-2"  
class="td11">Specifies the number of plot copies                                                </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-5-15-"><td  style="text-align:left; white-space:nowrap;" id="TBL-5-15-1"  
class="td11"><span 
class="pcrb8t-">-f   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-5-15-2"  
class="td11">Specifies the data format on a per column basis                             </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-5-16-"><td  style="text-align:left; white-space:nowrap;" id="TBL-5-16-1"  
class="td11"><span 
class="pcrb8t-">-g   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-5-16-2"  
class="td11">Identify data gaps based on supplied criteria                                  </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-5-17-"><td  style="text-align:left; white-space:nowrap;" id="TBL-5-17-1"  
class="td11"><span 
class="pcrb8t-">-m   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-5-17-2"  
class="td11">Specifies data in multiple segment format                                      </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-5-18-"><td  style="text-align:left; white-space:nowrap;" id="TBL-5-18-1"  
class="td11"><span 
class="pcrb8t-">-:   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-5-18-2"  
class="td11">Assumes input geographic data are (<span 
class="ptmri8t-">lat,lon</span>) and not (<span 
class="ptmri8t-">lon,lat</span>)        </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-5-19-"><td  style="text-align:left; white-space:nowrap;" id="TBL-5-19-1"  
class="td11">     </td></tr></table></div>
<br /><div class="caption" 
><span class="id">Table&#x00A0;4.1: </span><span  
class="content">The 17 standardized <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;command line switches.</span></div><!--tex4ht:label?: x1-44021r1 -->
                                                                                 

                                                                                 
   </div><hr class="endfloat" />
   </div>
   <h4 class="subsectionHead"><span class="titlemark">4.4.1    </span> <a 
 id="x1-450004.4.1"></a>Data domain or map region: The <span 
class="pcrb8t-">-R </span>option</h4>
<a 
 id="dx1-45001"></a>
<a 
 id="dx1-45002"></a>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-45003r4"></a>
                                                                                 

                                                                                 

<!--l. 249--><p class="noindent" ><img 
src="images/GMT_-R.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;4.4: </span><span  
class="content">The plot region can be specified in two different ways. (a) Extreme values for each dimension,
or (b) coordinates of lower left and upper right corners.</span></div><!--tex4ht:label?: x1-45003r4 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 251--><p class="indent" >   The <span 
class="pcrb8t-">-R </span>option defines the map region or data domain of interest. It may be specified in one of three ways
(Figure&#x00A0;<a 
href="#x1-45003r4">4.4<!--tex4ht:ref: fig:GMT_-R --></a>):
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-45005x1"><span 
class="pcrb8t-">-R</span><span 
class="ptmri8t-">xmin</span>/<span 
class="ptmri8t-">xmax</span>/<span 
class="ptmri8t-">ymin</span>/<span 
class="ptmri8t-">ymax</span>. This is the standard way to specify Cartesian data domains and geographical
   regions when using map projections where meridians and parallels are rectilinear.
   </li>
   <li 
  class="enumerate" id="x1-45007x2"><span 
class="pcrb8t-">-R</span><span 
class="ptmri8t-">xlleft</span>/<span 
class="ptmri8t-">ylleft</span>/<span 
class="ptmri8t-">xuright</span>/<span 
class="ptmri8t-">yuright</span><span 
class="ptmb8t-">r</span>.  This  form  is  used  with  map  projections  that  are  oblique,  making
   meridians and parallels poor choices for map boundaries. Here, we instead specify the lower left corner
   and upper right corner geographic coordinates, followed by the suffix <span 
class="ptmb8t-">r</span>.
   </li>
   <li 
  class="enumerate" id="x1-45009x3"><span 
class="pcrb8t-">-R</span><span 
class="ptmri8t-">gridfile</span>. This will copy the domain settings found for the grid in specified file. Note that depending
   on the nature of the calling program, this mechanism will also set grid spacing and possibly the grid
   registration (see Appendix&#x00A0;<a 
href="#x1-189000B.2.2">B.2.2<!--tex4ht:ref: sec:node_registration --></a>).</li></ol>
<!--l. 265--><p class="noindent" >For rectilinear projections the first two forms give identical results. Depending on the selected map projection (or the
kind of expected input data), the boundary coordinates may take on three different formats:
   </p><dl class="description"><dt class="description">
<span 
class="ptmb8t-">Geographic coordinates:</span> </dt><dd 
class="description">These          are          longitudes          and          latitudes          and          may
   be         given         in         decimal         degrees         (e.g.,         -123.45417)         or         in         the
   [<span 
class="ptmr8c-">±</span>]<span 
class="ptmri8t-">ddd</span>[:<span 
class="ptmri8t-">mm</span>[:<span 
class="ptmri8t-">ss</span>[<span 
class="ptmri8t-">.xxx</span>]]][<span 
class="ptmb8t-">W</span><!--l. 272--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">E</span><!--l. 272--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">S</span><!--l. 272--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">N</span>]
   format (e.g., 123:27:15W). Note that <span 
class="pcrb8t-">-Rg </span>and <span 
class="pcrb8t-">-Rd </span>are shorthands for &#8220;global domain&#8221; <span 
class="pcrb8t-">-R</span><span 
class="ptmri8t-">0</span>/<span 
class="ptmri8t-">360</span>/<span 
class="ptmri8t-">-90</span>/<span 
class="ptmri8t-">90</span>
   and <span 
class="pcrb8t-">-R</span><span 
class="ptmri8t-">-180</span>/<span 
class="ptmri8t-">180</span>/<span 
class="ptmri8t-">-90</span>/<span 
class="ptmri8t-">90</span>, respectively.
   <!--l. 277--><p class="noindent" >When used in conjunction with the Cartesian Linear Transformation (<span 
class="pcrb8t-">-Jx </span>or <span 
class="pcrb8t-">-JX</span>) &#8212;which can
   be used to map floating point data, geographical coordinates, as well as time coordinates&#8212; it is
   prudent to indicate that you are using geographical coordinates in one of the following ways:
   </p>
      <ul class="itemize1">
      <li class="itemize">Use <span 
class="pcrb8t-">-Rg </span>or <span 
class="pcrb8t-">-Rd </span>to indicate the global domain.
      </li>
      <li class="itemize">Use <span 
class="pcrb8t-">-Rg</span><span 
class="ptmri8t-">xmin</span>/<span 
class="ptmri8t-">xmax</span>/<span 
class="ptmri8t-">ymin</span>/<span 
class="ptmri8t-">ymax </span>to indicate a limited geographic domain.
      </li>
      <li class="itemize">Add <span 
class="ptmb8t-">W</span>, <span 
class="ptmb8t-">E</span>, <span 
class="ptmb8t-">S</span>, or <span 
class="ptmb8t-">N </span>to the coordinate limits or add the generic <span 
class="ptmb8t-">D </span>or <span 
class="ptmb8t-">G</span>. Example: <span 
class="pcrb8t-">-R</span><span 
class="ptmri8t-">0</span>/<span 
class="ptmri8t-">360G</span>/<span 
class="ptmri8t-">-90</span>/<span 
class="ptmri8t-">90N</span>.</li></ul>
   </dd><dt class="description">
<span 
class="ptmb8t-">Calendar time coordinates:</span> </dt><dd 
class="description">These are absolute time coordinates referring to a Gregorian or ISO calendar. The
   general format is [<span 
class="ptmri8t-">date</span>]<span 
class="ptmb8t-">T</span>[<span 
class="ptmri8t-">clock</span>], where <span 
class="ptmri8t-">date </span>must be in the <span 
class="ptmri8t-">yyyy</span>[<span 
class="ptmri8t-">-mm</span>[<span 
class="ptmri8t-">-dd</span>]] (year, month, day-of-month) or
   <span 
class="ptmri8t-">yyyy</span>[<span 
class="ptmri8t-">-jjj</span>] (year and day-of-year) for Gregorian calendars and <span 
class="ptmri8t-">yyyy</span>[<span 
class="ptmri8t-">-</span><span 
class="ptmb8t-">W</span><span 
class="ptmri8t-">ww</span>[<span 
class="ptmri8t-">-d</span>]] (year, week, and day-of-week)
   for the ISO calendar. If no <span 
class="ptmri8t-">date </span>is given we assume the current day. Following the [optional] <span 
class="ptmri8t-">date </span>string we
   require the <span 
class="ptmb8t-">T </span>flag.
   <!--l. 295--><p class="noindent" >The optional <span 
class="ptmri8t-">clock </span>string is a 24-hour clock in <span 
class="ptmri8t-">hh</span>[<span 
class="ptmri8t-">:mm</span>[<span 
class="ptmri8t-">:ss</span>[<span 
class="ptmri8t-">.xxx</span>]]] format. If no <span 
class="ptmri8t-">clock </span>is given it implies
   00:00:00, i.e., the start of the specified day. Note that not all of the specified entities need be present in
   the data. All calendar date-clock strings are internally represented as double precision seconds
   since proleptic Gregorian date Mon Jan 1 00:00:00 0001. Proleptic means we assume that the
   modern calendar can be extrapolated forward and backward; a year zero is used, and Gregory&#8217;s
   reforms<span class="footnote-mark"><a 
href="#fn12x4" id="fn12x4-bk"><sup class="textsuperscript">12</sup></a></span><a 
 id="x1-45010f12"></a>
   are extrapolated backward. Note that this is not historical.
                                                                                 

                                                                                 
   </p></dd><dt class="description">
<span 
class="ptmb8t-">Relative time coordinates:</span> </dt><dd 
class="description">These are coordinates which count seconds, hours, days or years relative to a
   given epoch. A combination of the parameters <span 
class="ptmb8t-">TIME_EPOCH </span>and <span 
class="ptmb8t-">TIME_UNIT </span>define the
   epoch and time unit. The parameter <span 
class="ptmb8t-">TIME_SYSTEM </span>provides a few shorthands for common
   combinations of epoch and unit, like <span 
class="ptmb8t-">j2000 </span>for days since noon of 1 Jan 2000. Denote relative
   time coordinates by appending the optional lower case <span 
class="ptmb8t-">t </span>after the value. When it is otherwise
   apparent that the coordinate is relative time (for example by using the <span 
class="pcrb8t-">-f </span>switch), the <span 
class="ptmb8t-">t </span>can be
   omitted.
   </dd><dt class="description">
<span 
class="ptmb8t-">Other coordinates:</span> </dt><dd 
class="description">These are simply any coordinates that are not related to geographic or
   calendar time or relative time and are expected to be simple floating point values such as
   [<span 
class="ptmr8c-">±</span>]<span 
class="ptmri8t-">xxx.xxx</span>[E<!--l. 321--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>e<!--l. 321--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>D<!--l. 321--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>d[<span 
class="ptmr8c-">±</span>]xx],
   i.e., regular or exponential notations, with the enhancement to understand FORTRAN double precision output
   which may use D instead of E for exponents. These values are simply converted as they are to internal
   representation.<span class="footnote-mark"><a 
href="#fn13x4" id="fn13x4-bk"><sup class="textsuperscript">13</sup></a></span><a 
 id="x1-45011f13"></a></dd></dl>
   <h4 class="subsectionHead"><span class="titlemark">4.4.2    </span> <a 
 id="x1-460004.4.2"></a>Coordinate transformations and map projections: The <span 
class="pcrb8t-">-J </span>option</h4>
<a 
 id="dx1-46001"></a>
<a 
 id="dx1-46002"></a>
<!--l. 332--><p class="noindent" >This option selects the coordinate transformation or map projection. The general format is </p>
   <ul class="itemize1">
   <li class="itemize"><span 
class="pcrb8t-">-J</span><!--l. 334--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>&#x03B4;</mi></math>[<span 
class="ptmri8t-">parameters</span>/]<span 
class="ptmri8t-">scale</span>.
   Here, <!--l. 334--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>&#x03B4;</mi></math>
   is a <span 
class="ptmri8t-">lower-case </span>letter of the alphabet that selects a particular map projection, the <span 
class="ptmri8t-">parameters </span>is zero or
   more slash-delimited projection parameter, and <span 
class="ptmri8t-">scale </span>is map scale given in distance units per degree or
   as 1:xxxxx.
   </li>
   <li class="itemize"><span 
class="pcrb8t-">-J</span><!--l. 338--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>&#x0394;</mi></math>[<span 
class="ptmri8t-">parameters</span>/]<span 
class="ptmri8t-">width</span>.
   Here, <!--l. 338--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>&#x0394;</mi></math>
   is an <span 
class="ptmri8t-">upper-case </span>letter of the alphabet that selects a particular map projection, the <span 
class="ptmri8t-">parameters </span>is zero
   or more slash-delimited projection parameter, and <span 
class="ptmri8t-">width </span>is map width (map height is automatically
   computed from the implied map scale and region).</li></ul>
<!--l. 343--><p class="noindent" >Since <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;version 4.3.0, there is an alternative way to specify the projections: use the same abbreviation as in the
mapping package <span 
class="ptmbo8t-">Proj4</span><a 
 id="dx1-46003"></a>. The options thus either look like: </p>
   <ul class="itemize1">
   <li class="itemize"><span 
class="pcrb8t-">-Jabbrev/</span>[<span 
class="ptmri8t-">parameters</span>/]<span 
class="ptmri8t-">scale</span>. Here, <span 
class="ptmb8t-">abbrev </span>is a <span 
class="ptmri8t-">lower-case </span>abbreviation that selects a particular
   map projection, the <span 
class="ptmri8t-">parameters </span>is zero or more slash-delimited projection parameter, and <span 
class="ptmri8t-">scale </span>is map
   scale given in distance units per degree or as 1:xxxxx.
   </li>
   <li class="itemize"><span 
class="pcrb8t-">-JAbbrev/</span>[<span 
class="ptmri8t-">parameters</span>/]<span 
class="ptmri8t-">width</span>. Here, <span 
class="ptmb8t-">Abbrev </span>is an <span 
class="ptmri8t-">capitalized </span>abbreviation that selects a particular
   map projection, the <span 
class="ptmri8t-">parameters </span>is zero or more slash-delimited projection parameter, and <span 
class="ptmri8t-">width </span>is map
   width (map height is automatically computed from the implied map scale and region).</li></ul>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-46004r5"></a>
                                                                                 

                                                                                 

<!--l. 354--><p class="noindent" ><img 
src="images/GMT_-J.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;4.5: </span><span  
class="content">The 30+ map projections and coordinate transformations available in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>.</span></div><!--tex4ht:label?: x1-46004r5 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 356--><p class="indent" >   The projections available in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;are presented in Figure&#x00A0;<a 
href="#x1-46004r5">4.5<!--tex4ht:ref: fig:GMT_-J --></a>. For details on all <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;projections and the
required parameters, see the <a 
href="../html/man/psbasemap.html" ><span 
class="phvb8t-">psbasemap</span></a><a 
 id="dx1-46005"></a> man page. We will also show examples of every projection in the next
Chapters, and a quick summary of projection syntax was given in Chapter&#x00A0;<a 
href="#x1-350003">3<!--tex4ht:ref: ch:3 --></a>.
</p>
   <h4 class="subsectionHead"><span class="titlemark">4.4.3    </span> <a 
 id="x1-470004.4.3"></a>Map frame and axes annotations: The <span 
class="pcrb8t-">-B </span>option</h4>
<a 
 id="dx1-47001"></a>
<a 
 id="dx1-47002"></a>
<a 
 id="dx1-47003"></a>
<a 
 id="dx1-47004"></a>
<a 
 id="dx1-47005"></a>
<a 
 id="dx1-47006"></a>
<!--l. 369--><p class="noindent" >This is by far the most complicated option in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>, but most examples of its usage are actually quite simple. Given as
<span 
class="pcrb8t-">-B</span>[<span 
class="ptmb8t-">p</span><!--l. 371--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">s</span>]<span 
class="ptmri8t-">xinfo</span>[/<span 
class="ptmri8t-">yinfo</span>[/<span 
class="ptmri8t-">zinfo</span>]][:."title
string":][<span 
class="ptmb8t-">W</span><!--l. 372--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">w</span>][<span 
class="ptmb8t-">E</span><!--l. 372--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">e</span>][<span 
class="ptmb8t-">S</span><!--l. 372--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">s</span>][<span 
class="ptmb8t-">N</span><!--l. 372--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">n</span>][<span 
class="ptmb8t-">Z</span><!--l. 372--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">z</span>[<span 
class="ptmb8t-">+</span>]],
this switch specifies map boundaries (or plot axes) to be plotted by using the selected information. The
optional flag following <span 
class="pcrb8t-">-B </span>selects <span 
class="ptmb8t-">p</span>(rimary) [Default] or <span 
class="ptmb8t-">s</span>(econdary) axes information (mostly used for
time axes annotations; see examples below). The components <span 
class="ptmri8t-">xinfo</span>, <span 
class="ptmri8t-">yinfo </span>and <span 
class="ptmri8t-">zinfo </span>are of the form
<br 
class="newline" />
</p><!--l. 378--><p class="indent" >   <span 
class="ptmri8t-">info</span>[:"axis label":][:="prefix":][:,"unit label":] <br 
class="newline" />
</p><!--l. 380--><p class="noindent" >where <span 
class="ptmri8t-">info </span>is one or more concatenated substrings of the form [<span 
class="ptmb8t-">t</span>]<span 
class="ptmri8t-">stride</span>[<span 
class="ptmr8c-">±</span><span 
class="ptmri8t-">phase</span>][<span 
class="ptmb8t-">u</span>]. The <span 
class="ptmb8t-">t </span>flag sets the axis item of
interest; the available items are listed in Table&#x00A0;<a 
href="#x1-47008r2">4.2<!--tex4ht:ref: tbl:inttype --></a>. By default, all 4 map boundaries (or plot axes) are plotted
(denoted <span 
class="ptmb8t-">W</span>, <span 
class="ptmb8t-">E</span>, <span 
class="ptmb8t-">S</span>, <span 
class="ptmb8t-">N</span>). To change this selection, append the codes for those you want (e.g., <span 
class="ptmb8t-">WSn</span>). Upper case (e.g.,
<span 
class="ptmb8t-">W</span>) will annotate in addition to draw axis/tick-marks. The title, if given, will appear centered above the
plot<span class="footnote-mark"><a 
href="#fn14x4" id="fn14x4-bk"><sup class="textsuperscript">14</sup></a></span><a 
 id="x1-47007f14"></a>.
Unit label or prefix may start with a leading &#8211; to suppress the space between it and the annotation. Normally,
equidistant annotations occur at multiples of <span 
class="ptmri8t-">stride</span>; you can phase-shift this by appending <span 
class="ptmr8c-">±</span><span 
class="ptmri8t-">phase</span>.
</p><div class="table">
                                                                                 

                                                                                 
<!--l. 391--><p class="indent" >   <a 
 id="x1-47008r2"></a></p><hr class="float" /><div class="float" 
>
                                                                                 

                                                                                 
<div class="tabular"> <table id="TBL-6" class="tabular" 
cellspacing="0" cellpadding="0" rules="groups" 
><colgroup id="TBL-6-1g"><col 
id="TBL-6-1" /></colgroup><colgroup id="TBL-6-2g"><col 
id="TBL-6-2" /></colgroup><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-6-1-"><td  style="text-align:center; white-space:nowrap;" id="TBL-6-1-1"  
class="td11"><span 
class="ptmri8t-">Flag</span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-6-1-2"  
class="td11"><span 
class="ptmri8t-">Description                   </span></td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-6-2-"><td  style="text-align:center; white-space:nowrap;" id="TBL-6-2-1"  
class="td11"> <span 
class="ptmb8t-">a   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-6-2-2"  
class="td11">Annotation tick spacing</td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-6-3-"><td  style="text-align:center; white-space:nowrap;" id="TBL-6-3-1"  
class="td11"> <span 
class="ptmb8t-">f    </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-6-3-2"  
class="td11">Frame tick spacing        </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-6-4-"><td  style="text-align:center; white-space:nowrap;" id="TBL-6-4-1"  
class="td11"> <span 
class="ptmb8t-">g   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-6-4-2"  
class="td11">Grid tick spacing           </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-6-5-"><td  style="text-align:center; white-space:nowrap;" id="TBL-6-5-1"  
class="td11">    </td></tr></table></div>
<br /><div class="caption" 
><span class="id">Table&#x00A0;4.2: </span><span  
class="content">Interval type codes.</span></div><!--tex4ht:label?: x1-47008r2 -->
                                                                                 

                                                                                 
   </div><hr class="endfloat" />
   </div>
<!--l. 402--><p class="noindent" >Note that the appearance of certain time annotations (month-, week-, and day-names) may be affected by
the <span 
class="ptmb8t-">TIME_LANGUAGE</span>, <span 
class="ptmb8t-">TIME_FORMAT_PRIMARY</span>, and <span 
class="ptmb8t-">TIME_FORMAT_SECONDARY</span>
settings.
</p><!--l. 406--><p class="indent" >   The unit flag <span 
class="ptmb8t-">u </span>can take on one of 18 codes; these are listed in Table&#x00A0;<a 
href="#x1-47009r3">4.3<!--tex4ht:ref: tbl:units --></a>. Almost all of these units are time-axis
specific. However, the <span 
class="ptmb8t-">m </span>and <span 
class="ptmb8t-">c </span>units will be interpreted as arc minutes and arc seconds, respectively, when a map
projection is in effect.
</p>
   <div class="table">
                                                                                 

                                                                                 
<!--l. 410--><p class="indent" >   <a 
 id="x1-47009r3"></a></p><hr class="float" /><div class="float" 
>
                                                                                 

                                                                                 
<div class="tabular"> <table id="TBL-7" class="tabular" 
cellspacing="0" cellpadding="0" rules="groups" 
><colgroup id="TBL-7-1g"><col 
id="TBL-7-1" /></colgroup><colgroup id="TBL-7-2g"><col 
id="TBL-7-2" /></colgroup><colgroup id="TBL-7-3g"><col 
id="TBL-7-3" /></colgroup><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-7-1-"><td  style="text-align:center; white-space:nowrap;" id="TBL-7-1-1"  
class="td11"><span 
class="ptmri8t-">Flag</span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-1-2"  
class="td11"><span 
class="ptmri8t-">Unit                  </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-1-3"  
class="td11"><span 
class="ptmri8t-">Description                                                                                                  </span></td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-7-2-"><td  style="text-align:center; white-space:nowrap;" id="TBL-7-2-1"  
class="td11"> <span 
class="ptmb8t-">Y   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-2-2"  
class="td11">year                   </td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-2-3"  
class="td11">Plot using all 4 digits                                                                                   </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-7-3-"><td  style="text-align:center; white-space:nowrap;" id="TBL-7-3-1"  
class="td11"> <span 
class="ptmb8t-">y   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-3-2"  
class="td11">year                   </td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-3-3"  
class="td11">Plot using last 2 digits                                                                                 </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-7-4-"><td  style="text-align:center; white-space:nowrap;" id="TBL-7-4-1"  
class="td11"> <span 
class="ptmb8t-">O   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-4-2"  
class="td11">month               </td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-4-3"  
class="td11">Format annotation using <span 
class="ptmb8t-">PLOT_DATE_FORMAT                                  </span></td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-7-5-"><td  style="text-align:center; white-space:nowrap;" id="TBL-7-5-1"  
class="td11"> <span 
class="ptmb8t-">o   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-5-2"  
class="td11">month               </td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-5-3"  
class="td11">Plot as 2-digit integer (1&#8211;12)                                                                       </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-7-6-"><td  style="text-align:center; white-space:nowrap;" id="TBL-7-6-1"  
class="td11"> <span 
class="ptmb8t-">U   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-6-2"  
class="td11">ISO week          </td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-6-3"  
class="td11">Format annotation using <span 
class="ptmb8t-">PLOT_DATE_FORMAT                                  </span></td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-7-7-"><td  style="text-align:center; white-space:nowrap;" id="TBL-7-7-1"  
class="td11"> <span 
class="ptmb8t-">u   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-7-2"  
class="td11">ISO week          </td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-7-3"  
class="td11">Plot as 2-digit integer (1&#8211;53)                                                                       </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-7-8-"><td  style="text-align:center; white-space:nowrap;" id="TBL-7-8-1"  
class="td11"> <span 
class="ptmb8t-">r   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-8-2"  
class="td11">Gregorian week</td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-8-3"  
class="td11">7-day stride from start of week (see <span 
class="ptmb8t-">TIME_WEEK_START</span>)                  </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-7-9-"><td  style="text-align:center; white-space:nowrap;" id="TBL-7-9-1"  
class="td11"> <span 
class="ptmb8t-">K   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-9-2"  
class="td11">ISO weekday    </td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-9-3"  
class="td11">Plot name of weekday in selected language                                                </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-7-10-"><td  style="text-align:center; white-space:nowrap;" id="TBL-7-10-1"  
class="td11"> <span 
class="ptmb8t-">k   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-10-2"  
class="td11">weekday           </td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-10-3"  
class="td11">Plot number of day in the week (1-7) (see <span 
class="ptmb8t-">TIME_WEEK_START</span>)        </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-7-11-"><td  style="text-align:center; white-space:nowrap;" id="TBL-7-11-1"  
class="td11"> <span 
class="ptmb8t-">D   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-11-2"  
class="td11">date                   </td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-11-3"  
class="td11">Format annotation using <span 
class="ptmb8t-">PLOT_DATE_FORMAT                                  </span></td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-7-12-"><td  style="text-align:center; white-space:nowrap;" id="TBL-7-12-1"  
class="td11"> <span 
class="ptmb8t-">d   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-12-2"  
class="td11">day                    </td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-12-3"  
class="td11">Plot day of month (1&#8211;31) or day of year (1&#8211;366)                                        </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-7-13-"><td  style="text-align:center; white-space:nowrap;" id="TBL-7-13-1"  
class="td11">    </td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-13-2"  
class="td11">           </td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-13-3"  
class="td11">(see <span 
class="ptmb8t-">PLOT_DATE_FORMAT                                                                   </span></td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-7-14-"><td  style="text-align:center; white-space:nowrap;" id="TBL-7-14-1"  
class="td11"> <span 
class="ptmb8t-">R   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-14-2"  
class="td11">day                    </td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-14-3"  
class="td11">Same as <span 
class="ptmb8t-">d</span>; annotations aligned with week (see <span 
class="ptmb8t-">TIME_WEEK_START</span>)</td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-7-15-"><td  style="text-align:center; white-space:nowrap;" id="TBL-7-15-1"  
class="td11"> <span 
class="ptmb8t-">H   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-15-2"  
class="td11">hour                  </td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-15-3"  
class="td11">Format annotation using <span 
class="ptmb8t-">PLOT_CLOCK_FORMAT                              </span></td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-7-16-"><td  style="text-align:center; white-space:nowrap;" id="TBL-7-16-1"  
class="td11"> <span 
class="ptmb8t-">h   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-16-2"  
class="td11">hour                  </td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-16-3"  
class="td11">Plot as 2-digit integer (0&#8211;24)                                                                       </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-7-17-"><td  style="text-align:center; white-space:nowrap;" id="TBL-7-17-1"  
class="td11"> <span 
class="ptmb8t-">M  </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-17-2"  
class="td11">minute              </td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-17-3"  
class="td11">Format annotation using <span 
class="ptmb8t-">PLOT_CLOCK_FORMAT                              </span></td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-7-18-"><td  style="text-align:center; white-space:nowrap;" id="TBL-7-18-1"  
class="td11"> <span 
class="ptmb8t-">m   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-18-2"  
class="td11">minute              </td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-18-3"  
class="td11">Plot as 2-digit integer (0&#8211;60)                                                                       </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-7-19-"><td  style="text-align:center; white-space:nowrap;" id="TBL-7-19-1"  
class="td11"> <span 
class="ptmb8t-">C   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-19-2"  
class="td11">seconds             </td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-19-3"  
class="td11">Format annotation using <span 
class="ptmb8t-">PLOT_CLOCK_FORMAT                              </span></td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-7-20-"><td  style="text-align:center; white-space:nowrap;" id="TBL-7-20-1"  
class="td11"> <span 
class="ptmb8t-">c   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-20-2"  
class="td11">seconds             </td><td  style="text-align:left; white-space:nowrap;" id="TBL-7-20-3"  
class="td11">Plot as 2-digit integer (0&#8211;60)                                                                       </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-7-21-"><td  style="text-align:center; white-space:nowrap;" id="TBL-7-21-1"  
class="td11">    </td></tr></table></div>
<br /><div class="caption" 
><span class="id">Table&#x00A0;4.3: </span><span  
class="content">Interval unit codes.</span></div><!--tex4ht:label?: x1-47009r3 -->
                                                                                 

                                                                                 
   </div><hr class="endfloat" />
   </div>
<!--l. 438--><p class="indent" >   There may be two levels of annotations. Here, &#8220;primary&#8221; refers to the annotation that is closest to the
axis (this is the primary annotation), while &#8220;secondary&#8221; refers to the secondary annotation that is
plotted further from the axis. The examples below will clarify what is meant. Note that the terms
&#8220;primary&#8221; and &#8220;secondary&#8221; do not reflect any hierarchical order of units: The &#8220;primary&#8221; annotation
interval is usually smaller (e.g., days) while the &#8220;secondary&#8221; annotation interval typically is larger (e.g.,
months).
</p>
   <h5 class="subsubsectionHead"><a 
 id="x1-480004.4.3"></a>Geographic basemaps</h5>
<!--l. 447--><p class="noindent" >Geographic basemaps may differ from regular plot axis in that some projections support a &#8220;fancy&#8221; form of axis and
is selected by the <span 
class="ptmb8t-">BASEMAP_TYPE </span>setting. The annotations will be formatted according to the
<span 
class="ptmb8t-">PLOT_DEGREE_FORMAT </span>template and <span 
class="ptmb8t-">DEGREE_SYMBOL </span>setting. A simple example of part of a basemap
is shown in Figure&#x00A0;<a 
href="#x1-48001r6">4.6<!--tex4ht:ref: fig:GMT_-B_geo_1 --></a>.
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-48001r6"></a>
                                                                                 

                                                                                 

<!--l. 454--><p class="noindent" ><img 
src="images/GMT_-B_geo_1.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;4.6: </span><span  
class="content">Geographic map border using separate selections for annotation, frame, and grid intervals.
Formatting  of  the  annotation  is  controlled  by  the  parameter  <span 
class="ptmb8t-">PLOT_DEGREE_FORMAT  </span>in  your
<span class="underline">.gmtdefaults4</span> file.</span></div><!--tex4ht:label?: x1-48001r6 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 456--><p class="indent" >   The machinery for primary and secondary annotations introduced for time-series axes can also be utilized for
geographic basemaps. This may be used to separate degree annotations from minutes- and seconds-annotations.
For a more complicated basemap example using several sets of intervals, including different intervals and pen
attributes for grid lines and grid crosses, see Figure&#x00A0;<a 
href="#x1-48002r7">4.7<!--tex4ht:ref: fig:GMT_-B_geo_2 --></a>.
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-48002r7"></a>
                                                                                 

                                                                                 

<!--l. 462--><p class="noindent" ><img 
src="images/GMT_-B_geo_2.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;4.7: </span><span  
class="content">Geographic map border with both primary (P) and secondary (S) components.</span></div><!--tex4ht:label?: x1-48002r7 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
   <h5 class="subsubsectionHead"><a 
 id="x1-490004.4.3"></a>Cartesian linear axes</h5>
<a 
 id="dx1-49001"></a>
<a 
 id="dx1-49002"></a>
<!--l. 469--><p class="noindent" >For non-geographic axes, the <span 
class="ptmb8t-">BASEMAP_TYPE </span>setting is implicitly set to plain. Other than that, cartesian linear
axes are very similar to geographic axes. The annotation format may be controlled with the <span 
class="ptmb8t-">D_FORMAT</span>
parameter. By default, it is set to &#8220;%g&#8221;, which is a C language format statement for floating point
numbers<span class="footnote-mark"><a 
href="#fn15x4" id="fn15x4-bk"><sup class="textsuperscript">15</sup></a></span><a 
 id="x1-49003f15"></a>,
and with this setting the various axis routines will automatically determine how many decimal points should be
used by inspecting the <span 
class="ptmri8t-">stride </span>settings. If <span 
class="ptmb8t-">D_FORMAT </span>is set to another format it will be used directly (.e.g, &#8220;%.2f&#8221;
for a fixed, two decimals format). Note that for these axes you may use the <span 
class="ptmri8t-">unit </span>setting to add a unit string to each
annotation (see Figure&#x00A0;<a 
href="#x1-49004r8">4.8<!--tex4ht:ref: fig:GMT_-B_linear --></a>).
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-49004r8"></a>
                                                                                 

                                                                                 

<!--l. 481--><p class="noindent" ><img 
src="images/GMT_-B_linear.png" alt="PIC"  
 />
<br />    </p><div class="caption" 
><span class="id">Figure&#x00A0;4.8:       </span><span  
class="content">Linear       Cartesian       projection       axis.       Long       tickmarks       accompany
annotations, shorter ticks indicate frame interval. The axis label is optional. We used <span 
class="pcrb8t-">-R</span>0/12/0/1 <span 
class="pcrb8t-">-JX</span>3/0.4
<span 
class="pcrb8t-">-Ba</span>4<span 
class="ptmb8t-">f</span>2<span 
class="ptmb8t-">g</span>1:Frequency::,%:.</span></div><!--tex4ht:label?: x1-49004r8 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
   <h5 class="subsubsectionHead"><a 
 id="x1-500004.4.3"></a>Cartesian log<!--l. 483--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mn>1</mn><mn>0</mn></mrow></msub 
></math>
axes</h5>
<a 
 id="dx1-50001"></a>
<a 
 id="dx1-50002"></a>
<a 
 id="dx1-50003"></a>
<a 
 id="dx1-50004"></a>
<!--l. 489--><p class="noindent" >Due to the logarithmic nature of annotation spacings, the <span 
class="ptmri8t-">stride </span>parameter takes on specific meanings. The
following concerns are specific to log axes:
</p><!--l. 492--><p class="indent" >
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-50006x1"><span 
class="ptmri8t-">stride </span>must be 1, 2, 3, or a negative integer <!--l. 493--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-bin">-</mo><mi 
>n</mi></math>.
   Annotations/ticks will then occur at 1, 1&#8211;2&#8211;5, or 1,2,3,4,...,9, respectively, for each magnitude range.
   For <!--l. 495--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-bin">-</mo><mi 
>n</mi></math>
   the annotations will take place every <span 
class="ptmri8t-">n</span>&#8217;th magnitude.
   </li>
   <li 
  class="enumerate" id="x1-50008x2">Append <span 
class="ptmb8t-">l </span>to <span 
class="ptmri8t-">stride</span>. Then, log<!--l. 497--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mn>1</mn><mn>0</mn></mrow></msub 
></math>
   of the annotation is plotted at every integer log<!--l. 498--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mn>1</mn><mn>0</mn></mrow></msub 
></math>
   value (e.g., <!--l. 498--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi> <mo 
class="MathClass-rel">=</mo> <mn>1</mn><mn>0</mn><mn>0</mn></math>
   will be annotated as &#8220;2&#8221;) [Default annotates <!--l. 499--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi></math>
   as is].
   </li>
   <li 
  class="enumerate" id="x1-50010x3">Append        <span 
class="ptmb8t-">p        </span>to        <span 
class="ptmri8t-">stride</span>.        Then,        annotations        appear        as        10        raised        to
   log<!--l. 502--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mn>1</mn><mn>0</mn></mrow></msub 
></math>
   of the value (e.g., <!--l. 502--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mn>1</mn><msup><mrow 
><mn>0</mn></mrow><mrow 
><mo 
class="MathClass-bin">-</mo><mn>5</mn></mrow></msup 
></math>).
   </li></ol>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-50011r9"></a>
                                                                                 

                                                                                 

<!--l. 514--><p class="noindent" ><img 
src="images/GMT_-B_log.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;4.9:   </span><span  
class="content">Logarithmic   projection   axis   using   separate   values   for   annotation,   frame,   and   grid
intervals.   (top)   Here,   we   have   chosen   to   annotate   the   actual   values.   Interval   =   1   means   every
whole  power  of  10,  2  means  1,  2,  5  times  powers  of  10,  and  3  means  every  0.1  times  powers
of  10.  We  used  <span 
class="pcrb8t-">-R</span>1/1000/0/1  <span 
class="pcrb8t-">-JX</span>3l/0.4  <span 
class="pcrb8t-">-Ba</span>1<span 
class="ptmb8t-">f</span>2<span 
class="ptmb8t-">g</span>3.  (middle)  Here,  we  have  chosen  to  annotate
log<!--l. 514--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mn>1</mn><mn>0</mn></mrow></msub 
></math>
of    the    actual    values,    with    <span 
class="pcrb8t-">-Ba</span>1<span 
class="ptmb8t-">f</span>2<span 
class="ptmb8t-">g</span>3<span 
class="ptmb8t-">l</span>.    (bottom)    We    annotate    every    power    of    10    using
log<!--l. 514--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mn>1</mn><mn>0</mn></mrow></msub 
></math>
of the actual values as exponents, with <span 
class="pcrb8t-">-Ba</span>1<span 
class="ptmb8t-">f</span>2<span 
class="ptmb8t-">g</span>3<span 
class="ptmb8t-">p</span>.</span></div><!--tex4ht:label?: x1-50011r9 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-50012"></a>
<a 
 id="dx1-50013"></a>
<a 
 id="dx1-50014"></a>
   <h5 class="subsubsectionHead"><a 
 id="x1-510004.4.3"></a>Cartesian exponential axes</h5>
<!--l. 520--><p class="noindent" >Normally, <span 
class="ptmri8t-">stride </span>will be used to create equidistant (in the user&#8217;s unit) annotations or ticks, but because of the
exponential nature of the axis, such annotations may converge on each other at one end of the axis. To avoid this
problem, you can append <span 
class="ptmb8t-">p </span>to <span 
class="ptmri8t-">stride</span>, and the annotation interval is expected to be in transformed units, yet the
annotation itself will be plotted as un-transformed units. E.g., if <span 
class="ptmri8t-">stride </span>= 1 and power = 0.5 (i.e., sqrt), then
equidistant annotations labeled 1, 4, 9, ... will appear.
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-51001r10"></a>
                                                                                 

                                                                                 

<!--l. 532--><p class="noindent" ><img 
src="images/GMT_-B_pow.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;4.10:   </span><span  
class="content">Exponential   or   power   projection   axis.   (top)   Using   an   exponent   of   0.5   yields   a
<!--l. 532--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msqrt><mrow><mi 
>x</mi></mrow></msqrt></math>
axis. Here, intervals refer to actual data values, in <span 
class="pcrb8t-">-R</span>0/100/0/1 <span 
class="pcrb8t-">-JX</span>3<span 
class="ptmb8t-">p</span>0.5/0.4&#x00A0;<span 
class="pcrb8t-">-Ba</span>20<span 
class="ptmb8t-">f</span>10<span 
class="ptmb8t-">g</span>5. (bottom) Here,
intervals refer to projected values, although the annotation uses the corresponding unprojected values, as
in <span 
class="pcrb8t-">-Ba</span>3<span 
class="ptmb8t-">f</span>2<span 
class="ptmb8t-">g</span>1<span 
class="ptmb8t-">p</span>.</span></div><!--tex4ht:label?: x1-51001r10 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-51002"></a>
<a 
 id="dx1-51003"></a>
   <h5 class="subsubsectionHead"><a 
 id="x1-520004.4.3"></a>Cartesian time axes</h5>
<!--l. 538--><p class="noindent" >What sets time axis apart from the other kinds of plot axes is the numerous ways in which we may want to tick and
annotate the axis. Not only do we have both primary and secondary annotation items but we also have interval
annotations versus tickmark annotations, numerous time units, and several ways in which to modify the plot. We
will demonstrate this flexibility with a series of examples. While all our examples will only show a single
<!--l. 542--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi></math>-axis,
time-axis is supported for all axes.
</p><!--l. 544--><p class="indent" >   Our first example shows a time period of almost two months in Spring 2000. We want to annotate the month
intervals as well as the date at the start of each week:
</p><!--l. 547--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;PLOT_DATE_FORMAT</span><span 
class="pcrr8t-x-x-70">&#x00A0;-o</span><span 
class="pcrr8t-x-x-70">&#x00A0;ANNOT_FONT_SIZE_PRIMARY</span><span 
class="pcrr8t-x-x-70">&#x00A0;+9p</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psbasemap</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R2000-4-1T/2000-5-25T/0/1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX5/0.2</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bpa7Rf1d</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bsa1OS</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_-B_time1.ps</span>
   </div>__________________________________________________________________________________________________
<!--l. 549--><p class="indent" >   These commands result in Figure&#x00A0;<a 
href="#x1-52001r11">4.11<!--tex4ht:ref: fig:GMT_-B_time1 --></a>. Note the leading hyphen in the <span 
class="ptmb8t-">PLOT_DATE_FORMAT </span>removes
leading zeros from calendar items (e.g., 02 becomes 2). </p><hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-52001r11"></a>
                                                                                 

                                                                                 

<!--l. 551--><p class="noindent" ><img 
src="images/GMT_-B_time1.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;4.11: </span><span  
class="content">Cartesian time axis, example 1.</span></div><!--tex4ht:label?: x1-52001r11 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 553--><p class="indent" >   The next example shows two different ways to annotate an axis portraying 2 days in July 1969:
</p><!--l. 555--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;PLOT_DATE_FORMAT</span><span 
class="pcrr8t-x-x-70">&#x00A0;~o</span><span 
class="pcrr8t-x-x-70">&#x00A0;dd~</span><span 
class="pcrr8t-x-x-70">&#x00A0;PLOT_CLOCK_FORMAT</span><span 
class="pcrr8t-x-x-70">&#x00A0;hh:mm</span><span 
class="pcrr8t-x-x-70">&#x00A0;ANNOT_FONT_SIZE_PRIMARY</span><span 
class="pcrr8t-x-x-70">&#x00A0;+9p</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psbasemap</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R1969-7-21T/1969-7-23T/0/1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX5/0.2</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bpa6Hf1h</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bsa1KS</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_-B_time2.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psbasemap</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bpa6Hf1h</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bsa1DS</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y0.65i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_-B_time2.ps</span>
   </div>__________________________________________________________________________________________________
<!--l. 557--><p class="indent" >   The lower example (Figure&#x00A0;<a 
href="#x1-52002r12">4.12<!--tex4ht:ref: fig:GMT_-B_time2 --></a>) chooses to annotate the weekdays (by specifying <span 
class="ptmb8t-">a</span>1<span 
class="ptmb8t-">K</span>) while the upper
example choses dates (by specifying <span 
class="ptmb8t-">a</span>1<span 
class="ptmb8t-">D</span>). Note how the clock format only selects hours and minutes (no
seconds) and the date format selects a month name, followed by one space and a two-digit day-of-month
number.
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-52002r12"></a>
                                                                                 

                                                                                 

<!--l. 562--><p class="noindent" ><img 
src="images/GMT_-B_time2.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;4.12: </span><span  
class="content">Cartesian time axis, example 2.</span></div><!--tex4ht:label?: x1-52002r12 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 564--><p class="indent" >   The third example presents two years, annotating both the years and every 3rd month.
</p><!--l. 566--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;PLOT_DATE_FORMAT</span><span 
class="pcrr8t-x-x-70">&#x00A0;o</span><span 
class="pcrr8t-x-x-70">&#x00A0;TIME_FORMAT_PRIMARY</span><span 
class="pcrr8t-x-x-70">&#x00A0;Character</span><span 
class="pcrr8t-x-x-70">&#x00A0;ANNOT_FONT_SIZE_PRIMARY</span><span 
class="pcrr8t-x-x-70">&#x00A0;+9p</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psbasemap</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R1997T/1999T/0/1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX5/0.2</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bpa3Of1o</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bsa1YS</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_-B_time3.ps</span>
   </div>__________________________________________________________________________________________________
<!--l. 568--><p class="indent" >   Note that while the year annotation is centered on the 1-year interval, the month annotations must be centered
on the corresponding month and <span 
class="ptmri8t-">not </span>the 3-month interval. The <span 
class="ptmb8t-">PLOT_DATE_FORMAT </span>selects month name only
and <span 
class="ptmb8t-">TIME_FORMAT_PRIMARY </span>selects the 1-character, upper case abbreviation of month names using the
current language (selected by <span 
class="ptmb8t-">TIME_LANGUAGE</span>). </p><hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-52003r13"></a>
                                                                                 

                                                                                 

<!--l. 572--><p class="noindent" ><img 
src="images/GMT_-B_time3.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;4.13: </span><span  
class="content">Cartesian time axis, example 3.</span></div><!--tex4ht:label?: x1-52003r13 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 574--><p class="indent" >   The fourth example (Figure&#x00A0;<a 
href="#x1-52004r14">4.14<!--tex4ht:ref: fig:GMT_-B_time4 --></a>) only shows a few hours of a day, using relative time by specifying <span 
class="ptmb8t-">t </span>in the <span 
class="pcrb8t-">-R</span>
option while the <span 
class="ptmb8t-">TIME_UNIT </span>is <span 
class="ptmb8t-">d </span>(for days). We select both primary and secondary annotations, ask for a
12-hour clock, and let time go from right to left:
</p><!--l. 579--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;PLOT_CLOCK_FORMAT</span><span 
class="pcrr8t-x-x-70">&#x00A0;-hham</span><span 
class="pcrr8t-x-x-70">&#x00A0;ANNOT_FONT_SIZE_PRIMARY</span><span 
class="pcrr8t-x-x-70">&#x00A0;+9p</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psbasemap</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R0.2t/0.35t/0/1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX-5/0.2</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bpa15mf5m</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bsa1HS</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_-B_time4.ps</span>
   </div>__________________________________________________________________________________________________
<hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-52004r14"></a>
                                                                                 

                                                                                 

<!--l. 580--><p class="noindent" ><img 
src="images/GMT_-B_time4.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;4.14: </span><span  
class="content">Cartesian time axis, example 4.</span></div><!--tex4ht:label?: x1-52004r14 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 582--><p class="indent" >   The fifth example shows a few weeks of time (Figure&#x00A0;<a 
href="#x1-52005r15">4.15<!--tex4ht:ref: fig:GMT_-B_time5 --></a>). The lower axis shows ISO weeks with week
numbers and abbreviated names of the weekdays. The upper uses Gregorian weeks (which start at the day chosen
by <span 
class="ptmb8t-">TIME_WEEK_START</span>); they do not have numbers. ______________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;PLOT_DATE_FORMAT</span><span 
class="pcrr8t-x-x-70">&#x00A0;u</span><span 
class="pcrr8t-x-x-70">&#x00A0;TIME_FORMAT_PRIMARY</span><span 
class="pcrr8t-x-x-70">&#x00A0;Character</span><span 
class="pcrr8t-x-x-70">&#x00A0;TIME_FORMAT_SECONDARY</span><span 
class="pcrr8t-x-x-70">&#x00A0;full</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;ANNOT_FONT_SIZE_PRIMARY</span><span 
class="pcrr8t-x-x-70">&#x00A0;+9p</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psbasemap</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R1969-7-21T/1969-8-9T/0/1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX5/0.2</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bpa1K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bsa1US</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_-B_time5.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;PLOT_DATE_FORMAT</span><span 
class="pcrr8t-x-x-70">&#x00A0;o</span><span 
class="pcrr8t-x-x-70">&#x00A0;TIME_WEEK_START</span><span 
class="pcrr8t-x-x-70">&#x00A0;Sunday</span><span 
class="pcrr8t-x-x-70">&#x00A0;TIME_FORMAT_SECONDARY</span><span 
class="pcrr8t-x-x-70">&#x00A0;Chararacter</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psbasemap</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bpa3Kf1k</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bsa1rS</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y0.65i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_-B_time5.ps</span>
   </div>__________________________________________________________________________________________________
<hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-52005r15"></a>
                                                                                 

                                                                                 

<!--l. 586--><p class="noindent" ><img 
src="images/GMT_-B_time5.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;4.15: </span><span  
class="content">Cartesian time axis, example 5.</span></div><!--tex4ht:label?: x1-52005r15 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 588--><p class="indent" >   Our sixth example shows the first five months of 1996, and we have annotated each month with
an abbreviated, upper case name and 2-digit year. Only the primary axes information is specified.
</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;PLOT_DATE_FORMAT</span><span 
class="pcrr8t-x-x-70">&#x00A0;~o</span><span 
class="pcrr8t-x-x-70">&#x00A0;yy~</span><span 
class="pcrr8t-x-x-70">&#x00A0;TIME_FORMAT_PRIMARY</span><span 
class="pcrr8t-x-x-70">&#x00A0;Abbreviated</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psbasemap</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R1996T/1996-6T/0/1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX5/0.2</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ba1Of1dS</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_-B_time6.ps</span>
   </div>__________________________________________________________________________________________________
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-52006r16"></a>
                                                                                 

                                                                                 

<!--l. 592--><p class="noindent" ><img 
src="images/GMT_-B_time6.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;4.16: </span><span  
class="content">Cartesian time axis, example 6.</span></div><!--tex4ht:label?: x1-52006r16 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 594--><p class="indent" >   Our seventh and final example illustrates annotation of year-days. Unless we specify the formatting with a
leading hyphen in <span 
class="ptmb8t-">PLOT_DATE_FORMAT </span>we get 3-digit integer days. Note that in order to have the two years
annotated we need to allow for the annotation of small fractional intervals; normally such truncated interval must
be at least half of a full interval. ______________________________________________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;PLOT_DATE_FORMAT</span><span 
class="pcrr8t-x-x-70">&#x00A0;jjj</span><span 
class="pcrr8t-x-x-70">&#x00A0;TIME_INTERVAL_FRACTION</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.05</span><span 
class="pcrr8t-x-x-70">&#x00A0;ANNOT_FONT_SIZE_PRIMARY</span><span 
class="pcrr8t-x-x-70">&#x00A0;+9p</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psbasemap</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R2000-12-15T/2001-1-15T/0/1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX5/0.2</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bpa5Df1d</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bsa1YS</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_-B_time7.ps</span>
   </div>__________________________________________________________________________________________________
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-52007r17"></a>
                                                                                 

                                                                                 

<!--l. 600--><p class="noindent" ><img 
src="images/GMT_-B_time7.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;4.17: </span><span  
class="content">Cartesian time axis, example 7.</span></div><!--tex4ht:label?: x1-52007r17 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
   <h4 class="subsectionHead"><span class="titlemark">4.4.4    </span> <a 
 id="x1-530004.4.4"></a>Header data records: The <span 
class="pcrb8t-">-H </span>option</h4>
<a 
 id="dx1-53001"></a>
<a 
 id="dx1-53002"></a>
<!--l. 606--><p class="noindent" >The <span 
class="pcrb8t-">-H</span>[<span 
class="ptmb8t-">i</span>][<span 
class="ptmri8t-">n_recs</span>] option lets <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;know that input file(s) have one [Default] or more header records. If there
are more than one header record you must specify the number after the <span 
class="pcrb8t-">-H </span>option, e.g., <span 
class="pcrb8t-">-H</span>4. The
default number of header records if <span 
class="pcrb8t-">-H </span>is used is one of the many parameters in the <span class="underline">.gmtdefaults4</span> file
(<span 
class="ptmb8t-">N_HEADER_RECS</span>), but can be overridden by <span 
class="pcrb8t-">-H</span><span 
class="ptmri8t-">n_header_recs</span>. Note that blank lines and records that be start
with the character # are automatically skipped. Normally, programs that both read and write tables
will output the header records that are found on input. Use <span 
class="pcrb8t-">-Hi </span>to suppress the writing of header
records.
</p><!--l. 617--><p class="noindent" >
</p>
   <h4 class="subsectionHead"><span class="titlemark">4.4.5    </span> <a 
 id="x1-540004.4.5"></a>Portrait plot orientation: The <span 
class="pcrb8t-">-P </span>option</h4>
<a 
 id="dx1-54001"></a>
<a 
 id="dx1-54002"></a>
<a 
 id="dx1-54003"></a>
<a 
 id="dx1-54004"></a>
<a 
 id="dx1-54005"></a>
<a 
 id="dx1-54006"></a>
<a 
 id="dx1-54007"></a>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-54008r18"></a>
                                                                                 

                                                                                 

<!--l. 626--><p class="noindent" ><img 
src="images/GMT_-P.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;4.18: </span><span  
class="content">Users can specify Landscape [Default] or Portrait (<span 
class="pcrb8t-">-P</span>) orientation.</span></div><!--tex4ht:label?: x1-54008r18 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 628--><p class="indent" >   <span 
class="pcrb8t-">-P </span>selects Portrait plotting mode<span class="footnote-mark"><a 
href="#fn16x4" id="fn16x4-bk"><sup class="textsuperscript">16</sup></a></span><a 
 id="x1-54009f16"></a>.
In general, a plot has an <span 
class="ptmri8t-">x</span>-axis increasing from left to right and a <span 
class="ptmri8t-">y</span>-axis increasing from bottom to top. If the paper
is turned so that the long dimension of the paper is parallel to the <span 
class="ptmri8t-">x</span>-axis then the plot is said to have <span 
class="ptmri8t-">Landscape</span>
orientation. If the long dimension of the paper parallels the <span 
class="ptmri8t-">y</span>-axis the orientation is called <span 
class="ptmri8t-">Portrait </span>(think of taking
pictures with a camera and these words make sense). The default Landscape orientation is obtained by translating
the origin in the <span 
class="ptmri8t-">x</span>-direction (by the width of the chosen paper <span 
class="ptmb8t-">PAPER_MEDIA) </span>and then rotating the coordinate
system counterclockwise by 90<span 
class="ptmr8c-">°</span>. By default the <span 
class="ptmb8t-">PAPER_MEDIA </span>is set to Letter (or A4 if SI is chosen);
this value must be changed when using different media, such as 11" x 17" or large format plotters
(Figure&#x00A0;<a 
href="#x1-54008r18">4.18<!--tex4ht:ref: fig:GMT_-P --></a>).
</p>
   <h4 class="subsectionHead"><span class="titlemark">4.4.6    </span> <a 
 id="x1-550004.4.6"></a>Plot overlays: The <span 
class="pcrb8t-">-K-O </span>options</h4>
<a 
 id="dx1-55001"></a>
<a 
 id="dx1-55002"></a>
<a 
 id="dx1-55003"></a>
<a 
 id="dx1-55004"></a>
<a 
 id="dx1-55005"></a>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-55006r19"></a>
                                                                                 

                                                                                 

<!--l. 653--><p class="noindent" ><img 
src="images/GMT_-OK.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;4.19: </span><span  
class="content">A final <span 
class="ptmri8t-">PostScript</span>&#x00A0;file consists of any number of individual pieces.</span></div><!--tex4ht:label?: x1-55006r19 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 655--><p class="indent" >   The <span 
class="pcrb8t-">-K </span>and <span 
class="pcrb8t-">-O </span>options control the generation of <span 
class="ptmri8t-">PostScript</span>&#x00A0;code for multiple overlay plots. All
<span 
class="ptmri8t-">PostScript</span>&#x00A0;files must have a header (for initializations), a body (drawing the figure), and a trailer (printing it out)
(see Figure&#x00A0;<a 
href="#x1-55006r19">4.19<!--tex4ht:ref: fig:GMT_-OK --></a>). Thus, when overlaying several <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;plots we must make sure that the first plot call omits the
trailer, that all intermediate calls omit both header and trailer, and that the final overlay omits the header. <span 
class="pcrb8t-">-K </span>omits
the trailer which implies that more <span 
class="ptmri8t-">PostScript</span>&#x00A0;code will be appended later [Default terminates the plot system]. <span 
class="pcrb8t-">-O</span>
selects Overlay plot mode and omits the header information [Default initializes a new plot system]. Most
unexpected results for multiple overlay plots can be traced to the incorrect use of these options. If you
run only one plot program, ignore both the <span 
class="pcrb8t-">-O </span>and <span 
class="pcrb8t-">-K </span>options; they are only used when stacking
plots.
</p>
   <h4 class="subsectionHead"><span class="titlemark">4.4.7    </span> <a 
 id="x1-560004.4.7"></a>Timestamps on plots: The <span 
class="pcrb8t-">-U </span>option</h4>
<a 
 id="dx1-56001"></a>
<a 
 id="dx1-56002"></a>
<a 
 id="dx1-56003"></a>
<!--l. 675--><p class="noindent" ><span 
class="pcrb8t-">-U </span>draws <span 
class="ptmri8t-">UNIX</span>&#x00A0;System time stamp. Optionally, append an arbitrary text string (surrounded by double quotes), or
the code <span 
class="ptmb8t-">c</span>, which will plot the current command string (Figure&#x00A0;<a 
href="#x1-56004r20">4.20<!--tex4ht:ref: fig:GMT_-U --></a>).
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-56004r20"></a>
                                                                                 

                                                                                 

<!--l. 679--><p class="noindent" ><img 
src="images/GMT_-U.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;4.20: </span><span  
class="content">The <span 
class="pcrb8t-">-U </span>option makes it easy to &#8220;date&#8221; a plot.</span></div><!--tex4ht:label?: x1-56004r20 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
   <h4 class="subsectionHead"><span class="titlemark">4.4.8    </span> <a 
 id="x1-570004.4.8"></a>Verbose feedback: The <span 
class="pcrb8t-">-V </span>option</h4>
<a 
 id="dx1-57001"></a>
<a 
 id="dx1-57002"></a>
<!--l. 685--><p class="noindent" ><span 
class="pcrb8t-">-V </span>selects verbose mode, which will send progress reports to <span 
class="ptmri8t-">stderr </span>[Default runs &#8220;silently&#8221;]. The interpretation of
this option can be toggled by changing the default <span 
class="ptmb8t-">VERBOSE</span>.
</p><!--l. 689--><p class="noindent" >
</p>
   <h4 class="subsectionHead"><span class="titlemark">4.4.9    </span> <a 
 id="x1-580004.4.9"></a>Plot positioning and layout: The <span 
class="pcrb8t-">-X-Y </span>options</h4>
<a 
 id="dx1-58001"></a>
<a 
 id="dx1-58002"></a>
<a 
 id="dx1-58003"></a>
<a 
 id="dx1-58004"></a>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-58005r21"></a>
                                                                                 

                                                                                 

<!--l. 694--><p class="noindent" ><img 
src="images/GMT_-XY.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;4.21: </span><span  
class="content">Plot origin can be translated freely with <span 
class="pcrb8t-">-X-Y</span>.</span></div><!--tex4ht:label?: x1-58005r21 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 696--><p class="indent" >   <span 
class="pcrb8t-">-X </span>and <span 
class="pcrb8t-">-Y </span>shift origin of plot by (<span 
class="ptmri8t-">xoff </span>,<span 
class="ptmri8t-">yoff </span>) inches (Default is (<span 
class="ptmb8t-">X_ORIGIN</span>, <span 
class="ptmb8t-">Y_ORIGIN</span>) for new
plots<span class="footnote-mark"><a 
href="#fn17x4" id="fn17x4-bk"><sup class="textsuperscript">17</sup></a></span><a 
 id="x1-58006f17"></a>
and (0,0) for overlays (<span 
class="pcrb8t-">-O</span>)). By default, all translations are relative to the previous origin (see Figure&#x00A0;<a 
href="#x1-58005r21">4.21<!--tex4ht:ref: fig:GMT_-XY --></a>). Supply
offset as <span 
class="ptmb8t-">c </span>to center the plot in that direction relative to the page margin. Absolute translations (i.e., relative to a
fixed point (0,0) at the lower left corner of the paper) can be achieve by prepending &#8220;a&#8221; to the offsets. Subsequent
overlays will be co-registered with the previous plot unless the origin is shifted using these options. The offsets are
measured in the current coordinates system (which can be rotated using the initial <span 
class="pcrb8t-">-P </span>option; subsequent <span 
class="pcrb8t-">-P</span>
options for overlays are ignored).
</p>
   <h4 class="subsectionHead"><span class="titlemark">4.4.10    </span> <a 
 id="x1-590004.4.10"></a>Binary table i/o: The <span 
class="pcrb8t-">-b </span>option</h4>
<a 
 id="dx1-59001"></a>
<a 
 id="dx1-59002"></a>
<a 
 id="dx1-59003"></a>
<a 
 id="dx1-59004"></a>
<a 
 id="dx1-59005"></a>
<a 
 id="dx1-59006"></a>
<a 
 id="dx1-59007"></a>
<a 
 id="dx1-59008"></a>
<!--l. 720--><p class="noindent" >All <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;programs that accept table data input may read ASCII, native binary, or netCDF data. When using native
binary data the user must be aware of the fact that <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;has no way of determining the actual number of columns
in the file. You must therefore pass that information to <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;via the binary <span 
class="pcrb8t-">-bi</span>[<span 
class="ptmb8t-">s</span>]<span 
class="ptmri8t-">n </span>option, where <span 
class="ptmri8t-">n </span>is the
actual number of data columns (<span 
class="ptmb8t-">s </span>indicates single (4 bytes) rather than double (8 bytes) precision). If
uppercase <span 
class="ptmb8t-">S </span>(or <span 
class="ptmb8t-">D</span>) are used it implies that byte-swapping should be performed just prior to writing (for
output) or immediately after reading (for input). Note that <span 
class="ptmri8t-">n </span>may be larger than <span 
class="ptmri8t-">m</span>, the number of
columns that the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;program requires to do its task. If <span 
class="ptmri8t-">n </span>is not given then it defaults to <span 
class="ptmri8t-">m</span>. If <span 
class="ptmri8t-">n</span>
<!--l. 732--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003C;</mo></math> <span 
class="ptmri8t-">m </span>an
error is generated.
</p><!--l. 734--><p class="indent" >   Because of its meta data, reading netCDF tables (i.e., netCDF files containing 1-dimensional arrays) is quite a
bit less complex than reading native binary files. When feeding netCDF tables to programs like <a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-59009"></a>, the program
will automatically recognize the format and read whatever amount of columns are needed for that program. To
steer which columns are to be read, the user can either append the suffix <span 
class="ptmb8t-">?</span><span 
class="ptmri8t-">var1</span><span 
class="ptmb8t-">/</span><span 
class="ptmri8t-">var2</span><span 
class="ptmb8t-">/</span><span 
class="ptmri8t-">... </span>to the netCDF file name or
add the option <span 
class="pcrb8t-">-bic</span><span 
class="ptmri8t-">var1</span><span 
class="ptmb8t-">/</span><span 
class="ptmri8t-">var2</span><span 
class="ptmb8t-">/</span><span 
class="ptmri8t-">...</span>, where <span 
class="ptmri8t-">var1</span>, <span 
class="ptmri8t-">var2</span>, etc.&#x00A0;are the names of the variables to be processed. The latter
option is particularly practical when more than one file is read: the <span 
class="pcrb8t-">-bic </span>option will apply to all
files.
</p><!--l. 743--><p class="indent" >   Currently, netCDF tables can only be input, not output. For more information, see Appendix&#x00A0;<a 
href="#x1-180000B">B<!--tex4ht:ref: app:B --></a>.
</p><!--l. 746--><p class="noindent" >
</p>
   <h4 class="subsectionHead"><span class="titlemark">4.4.11    </span> <a 
 id="x1-600004.4.11"></a>Number of Copies: The <span 
class="pcrb8t-">-c </span>option</h4>
<a 
 id="dx1-60001"></a>
<a 
 id="dx1-60002"></a>
<!--l. 750--><p class="noindent" >The <span 
class="pcrb8t-">-c </span>option specifies the number of plot copies [Default is 1]. This value is embedded in the <span 
class="ptmri8t-">PostScript</span>&#x00A0;file and
will make a printer issue the chosen number of copies without respooling.
</p><!--l. 754--><p class="noindent" >
</p>
   <h4 class="subsectionHead"><span class="titlemark">4.4.12    </span> <a 
 id="x1-610004.4.12"></a>Data type selection: The <span 
class="pcrb8t-">-f </span>option</h4>
                                                                                 

                                                                                 
<a 
 id="dx1-61001"></a>
<a 
 id="dx1-61002"></a>
<a 
 id="dx1-61003"></a>
<a 
 id="dx1-61004"></a>
<a 
 id="dx1-61005"></a>
<!--l. 761--><p class="noindent" >When map projections are not required we must explicitly state what kind of data each input or output column
contains. This is accomplished with the <span 
class="pcrb8t-">-f </span>option. Following an optional <span 
class="ptmb8t-">i </span>(for input only) or <span 
class="ptmb8t-">o </span>(for output
only), we append a text string with information about each column (or range of columns) separated by
commas. Each string starts with the column number (0 is first column) followed by either x (longitude), y
(latitude), T (absolute calendar time) or t (relative time). If several consecutive columns have the
same format you may specify a range of columns rather than a single column, i.e., 0-4 for the first 5
columns. For example, if our input file has geographic coordinates (latitude, longitude) with absolute
calendar coordinates in the columns 3 and 4, we would specify <span 
class="ptmb8t-">fi</span>0y,1x,3-4T. All other columns are
assumed to have the default, floating point format and need not be set individually. The shorthand
<span 
class="pcrb8t-">-f</span>[<span 
class="ptmb8t-">i</span><!--l. 772--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">o</span>]<span 
class="ptmb8t-">g </span>means
<span 
class="pcrb8t-">-f</span>[<span 
class="ptmb8t-">i</span><!--l. 772--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">o</span>]0x,1y
(geographic coordinates). For more information, see Sections&#x00A0;<a 
href="#x1-700004.10">4.10<!--tex4ht:ref: sec:input data --></a> and&#x00A0;<a 
href="#x1-710004.11">4.11<!--tex4ht:ref: sec:output data --></a>.
</p><!--l. 775--><p class="noindent" >
</p>
   <h4 class="subsectionHead"><span class="titlemark">4.4.13    </span> <a 
 id="x1-620004.4.13"></a>Data gap detection: The <span 
class="pcrb8t-">-g </span>option</h4>
<a 
 id="dx1-62001"></a>
<!--l. 778--><p class="noindent" ><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;has several mechanisms that can determine line segmentation. Typically, data segments are separated by
multiple segment header records (see section <a 
href="#x1-630004.4.14">4.4.14<!--tex4ht:ref: sec:multsegments --></a> on <span 
class="pcrb8t-">-m </span>below). However, if key data columns
contain a NaN we may also use that information to break lines into multiple segments. This behavior is
modified by the parameter <span 
class="ptmb8t-">NAN_RECORDS </span>which by default is set to <span 
class="ptmri8t-">skip</span>, meaning such records are
considered bad and simply skipped. If you wish such records to indicate a segment boundary then set this
parameter to <span 
class="ptmri8t-">pass</span>. Finally, you may wish to indicate gaps based on the data values themselves. The <span 
class="pcrb8t-">-g</span>
option is used to detect gaps based on one or more criteria (use <span 
class="pcrb8t-">-g+ </span>if <span 
class="ptmri8t-">all </span>the criteria must be met;
otherwise only one of the specified criteria needs to be met to signify a data gap). Gaps can be based on
excessive jumps in the <span 
class="ptmri8t-">x</span>- or <span 
class="ptmri8t-">y</span>-coordinates (<span 
class="pcrb8t-">-gx </span>or <span 
class="pcrb8t-">-gy</span>), or on the distance between points (<span 
class="pcrb8t-">-gd</span>).
Append the <span 
class="ptmri8t-">gap </span>distance and optionally a unit for actual distances. For geographic data the optional unit
may be m<span 
class="ptmb8t-">e</span>ter [Default], <span 
class="ptmb8t-">k</span>ilometer, <span 
class="ptmb8t-">m</span>iles, or <span 
class="ptmb8t-">n</span>autical miles. For programs that maps data to map
coordinates you can optionally specify these criteria to apply to the projected coordinates (by using
upper-case <span 
class="pcrb8t-">-gX</span>, <span 
class="pcrb8t-">-gY </span>or<span 
class="pcrb8t-">-gD</span>). In that case, choose from <span 
class="ptmb8t-">i</span>nch, <span 
class="ptmb8t-">c</span>entimeter, <span 
class="ptmb8t-">m</span>eter, or <span 
class="ptmb8t-">p</span>oints. [Default unit is
controlled by <span 
class="ptmb8t-">MEASURE_UNIT</span>]. Note: For <span 
class="pcrb8t-">-gx </span>or <span 
class="pcrb8t-">-gy </span>with time data the unit is instead controlled by
<span 
class="ptmb8t-">TIME_UNIT</span>.
</p><!--l. 797--><p class="noindent" >
</p>
   <h4 class="subsectionHead"><span class="titlemark">4.4.14    </span> <a 
 id="x1-630004.4.14"></a>Multiple segment data: The <span 
class="pcrb8t-">-m </span>option</h4>
<a 
 id="dx1-63001"></a>
<a 
 id="dx1-63002"></a>
<a 
 id="dx1-63003"></a>
<a 
 id="dx1-63004"></a>
<a 
 id="dx1-63005"></a>
<!--l. 805--><p class="noindent" >The <span 
class="pcrb8t-">-m </span>option states that the input and output table data will contain special records that marks the start of new line (or
polygon) segments. These records are identified by their first character, which can be specified as an argument to <span 
class="pcrb8t-">-m </span>[The
default is <!--l. 807--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003E;</mo></math>].
Append the modifiers <span 
class="ptmb8t-">i </span>or <span 
class="ptmb8t-">o </span>if the option should only apply to input or output, respectively. For binary data a
multiple segment header is identified as a data record where all fields equal NaN. See section&#x00A0;<a 
href="#x1-630004.4.14">4.4.14<!--tex4ht:ref: sec:multsegments --></a> and
                                                                                 

                                                                                 
Appendix&#x00A0;<a 
href="#x1-180000B">B<!--tex4ht:ref: app:B --></a> for more details.
</p><!--l. 812--><p class="noindent" >
</p>
   <h4 class="subsectionHead"><span class="titlemark">4.4.15    </span> <a 
 id="x1-640004.4.15"></a>Lat/Lon or Lon/Lat?: The <span 
class="pcrb8t-">-: </span>option</h4>
<a 
 id="dx1-64001"></a>
<a 
 id="dx1-64002"></a>
<!--l. 816--><p class="noindent" >For geographical data, the first column is expected to contain longitudes and the second to contain latitudes. To
reverse this expectation you must apply the <span 
class="pcrb8t-">-: </span>option. Optionally, append <span 
class="ptmb8t-">i </span>or <span 
class="ptmb8t-">o </span>to restrict the effect to input or
output only. Note that command line arguments that may take geographic coordinates (e.g., <span 
class="pcrb8t-">-R</span>) <span 
class="ptmri8t-">always </span>expect
longitude before latitude. Also, geographical grids are expected to have the longitude as first (minor)
dimension.
<a 
 id="dx1-64003"></a>
</p><!--l. 826--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">4.5    </span> <a 
 id="x1-650004.5"></a>Command line history</h3>
<a 
 id="dx1-65001"></a>
<a 
 id="dx1-65002"></a>
<!--l. 831--><p class="noindent" ><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;programs &#8220;remember&#8221; the standardized command line options (See Section&#x00A0;<a 
href="#x1-440004.4">4.4<!--tex4ht:ref: sec:stopt --></a>) given during their previous
invocations and this provides a shorthand notation for complex options. For example, if a basemap was created
with an oblique Mercator projection, specified as
</p><!--l. 839--><p class="indent" >   <span 
class="pcrr8t-">-Joc170W/25:30S/33W/56:20N/1:500000</span><br 
class="newline" />
</p><!--l. 842--><p class="noindent" >then a subsequent <a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-65003"></a> command to plot symbols only needs to state <span 
class="pcrb8t-">-J</span>o in order to activate the same projection.
In contrast, note that <span 
class="pcrb8t-">-J </span>by itself will pick the most recently used projection. Previous commands are maintained in
the file <span class="underline">.gmtcommands4</span>, of which there will be one in each directory you run the programs from. This is
handy if you create separate directories for separate projects since chances are that data manipulations
and plotting for each project will share many of the same options. Note that an option spelled out on
the command line will always override the last entry in the <span class="underline">.gmtcommands4</span> file and, if execution is
successful, will replace this entry as the previous option argument in the <span class="underline">.gmtcommands4</span> file. If you call
several <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;modules piped together then <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;cannot guarantee that the <span class="underline">.gmtcommands4</span> file
is processed in the intended order from left to right. The only guarantee is that the file will not be
clobbered since <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;uses advisory file locking. The uncertainty in processing order makes the use of
shorthands in pipes unreliable. We therefore recommend that you only use shorthands in single process
command lines, and spell out the full command option when using chains of commands connected with
pipes.
</p><!--l. 865--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">4.6    </span> <a 
 id="x1-660004.6"></a>Usage messages, syntax- and general error messages</h3>
<a 
 id="dx1-66001"></a>
<a 
 id="dx1-66002"></a>
<a 
 id="dx1-66003"></a>
<a 
 id="dx1-66004"></a>
<a 
 id="dx1-66005"></a>
<a 
 id="dx1-66006"></a>
                                                                                 

                                                                                 
<!--l. 873--><p class="noindent" >Each program carries a usage message. If you enter the program name without any arguments, the program will
write the complete usage message to standard error (your screen, unless you redirect it). This message explains in
detail what all the valid arguments are. If you enter the program name followed by a <span 
class="ptmri8t-">hyphen </span>(&#8211;) only you will get
a shorter version which only shows the command line syntax and no detailed explanations. If you
incorrectly specify an option or omit a required option, the program will produce syntax errors and
explain what the correct syntax for these options should be. If an error occurs during the running of
a program, the program will in some cases recognize this and give you an error message. Usually
this will also terminate the run. The error messages generally begin with the name of the program in
which the error occurred; if you have several programs piped together this tells you where the trouble
is.
</p><!--l. 890--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">4.7    </span> <a 
 id="x1-670004.7"></a>Standard input or file, header records</h3>
<a 
 id="dx1-67001"></a>
<a 
 id="dx1-67002"></a>
<a 
 id="dx1-67003"></a>
<a 
 id="dx1-67004"></a>
<a 
 id="dx1-67005"></a>
<a 
 id="dx1-67006"></a>
<!--l. 898--><p class="noindent" >Most of the programs which expect table data input can read either standard input or input in one or several files.
These programs will try to read <span 
class="ptmri8t-">stdin </span>unless you type the filename(s) on the command line without
the above hyphens. (If the program sees a hyphen, it reads the next character as an instruction; if an
argument begins without a hyphen, it tries to open this argument as a filename). This feature allows
you to connect programs with pipes if you like. If your input is ASCII and has one or more header
records, you must use the <span 
class="pcrb8t-">-H </span>option (see Section&#x00A0;<a 
href="#x1-530004.4.4">4.4.4<!--tex4ht:ref: sec:header --></a>). For binary table data no headers are allowed.
ASCII files may in many cases also contain sub-headers separating data segments. These are called
&#8220;multi-segment files&#8221; and requires a special option (typically <span 
class="pcrb8t-">-m</span>); see Appendix&#x00A0;<a 
href="#x1-180000B">B<!--tex4ht:ref: app:B --></a> for complete
documentation.
</p><!--l. 914--><p class="indent" >   If filenames are given for reading, <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;programs will first look for them in the current directory. If the file is
not found, the programs will look in two other directories pointed to by environmental parameters (if
set). These are <span 
class="ptmb8t-">GMT_DATADIR </span>and <span 
class="ptmb8t-">GMT_USERDIR</span>, and they may be set by the user to point
to directories that contain data sets of general use. Normally, the first directory (or directories: add
multiple paths by separating them with colons (semi-colons under Windows)) will hold data sets of a
general nature (tables, grids), although a particular use is to make available large grids accessible via
the supplemental programs <a 
href="../html/man/grdraster.html" ><span 
class="phvb8t-">grdraster</span></a><a 
 id="dx1-67007"></a> or <a 
href="../html/man/img2grd.html" ><span 
class="phvb8t-">img2grd</span></a><a 
 id="dx1-67008"></a>; see Appendix&#x00A0;<a 
href="#x1-165000A">A<!--tex4ht:ref: app:A --></a> for information about these
supplemental programs. The second directory may hold miscellaneous data sets more specific to the
user; this directory also stores <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;defaults and other configuration files. Data sets that the user
finds are often needed may be placed in these directories, thus eliminating the need to specify a full
path to the file. Program output is always written to the current directory unless a full path has been
specified.
</p><!--l. 931--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">4.8    </span> <a 
 id="x1-680004.8"></a>Verbose operation</h3>
<a 
 id="dx1-68001"></a>
<a 
 id="dx1-68002"></a>
<!--l. 935--><p class="noindent" >Most of the programs take an optional <span 
class="pcrb8t-">-V </span>argument which will run the program in the &#8220;verbose&#8221; mode (see
Section&#x00A0;<a 
href="#x1-570004.4.8">4.4.8<!--tex4ht:ref: sec:verbose --></a>). Verbose will write to standard error information about the progress of the operation you are
running. Verbose reports things such as counts of points read, names of data files processed, convergence of
                                                                                 

                                                                                 
iterative solutions, and the like. Since these messages are written to <span 
class="ptmri8t-">stderr</span>, the verbose talk remains separate from
your data output.
</p><!--l. 944--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">4.9    </span> <a 
 id="x1-690004.9"></a>Program output</h3>
<a 
 id="dx1-69001"></a>
<a 
 id="dx1-69002"></a>
<a 
 id="dx1-69003"></a>
<!--l. 949--><p class="noindent" >Most programs write their results, including <span 
class="ptmri8t-">PostScript</span>&#x00A0;plots, to standard output. The exceptions are
those which may create binary netCDF grid files such as <a 
href="../html/man/surface.html" ><span 
class="phvb8t-">surface</span></a><a 
 id="dx1-69004"></a> (due to the design of netCDF a
filename must be provided; however, alternative binary output formats allowing piping are available; see
Section&#x00A0;<a 
href="#x1-790004.17">4.17<!--tex4ht:ref: sec:grdformats --></a>). With <span 
class="ptmri8t-">UNIX  </span>you can redirect standard output to a file or pipe it into another process.
Error messages, usage messages, and verbose comments are written to standard error in all cases.
You can use <span 
class="ptmri8t-">UNIX</span>&#x00A0;to redirect standard error as well, if you want to create a log file of what you are
doing.
</p><!--l. 960--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">4.10    </span> <a 
 id="x1-700004.10"></a>Input data formats</h3>
<a 
 id="dx1-70001"></a>
<!--l. 964--><p class="noindent" >Most of the time, <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;will know what kind of <!--l. 964--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi></math>
and <!--l. 964--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>y</mi></math>
coordinates it is reading because you have selected a particular coordinate transformation or map projection.
However, there may be times when you must explicitly specify what you are providing as input
using the <span 
class="pcrb8t-">-f </span>switch. When binary input data are expected (<span 
class="pcrb8t-">-bi</span>) they must all be floating point
numbers, however for ASCII input there are numerous ways to encode data coordinates (which
may be separated by white-space or commas). Valid input data are generally of the same form as
the arguments to the <span 
class="pcrb8t-">-R </span>option (see Section&#x00A0;<a 
href="#x1-450004.4.1">4.4.1<!--tex4ht:ref: sec:R --></a>), with additional flexibility for calendar data.
Geographical coordinates, for example, can be given in decimal degrees (e.g., -123.45417) or in the
[<span 
class="ptmr8c-">±</span>]<span 
class="ptmri8t-">ddd</span>[:<span 
class="ptmri8t-">mm</span>[:<span 
class="ptmri8t-">ss</span>[<span 
class="ptmri8t-">.xxx</span>]]][<span 
class="ptmb8t-">W</span><!--l. 973--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">E</span><!--l. 973--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">S</span><!--l. 973--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">N</span>]
format (e.g., 123:27:15W).
</p><!--l. 976--><p class="indent" >   Because of the widespread use of incompatible and ambiguous formats, the processing of input date
components is guided by the template <span 
class="ptmb8t-">INPUT_DATE_FORMAT </span>in your <span class="underline">.gmtdefaults4</span> file; it is by
default set to <span 
class="ptmri8t-">yyyy-mm-dd</span>. Y2K-challenged input data such as 29/05/89 can be processed by setting
<span 
class="ptmb8t-">INPUT_DATE_FORMAT </span>to dd/mm/yy. A complete description of possible formats is given in the
<a 
href="../html/man/gmtdefaults.html" ><span 
class="phvb8t-">gmtdefaults</span></a><a 
 id="dx1-70002"></a> man page. The <span 
class="ptmri8t-">clock </span>string is more standardized but issues like 12- or 24-hour clocks
complicate matters as well as the presence or absence of delimiters between fields. Thus, the processing of
input clock coordinates is guided by the template <span 
class="ptmb8t-">INPUT_CLOCK_FORMAT </span>which defaults to
<span 
class="ptmri8t-">hh:mm:ss.xxx</span>.
</p><!--l. 985--><p class="indent" >   <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;programs that require a map projection argument will implicitly know what kind of data to expect, and
the input processing is done accordingly. However, some programs that simply report on minimum and
maximum values or just do a reformatting of the data will in general not know what to expect, and
furthermore there is no way for the programs to know what kind of data other columns (beyond the leading
<!--l. 988--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi></math> and
<!--l. 988--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>y</mi></math>
columns) contain. In such instances we must explicitly tell <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;that we are feeding it data in the specific
geographic or calendar formats (floating point data are assumed by default). We specify the data type via the <span 
class="pcrb8t-">-f</span>
option (which sets both input and output formats; use <span 
class="pcrb8t-">-fi </span>and <span 
class="pcrb8t-">-fo </span>to set input and output separately). For
instance, to specify that the the first two columns are longitude and latitude, and that the third column (e.g.,
                                                                                 

                                                                                 
<!--l. 993--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi></math>) is
absolute calendar time, we add <span 
class="pcrb8t-">-fi</span>0x,1y,2T to the command line. For more details, see the man page for the
program you need to use.
</p><!--l. 996--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">4.11    </span> <a 
 id="x1-710004.11"></a>Output data formats</h3>
<a 
 id="dx1-71001"></a>
<!--l. 1000--><p class="noindent" >The numerical output from <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;programs can be binary (when <span 
class="pcrb8t-">-bo </span>is used) or ASCII [Default]. In the latter
case the issue of formatting becomes important. <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;provides extensive machinery for allowing just about any
imaginable format to be used on output. Analogous to the processing of input data, several templates guide the
formatting process. These are <span 
class="ptmb8t-">OUTPUT_DATE_FORMAT </span>and <span 
class="ptmb8t-">OUTPUT_CLOCK_FORMAT</span>
for calendar-time coordinates, <span 
class="ptmb8t-">OUTPUT_DEGREE_FORMAT </span>for geographical coordinates, and
<span 
class="ptmb8t-">D_FORMAT </span>for generic floating point data. In addition, the user have control over how columns are
separated via the <span 
class="ptmb8t-">FIELD_SEPARATOR </span>parameter. Thus, as an example, it is possible to create limited
FORTRAN-style card records by setting <span 
class="ptmb8t-">D_FORMAT </span>to %7.3lf and <span 
class="ptmb8t-">FIELD_SEPARATOR </span>to none [Default is
tab].
</p><!--l. 1011--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">4.12    </span> <a 
 id="x1-720004.12"></a><span 
class="ptmri8t-">PostScript</span>&#x00A0;features</h3>
<a 
 id="dx1-72001"></a>
<!--l. 1013--><p class="noindent" ><span 
class="ptmri8t-">PostScript</span>&#x00A0;is a command language for driving graphics devices such as laser printers. It is ASCII text which you
can read and edit as you wish (assuming you have some knowledge of the syntax). We prefer this to binary metafile
plot systems since such files cannot easily be modified after they have been created. <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;programs also write
many comments to the plot file which make it easier for users to orient themselves should they need to edit the file
(e.g., % Start of x-axis). All <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;programs create <span 
class="ptmri8t-">PostScript</span>&#x00A0;code by calling the <span 
class="ptmb8t-">pslib </span>plot library (The user may
call these functions from his/her own C or FORTRAN plot programs. See the manual pages for <span 
class="ptmb8t-">pslib </span>syntax).
Although <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;programs can create very individualized plot code, there will always be cases not covered by
these programs. Some knowledge of <span 
class="ptmri8t-">PostScript</span>&#x00A0;will enable the user to add such features directly
into the plot file. By default, <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;will produce freeform <span 
class="ptmri8t-">PostScript</span>&#x00A0;output with embedded printer
directives. To produce Encapsulated <span 
class="ptmri8t-">PostScript</span>&#x00A0;(EPS) that can be imported into graphics programs
such as <span 
class="ptmbo8t-">IslandDraw</span><a 
 id="dx1-72002"></a>, <span 
class="ptmbo8t-">CorelDraw</span><a 
 id="dx1-72003"></a>, <span 
class="ptmbo8t-">Illustrator</span><a 
 id="dx1-72004"></a> or <span 
class="ptmbo8t-">Freehand</span><a 
 id="dx1-72005"></a> for further embellishment, change the
<span 
class="ptmb8t-">PAPER_MEDIA </span>setting in the <span class="underline">.gmtdefaults4</span> file. See Appendix&#x00A0;<a 
href="#x1-195000C">C<!--tex4ht:ref: app:C --></a> and the <a 
href="../html/man/gmtdefaults.html" ><span 
class="phvb8t-">gmtdefaults</span></a><a 
 id="dx1-72006"></a> man page for more
details.
</p><!--l. 1035--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">4.13    </span> <a 
 id="x1-730004.13"></a>Specifying pen attributes</h3>
<a 
 id="dx1-73001"></a>
<a 
 id="dx1-73002"></a>
<!--l. 1040--><p class="noindent" >A pen in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;has three attributes: <span 
class="ptmri8t-">width</span>, <span 
class="ptmri8t-">color</span>, and <span 
class="ptmri8t-">texture</span>. Most programs will accept pen attributes in the form
of an option argument, with commas separating the given attributes, e.g.,
</p><!--l. 1047--><p class="indent" >
<span 
class="pcrb8t-">-W</span>[<span 
class="ptmri8t-">width</span>[<span 
class="ptmb8t-">c</span><!--l. 1047--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">i</span><!--l. 1047--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">p</span><!--l. 1047--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">m</span>]],[<span 
class="ptmri8t-">color</span>],[<span 
class="ptmri8t-">texture</span>[<span 
class="ptmb8t-">c</span><!--l. 1047--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">i</span><!--l. 1047--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">p</span><!--l. 1047--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">m</span>]]
<a 
 id="dx1-73003"></a>
                                                                                 

                                                                                 
<a 
 id="dx1-73004"></a>
<a 
 id="dx1-73005"></a>
   </p><dl class="description"><dt class="description">
<!--l. 1053--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x2192;</mo></math> </dt><dd 
class="description"><span 
class="ptmri8t-">Width</span>
   is by default measured in units of the current device resolution (i.e., the value assigned to the parameter
   <span 
class="ptmb8t-">DOTS_PR_INCH </span>in your <span class="underline">.gmtdefaults4</span> file). Thus, if the dpi is set to 300 this unit is 1/300th of an inch.
   Append <span 
class="ptmb8t-">c</span>, <span 
class="ptmb8t-">i</span>, <span 
class="ptmb8t-">p</span>, or <span 
class="ptmb8t-">m </span>to specify pen width in cm, inch, points (1/72 of an inch), or meters, respectively. Note that
   a pen thickness of 5 will be of different physical width depending on your dpi setting, whereas a thickness of
   5<span 
class="ptmb8t-">p </span>will always be 5/72 of an inch. Minimum-thickness pens can be achieved by giving zero width, but the
   result is device-dependent. Finally, a few predefined pen names can be used: default, faint, and {thin, thick,
   fat}[er<!--l. 1063--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>est],
   and obese. Table&#x00A0;<a 
href="#x1-73006r4">4.4<!--tex4ht:ref: tbl:pennames --></a> shows this list and the corresponding pen widths. <div class="table">
   <!--l. 1065--><p class="noindent" ><a 
 id="x1-73006r4"></a></p><hr class="float" /><div class="float" 
> <!--tex4ht:inline--><div class="tabular"> <table id="TBL-8" class="tabular" 
cellspacing="0" cellpadding="0" rules="groups" 
><colgroup id="TBL-8-1g"><col 
id="TBL-8-1" /></colgroup><colgroup id="TBL-8-2g"><col 
id="TBL-8-2" /></colgroup><colgroup id="TBL-8-3g"><col 
id="TBL-8-3" /></colgroup><colgroup id="TBL-8-4g"><col 
id="TBL-8-4" /></colgroup><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-8-1-"><td  style="text-align:center; white-space:nowrap;" id="TBL-8-1-1"  
class="td11"><div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">Pen name</span></div></td><td  style="text-align:center; white-space:nowrap;" id="TBL-8-1-2"  
class="td11"><div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">Width</span></div></td><td  style="text-align:center; white-space:nowrap;" id="TBL-8-1-3"  
class="td11"><div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">Pen name</span></div></td><td  style="text-align:center; white-space:nowrap;" id="TBL-8-1-4"  
class="td11"><div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">Width</span></div></td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-8-2-"><td  style="text-align:left; white-space:nowrap;" id="TBL-8-2-1"  
class="td11">faint </td> <td  style="text-align:center; white-space:nowrap;" id="TBL-8-2-2"  
class="td11"> 0 </td> <td  style="text-align:left; white-space:nowrap;" id="TBL-8-2-3"  
class="td11">thicker </td> <td  style="text-align:center; white-space:nowrap;" id="TBL-8-2-4"  
class="td11"> 1.5p</td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-8-3-"><td  style="text-align:left; white-space:nowrap;" id="TBL-8-3-1"  
class="td11">default     </td><td  style="text-align:center; white-space:nowrap;" id="TBL-8-3-2"  
class="td11">0.25p</td><td  style="text-align:left; white-space:nowrap;" id="TBL-8-3-3"  
class="td11">thickest   </td><td  style="text-align:center; white-space:nowrap;" id="TBL-8-3-4"  
class="td11"> 2p   </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-8-4-"><td  style="text-align:left; white-space:nowrap;" id="TBL-8-4-1"  
class="td11">thinnest    </td><td  style="text-align:center; white-space:nowrap;" id="TBL-8-4-2"  
class="td11">0.25p</td><td  style="text-align:left; white-space:nowrap;" id="TBL-8-4-3"  
class="td11">fat           </td><td  style="text-align:center; white-space:nowrap;" id="TBL-8-4-4"  
class="td11"> 3p   </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-8-5-"><td  style="text-align:left; white-space:nowrap;" id="TBL-8-5-1"  
class="td11">thinner     </td><td  style="text-align:center; white-space:nowrap;" id="TBL-8-5-2"  
class="td11">0.50p</td><td  style="text-align:left; white-space:nowrap;" id="TBL-8-5-3"  
class="td11">fatter       </td><td  style="text-align:center; white-space:nowrap;" id="TBL-8-5-4"  
class="td11"> 6p   </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-8-6-"><td  style="text-align:left; white-space:nowrap;" id="TBL-8-6-1"  
class="td11">thin          </td><td  style="text-align:center; white-space:nowrap;" id="TBL-8-6-2"  
class="td11">0.75p</td><td  style="text-align:left; white-space:nowrap;" id="TBL-8-6-3"  
class="td11">fattest      </td><td  style="text-align:center; white-space:nowrap;" id="TBL-8-6-4"  
class="td11"> 12p  </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-8-7-"><td  style="text-align:left; white-space:nowrap;" id="TBL-8-7-1"  
class="td11">thick         </td><td  style="text-align:center; white-space:nowrap;" id="TBL-8-7-2"  
class="td11"> 1.0p </td><td  style="text-align:left; white-space:nowrap;" id="TBL-8-7-3"  
class="td11">obese      </td><td  style="text-align:center; white-space:nowrap;" id="TBL-8-7-4"  
class="td11"> 18p  </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-8-8-"><td  style="text-align:left; white-space:nowrap;" id="TBL-8-8-1"  
class="td11">       </td></tr></table></div>
<br /><div class="caption" 
><span class="id">Table&#x00A0;4.4: </span><span  
class="content"><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;predefined pen widths.</span></div><!--tex4ht:label?: x1-73006r4 -->
   </div><hr class="endfloat" />
   </div>
<a 
 id="dx1-73007"></a>
<a 
 id="dx1-73008"></a>
<a 
 id="dx1-73009"></a>
<a 
 id="dx1-73010"></a>
<a 
 id="dx1-73011"></a>
<a 
 id="dx1-73012"></a>
   </dd><dt class="description">
<!--l. 1086--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x2192;</mo></math> </dt><dd 
class="description">The
   <span 
class="ptmri8t-">color </span>can be specified in five different ways:
      <ol  class="enumerate1" >
      <li 
  class="enumerate" id="x1-73014x1">Gray. Specify a <span 
class="ptmri8t-">gray </span>shade in the range 0&#8211;255 (linearly going from black [0] to white [255]).
      </li>
      <li 
  class="enumerate" id="x1-73016x2">RGB. Specify <span 
class="ptmri8t-">r</span>/<span 
class="ptmri8t-">g</span>/<span 
class="ptmri8t-">b</span>, each ranging from 0&#8211;255. Here 0/0/0 is black, 255/255/255 is white, 255/0/0
      is red, etc.
      </li>
      <li 
  class="enumerate" id="x1-73018x3">HSV.          Specify          <span 
class="ptmri8t-">hue</span>-<span 
class="ptmri8t-">saturation</span>-<span 
class="ptmri8t-">value</span>,          with          the          former          in          the
      0&#8211;360        degree        range        while        the        latter        two        take        on        the        range
      0&#8211;1<span class="footnote-mark"><a 
href="#fn18x4" id="fn18x4-bk"><sup class="textsuperscript">18</sup></a></span><a 
 id="x1-73019f18"></a>.
      </li>
      <li 
  class="enumerate" id="x1-73021x4">CMYK. Specify <span 
class="ptmri8t-">cyan</span>/<span 
class="ptmri8t-">magenta</span>/<span 
class="ptmri8t-">yellow</span>/<span 
class="ptmri8t-">black</span>, each ranging from 0&#8211;100%.
      </li>
      <li 
  class="enumerate" id="x1-73023x5">Name.   Specify   one   of   663   valid   color   names.   Use   <span 
class="ptmbo8t-">man   gmtcolors</span><a 
 id="dx1-73024"></a>   to   list   all   valid
      names.   A   very   small   yet   versatile   subset   consists   of   the   29   choices   <span 
class="ptmri8t-">white</span>,   <span 
class="ptmri8t-">black</span>,   and
      [light<!--l. 1096--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>dark]{<span 
class="ptmri8t-">red,</span>
      <span 
class="ptmri8t-">orange, yellow, green, cyan, blue, magenta, gray</span><!--l. 1097--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmri8t-">grey,</span>
      <span 
class="ptmri8t-">brown</span>}. The color names are case-insensitive, so mixed upper and lower case can be used (like
      <span 
class="ptmri8t-">DarkGreen</span>).</li></ol>
<a 
 id="dx1-73025"></a>
                                                                                 

                                                                                 
<a 
 id="dx1-73026"></a>
<a 
 id="dx1-73027"></a>
   </dd><dt class="description">
<!--l. 1105--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x2192;</mo></math> </dt><dd 
class="description">The
   <span 
class="ptmri8t-">texture </span>attribute controls the appearance of the line. A &#8220;.&#8221; yields a dotted line, whereas a dashed pen is
   requested with &#8220;-&#8221;. Also combinations of dots and dashes, like &#8220;.-&#8221; for a dot-dashed line, are allowed. The
   lengths of dots and dashes are scaled relative to the pen width (dots has a length that equals the pen width
   while dashes are 8 times as long; gaps between segments are 4 times the pen width). For more
   detailed attributes including exact dimensions you may specify <span 
class="ptmri8t-">string</span>:<span 
class="ptmri8t-">offset</span>, where <span 
class="ptmri8t-">string </span>is a
   series of numbers separated by underscores. These numbers represent a pattern by indicating the
   length of line segments and the gap between segments. The <span 
class="ptmri8t-">offset </span>phase-shifts the pattern from
   the beginning the line. For example, if you want a yellow line of width 0.1 cm that alternates
   between long dashes (4 points), an 8 point gap, then a 5 point dash, then another 8 point gap,
   with pattern offset by 2 points from the origin, specify <span 
class="pcrb8t-">-W</span>0.1c,yellow,4_8_5_8:2p. In general,
   the texture units can be specified in dpi units, cm, inch, points, or meters (see <span 
class="ptmri8t-">width </span>discussion
   above).</dd></dl>
<!--l. 1122--><p class="noindent" >Table&#x00A0;<a 
href="#x1-73029r5">4.5<!--tex4ht:ref: tbl:penex --></a> contains additional examples of pen specifications suitable for, say, <a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-73028"></a>.
</p>
   <div class="table">
                                                                                 

                                                                                 
<!--l. 1124--><p class="indent" >   <a 
 id="x1-73029r5"></a></p><hr class="float" /><div class="float" 
>
                                                                                 

                                                                                 
<div class="tabular"> <table id="TBL-9" class="tabular" 
cellspacing="0" cellpadding="0" rules="groups" 
><colgroup id="TBL-9-1g"><col 
id="TBL-9-1" /></colgroup><colgroup id="TBL-9-2g"><col 
id="TBL-9-2" /></colgroup><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-9-1-"><td  style="text-align:center; white-space:nowrap;" id="TBL-9-1-1"  
class="td11">  <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">Pen example</span></div>   </td><td  style="text-align:center; white-space:nowrap;" id="TBL-9-1-2"  
class="td11">             <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">Comment</span></div>
</td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-9-2-"><td  style="text-align:left; white-space:nowrap;" id="TBL-9-2-1"  
class="td11"><span 
class="pcrb8t-">-W</span>0.5p                     </td><td  style="text-align:left; white-space:nowrap;" id="TBL-9-2-2"  
class="td11">Solid black line, 0.5 point thick                           </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-9-3-"><td  style="text-align:left; white-space:nowrap;" id="TBL-9-3-1"  
class="td11"><span 
class="pcrb8t-">-W</span>green                   </td><td  style="text-align:left; white-space:nowrap;" id="TBL-9-3-2"  
class="td11">Solid green line with default width                      </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-9-4-"><td  style="text-align:left; white-space:nowrap;" id="TBL-9-4-1"  
class="td11"><span 
class="pcrb8t-">-W</span>thin,red,-             </td><td  style="text-align:left; white-space:nowrap;" id="TBL-9-4-2"  
class="td11">Dashed, thin red line                                            </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-9-5-"><td  style="text-align:left; white-space:nowrap;" id="TBL-9-5-1"  
class="td11"><span 
class="pcrb8t-">-W</span>fat,.                      </td><td  style="text-align:left; white-space:nowrap;" id="TBL-9-5-2"  
class="td11">Fat dotted line [black]                                          </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-9-6-"><td  style="text-align:left; white-space:nowrap;" id="TBL-9-6-1"  
class="td11"><span 
class="pcrb8t-">-W</span>0.1c,120-1-1        </td><td  style="text-align:left; white-space:nowrap;" id="TBL-9-6-2"  
class="td11">Green (in h-s-v) pen, 1 mm thick                        </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-9-7-"><td  style="text-align:left; white-space:nowrap;" id="TBL-9-7-1"  
class="td11"><span 
class="pcrb8t-">-W</span>faint,100/0/0/0,..-</td><td  style="text-align:left; white-space:nowrap;" id="TBL-9-7-2"  
class="td11">Very thin, cyan (in c/m/y/k), dot-dot-dashed line</td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-9-8-"><td  style="text-align:left; white-space:nowrap;" id="TBL-9-8-1"  
class="td11">              </td></tr></table></div>
<br /><div class="caption" 
><span class="id">Table&#x00A0;4.5: </span><span  
class="content">A few examples of pen specifications.</span></div><!--tex4ht:label?: x1-73029r5 -->
                                                                                 

                                                                                 
   </div><hr class="endfloat" />
   </div>
   <h3 class="sectionHead"><span class="titlemark">4.14    </span> <a 
 id="x1-740004.14"></a>Specifying area fill attributes</h3>
<a 
 id="dx1-74001"></a>
<a 
 id="dx1-74002"></a>
<a 
 id="dx1-74003"></a>
<a 
 id="dx1-74004"></a>
<a 
 id="dx1-74005"></a>
<a 
 id="dx1-74006"></a>
<a 
 id="dx1-74007"></a>
<a 
 id="dx1-74008"></a>
<!--l. 1151--><p class="noindent" >Many plotting programs will allow the user to draw filled polygons or symbols. The fill specification may take two
forms:
</p><!--l. 1156--><p class="indent" >   <span 
class="pcrb8t-">-G</span><span 
class="ptmri8t-">fill</span>
</p><!--l. 1158--><p class="indent" >   <span 
class="pcrb8t-">-Gp</span><span 
class="ptmri8t-">dpi/pattern</span>[:<span 
class="ptmb8t-">B</span><span 
class="ptmri8t-">color</span>[<span 
class="ptmb8t-">F</span><span 
class="ptmri8t-">color</span>]]
</p><!--l. 1161--><p class="noindent" >
   </p><dl class="description"><dt class="description">
<span 
class="ptmb8t-">fill:</span> </dt><dd 
class="description">In the first case we may specify a <span 
class="ptmri8t-">gray </span>shade (0&#8211;255), RGB color (<span 
class="ptmri8t-">r</span>/<span 
class="ptmri8t-">g</span>/<span 
class="ptmri8t-">b </span>all in the 0&#8211;255 range or in
   hexadecimal <span 
class="ptmri8t-">#rrggbb</span>), HSV color (<span 
class="ptmri8t-">hue</span>-<span 
class="ptmri8t-">saturation</span>-<span 
class="ptmri8t-">value </span>in the 0&#8211;360, 0&#8211;1, 0&#8211;1 range), CMYK color
   (<span 
class="ptmri8t-">cyan</span>/<span 
class="ptmri8t-">magenta</span>/<span 
class="ptmri8t-">yellow</span>/<span 
class="ptmri8t-">black</span>, each ranging from 0&#8211;100%), or a valid color <span 
class="ptmri8t-">name</span>; in that respect it is
   similar to specifying the pen color settings (see pen color discussion under Section&#x00A0;<a 
href="#x1-730004.13">4.13<!--tex4ht:ref: sec:pen --></a>).
   </dd><dt class="description">
<span 
class="ptmb8t-">pattern:</span> </dt><dd 
class="description">The  second  form  allows  us  to  use  a  predefined  bit-image  pattern.  <span 
class="ptmri8t-">pattern  </span>can  either  be  a
   number in the range 1&#8211;90 or the name of a 1-, 8-, or 24-bit Sun raster file. The former will result in
   one of the 90 predefined 64 x 64 bit-patterns provided with <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;and reproduced in Appendix&#x00A0;<a 
href="#x1-207000E">E<!--tex4ht:ref: app:E --></a>.
   The  latter  allows  the  user  to  create  customized,  repeating  images  using  standard  Sun  raster
   files<span class="footnote-mark"><a 
href="#fn19x4" id="fn19x4-bk"><sup class="textsuperscript">19</sup></a></span><a 
 id="x1-74009f19"></a>.
   The <span 
class="ptmri8t-">dpi </span>parameter sets the resolution of this image on the page; the area fill is thus made up of a series
   of these &#8220;tiles&#8221;. Specifying <span 
class="ptmri8t-">dpi </span>as 0 will result in highest resolution obtainable given the present dpi
   setting in <span class="underline">.gmtdefaults4</span>. By specifying upper case <span 
class="pcrb8t-">-GP </span>instead of <span 
class="pcrb8t-">-Gp </span>the image will be bit-reversed,
   i.e., white and black areas will be interchanged (only applies to 1-bit images or predefined bit-image
   patterns).  For  these  patterns  and  other  1-bit  images  one  may  specify  alternative  background  and
   foreground colors (by appending :<span 
class="ptmb8t-">B</span><span 
class="ptmri8t-">color</span>[<span 
class="ptmb8t-">F</span><span 
class="ptmri8t-">color</span>]) that will replace the default white and black pixels,
   respectively. Setting one of the fore- or background colors to &#8211; yields a <span 
class="ptmri8t-">transparent </span>image where only
   the back- <span 
class="ptmri8t-">or </span>foreground pixels will be painted.</dd></dl>
<!--l. 1190--><p class="indent" >   Due to <span 
class="ptmri8t-">PostScript</span>&#x00A0;implementation limitations the raster images used with <span 
class="pcrb8t-">-G </span>must be less than 146
x 146 pixels in size; for larger images see <a 
href="../html/man/psimage.html" ><span 
class="phvb8t-">psimage</span></a><a 
 id="dx1-74011"></a>. The format of Sun raster files is outlined in
Appendix&#x00A0;<a 
href="#x1-180000B">B<!--tex4ht:ref: app:B --></a>. Note that under <span 
class="ptmri8t-">PostScript</span>&#x00A0;Level 1 the patterns are filled by using the polygon as a <span 
class="ptmri8t-">clip path</span>.
Complex clip paths may require more memory than the <span 
class="ptmri8t-">PostScript</span>&#x00A0;interpreter has been assigned. There
is therefore the possibility that some <span 
class="ptmri8t-">PostScript</span>&#x00A0;interpreters (especially those supplied with older
laserwriters) will run out of memory and abort. Should that occur we recommend that you use a regular
grayshade fill instead of the patterns. Installing more memory in your printer <span 
class="ptmri8t-">may or may not </span>solve the
problem!
</p><!--l. 1202--><p class="indent" >   Table&#x00A0;<a 
href="#x1-74012r6">4.6<!--tex4ht:ref: tbl:fillex --></a> contains a few examples of fill specifications.
</p>
   <div class="table">
                                                                                 

                                                                                 
<!--l. 1204--><p class="indent" >   <a 
 id="x1-74012r6"></a></p><hr class="float" /><div class="float" 
>
                                                                                 

                                                                                 
<div class="tabular"> <table id="TBL-10" class="tabular" 
cellspacing="0" cellpadding="0" rules="groups" 
><colgroup id="TBL-10-1g"><col 
id="TBL-10-1" /></colgroup><colgroup id="TBL-10-2g"><col 
id="TBL-10-2" /></colgroup><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-10-1-"><td  style="text-align:center; white-space:nowrap;" id="TBL-10-1-1"  
class="td11">   <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">Fill example</span></div>   </td><td  style="text-align:center; white-space:nowrap;" id="TBL-10-1-2"  
class="td11">             <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">Comment</span></div>
</td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-10-2-"><td  style="text-align:left; white-space:nowrap;" id="TBL-10-2-1"  
class="td11"><span 
class="pcrb8t-">-G</span>128                      </td><td  style="text-align:left; white-space:nowrap;" id="TBL-10-2-2"  
class="td11">Solid gray                                                               </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-10-3-"><td  style="text-align:left; white-space:nowrap;" id="TBL-10-3-1"  
class="td11"><span 
class="pcrb8t-">-G</span>127/255/0            </td><td  style="text-align:left; white-space:nowrap;" id="TBL-10-3-2"  
class="td11">Chartreuse, R/G/B-style                                         </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-10-4-"><td  style="text-align:left; white-space:nowrap;" id="TBL-10-4-1"  
class="td11"><span 
class="pcrb8t-">-G</span>#00ff00                </td><td  style="text-align:left; white-space:nowrap;" id="TBL-10-4-2"  
class="td11">Green, hexadecimal RGB code                              </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-10-5-"><td  style="text-align:left; white-space:nowrap;" id="TBL-10-5-1"  
class="td11"><span 
class="pcrb8t-">-G</span>25-0.86-0.82        </td><td  style="text-align:left; white-space:nowrap;" id="TBL-10-5-2"  
class="td11">Chocolate, h-s-v &#8211; style                                          </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-10-6-"><td  style="text-align:left; white-space:nowrap;" id="TBL-10-6-1"  
class="td11"><span 
class="pcrb8t-">-G</span>DarkOliveGreen1</td><td  style="text-align:left; white-space:nowrap;" id="TBL-10-6-2"  
class="td11">One of the named colors                                         </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-10-7-"><td  style="text-align:left; white-space:nowrap;" id="TBL-10-7-1"  
class="td11"><span 
class="pcrb8t-">-Gp</span>300/7                 </td><td  style="text-align:left; white-space:nowrap;" id="TBL-10-7-2"  
class="td11">Simple diagonal hachure pattern in b/w at 300 dpi</td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-10-8-"><td  style="text-align:left; white-space:nowrap;" id="TBL-10-8-1"  
class="td11"><span 
class="pcrb8t-">-Gp</span>300/7:Bred        </td><td  style="text-align:left; white-space:nowrap;" id="TBL-10-8-2"  
class="td11">Same, but with red lines on white                          </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-10-9-"><td  style="text-align:left; white-space:nowrap;" id="TBL-10-9-1"  
class="td11"><span 
class="pcrb8t-">-Gp</span>300/7:BredF-     </td><td  style="text-align:left; white-space:nowrap;" id="TBL-10-9-2"  
class="td11">Now the gaps between red lines are transparent    </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-10-10-"><td  style="text-align:left; white-space:nowrap;" id="TBL-10-10-1"  
class="td11"><span 
class="pcrb8t-">-Gp</span>100/marble.ras  </td><td  style="text-align:left; white-space:nowrap;" id="TBL-10-10-2"  
class="td11">Using user image of marble as the fill at 100 dpi   </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-10-11-"><td  style="text-align:left; white-space:nowrap;" id="TBL-10-11-1"  
class="td11">              </td></tr></table></div>
<br /><div class="caption" 
><span class="id">Table&#x00A0;4.6: </span><span  
class="content">A few examples of fill specifications.</span></div><!--tex4ht:label?: x1-74012r6 -->
                                                                                 

                                                                                 
   </div><hr class="endfloat" />
   </div>
   <h3 class="sectionHead"><span class="titlemark">4.15    </span> <a 
 id="x1-750004.15"></a>Color palette tables</h3>
<a 
 id="dx1-75001"></a>
<a 
 id="dx1-75002"></a>
<!--l. 1227--><p class="noindent" >Several programs, such as those which read 2-D gridded data sets and create colored images or shaded reliefs, need
to be told what colors to use and over what <span 
class="ptmri8t-">z</span>-range each color applies. This is the purpose of the color palette table
(cpt-file). These files may also be used by <a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-75003"></a> and <a 
href="../html/man/psxyz.html" ><span 
class="phvb8t-">psxyz</span></a><a 
 id="dx1-75004"></a> to plot color-filled symbols. For most applications, you
will simply create a cpt-file using the tool <a 
href="../html/man/makecpt.html" ><span 
class="phvb8t-">makecpt</span></a><a 
 id="dx1-75005"></a> which will take an existing color table and resample it to fit
your chosen data range, or use <a 
href="../html/man/grd2cpt.html" ><span 
class="phvb8t-">grd2cpt</span></a><a 
 id="dx1-75006"></a> to build a cpt-file based on the data distribution in one or more given grid
files. However, in some situations you will need to make a cpt-file by hand or using text tools like <span 
class="ptmbo8t-">awk</span><a 
 id="dx1-75007"></a> or
<span 
class="ptmbo8t-">perl</span><a 
 id="dx1-75008"></a>.
</p><!--l. 1238--><p class="indent" >   Color palette tables (CPT) comes in two flavors: (1) Those designed to work with categorical data (e.g., data
where interpolation of values is undefined) and (2) those designed for regular, continuously-varying
data.
</p><!--l. 1242--><p class="noindent" >
</p>
   <h4 class="subsectionHead"><span class="titlemark">4.15.1    </span> <a 
 id="x1-760004.15.1"></a>Categorical CPT files</h4>
<!--l. 1244--><p class="noindent" >Note: This is an experimental component and is only available if you compile <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;with <span 
class="pcrb8t-">-DGMT_CPT2</span>.
Categorical data are information on which normal numerical operations are not defined. As an example,
consider various land classifications (desert, forest, glacier, etc.) and it is clear that even if we assigned a
numerical value to these categories (e.g., desert = 1, forest = 2, etc) it would be meaningless to compute
average values (what would 1.5 mean?). For such data a special format of the CPT files are provided.
Here, each category is assigned a unique key, a color or pattern, and an optional label (usually the
category name). Keys must be monotonically increasing but do not need to be consecutive. The format
is
</p>
<div class="center" 
>
<!--l. 1254--><p class="noindent" >
</p>
<div class="tabular"> <table id="TBL-11" class="tabular" 
cellspacing="0" cellpadding="0"  
><colgroup id="TBL-11-1g"><col 
id="TBL-11-1" /><col 
id="TBL-11-2" /><col 
id="TBL-11-3" /></colgroup><tr  
 style="vertical-align:baseline;" id="TBL-11-1-"><td  style="text-align:left; white-space:nowrap;" id="TBL-11-1-1"  
class="td11">key<!--l. 1256--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mn>1</mn></mrow></msub 
></math></td><td  style="text-align:left; white-space:nowrap;" id="TBL-11-1-2"  
class="td11"><span 
class="ptmri8t-">fill</span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-11-1-3"  
class="td11"><span 
class="ptmri8t-">label</span></td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-11-2-"><td  style="text-align:left; white-space:nowrap;" id="TBL-11-2-1"  
class="td11">&#x2026;                                                                                                                                                                               </td><td  style="text-align:left; white-space:nowrap;" id="TBL-11-2-2"  
class="td11">  </td><td  style="text-align:left; white-space:nowrap;" id="TBL-11-2-3"  
class="td11">   </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-11-3-"><td  style="text-align:left; white-space:nowrap;" id="TBL-11-3-1"  
class="td11">key<!--l. 1258--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>n</mi></mrow></msub 
></math> </td><td  style="text-align:left; white-space:nowrap;" id="TBL-11-3-2"  
class="td11"><span 
class="ptmri8t-">fill</span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-11-3-3"  
class="td11"><span 
class="ptmri8t-">label</span></td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-11-4-"><td  style="text-align:left; white-space:nowrap;" id="TBL-11-4-1"  
class="td11">                                                                          </td></tr></table></div></div>
<!--l. 1262--><p class="indent" >   The <span 
class="ptmri8t-">fill </span>information follows the format given in Section <a 
href="#x1-740004.14">4.14<!--tex4ht:ref: sec:fill --></a>. While not always applicable to categorical data, the background
color (for <span 
class="ptmri8t-">key</span>-values <!--l. 1264--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003C;</mo></math>
<span 
class="ptmri8t-">key</span><!--l. 1264--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mn>1</mn></mrow></msub 
></math>), foreground
color (for <span 
class="ptmri8t-">key</span>-values <!--l. 1265--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003E;</mo></math>
<span 
class="ptmri8t-">key</span><!--l. 1265--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>n</mi></mrow></msub 
></math>), and
not-a-number (NaN) color (for <span 
class="ptmri8t-">key</span>-values = NaN) are all defined in the <span class="underline">.gmtdefaults4</span> file, but can be overridden by
the statements
</p>
<div class="center" 
>
<!--l. 1269--><p class="noindent" >
                                                                                 

                                                                                 
</p>
<div class="tabular"> <table id="TBL-12" class="tabular" 
cellspacing="0" cellpadding="0"  
><colgroup id="TBL-12-1g"><col 
id="TBL-12-1" /><col 
id="TBL-12-2" /><col 
id="TBL-12-3" /><col 
id="TBL-12-4" /></colgroup><tr  
 style="vertical-align:baseline;" id="TBL-12-1-"><td  style="text-align:left; white-space:nowrap;" id="TBL-12-1-1"  
class="td11">B</td><td  style="text-align:left; white-space:nowrap;" id="TBL-12-1-2"  
class="td11">R<!--l. 1271--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>b</mi><mi 
>a</mi><mi 
>c</mi><mi 
>k</mi></mrow></msub 
></math></td><td  style="text-align:left; white-space:nowrap;" id="TBL-12-1-3"  
class="td11">G<!--l. 1271--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>b</mi><mi 
>a</mi><mi 
>c</mi><mi 
>k</mi></mrow></msub 
></math></td><td  style="text-align:left; white-space:nowrap;" id="TBL-12-1-4"  
class="td11">B<!--l. 1271--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>b</mi><mi 
>a</mi><mi 
>c</mi><mi 
>k</mi></mrow></msub 
></math></td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-12-2-"><td  style="text-align:left; white-space:nowrap;" id="TBL-12-2-1"  
class="td11">F </td><td  style="text-align:left; white-space:nowrap;" id="TBL-12-2-2"  
class="td11">R<!--l. 1272--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>f</mi><mi 
>o</mi><mi 
>r</mi><mi 
>e</mi></mrow></msub 
></math></td><td  style="text-align:left; white-space:nowrap;" id="TBL-12-2-3"  
class="td11">G<!--l. 1272--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>f</mi><mi 
>o</mi><mi 
>r</mi><mi 
>e</mi></mrow></msub 
></math></td><td  style="text-align:left; white-space:nowrap;" id="TBL-12-2-4"  
class="td11">B<!--l. 1272--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>f</mi><mi 
>o</mi><mi 
>r</mi><mi 
>e</mi></mrow></msub 
></math></td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-12-3-"><td  style="text-align:left; white-space:nowrap;" id="TBL-12-3-1"  
class="td11">N </td><td  style="text-align:left; white-space:nowrap;" id="TBL-12-3-2"  
class="td11">R<!--l. 1273--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>n</mi><mi 
>a</mi><mi 
>n</mi></mrow></msub 
></math></td><td  style="text-align:left; white-space:nowrap;" id="TBL-12-3-3"  
class="td11">G<!--l. 1273--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>n</mi><mi 
>a</mi><mi 
>n</mi></mrow></msub 
></math></td><td  style="text-align:left; white-space:nowrap;" id="TBL-12-3-4"  
class="td11">B<!--l. 1273--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>n</mi><mi 
>a</mi><mi 
>n</mi></mrow></msub 
></math></td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-12-4-"><td  style="text-align:left; white-space:nowrap;" id="TBL-12-4-1"  
class="td11">  </td></tr></table>
</div></div>
<!--l. 1277--><p class="noindent" >
</p>
   <h4 class="subsectionHead"><span class="titlemark">4.15.2    </span> <a 
 id="x1-770004.15.2"></a>Regular CPT files</h4>
<!--l. 1279--><p class="noindent" >Here, the colors may be specified either in the RGB- (red, green, blue), CMYK- (cyan, magenta, yellow, black), or
in the HSV-system (hue, saturation, value, and here the comment # COLOR_MODEL = HSV must be present in the cpt
file since there are no other way to distinguish between HSV and RGB). Color names can also be used. Using the RGB
system<span class="footnote-mark"><a 
href="#fn20x4" id="fn20x4-bk"><sup class="textsuperscript">20</sup></a></span><a 
 id="x1-77001f20"></a>,
the format of the cpt-file is:
</p>
<div class="center" 
>
<!--l. 1286--><p class="noindent" >
</p>
<div class="tabular"> <table id="TBL-13" class="tabular" 
cellspacing="0" cellpadding="0"  
><colgroup id="TBL-13-1g"><col 
id="TBL-13-1" /><col 
id="TBL-13-2" /><col 
id="TBL-13-3" /><col 
id="TBL-13-4" /><col 
id="TBL-13-5" /><col 
id="TBL-13-6" /><col 
id="TBL-13-7" /><col 
id="TBL-13-8" /><col 
id="TBL-13-9" /><col 
id="TBL-13-10" /></colgroup><tr  
 style="vertical-align:baseline;" id="TBL-13-1-"><td  style="text-align:left; white-space:nowrap;" id="TBL-13-1-1"  
class="td11">z<!--l. 1288--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mn>0</mn></mrow></msub 
></math></td><td  style="text-align:left; white-space:nowrap;" id="TBL-13-1-2"  
class="td11">R<!--l. 1288--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>m</mi><mi 
>i</mi><mi 
>n</mi></mrow></msub 
></math></td><td  style="text-align:left; white-space:nowrap;" id="TBL-13-1-3"  
class="td11">G<!--l. 1288--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>m</mi><mi 
>i</mi><mi 
>n</mi></mrow></msub 
></math></td><td  style="text-align:left; white-space:nowrap;" id="TBL-13-1-4"  
class="td11">B<!--l. 1288--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>m</mi><mi 
>i</mi><mi 
>n</mi></mrow></msub 
></math></td><td  style="text-align:left; white-space:nowrap;" id="TBL-13-1-5"  
class="td11">z<!--l. 1288--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mn>1</mn></mrow></msub 
></math></td><td  style="text-align:left; white-space:nowrap;" id="TBL-13-1-6"  
class="td11">R<!--l. 1288--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>m</mi><mi 
>a</mi><mi 
>x</mi></mrow></msub 
></math></td><td  style="text-align:left; white-space:nowrap;" id="TBL-13-1-7"  
class="td11">G<!--l. 1288--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>m</mi><mi 
>a</mi><mi 
>x</mi></mrow></msub 
></math></td><td  style="text-align:left; white-space:nowrap;" id="TBL-13-1-8"  
class="td11">B<!--l. 1288--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>m</mi><mi 
>a</mi><mi 
>x</mi></mrow></msub 
></math></td><td  style="text-align:left; white-space:nowrap;" id="TBL-13-1-9"  
class="td11">[<span 
class="ptmb8t-">A</span>]</td><td  style="text-align:left; white-space:nowrap;" id="TBL-13-1-10"  
class="td11">[;<span 
class="ptmri8t-">label</span>]</td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-13-2-"><td  style="text-align:left; white-space:nowrap;" id="TBL-13-2-1"  
class="td11">&#x2026;                                                                                                                                                                           </td><td  style="text-align:left; white-space:nowrap;" id="TBL-13-2-2"  
class="td11">                                                                        </td><td  style="text-align:left; white-space:nowrap;" id="TBL-13-2-3"  
class="td11">                                                                        </td><td  style="text-align:left; white-space:nowrap;" id="TBL-13-2-4"  
class="td11">                                                                        </td><td  style="text-align:left; white-space:nowrap;" id="TBL-13-2-5"  
class="td11">                                                                        </td><td  style="text-align:left; white-space:nowrap;" id="TBL-13-2-6"  
class="td11">                                                                        </td><td  style="text-align:left; white-space:nowrap;" id="TBL-13-2-7"  
class="td11">                                                                        </td><td  style="text-align:left; white-space:nowrap;" id="TBL-13-2-8"  
class="td11">                                                                        </td><td  style="text-align:left; white-space:nowrap;" id="TBL-13-2-9"  
class="td11">  </td><td  style="text-align:left; white-space:nowrap;" id="TBL-13-2-10"  
class="td11">     </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-13-3-"><td  style="text-align:left; white-space:nowrap;" id="TBL-13-3-1"  
class="td11">z<!--l. 1291--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>n</mi><mo 
class="MathClass-bin">-</mo><mn>2</mn></mrow></msub 
></math> </td><td  style="text-align:left; white-space:nowrap;" id="TBL-13-3-2"  
class="td11">R<!--l. 1291--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>m</mi><mi 
>i</mi><mi 
>n</mi></mrow></msub 
></math></td><td  style="text-align:left; white-space:nowrap;" id="TBL-13-3-3"  
class="td11">G<!--l. 1291--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>m</mi><mi 
>i</mi><mi 
>n</mi></mrow></msub 
></math></td><td  style="text-align:left; white-space:nowrap;" id="TBL-13-3-4"  
class="td11">B<!--l. 1291--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>m</mi><mi 
>i</mi><mi 
>n</mi></mrow></msub 
></math></td><td  style="text-align:left; white-space:nowrap;" id="TBL-13-3-5"  
class="td11">z<!--l. 1291--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>n</mi><mo 
class="MathClass-bin">-</mo><mn>1</mn></mrow></msub 
></math></td><td  style="text-align:left; white-space:nowrap;" id="TBL-13-3-6"  
class="td11">R<!--l. 1291--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>m</mi><mi 
>a</mi><mi 
>x</mi></mrow></msub 
></math></td><td  style="text-align:left; white-space:nowrap;" id="TBL-13-3-7"  
class="td11">G<!--l. 1291--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>m</mi><mi 
>a</mi><mi 
>x</mi></mrow></msub 
></math></td><td  style="text-align:left; white-space:nowrap;" id="TBL-13-3-8"  
class="td11">B<!--l. 1291--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>m</mi><mi 
>a</mi><mi 
>x</mi></mrow></msub 
></math></td><td  style="text-align:left; white-space:nowrap;" id="TBL-13-3-9"  
class="td11">[<span 
class="ptmb8t-">A</span>]</td><td  style="text-align:left; white-space:nowrap;" id="TBL-13-3-10"  
class="td11">[;<span 
class="ptmri8t-">label</span>]</td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-13-4-"><td  style="text-align:left; white-space:nowrap;" id="TBL-13-4-1"  
class="td11">                                                                        </td></tr></table>
</div></div>
<!--l. 1296--><p class="indent" >   Thus, for each &#8220;<span 
class="ptmri8t-">z</span>-slice&#8221;, defined as the interval between two boundaries (e.g.,
<span 
class="ptmri8t-">z</span><!--l. 1297--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mn>0</mn></mrow></msub 
></math> to
<span 
class="ptmri8t-">z</span><!--l. 1297--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mn>1</mn></mrow></msub 
></math>), the color can be
constant (by letting R<!--l. 1297--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>m</mi><mi 
>i</mi><mi 
>n</mi></mrow></msub 
></math>
= R<!--l. 1298--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>m</mi><mi 
>a</mi><mi 
>x</mi></mrow></msub 
></math>,
G<!--l. 1298--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>m</mi><mi 
>i</mi><mi 
>n</mi></mrow></msub 
></math> =
G<!--l. 1298--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>m</mi><mi 
>a</mi><mi 
>x</mi></mrow></msub 
></math>, and
B<!--l. 1298--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>m</mi><mi 
>i</mi><mi 
>n</mi></mrow></msub 
></math> =
B<!--l. 1298--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>m</mi><mi 
>a</mi><mi 
>x</mi></mrow></msub 
></math>) or a
continuous, linear function of <span 
class="ptmri8t-">z</span>. The optional flag <span 
class="ptmb8t-">A </span>is used to indicate annotation of the color scale when plotted using
<a 
href="../html/man/psscale.html" ><span 
class="phvb8t-">psscale</span></a><a 
 id="dx1-77002"></a>. The optional code <span 
class="ptmb8t-">A </span>may be <span 
class="ptmb8t-">L</span>, <span 
class="ptmb8t-">U</span>, or <span 
class="ptmb8t-">B </span>to select annotation of the lower, upper, or both limits of the particular
<!--l. 1302--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi></math>-slice.
However, the standard <span 
class="pcrb8t-">-B </span>option can be used by <a 
href="../html/man/psscale.html" ><span 
class="phvb8t-">psscale</span></a><a 
 id="dx1-77003"></a> to affect annotation and ticking of color scales. The
optional semicolon followed by a text label will make <a 
href="../html/man/psscale.html" ><span 
class="phvb8t-">psscale</span></a><a 
 id="dx1-77004"></a>, when used with the <span 
class="pcrb8t-">-L </span>option, place the supplied
label instead of formatted <span 
class="ptmri8t-">z</span>-values.
</p><!--l. 1307--><p class="indent" >   As for categorical tables, the background color (for <span 
class="ptmri8t-">z</span>-values
<!--l. 1307--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003C;</mo></math>
<span 
class="ptmri8t-">z</span><!--l. 1307--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>), foreground
color (for <span 
class="ptmri8t-">z</span>-values <!--l. 1308--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003E;</mo></math>
<span 
class="ptmri8t-">z</span><!--l. 1308--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>n</mi><mo 
class="MathClass-bin">-</mo><mn>1</mn></mrow></msub 
></math>), and
not-a-number (NaN) color (for <span 
class="ptmri8t-">z</span>-values = NaN) are all defined in the <span class="underline">.gmtdefaults4</span> file, but can be overridden by
the statements
</p>
<div class="center" 
>
<!--l. 1312--><p class="noindent" >
                                                                                 

                                                                                 
</p>
<div class="tabular"> <table id="TBL-14" class="tabular" 
cellspacing="0" cellpadding="0"  
><colgroup id="TBL-14-1g"><col 
id="TBL-14-1" /><col 
id="TBL-14-2" /><col 
id="TBL-14-3" /><col 
id="TBL-14-4" /></colgroup><tr  
 style="vertical-align:baseline;" id="TBL-14-1-"><td  style="text-align:left; white-space:nowrap;" id="TBL-14-1-1"  
class="td11">B</td><td  style="text-align:left; white-space:nowrap;" id="TBL-14-1-2"  
class="td11">R<!--l. 1314--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>b</mi><mi 
>a</mi><mi 
>c</mi><mi 
>k</mi></mrow></msub 
></math></td><td  style="text-align:left; white-space:nowrap;" id="TBL-14-1-3"  
class="td11">G<!--l. 1314--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>b</mi><mi 
>a</mi><mi 
>c</mi><mi 
>k</mi></mrow></msub 
></math></td><td  style="text-align:left; white-space:nowrap;" id="TBL-14-1-4"  
class="td11">B<!--l. 1314--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>b</mi><mi 
>a</mi><mi 
>c</mi><mi 
>k</mi></mrow></msub 
></math></td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-14-2-"><td  style="text-align:left; white-space:nowrap;" id="TBL-14-2-1"  
class="td11">F </td><td  style="text-align:left; white-space:nowrap;" id="TBL-14-2-2"  
class="td11">R<!--l. 1315--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>f</mi><mi 
>o</mi><mi 
>r</mi><mi 
>e</mi></mrow></msub 
></math></td><td  style="text-align:left; white-space:nowrap;" id="TBL-14-2-3"  
class="td11">G<!--l. 1315--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>f</mi><mi 
>o</mi><mi 
>r</mi><mi 
>e</mi></mrow></msub 
></math></td><td  style="text-align:left; white-space:nowrap;" id="TBL-14-2-4"  
class="td11">B<!--l. 1315--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>f</mi><mi 
>o</mi><mi 
>r</mi><mi 
>e</mi></mrow></msub 
></math></td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-14-3-"><td  style="text-align:left; white-space:nowrap;" id="TBL-14-3-1"  
class="td11">N </td><td  style="text-align:left; white-space:nowrap;" id="TBL-14-3-2"  
class="td11">R<!--l. 1316--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>n</mi><mi 
>a</mi><mi 
>n</mi></mrow></msub 
></math></td><td  style="text-align:left; white-space:nowrap;" id="TBL-14-3-3"  
class="td11">G<!--l. 1316--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>n</mi><mi 
>a</mi><mi 
>n</mi></mrow></msub 
></math></td><td  style="text-align:left; white-space:nowrap;" id="TBL-14-3-4"  
class="td11">B<!--l. 1316--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mi 
>n</mi><mi 
>a</mi><mi 
>n</mi></mrow></msub 
></math></td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-14-4-"><td  style="text-align:left; white-space:nowrap;" id="TBL-14-4-1"  
class="td11">  </td></tr></table>
</div></div>
<!--l. 1320--><p class="noindent" >which can be inserted into the beginning or end of the cpt-file. If you prefer the HSV system, set the
<span class="underline">.gmtdefaults4</span> parameter accordingly and replace red, green, blue with hue, saturation, value. Color palette
tables that contain grayshades only may replace the <span 
class="ptmri8t-">r/g/b </span>triplets with a single grayshade in the 0&#8211;255
range. For CMYK, give four values in the 0&#8211;100 range. Both the min and max color specifications in
one <span 
class="ptmri8t-">z</span>-slice must use the same color system, i.e., you cannot mix &#8220;red&#8221; and 0/255/100 on the same
line.
</p><!--l. 1331--><p class="indent" >   A few programs (i.e., those that plot polygons such as <a 
href="../html/man/grdview.html" ><span 
class="phvb8t-">grdview</span></a><a 
 id="dx1-77005"></a>, <a 
href="../html/man/psscale.html" ><span 
class="phvb8t-">psscale</span></a><a 
 id="dx1-77006"></a>, and <a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-77007"></a>) can accept pattern fills
instead of grayshades. You must specify the pattern as in Section&#x00A0;<a 
href="#x1-740004.14">4.14<!--tex4ht:ref: sec:fill --></a> (no leading <span 
class="pcrb8t-">-G </span>of course), and only the first
(low <!--l. 1334--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi></math>) is
used (we cannot interpolate between patterns). Finally, some programs let you skip features whose
<!--l. 1337--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi></math>-slice in
the cptfile has grayshades set to &#8211;. As an example, consider
</p>
<div class="center" 
>
<!--l. 1340--><p class="noindent" >
</p>
<div class="tabular"> <table id="TBL-15" class="tabular" 
cellspacing="0" cellpadding="0"  
><colgroup id="TBL-15-1g"><col 
id="TBL-15-1" /><col 
id="TBL-15-2" /><col 
id="TBL-15-3" /><col 
id="TBL-15-4" /><col 
id="TBL-15-5" /><col 
id="TBL-15-6" /><col 
id="TBL-15-7" /><col 
id="TBL-15-8" /><col 
id="TBL-15-9" /></colgroup><tr  
 style="vertical-align:baseline;" id="TBL-15-1-"><td  style="text-align:left; white-space:nowrap;" id="TBL-15-1-1"  
class="td11">30 </td><td  style="text-align:left; white-space:nowrap;" id="TBL-15-1-2"  
class="td11">p200/16</td><td  style="text-align:left; white-space:nowrap;" id="TBL-15-1-3"  
class="td11">80  </td><td  style="text-align:left; white-space:nowrap;" id="TBL-15-1-4"  
class="td11">&#8211;       </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-15-2-"><td  style="text-align:left; white-space:nowrap;" id="TBL-15-2-1"  
class="td11">80  </td><td  style="text-align:left; white-space:nowrap;" id="TBL-15-2-2"  
class="td11">&#8211;           </td><td  style="text-align:left; white-space:nowrap;" id="TBL-15-2-3"  
class="td11">100</td><td  style="text-align:left; white-space:nowrap;" id="TBL-15-2-4"  
class="td11">&#8211;       </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-15-3-"><td  style="text-align:left; white-space:nowrap;" id="TBL-15-3-1"  
class="td11">100</td><td  style="text-align:left; white-space:nowrap;" id="TBL-15-3-2"  
class="td11">200       </td><td  style="text-align:left; white-space:nowrap;" id="TBL-15-3-3"  
class="td11">0    </td><td  style="text-align:left; white-space:nowrap;" id="TBL-15-3-4"  
class="td11">0       </td><td  style="text-align:left; white-space:nowrap;" id="TBL-15-3-5"  
class="td11">200</td><td  style="text-align:left; white-space:nowrap;" id="TBL-15-3-6"  
class="td11">255</td><td  style="text-align:left; white-space:nowrap;" id="TBL-15-3-7"  
class="td11">255</td><td  style="text-align:left; white-space:nowrap;" id="TBL-15-3-8"  
class="td11">0</td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-15-4-"><td  style="text-align:left; white-space:nowrap;" id="TBL-15-4-1"  
class="td11">200</td><td  style="text-align:left; white-space:nowrap;" id="TBL-15-4-2"  
class="td11">yellow  </td><td  style="text-align:left; white-space:nowrap;" id="TBL-15-4-3"  
class="td11">300</td><td  style="text-align:left; white-space:nowrap;" id="TBL-15-4-4"  
class="td11">green</td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-15-5-"><td  style="text-align:left; white-space:nowrap;" id="TBL-15-5-1"  
class="td11">   </td></tr></table></div></div>
<!--l. 1348--><p class="noindent" >where slice <!--l. 1349--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mn>3</mn><mn>0</mn> <mo 
class="MathClass-rel">&#x003C;</mo> <mi 
>z</mi> <mo 
class="MathClass-rel">&#x003C;</mo> <mn>8</mn><mn>0</mn></math> is painted with pattern #
16 at 200 dpi, slice <!--l. 1350--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mn>8</mn><mn>0</mn> <mo 
class="MathClass-rel">&#x003C;</mo> <mi 
>z</mi> <mo 
class="MathClass-rel">&#x003C;</mo> <mn>1</mn><mn>0</mn><mn>0</mn></math> is skipped,
slice <!--l. 1350--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mn>1</mn><mn>0</mn><mn>0</mn> <mo 
class="MathClass-rel">&#x003C;</mo> <mi 
>z</mi> <mo 
class="MathClass-rel">&#x003C;</mo> <mn>2</mn><mn>0</mn><mn>0</mn></math> is painted in a range of dark
red to yellow, whereas the slice <!--l. 1351--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mn>2</mn><mn>0</mn><mn>0</mn> <mo 
class="MathClass-rel">&#x003C;</mo> <mi 
>z</mi> <mo 
class="MathClass-rel">&#x003C;</mo> <mn>3</mn><mn>0</mn><mn>0</mn></math>
will linearly yield colors from yellow to green, depending on the actual value of
<!--l. 1353--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi></math>.
<a 
 id="dx1-77008"></a>
<a 
 id="dx1-77009"></a>
<a 
 id="dx1-77010"></a>
<a 
 id="dx1-77011"></a>
<a 
 id="dx1-77012"></a>
<a 
 id="dx1-77013"></a>
</p><!--l. 1363--><p class="indent" >   Some programs like <a 
href="../html/man/grdimage.html" ><span 
class="phvb8t-">grdimage</span></a><a 
 id="dx1-77014"></a> and <a 
href="../html/man/grdview.html" ><span 
class="phvb8t-">grdview</span></a><a 
 id="dx1-77015"></a> apply artificial illumination to achieve shaded relief maps.
This is typically done by finding the directional gradient in the direction of the artificial light source
and scaling the gradients to have approximately a normal distribution on the interval [-1,+1]. These
intensities are used to add &#8220;white&#8221; or &#8220;black&#8221; to the color as defined by the <span 
class="ptmri8t-">z</span>-values and the cpt-file. An
intensity of zero leaves the color unchanged. Higher values will brighten the color, lower values will
darken it, all without changing the original hue of the color (see Appendix&#x00A0;<a 
href="#x1-215000I">I<!--tex4ht:ref: app:I --></a> for more details). The
illumination is decoupled from the data grid file in that a separate grid file holding intensities in the [-1,+1]
range must be provided. Such intensity files can be derived from the data grid using <a 
href="../html/man/grdgradient.html" ><span 
class="phvb8t-">grdgradient</span></a><a 
 id="dx1-77016"></a>
and modified with <a 
href="../html/man/grdhisteq.html" ><span 
class="phvb8t-">grdhisteq</span></a><a 
 id="dx1-77017"></a>, but could equally well be a separate data set. E.g., some side-scan
sonar systems collect both bathymetry and backscatter intensities, and one may want to use the latter
information to specify the illumination of the colors defined by the former. Similarly, one could portray
magnetic anomalies superimposed on topography by using the former for colors and the latter for
shading.
                                                                                 

                                                                                 
</p><!--l. 1383--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">4.16    </span> <a 
 id="x1-780004.16"></a>Character escape sequences</h3>
<a 
 id="dx1-78001"></a>
<a 
 id="dx1-78002"></a>
<a 
 id="dx1-78003"></a>
<a 
 id="dx1-78004"></a>
<a 
 id="dx1-78005"></a>
<a 
 id="dx1-78006"></a>
<a 
 id="dx1-78007"></a>
<a 
 id="dx1-78008"></a>
<a 
 id="dx1-78009"></a>
<a 
 id="dx1-78010"></a>
<a 
 id="dx1-78011"></a>
<a 
 id="dx1-78012"></a>
<a 
 id="dx1-78013"></a>
<a 
 id="dx1-78014"></a>
<a 
 id="dx1-78015"></a>
<a 
 id="dx1-78016"></a>
<a 
 id="dx1-78017"></a>
<a 
 id="dx1-78018"></a>
<a 
 id="dx1-78019"></a>
<a 
 id="dx1-78020"></a>
<a 
 id="dx1-78021"></a>
<a 
 id="dx1-78022"></a>
<a 
 id="dx1-78023"></a>
<a 
 id="dx1-78024"></a>
<a 
 id="dx1-78025"></a>
<!--l. 1411--><p class="noindent" >For annotation labels or text strings plotted with <a 
href="../html/man/pstext.html" ><span 
class="phvb8t-">pstext</span></a><a 
 id="dx1-78026"></a>, <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;provides several escape sequences that allow the
user to temporarily switch to the symbol font, turn on sub- or superscript, etc., within words. These conditions are
toggled on/off by the escape sequence @<span 
class="ptmb8t-">x</span>, where <span 
class="ptmb8t-">x </span>can be one of several types. The escape sequences recognized
in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;are listed in Table&#x00A0;<a 
href="#x1-78027r7">4.7<!--tex4ht:ref: tbl:escape --></a>. Only one level of sub- or superscript is supported. Note that under Windows the
percent symbol indicates a batch variable, hence you must use two percent-signs for each one required in the
escape sequence for font switching.
</p>
   <div class="table">
                                                                                 

                                                                                 
<!--l. 1421--><p class="indent" >   <a 
 id="x1-78027r7"></a></p><hr class="float" /><div class="float" 
>
                                                                                 

                                                                                 
<div class="tabular"> <table id="TBL-16" class="tabular" 
cellspacing="0" cellpadding="0" rules="groups" 
><colgroup id="TBL-16-1g"><col 
id="TBL-16-1" /></colgroup><colgroup id="TBL-16-2g"><col 
id="TBL-16-2" /></colgroup><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-16-1-"><td  style="text-align:center; white-space:nowrap;" id="TBL-16-1-1"  
class="td11">  <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">Code</span></div>   </td><td  style="text-align:center; white-space:nowrap;" id="TBL-16-1-2"  
class="td11">                  <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">Effect</span></div>
</td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-16-2-"><td  style="text-align:left; white-space:nowrap;" id="TBL-16-2-1"  
class="td11">@&#x0303;               </td><td  style="text-align:left; white-space:nowrap;" id="TBL-16-2-2"  
class="td11">Turns symbol font on or off                                                  </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-16-3-"><td  style="text-align:left; white-space:nowrap;" id="TBL-16-3-1"  
class="td11">@+               </td><td  style="text-align:left; white-space:nowrap;" id="TBL-16-3-2"  
class="td11">Turns superscript on or off                                                    </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-16-4-"><td  style="text-align:left; white-space:nowrap;" id="TBL-16-4-1"  
class="td11">@-                </td><td  style="text-align:left; white-space:nowrap;" id="TBL-16-4-2"  
class="td11">Turns subscript on or off                                                       </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-16-5-"><td  style="text-align:left; white-space:nowrap;" id="TBL-16-5-1"  
class="td11">@#               </td><td  style="text-align:left; white-space:nowrap;" id="TBL-16-5-2"  
class="td11">Turns small caps on or off                                                     </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-16-6-"><td  style="text-align:left; white-space:nowrap;" id="TBL-16-6-1"  
class="td11">@_               </td><td  style="text-align:left; white-space:nowrap;" id="TBL-16-6-2"  
class="td11">Turns underline on or off                                                      </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-16-7-"><td  style="text-align:left; white-space:nowrap;" id="TBL-16-7-1"  
class="td11">@%<span 
class="ptmri8t-">fontno</span>%</td><td  style="text-align:left; white-space:nowrap;" id="TBL-16-7-2"  
class="td11">Switches to another font; @%% resets to previous font       </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-16-8-"><td  style="text-align:left; white-space:nowrap;" id="TBL-16-8-1"  
class="td11">@:<span 
class="ptmri8t-">size</span>:         </td><td  style="text-align:left; white-space:nowrap;" id="TBL-16-8-2"  
class="td11">Switches to another font size; @:: resets to previous size    </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-16-9-"><td  style="text-align:left; white-space:nowrap;" id="TBL-16-9-1"  
class="td11">@;<span 
class="ptmri8t-">color</span>;      </td><td  style="text-align:left; white-space:nowrap;" id="TBL-16-9-2"  
class="td11">Switches to another font color; @;; resets to previous color</td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-16-10-"><td  style="text-align:left; white-space:nowrap;" id="TBL-16-10-1"  
class="td11">@!                </td><td  style="text-align:left; white-space:nowrap;" id="TBL-16-10-2"  
class="td11">Creates one composite character of the next two characters</td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-16-11-"><td  style="text-align:left; white-space:nowrap;" id="TBL-16-11-1"  
class="td11">@@             </td><td  style="text-align:left; white-space:nowrap;" id="TBL-16-11-2"  
class="td11">Prints the @ sign itself                                                          </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-16-12-"><td  style="text-align:left; white-space:nowrap;" id="TBL-16-12-1"  
class="td11">         </td></tr></table></div>
<br /><div class="caption" 
><span class="id">Table&#x00A0;4.7: </span><span  
class="content"><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;text escape sequences.</span></div><!--tex4ht:label?: x1-78027r7 -->
                                                                                 

                                                                                 
   </div><hr class="endfloat" />
   </div>
<!--l. 1440--><p class="indent" >   Shorthand notation for a few special European characters has also been added (Table&#x00A0;<a 
href="#x1-78030r8">4.8<!--tex4ht:ref: tbl:scand --></a>): <a 
 id="dx1-78028"></a><a 
 id="dx1-78029"></a>
</p>
   <div class="table">
                                                                                 

                                                                                 
<!--l. 1445--><p class="indent" >   <a 
 id="x1-78030r8"></a></p><hr class="float" /><div class="float" 
>
                                                                                 

                                                                                 
<div class="tabular"> <table id="TBL-17" class="tabular" 
cellspacing="0" cellpadding="0" rules="groups" 
><colgroup id="TBL-17-1g"><col 
id="TBL-17-1" /></colgroup><colgroup id="TBL-17-2g"><col 
id="TBL-17-2" /></colgroup><colgroup id="TBL-17-3g"><col 
id="TBL-17-3" /></colgroup><colgroup id="TBL-17-4g"><col 
id="TBL-17-4" /></colgroup><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-17-1-"><td  style="text-align:left; white-space:nowrap;" id="TBL-17-1-1"  
class="td11"><span 
class="ptmri8t-">Code</span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-17-1-2"  
class="td11"><span 
class="ptmri8t-">Effect</span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-17-1-3"  
class="td11"><span 
class="ptmri8t-">Code</span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-17-1-4"  
class="td11"><span 
class="ptmri8t-">Effect</span></td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-17-2-"><td  style="text-align:left; white-space:nowrap;" id="TBL-17-2-1"  
class="td11">@E   </td><td  style="text-align:left; white-space:nowrap;" id="TBL-17-2-2"  
class="td11">Æ      </td><td  style="text-align:left; white-space:nowrap;" id="TBL-17-2-3"  
class="td11">@e   </td><td  style="text-align:left; white-space:nowrap;" id="TBL-17-2-4"  
class="td11">æ       </td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-17-3-"><td  style="text-align:left; white-space:nowrap;" id="TBL-17-3-1"  
class="td
11">@O   </td><td  style="text-align:left; white-space:nowrap;" id="TBL-17-3-2"  
class="td11">Ø      </td><td  style="text-align:left; white-space:nowrap;" id="TBL-17-3-3"  
class="td11">@o   </td><td  style="text-align:left; white-space:nowrap;" id="TBL-17-3-4"  
class="td11">ø       </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-17-4-"><td  style="text-align:left; white-space:nowrap;" id="TBL-17-4-1"  
class="td11">@A   </td><td  style="text-align:left; white-space:nowrap;" id="TBL-17-4-2"  
class="td11">Å      </td><td  style="text-align:left; white-space:nowrap;" id="TBL-17-4-3"  
class="td11">@a   </td><td  style="text-align:left; white-space:nowrap;" id="TBL-17-4-4"  
class="td11">å        </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-17-5-"><td  style="text-align:left; white-space:nowrap;" id="TBL-17-5-1"  
class="td11">@C   </td><td  style="text-align:left; white-space:nowrap;" id="TBL-17-5-2"  
class="td11">Ç     </td><td  style="text-align:left; white-space:nowrap;" id="TBL-17-5-3"  
class="td11">@c   </td><td  style="text-align:left; white-space:nowrap;" id="TBL-17-5-4"  
class="td11">ç     </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-17-6-"><td  style="text-align:left; white-space:nowrap;" id="TBL-17-6-1"  
class="td11">@N   </td><td  style="text-align:left; white-space:nowrap;" id="TBL-17-6-2"  
class="td11">Ñ     </td><td  style="text-align:left; white-space:nowrap;" id="TBL-17-6-3"  
class="td11">@n   </td><td  style="text-align:left; white-space:nowrap;" id="TBL-17-6-4"  
class="td11">ñ     </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-17-7-"><td  style="text-align:left; white-space:nowrap;" id="TBL-17-7-1"  
class="td11">@U   </td><td  style="text-align:left; white-space:nowrap;" id="TBL-17-7-2"  
class="td11">Ü     </td><td  style="text-align:left; white-space:nowrap;" id="TBL-17-7-3"  
class="td11">@u   </td><td  style="text-align:left; white-space:nowrap;" id="TBL-17-7-4"  
class="td11">ü     </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-17-8-"><td  style="text-align:left; white-space:nowrap;" id="TBL-17-8-1"  
class="td11">@s    </td><td  style="text-align:left; white-space:nowrap;" id="TBL-17-8-2"  
class="td11">ß       </td><td  style="text-align:left; white-space:nowrap;" id="TBL-17-8-3"  
class="td11">    </td><td  style="text-align:left; white-space:nowrap;" id="TBL-17-8-4"  
class="td11">    </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-17-9-"><td  style="text-align:left; white-space:nowrap;" id="TBL-17-9-1"  
class="td11">    </td></tr></table></div>
<br /><div class="caption" 
><span class="id">Table&#x00A0;4.8: </span><span  
class="content">Shortcuts for some European characters.</span></div><!--tex4ht:label?: x1-78030r8 -->
                                                                                 

                                                                                 
   </div><hr class="endfloat" />
   </div>
<!--l. 1461--><p class="indent" >   <span 
class="ptmri8t-">PostScript</span>&#x00A0;fonts used in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;may be re-encoded to include several accented characters
used in many European languages. To access these, you must specify the full octal code
<!--l. 1463--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-bin">\</mo></math>xxx
allowed for your choice of character encodings determined by the <span 
class="ptmb8t-">CHAR_ENCODING </span>setting described in the
<a 
href="../html/man/gmtdefaults.html" ><span 
class="phvb8t-">gmtdefaults</span></a><a 
 id="dx1-78031"></a> man page. Only the special characters belonging to a particular encoding will be available. Many
characters not directly available by using single octal codes may be constructed with the composite character
mechanism @!.
</p><!--l. 1472--><p class="indent" >   Some examples of escape sequences and embedded octal codes in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;strings using the Standard+
encoding:
</p>
<table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:32;" 
class="tabbing">    </td><td style="width:326;" 
class="tabbing"><span class="obeylines-h"><span class="verb"><span 
class="pcrr8t-">2@~p@~r@+2@+h@-0@-</span><span 
class="pcrr8t-">&#x00A0;E\363tv\363s</span></span></span>     </td><td style="width:55;" 
class="tabbing">=             </td><td  
class="tabbing">2<!--l. 1477--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>&#x03C0;</mi><msup><mrow 
><mi 
>r</mi></mrow><mrow 
><mn>2</mn></mrow></msup 
><msub><mrow 
><mi 
>h</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math> Eötvös
</td></tr></table>
<!--l. 1477--><p class="indent" >   </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:32;" 
class="tabbing">    </td><td style="width:326;" 
class="tabbing"><span class="obeylines-h"><span class="verb"><span 
class="pcrr8t-">10@+-3</span><span 
class="pcrr8t-">&#x00A0;@Angstr@om</span></span></span>                   </td><td style="width:55;" 
class="tabbing">=             </td><td  
class="tabbing">10<!--l. 1478--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msup><mrow 
></mrow><mrow 
><mo 
class="MathClass-bin">-</mo><mn>3</mn></mrow></msup 
></math> Ångstrøm</td></tr></table>
<!--l. 1478--><p class="indent" >                </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:32;" 
class="tabbing">    </td><td style="width:326;" 
class="tabbing"><span class="obeylines-h"><span class="verb"><span 
class="pcrr8t-">Se@nor</span><span 
class="pcrr8t-">&#x00A0;Gar@con</span></span></span>                      </td><td style="width:55;" 
class="tabbing">=             </td><td  
class="tabbing">Señor Garçon</td></tr></table>
<!--l. 1479--><p class="indent" >                  </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:32;" 
class="tabbing">    </td><td style="width:326;" 
class="tabbing"><span class="obeylines-h"><span class="verb"><span 
class="pcrr8t-">M@!\305anoa</span><span 
class="pcrr8t-">&#x00A0;stra@se</span></span></span>                 </td><td style="width:55;" 
class="tabbing">=             </td><td style="width:13;" 
class="tabbing">M</td><td  
class="tabbing">anoa straße</td></tr></table>
<!--l. 1480--><p class="indent" >   </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:32;" 
class="tabbing">    </td><td style="width:326;" 
class="tabbing"><span class="obeylines-h"><span class="verb"><span 
class="pcrr8t-">A@\#cceleration@\#</span><span 
class="pcrr8t-">&#x00A0;(ms@+-2@+)</span></span></span>       </td><td style="width:55;" 
class="tabbing">=             </td><td  
class="tabbing"><span 
class="ptmrc8t-">A<span 
class="small-caps">C</span><span 
class="small-caps">C</span><span 
class="small-caps">E</span><span 
class="small-caps">L</span><span 
class="small-caps">E</span><span 
class="small-caps">R</span><span 
class="small-caps">A</span><span 
class="small-caps">T</span><span 
class="small-caps">I</span><span 
class="small-caps">O</span><span 
class="small-caps">N</span> (<span 
class="small-caps">M</span><span 
class="small-caps">S</span></span><!--l. 1481--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msup><mrow 
></mrow><mrow 
><mo 
class="MathClass-bin">-</mo><mn>2</mn></mrow></msup 
></math><span 
class="ptmrc8t-">)</span></td></tr></table>
<!--l. 1482--><p class="indent" >
</p><!--l. 1484--><p class="indent" >   The option in <a 
href="../html/man/pstext.html" ><span 
class="phvb8t-">pstext</span></a><a 
 id="dx1-78032"></a> to draw a rectangle surrounding the text will not work for strings with escape sequences.
A chart of characters and their octal codes is given in Appendix&#x00A0;<a 
href="#x1-208000F">F<!--tex4ht:ref: app:F --></a>.
</p>
   <h3 class="sectionHead"><span class="titlemark">4.17    </span> <a 
 id="x1-790004.17"></a>Grid file format specifications</h3>
<a 
 id="dx1-79001"></a>
<a 
 id="dx1-79002"></a>
<a 
 id="dx1-79003"></a>
<a 
 id="dx1-79004"></a>
<a 
 id="dx1-79005"></a>
<a 
 id="dx1-79006"></a>
<a 
 id="dx1-79007"></a>
<a 
 id="dx1-79008"></a>
<a 
 id="dx1-79009"></a>
<!--l. 1499--><p class="noindent" ><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;has the ability to read and write grids using more than one grid file format (see Table <a 
href="#x1-79013r9">4.9<!--tex4ht:ref: tbl:grdformats --></a> for supported
format and their IDs). For reading, <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;will automatically determine the format of grid files, while for writing
you will normally have to append <span 
class="ptmri8t-">=ID </span>to the filename if you want <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;to use a different format than the
default.
</p><!--l. 1505--><p class="indent" >   By default, <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;will create new grid files using the <span 
class="ptmb8t-">nf </span>format; however, this behavior can be overridden by
setting the <span 
class="ptmb8t-">GRID_FORMAT </span>defaults parameter to any of the other recognized values (or by appending
<span 
class="ptmri8t-">=ID</span>).
</p><!--l. 1509--><p class="indent" >   <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;can also read netCDF grid files produced by other software packages, provided the grid
files satisfy the COARDS and Hadley Centre conventions for netCDF grids. Thus, products created
under those conventions (provided the grid is 2-, 3-, 4-, or 5-dimensional) can be read directly by
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;and the netCDF grids written by <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;can be read by other programs that conform to those
conventions. Three such programs are <a 
href="http://meteora.ucsd.edu/~pierce/ncview_home_page.html" ><span 
class="ptmbo8t-">ncview</span><a 
 id="dx1-79010"></a></a>, <a 
href="http://www.giss.nasa.gov/tools/panoply/" ><span 
class="ptmbo8t-">Panoply</span><a 
 id="dx1-79011"></a></a> and <a 
href="http://www.epic.noaa.gov/java/ncBrowse/" ><span 
class="ptmbo8t-">ncBrowse</span><a 
 id="dx1-79012"></a></a>; others can be found on the <a 
href="http://www.unidata.ucar.edu/software/netcdf/software.html" >netCDF
website</a>.
</p><!--l. 1519--><p class="indent" >   In addition, users with some C-programming experience may add their own read/write functions and link them
with the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;library to extend the number of predefined formats. Technical information on this topic can be
found in the source file <span class="underline">gmt_customio.c</span>. Users who are considering this approach should contact the
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;team.
                                                                                 

                                                                                 
</p>
   <div class="table">
                                                                                 

                                                                                 
<!--l. 1525--><p class="indent" >   <a 
 id="x1-79013r9"></a></p><hr class="float" /><div class="float" 
>
                                                                                 

                                                                                 
<div class="tabular"> <table id="TBL-18" class="tabular" 
cellspacing="0" cellpadding="0" rules="groups" 
><colgroup id="TBL-18-1g"><col 
id="TBL-18-1" /></colgroup><colgroup id="TBL-18-2g"><col 
id="TBL-18-2" /></colgroup><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-18-1-"><td  style="text-align:center; white-space:nowrap;" id="TBL-18-1-1"  
class="td11"><div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">ID</span></div></td><td  style="text-align:center; white-space:nowrap;" id="TBL-18-1-2"  
class="td11">       <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">GMT 4 netCDF standard formats</span></div>
</td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-18-2-"><td  style="text-align:left; white-space:nowrap;" id="TBL-18-2-1"  
class="td11">nb </td><td  style="text-align:left; white-space:nowrap;" id="TBL-18-2-2"  
class="td11">GMT netCDF format (byte) (COARDS-compliant)    </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-18-3-"><td  style="text-align:left; white-space:nowrap;" id="TBL-18-3-1"  
class="td11">ns  </td><td  style="text-align:left; white-space:nowrap;" id="TBL-18-3-2"  
class="td11">GMT netCDF format (short) (COARDS-compliant)   </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-18-4-"><td  style="text-align:left; white-space:nowrap;" id="TBL-18-4-1"  
class="td11">ni  </td><td  style="text-align:left; white-space:nowrap;" id="TBL-18-4-2"  
class="td11">GMT netCDF format (int) (COARDS-compliant)       </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-18-5-"><td  style="text-align:left; white-space:nowrap;" id="TBL-18-5-1"  
class="td11">nf  </td><td  style="text-align:left; white-space:nowrap;" id="TBL-18-5-2"  
class="td11">GMT netCDF format (float) (COARDS-compliant)    </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-18-6-"><td  style="text-align:left; white-space:nowrap;" id="TBL-18-6-1"  
class="td11">nd </td><td  style="text-align:left; white-space:nowrap;" id="TBL-18-6-2"  
class="td11">GMT netCDF format (double) (COARDS-compliant)</td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-18-7-"><td  style="text-align:center; white-space:nowrap;" id="TBL-18-7-1"  
class="td11"><div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">ID</span></div> </td><td  style="text-align:center; white-space:nowrap;" id="TBL-18-7-2"  
class="td11">        <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">GMT 3 netCDF legacy formats</span></div>
</td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-18-8-"><td  style="text-align:left; white-space:nowrap;" id="TBL-18-8-1"  
class="td11">cb </td><td  style="text-align:left; white-space:nowrap;" id="TBL-18-8-2"  
class="td11">GMT netCDF format (byte) (depreciated)                   </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-18-9-"><td  style="text-align:left; white-space:nowrap;" id="TBL-18-9-1"  
class="td11">cs  </td><td  style="text-align:left; white-space:nowrap;" id="TBL-18-9-2"  
class="td11">GMT netCDF format (short) (depreciated)                  </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-18-10-"><td  style="text-align:left; white-space:nowrap;" id="TBL-18-10-1"  
class="td11">ci  </td><td  style="text-align:left; white-space:nowrap;" id="TBL-18-10-2"  
class="td11">GMT netCDF format (int) (depreciated)                      </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-18-11-"><td  style="text-align:left; white-space:nowrap;" id="TBL-18-11-1"  
class="td11">cf  </td><td  style="text-align:left; white-space:nowrap;" id="TBL-18-11-2"  
class="td11">GMT netCDF format (float) (depreciated)                   </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-18-12-"><td  style="text-align:left; white-space:nowrap;" id="TBL-18-12-1"  
class="td11">cd </td><td  style="text-align:left; white-space:nowrap;" id="TBL-18-12-2"  
class="td11">GMT netCDF format (double) (depreciated)               </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-18-13-"><td  style="text-align:center; white-space:nowrap;" id="TBL-18-13-1"  
class="td11"><div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">ID</span></div> </td><td  style="text-align:center; white-space:nowrap;" id="TBL-18-13-2"  
class="td11">         <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">GMT native binary formats</span></div>
</td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-18-14-"><td  style="text-align:left; white-space:nowrap;" id="TBL-18-14-1"  
class="td11">bm</td><td  style="text-align:left; white-space:nowrap;" id="TBL-18-14-2"  
class="td11">GMT native, C-binary format (bit-mask)                     </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-18-15-"><td  style="text-align:left; white-space:nowrap;" id="TBL-18-15-1"  
class="td11">bb </td><td  style="text-align:left; white-space:nowrap;" id="TBL-18-15-2"  
class="td11">GMT native, C-binary format (byte)                            </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-18-16-"><td  style="text-align:left; white-space:nowrap;" id="TBL-18-16-1"  
class="td11">bs  </td><td  style="text-align:left; white-space:nowrap;" id="TBL-18-16-2"  
class="td11">GMT native, C-binary format (short)                           </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-18-17-"><td  style="text-align:left; white-space:nowrap;" id="TBL-18-17-1"  
class="td11">bi  </td><td  style="text-align:left; white-space:nowrap;" id="TBL-18-17-2"  
class="td11">GMT native, C-binary format (int)                               </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-18-18-"><td  style="text-align:left; white-space:nowrap;" id="TBL-18-18-1"  
class="td11">bf  </td><td  style="text-align:left; white-space:nowrap;" id="TBL-18-18-2"  
class="td11">GMT native, C-binary format (float)                            </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-18-19-"><td  style="text-align:left; white-space:nowrap;" id="TBL-18-19-1"  
class="td11">bd </td><td  style="text-align:left; white-space:nowrap;" id="TBL-18-19-2"  
class="td11">GMT native, C-binary format (double)                        </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-18-20-"><td  style="text-align:center; white-space:nowrap;" id="TBL-18-20-1"  
class="td11"><div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">ID</span></div> </td><td  style="text-align:center; white-space:nowrap;" id="TBL-18-20-2"  
class="td11">         <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">Miscellaneous grid formats</span></div>
</td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-18-21-"><td  style="text-align:left; white-space:nowrap;" id="TBL-18-21-1"  
class="td11">rb  </td><td  style="text-align:left; white-space:nowrap;" id="TBL-18-21-2"  
class="td11">SUN raster file format (8-bit standard)                        </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-18-22-"><td  style="text-align:left; white-space:nowrap;" id="TBL-18-22-1"  
class="td11">rf   </td><td  style="text-align:left; white-space:nowrap;" id="TBL-18-22-2"  
class="td11">GEODAS grid format GRD98 (NGDC)                      </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-18-23-"><td  style="text-align:left; white-space:nowrap;" id="TBL-18-23-1"  
class="td11">sf  </td><td  style="text-align:left; white-space:nowrap;" id="TBL-18-23-2"  
class="td11">Golden Software Surfer format 6 (float)                      </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-18-24-"><td  style="text-align:left; white-space:nowrap;" id="TBL-18-24-1"  
class="td11">sd  </td><td  style="text-align:left; white-space:nowrap;" id="TBL-18-24-2"  
class="td11">Golden Software Surfer format 7 (double)                  </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-18-25-"><td  style="text-align:left; white-space:nowrap;" id="TBL-18-25-1"  
class="td11">af  </td><td  style="text-align:left; white-space:nowrap;" id="TBL-18-25-2"  
class="td11">Atlantic Geoscience Center AGC (float)                      </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-18-26-"><td  style="text-align:left; white-space:nowrap;" id="TBL-18-26-1"  
class="td11">gd </td><td  style="text-align:left; white-space:nowrap;" id="TBL-18-26-2"  
class="td11">Read-only via GDAL [EXPERIMENTAL] (float)       </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-18-27-"><td  style="text-align:left; white-space:nowrap;" id="TBL-18-27-1"  
class="td11">  </td></tr></table></div>
<br /><div class="caption" 
><span class="id">Table&#x00A0;4.9: </span><span  
class="content"><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;grid file formats.</span></div><!--tex4ht:label?: x1-79013r9 -->
                                                                                 

                                                                                 
   </div><hr class="endfloat" />
   </div>
<!--l. 1559--><p class="indent" >   Because some formats have limitations on the range of values they can store it is sometimes necessary to
provide more than simply the name of the file and its ID on the command line. For instance, a native short integer
file may use a unique value to signify an empty node or NaN, and the data may need translation and scaling prior to
use. Therefore, all <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;programs that read or write grid files will decode the given filename as
follows:
</p><!--l. 1569--><p class="indent" >   name[=<span 
class="ptmri8t-">ID</span>[/<span 
class="ptmri8t-">scale</span>/<span 
class="ptmri8t-">offset</span>[/<span 
class="ptmri8t-">nan</span>]]]
</p><!--l. 1573--><p class="noindent" >where everything in brackets is optional. If you are reading a grid then no options are needed: just
continue to pass the name of the grid file. However, if you write another format you must append the
=<span 
class="ptmri8t-">ID </span>string, where <span 
class="ptmri8t-">ID </span>is the format code listed above. In addition, should you want to (1) multiply
the data by a scale factor, and (2) add a constant offset you must append the /<span 
class="ptmri8t-">scale</span>/<span 
class="ptmri8t-">offset </span>modifier.
Finally, if you need to indicate that a certain data value should be interpreted as a NaN (not-a-number)
you must append the /<span 
class="ptmri8t-">nan </span>suffix to the scaling string (it cannot go by itself; note the nesting of the
brackets!).
</p><!--l. 1585--><p class="indent" >   Some of the grid formats allow writing to standard output and reading from standard input which means you
can connect <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;programs that operate on grid files with pipes, thereby speeding up execution and eliminating
the need for large, intermediate grid files. You specify standard input/output by leaving out the filename entirely.
That means the &#8220;filename&#8221; will begin with &#8220;=<span 
class="ptmri8t-">ID </span>&#8221; since no <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;netCDF format allow piping (due to the design
of netCDF).
</p><!--l. 1594--><p class="indent" >   Everything looks clearer after a few examples:
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-79015x1">To write a native binary float grid file, specify the name as <span class="underline">my_file.f4=bf</span>.
   </li>
   <li 
  class="enumerate" id="x1-79017x2">To read a native short integer grid file, multiply the data by 10 and then add 32000, but first let values
   that equal 32767 be set to NaN, use the filename <span class="underline">my_file.i2=bs/10/32000/32767</span>.
   </li>
   <li 
  class="enumerate" id="x1-79019x3">To read a Golden Software &#8220;surfer&#8221; format 6 grid file, just pass the file name, e.g., <span class="underline">my_surferfile.grd</span>.
   </li>
   <li 
  class="enumerate" id="x1-79021x4">To read a 8-bit standard Sun raster file (with values in the 0&#8211;255 range) and convert it to a <span 
class="ptmr8c-">±</span>1 range,
   give the name as <span class="underline">rasterfile=rb/7.84313725e-3/-1</span> (i.e., 1/127.5).
   </li>
   <li 
  class="enumerate" id="x1-79023x5">To write a native binary short integer grid file to standard output after subtracting 32000 and dividing
   its values by 10, give filename as <span class="underline">=bs/0.1/-3200</span>.
   </li></ol>
<!--l. 1615--><p class="indent" >   Programs that both read and/or write more than one grid file may specify different formats and/or
scaling for the files involved. The only restriction with the embedded grid specification mechanism
is that no grid files may actually use the &#8220;=&#8221; character as part of their name (presumably, a small
sacrifice).
<a 
 id="dx1-79024"></a>
</p><!--l. 1623--><p class="indent" >   One can also define special file suffixes to imply a specific file format; this approach represents a more intuitive
and user-friendly way to specify the various file formats. The user may create a file called <span class="underline">.gmt_io</span> in the current
directory, home directory or in the directory <span class="underline">/&#x0303;.gmt</span> and define any number of custom formats. The following is an
example of a <span class="underline">.gmt_io</span> file: <a 
 id="dx1-79025"></a>
</p><!--l. 1634--><p class="noindent" ></p>
                                                                                 

                                                                                 
<table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:40;" 
class="tabbing">     </td><td  
class="tabbing"># GMT i/o shorthand file
</td></tr></table>
<!--l. 1637--><p class="indent" >                         </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:40;" 
class="tabbing">     </td><td  
class="tabbing"># It can have any number of comment lines like this one anywhere</td></tr></table>
<!--l. 1638--><p class="indent" >                                      </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:40;" 
class="tabbing">     </td><td style="width:48;" 
class="tabbing"># suffix </td><td style="width:62;" 
class="tabbing">format_id </td><td style="width:33;" 
class="tabbing">scale </td><td style="width:37;" 
class="tabbing">offset </td><td style="width:50;" 
class="tabbing">NaN      </td><td  
class="tabbing">Comments</td></tr></table>
<!--l. 1639--><p class="indent" >                                   </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:40;" 
class="tabbing">     </td><td style="width:48;" 
class="tabbing">grd        </td><td style="width:62;" 
class="tabbing">nf             </td><td style="width:33;" 
class="tabbing">-        </td><td style="width:37;" 
class="tabbing">-         </td><td style="width:50;" 
class="tabbing">-            </td><td  
class="tabbing">Default format</td></tr></table>
<!--l. 1640--><p class="indent" >                               </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:40;" 
class="tabbing">     </td><td style="width:48;" 
class="tabbing">b           </td><td style="width:62;" 
class="tabbing">bf             </td><td style="width:33;" 
class="tabbing">-        </td><td style="width:37;" 
class="tabbing">-         </td><td style="width:50;" 
class="tabbing">-            </td><td  
class="tabbing">Native binary floats</td></tr></table>
<!--l. 1641--><p class="indent" >                      </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:40;" 
class="tabbing">     </td><td style="width:48;" 
class="tabbing">i2          </td><td style="width:62;" 
class="tabbing">bs             </td><td style="width:33;" 
class="tabbing">-        </td><td style="width:37;" 
class="tabbing">-         </td><td style="width:50;" 
class="tabbing">32767    </td><td  
class="tabbing">2-byte integers with NaN value</td></tr></table>
<!--l. 1642--><p class="indent" >                                   </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:40;" 
class="tabbing">     </td><td style="width:48;" 
class="tabbing">ras        </td><td style="width:62;" 
class="tabbing">rb             </td><td style="width:33;" 
class="tabbing">-        </td><td style="width:37;" 
class="tabbing">-         </td><td style="width:50;" 
class="tabbing">-            </td><td  
class="tabbing">Sun raster files</td></tr></table>
<!--l. 1643--><p class="indent" >                          </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:40;" 
class="tabbing">     </td><td style="width:48;" 
class="tabbing">byte      </td><td style="width:62;" 
class="tabbing">bb             </td><td style="width:33;" 
class="tabbing">-        </td><td style="width:37;" 
class="tabbing">-         </td><td style="width:50;" 
class="tabbing">255        </td><td  
class="tabbing">Native binary 1-byte grids</td></tr></table>
<!--l. 1644--><p class="indent" >                           </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:40;" 
class="tabbing">     </td><td style="width:48;" 
class="tabbing">bit         </td><td style="width:62;" 
class="tabbing">bm            </td><td style="width:33;" 
class="tabbing">-        </td><td style="width:37;" 
class="tabbing">-         </td><td style="width:50;" 
class="tabbing">-            </td><td  
class="tabbing">Native binary 0 or 1 grids</td></tr></table>
<!--l. 1645--><p class="indent" >                       </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:40;" 
class="tabbing">     </td><td style="width:48;" 
class="tabbing">mask     </td><td style="width:62;" 
class="tabbing">bm            </td><td style="width:33;" 
class="tabbing">-        </td><td style="width:37;" 
class="tabbing">-         </td><td style="width:50;" 
class="tabbing">0            </td><td  
class="tabbing">Native binary 1 or NaN masks</td></tr></table>
<!--l. 1646--><p class="indent" >                    </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:40;" 
class="tabbing">     </td><td style="width:48;" 
class="tabbing">faa        </td><td style="width:62;" 
class="tabbing">bs             </td><td style="width:33;" 
class="tabbing">0.1    </td><td style="width:37;" 
class="tabbing">-         </td><td style="width:50;" 
class="tabbing">32767    </td><td  
class="tabbing">Native binary gravity in 0.1 mGal</td></tr></table>
<!--l. 1648--><p class="indent" >
</p><!--l. 1650--><p class="indent" >   These suffices can be anything that makes sense to the user. To activate this mechanism, set parameter
<span 
class="ptmb8t-">GRIDFILE_SHORTHAND </span>to TRUE in your <span class="underline">.gmtdefaults4</span> file. Then, using the filename <span class="underline">stuff.i2</span> is equivalent to
saying <span class="underline">stuff.i2=bs/1/0/32767</span>, and the filename <span class="underline">wet.mask</span> means wet.mask=bm/1/0/0. For a file intended for
masking, i.e., the nodes are either 1 or NaN, the bit or mask format file may be as small as 1/32 the size of the
corresponding grid float format file. <a 
 id="dx1-79026"></a>
</p>
   <h3 class="sectionHead"><span class="titlemark">4.18    </span> <a 
 id="x1-800004.18"></a>Options for COARDS-compliant netCDF files</h3>
<a 
 id="dx1-80001"></a>
<a 
 id="dx1-80002"></a>
<!--l. 1665--><p class="noindent" >When the netCDF file contains more than one 2-dimensional variable, <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;programs will load the first such
variable in the file and ignore all others. Alternatively, the user can select the required variable by adding the suffix
&#8220;?<span 
class="ptmri8t-">varname</span>&#8221; to the file name. For example, to get information on the variable &#8220;slp&#8221; in file <span class="underline">file.nc</span>,
use:
                                                                                 

                                                                                 
</p>
   <div class="verbatim" id="verbatim-1">
grdinfo&#x00A0;~file.nc?slp~
</div>
<!--l. 1672--><p class="nopar" >Since COARDS-compliant netCDF files are the default, the additional suffix &#8220;=nf&#8221; can be omitted.
</p><!--l. 1675--><p class="indent" >   In case the named variable is 3-dimensional, <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;will load the first (bottom) layer. If another layer is
required, either add &#8220;[<span 
class="ptmri8t-">index</span>]&#8221; or &#8220;(<span 
class="ptmri8t-">level</span>)&#8221;, where <span 
class="ptmri8t-">index </span>is the index of the third (depth) variable (starting at 0 for the
first layer) and <span 
class="ptmri8t-">level </span>is the numerical value of the third (depth) variable associated with the requested layer. To
indicate the second layer of the 3-D variable &#8220;slp&#8221; use as file name: <span class="underline">file.nc?slp[1]</span>.
</p><!--l. 1681--><p class="indent" >   When you supply the numerical value for the third variable using &#8220;(<span 
class="ptmri8t-">level</span>)&#8221;, <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;will pick the layer closest to
that value. No interpolation is performed.
</p><!--l. 1684--><p class="indent" >   Note that the question mark, brackets and parentheses have special meanings on Unix-based platforms.
Therefore, you will need to either <span 
class="ptmri8t-">escape </span>these characters, by placing a backslash in front of them, or place the
whole file name plus modifiers between single quotes or double quotes.
</p><!--l. 1688--><p class="indent" >   A similar approach is followed for loading 4-dimensional grids. Consider a 4-dimensional grid with the
following variables:
                                                                                 

                                                                                 
</p>
   <div class="verbatim" id="verbatim-2">
lat(lat):&#x00A0;0,&#x00A0;1,&#x00A0;2,&#x00A0;3,&#x00A0;4,&#x00A0;5,&#x00A0;6,&#x00A0;7,&#x00A0;8,&#x00A0;9
&#x00A0;<br />lon(lon):&#x00A0;0,&#x00A0;1,&#x00A0;2,&#x00A0;3,&#x00A0;4,&#x00A0;5,&#x00A0;6,&#x00A0;7,&#x00A0;8,&#x00A0;9
&#x00A0;<br />depth(depth):&#x00A0;0,&#x00A0;10,&#x00A0;20,&#x00A0;30,&#x00A0;40,&#x00A0;50,&#x00A0;60,&#x00A0;70,&#x00A0;80,&#x00A0;90
&#x00A0;<br />time(time):&#x00A0;0,&#x00A0;12,&#x00A0;24,&#x00A0;36,&#x00A0;48
&#x00A0;<br />pressure(time,depth,lat,lon):&#x00A0;(5000&#x00A0;values)
</div>
<!--l. 1696--><p class="nopar" >To get information on the 10<!--l. 1697--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-bin">&#x00D7;</mo></math>10
grid of pressure at depth 10 and at time 24, one would use:
                                                                                 

                                                                                 
</p>
   <div class="verbatim" id="verbatim-3">
grdinfo&#x00A0;~file.nc?pressure[2,1]~
</div>
<!--l. 1700--><p class="nopar" >or (only in case the coordinates increase linearly):
                                                                                 

                                                                                 
</p>
   <div class="verbatim" id="verbatim-4">
grdinfo&#x00A0;~file.nc?pressure(24,10)~
</div>
<!--l. 1704--><p class="nopar" >
</p><!--l. 1706--><p class="indent" >   The COARDS conventions set restrictions on the names that can be used for the units of the variables and
coordinates. For example, the units of longitude and latitude are &#8220;degrees_east&#8221; and &#8220;degrees_north&#8221;,
respectively. Here is an example of the header of a COARDS compliant netCDF file (to be obtained using
<span 
class="ptmbo8t-">ncdump</span><a 
 id="dx1-80003"></a>):
                                                                                 

                                                                                 
</p>
   <div class="verbatim" id="verbatim-5">
netcdf&#x00A0;M2_fes2004&#x00A0;{
&#x00A0;<br />dimensions:
&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;lon&#x00A0;=&#x00A0;2881&#x00A0;;
&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;lat&#x00A0;=&#x00A0;1441&#x00A0;;
&#x00A0;<br />variables:
&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;float&#x00A0;lon(lon)&#x00A0;;
&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;lon:long_name&#x00A0;=&#x00A0;~longitude~&#x00A0;;
&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;lon:units&#x00A0;=&#x00A0;~degrees_east~&#x00A0;;
&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;lon:actual_range&#x00A0;=&#x00A0;0.,&#x00A0;360.&#x00A0;;
&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;float&#x00A0;lat(lat)&#x00A0;;
&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;lat:long_name&#x00A0;=&#x00A0;~latitude~&#x00A0;;
&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;lat:units&#x00A0;=&#x00A0;~degrees_north~&#x00A0;;
&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;lat:actual_range&#x00A0;=&#x00A0;-90.,&#x00A0;90.&#x00A0;;
&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;short&#x00A0;amp(lat,&#x00A0;lon)&#x00A0;;
&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;amp:long_name&#x00A0;=&#x00A0;~amplitude~&#x00A0;;
&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;amp:unit&#x00A0;=&#x00A0;~m~&#x00A0;;
&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;amp:scale_factor&#x00A0;=&#x00A0;0.0001&#x00A0;;
&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;amp:add_offset&#x00A0;=&#x00A0;3.&#x00A0;;
&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;amp:_FillValue&#x00A0;=&#x00A0;-32768s&#x00A0;;
&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;short&#x00A0;pha(lat,&#x00A0;lon)&#x00A0;;
&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;pha:long_name&#x00A0;=&#x00A0;~phase~&#x00A0;;
&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;pha:unit&#x00A0;=&#x00A0;~degrees~&#x00A0;;
&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;pha:scale_factor&#x00A0;=&#x00A0;0.01&#x00A0;;
&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;pha:_FillValue&#x00A0;=&#x00A0;-32768s&#x00A0;;
</div>
<!--l. 1735--><p class="nopar" >This file contains two grids, which can be plotted separately using the names <span class="underline">M2_fes2004.nc?amp</span> and
<span class="underline">M2_fes2004.nc?pha</span>. The attributes <span class="obeylines-h"><span class="verb"><span 
class="pcrr8t-">long_name</span></span></span> and <span class="obeylines-h"><span class="verb"><span 
class="pcrr8t-">unit</span></span></span> for each variable are combined in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;to a single
unit string. For example, after reading the grid <span class="obeylines-h"><span class="verb"><span 
class="pcrr8t-">y_unit</span></span></span> equals <span class="obeylines-h"><span class="verb"><span 
class="pcrr8t-">latitude</span><span 
class="pcrr8t-">&#x00A0;[degrees_north]</span></span></span>. The same
method can be used in reverse to set the proper variable names and units when writing a grid. However, when the
coordinates are set properly as geographical or time axes, <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;will take care of this. The user is,
however, still responsible for setting the variable name and unit of the z-coordinate. The default is simply
&#8220;z&#8221;.
<a 
 id="dx1-80004"></a>
<a 
 id="dx1-80005"></a>
</p><!--l. 1747--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">4.19    </span> <a 
 id="x1-810004.19"></a>The NaN data value</h3>
<a 
 id="dx1-81001"></a>
<a 
 id="dx1-81002"></a>
<!--l. 1751--><p class="noindent" >For a variety of data processing and plotting tasks there is a need to acknowledge that a data point is missing or
unassigned. In the &#8220;old days&#8221; such information was passed by letting a value like -9999.99 take on the special
meaning of &#8220;this is not really a value, it is missing&#8221;. The problem with this scheme is that -9999.99 (or any
other floating point value) may be a perfectly reasonable data value and in such a scenario would be
skipped. The solution adopted in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;is to use the IEEE concept Not-a-Number (NaN) for this
purpose. Mathematically, a NaN is what you get if you do an undefined mathematical operation like
<!--l. 1758--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mn>0</mn><mo 
class="MathClass-bin">&#x2215;</mo><mn>0</mn></math>; in
ASCII data files they appear as the textstring NaN. This value is internally stored with a particular bit pattern
                                                                                 

                                                                                 
defined by IEEE so that special action can be taken when it is encountered by programs. In particular, a library
function called <span 
class="pcrr8t-">isnan </span>is used to test if a floating point is a NaN. <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;uses these tests extensively to determine if
a value is suitable for plotting or processing (if a NaN is used in a calculation the result would become NaN as
well). Data points whose values equal NaN are not normally plotted (or plotted with the special NaN color given in
<span class="underline">.gmtdefaults4</span>). Several tools such as <a 
href="../html/man/xyz2grd.html" ><span 
class="phvb8t-">xyz2grd</span></a><a 
 id="dx1-81003"></a>, <a 
href="../html/man/gmtmath.html" ><span 
class="phvb8t-">gmtmath</span></a><a 
 id="dx1-81004"></a>, and <a 
href="../html/man/grdmath.html" ><span 
class="phvb8t-">grdmath</span></a><a 
 id="dx1-81005"></a> can convert user data to
NaN and vice versa, thus facilitating arbitrary masking and clipping of data sets. Note that a few
computers do not have native IEEE hardware support. At this point, this applies to some of the older Cray
super-computers. Users on such machines may have to adopt the old &#8216;-9999.99&#8221; scheme to achieve the desired
results.
</p><!--l. 1771--><p class="indent" >   Data records that contain NaN values for the <span 
class="ptmri8t-">x </span>or <span 
class="ptmri8t-">y </span>columns (or the <span 
class="ptmri8t-">z </span>column for cases when 3-D Cartesian
data are expected) are usually skipped during reading. However, the presence of these bad records
can be interpreted in two different ways, and this behavior is controlled by the <span 
class="ptmb8t-">NAN_RECORDS</span>
defaults parameter. The default setting (<span 
class="ptmri8t-">gap</span>) considers such records to indicate a gap in an otherwise
continuous series of points (e.g., a line), and programs can act upon this information, e.g., not to
draw a line across the gap or to break the line into separate segments. The alternative setting (<span 
class="ptmri8t-">bad</span>)
makes no such interpretation and simply reports back how many bad records were skipped during
reading.
</p><!--l. 1780--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">4.20    </span> <a 
 id="x1-820004.20"></a><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;environment parameters</h3>
<a 
 id="dx1-82001"></a>
<!--l. 1783--><p class="noindent" ><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;relies on several environment parameters, in particular to find data files and program settings.
   </p><dl class="description"><dt class="description">
<span 
class="ptmb8t-">$GMT_SHAREDIR</span> </dt><dd 
class="description">points  to  the  <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;share  directory  where  all  run-time  support  files  such  as
   coastlines, custom symbols, <span 
class="ptmri8t-">PostScript</span>&#x00A0;macros, color tables, and much more reside. If this parameter is
   not set it defaults to the share sub-directory selected during the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;install process (e.g., your answer
   to question C.9 on the web install form). If no selection was made the ultimate default is the share
   directory under the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;installation directory.
   </dd><dt class="description">
<span 
class="ptmb8t-">$GMT_DATADIR</span> </dt><dd 
class="description">points to one or more directory where large and/or widely used data files can be placed.
   All <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;programs look in this directories when a file is specified on the command line and it is not
   present in the current directory. This allows maintainers to consolidate large data files and to simplify
   scripting that use these files since the absolute path need not be specified. Separate multiple directories
   with colons; under Windows you use semi-colons.
   </dd><dt class="description">
<span 
class="ptmb8t-">$GMT_USERDIR</span> </dt><dd 
class="description">points to a directory where the user may place custom configuration files (e.g., an
   alternate  <span class="underline">coastline.conf</span>  file,  preferred  default  settings  in  <span class="underline">.gmtdefaults4</span>,  custom  symbols  and  color
   palettes,  and  shorthands  for  gridfile  extensions  via  <span class="underline">.gmt_io</span>).  Users  may  also  place  their  own  data
   files  in  this  directory  as  <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;programs  will  search  for  files  given  on  the  command  line  in  both
   <span 
class="ptmb8t-">$GMT_DATADIR </span>and <span 
class="ptmb8t-">$GMT_USERDIR</span>.
   </dd><dt class="description">
<span 
class="ptmb8t-">$GMT_TMPDIR</span> </dt><dd 
class="description">is  where  <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;will  write  its  state  parameters  via  the  three  files  <span class="underline">.gmtcommands4</span>,
   <span class="underline">.gmtdefaults4</span>  and  <span class="underline">.gmt_bb_info</span>.  If  not  set  then  these  files  are  written  to  the  current  directory.  See
   Appendix&#x00A0;<a 
href="#x1-260000P">P<!--tex4ht:ref: app:P --></a> for more on the use of <span 
class="ptmb8t-">$GMT_TMPDIR</span>.</dd></dl>
                                                                                 

                                                                                 
                                                                                 

                                                                                 
                                                                                 

                                                                                 
   <h2 class="chapterHead"><span class="titlemark">Chapter&#x00A0;5</span><br /><a 
 id="x1-830005"></a><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;Coordinate Transformations</h2>
<!--l. 13--><p class="noindent" ><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;programs read real-world coordinates and convert them to positions on a plot. This is achieved by selecting
one of several coordinate transformations or projections. We distinguish between three sets of such
conversions:
</p>
   <ul class="itemize1">
   <li class="itemize">Cartesian coordinate transformations
   </li>
   <li class="itemize">Polar coordinate transformations
   </li>
   <li class="itemize">Map coordinate transformations</li></ul>
<!--l. 23--><p class="indent" >   The next chapter will be dedicated to <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;map projections in its entirety. Meanwhile, the present chapter will
summarize the properties of the Cartesian and Polar coordinate transformations available in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>, list which
parameters define them, and demonstrate how they are used to create simple plot axes. We will mostly be using
<a 
href="../html/man/psbasemap.html" ><span 
class="phvb8t-">psbasemap</span></a><a 
 id="dx1-83001"></a> (and occasionally <a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-83002"></a>) to demonstrate the various transformations. Our illustrations
may differ from those you reproduce with the same commands because of different settings in our
<span class="underline">.gmtdefaults4</span> file.) Finally, note that while we will specify dimensions in inches (by appending <span 
class="ptmb8t-">i</span>),
you may want to use cm (<span 
class="ptmb8t-">c</span>), meters (<span 
class="ptmb8t-">m</span>), or points (<span 
class="ptmb8t-">p</span>) as unit instead (see the <a 
href="../html/man/gmtdefaults.html" ><span 
class="phvb8t-">gmtdefaults</span></a><a 
 id="dx1-83003"></a> man
page).
</p>
   <h3 class="sectionHead"><span class="titlemark">5.1    </span> <a 
 id="x1-840005.1"></a>Cartesian transformations</h3>
<a 
 id="dx1-84001"></a>
<a 
 id="dx1-84002"></a>
<!--l. 36--><p class="noindent" ><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;Cartesian coordinate transformations come in three flavors:
</p>
   <ul class="itemize1">
   <li class="itemize">Linear coordinate transformation
   </li>
   <li class="itemize">Log<!--l. 40--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mn>1</mn><mn>0</mn></mrow></msub 
></math>
   coordinate transformation
   </li>
   <li class="itemize">Power (exponential) coordinate transformation</li></ul>
<!--l. 44--><p class="indent" >   These transformations convert input coordinates <!--l. 44--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi><mo 
class="MathClass-punc">,</mo><mi 
>y</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></math>
to locations <!--l. 44--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mrow ><mo 
class="MathClass-open">(</mo><mrow><msup><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>&#x2032;</mi></mrow></msup 
><mo 
class="MathClass-punc">,</mo><msup><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>&#x2032;</mi></mrow></msup 
></mrow><mo 
class="MathClass-close">)</mo></mrow></math> on a plot. There
is no coupling between <!--l. 45--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi></math>
and <!--l. 45--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>y</mi></math>
(i.e., <!--l. 45--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msup><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>&#x2032;</mi></mrow></msup 
> <mo 
class="MathClass-rel">=</mo> <mi 
>f</mi><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></math>
and <!--l. 45--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msup><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>&#x2032;</mi></mrow></msup 
> <mo 
class="MathClass-rel">=</mo> <mi 
>f</mi><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>y</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></math>);
it is a <span 
class="ptmb8t-">one-dimensional </span>projection. Hence, we may use separate transformations for the
<!--l. 47--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi></math>- and
<!--l. 47--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>y</mi></math>-axes (and
<!--l. 47--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi></math>-axes for 3-D plots). Below,
we will use the expression <!--l. 48--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msup><mrow 
><mi 
>u</mi></mrow><mrow 
><mi 
>&#x2032;</mi></mrow></msup 
> <mo 
class="MathClass-rel">=</mo> <mi 
>f</mi><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>u</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></math>,
where <!--l. 48--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>u</mi></math> is
either <!--l. 48--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi></math> or
<!--l. 48--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>y</mi></math> (or
<!--l. 48--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi></math> for 3-D plots). The coefficients
                                                                                 

                                                                                 
in <!--l. 49--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>f</mi><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>u</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></math> depend on the desired plot
size (or scale), the chosen <!--l. 50--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi><mo 
class="MathClass-punc">,</mo><mi 
>y</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></math>
domain, and the nature of <!--l. 50--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>f</mi></math>
itself.
</p><!--l. 53--><p class="indent" >   Two subsets of linear will be discussed separately; these are a polar (cylindrical) projection
and a linear projection applied to geographic coordinates (with a 360<span 
class="ptmr8c-">°</span>&#x00A0;periodicity in the
<!--l. 55--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi></math>-coordinate).
We will show examples of all of these projections using dummy data sets created with <a 
href="../html/man/gmtmath.html" ><span 
class="phvb8t-">gmtmath</span></a><a 
 id="dx1-84003"></a>, a &#8220;Reverse
Polish Notation&#8221; (RPN) calculator that operates on or creates table data:
<a 
 id="dx1-84004"></a>
<a 
 id="dx1-84005"></a>
</p><!--l. 62--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput"></div>
<!--l. 66--><p class="noindent" >
</p>
   <h4 class="subsectionHead"><span class="titlemark">5.1.1    </span> <a 
 id="x1-850005.1.1"></a>Cartesian linear transformation (<span 
class="pcrb8t-">-Jx-JX</span>)</h4>
<a 
 id="dx1-85001"></a>
<a 
 id="dx1-85002"></a>
<a 
 id="dx1-85003"></a>
<a 
 id="dx1-85004"></a>
<a 
 id="dx1-85005"></a>
<a 
 id="dx1-85006"></a>
<!--l. 74--><p class="noindent" >There are in fact three different uses of the Cartesian linear transformation, each associated with specific
command line options. The different manifestations result from specific properties of three kinds of
data:
</p><!--l. 78--><p class="indent" >
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-85008x1">Regular floating point coordinates
   </li>
   <li 
  class="enumerate" id="x1-85010x2">Geographic coordinates
   </li>
   <li 
  class="enumerate" id="x1-85012x3">Calendar time coordinates</li></ol>
<!--l. 84--><p class="noindent" >
</p>
   <h5 class="subsubsectionHead"><a 
 id="x1-860005.1.1"></a>Regular floating point coordinates</h5>
<!--l. 86--><p class="noindent" >Selection of the Cartesian linear transformation with regular floating point coordinates will result in a simple linear
scaling <!--l. 87--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msup><mrow 
><mi 
>u</mi></mrow><mrow 
><mi 
>&#x2032;</mi></mrow></msup 
> <mo 
class="MathClass-rel">=</mo> <mi 
>a</mi><mi 
>u</mi><mo 
class="MathClass-bin">+</mo><mi 
>b</mi></math>
of the input coordinates. The projection is defined by stating
</p>
   <ul class="itemize1">
   <li class="itemize">scale in inches/unit (<span 
class="pcrb8t-">-Jx</span>) or axis length in inches (<span 
class="pcrb8t-">-JX</span>)</li></ul>
<!--l. 94--><p class="indent" >   If the <span 
class="ptmri8t-">y</span>-scale or <span 
class="ptmri8t-">y</span>-axis length is different from that of the <span 
class="ptmri8t-">x</span>-axis (which is most often the
case), separate the two scales (or lengths) by a slash, e.g., <span 
class="pcrb8t-">-Jx</span>0.1i/0.5i or <span 
class="pcrb8t-">-JX</span>8i/5i. Thus, our
<!--l. 97--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>y</mi> <mo 
class="MathClass-rel">=</mo> <msqrt><mrow><mi 
>x</mi></mrow></msqrt></math> data sets
will plot as shown in Figure&#x00A0;<a 
href="#x1-86001r1">5.1<!--tex4ht:ref: fig:GMT_linear --></a>.
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-86001r1"></a>
                                                                                 

                                                                                 

<!--l. 99--><p class="noindent" ><img 
src="images/GMT_linear.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;5.1: </span><span  
class="content">Linear transformation of Cartesian coordinates.</span></div><!--tex4ht:label?: x1-86001r1 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 101--><p class="indent" >   The complete commands given to produce this plot were
</p><!--l. 103--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R0/100/0/10</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX3i/1.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ba20f10g10/a2f1g2WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthick,-</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;sqrt.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_linear.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-St0.075i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-W</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;sqrt.d10</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_linear.ps</span>
   </div>__________________________________________________________________________________________________
<a 
 id="dx1-86002"></a><a 
 id="dx1-86003"></a>
<!--l. 107--><p class="noindent" >Normally, the user&#8217;s <span 
class="ptmri8t-">x</span>-values will increase to the right and the <span 
class="ptmri8t-">y</span>-values will increase upwards. It should be noted
that in many situations it is desirable to have the direction of positive coordinates be reversed. For example, when
plotting depth on the <span 
class="ptmri8t-">y</span>-axis it makes more sense to have the positive direction downwards. All that is required to
reverse the sense of positive direction is to supply a negative scale (or axis length). Finally, sometimes it is
convenient to specify the width (or height) of a map and let the other dimension be computed based on the
implied scale and the range of the other axis. To do this, simply specify the length to be recomputed as
0.
</p>
   <h5 class="subsubsectionHead"><a 
 id="x1-870005.1.1"></a>Geographic coordinates</h5>
<a 
 id="dx1-87001"></a>
<a 
 id="dx1-87002"></a>
<a 
 id="dx1-87003"></a>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-87004r2"></a>
                                                                                 

                                                                                 

<!--l. 126--><p class="noindent" ><img 
src="images/GMT_linear_d.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;5.2: </span><span  
class="content">Linear transformation of map coordinates.</span></div><!--tex4ht:label?: x1-87004r2 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 128--><p class="indent" >   While the Cartesian linear projection is primarily designed for regular floating point <span 
class="ptmri8t-">x</span>,<span 
class="ptmri8t-">y </span>data, it is sometimes
necessary to plot geographical data in a linear projection. This poses a problem since longitudes have a
360<span 
class="ptmr8c-">°</span>&#x00A0;periodicity. <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;therefore needs to be informed that it has been given geographical coordinates even
though a linear transformation has been chosen. We do so by adding a <span 
class="ptmb8t-">g </span>(for geographical) or <span 
class="ptmb8t-">d </span>(for degrees)
directly after <span 
class="pcrb8t-">-R </span>or by appending a <span 
class="ptmb8t-">g </span>or <span 
class="ptmb8t-">d </span>to the end of the <span 
class="pcrb8t-">-Jx </span>(or <span 
class="pcrb8t-">-JX</span>) option. As an example, we want to plot a
crude world map centered on 125<span 
class="ptmr8c-">°</span>E. Our command will be
</p><!--l. 138--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;GRID_CROSS_SIZE_PRIMARY</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;BASEMAP_TYPE</span><span 
class="pcrr8t-x-x-70">&#x00A0;FANCY</span><span 
class="pcrr8t-x-x-70">&#x00A0;PLOT_DEGREE_FORMAT</span><span 
class="pcrr8t-x-x-70">&#x00A0;ddd:mm:ssF</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rg-55/305/-90/90</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx0.014i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B60g30f15/30g30f15WSen</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A1000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_linear_d.ps</span>
   </div>__________________________________________________________________________________________________
<!--l. 140--><p class="noindent" >with the result reproduced in Figure&#x00A0;<a 
href="#x1-87004r2">5.2<!--tex4ht:ref: fig:GMT_linear_d --></a>. <a 
 id="dx1-87005"></a><a 
 id="dx1-87006"></a> <a 
 id="dx1-87007"></a>
</p>
   <h5 class="subsubsectionHead"><a 
 id="x1-880005.1.1"></a>Calendar time coordinates</h5>
<a 
 id="dx1-88001"></a>
<a 
 id="dx1-88002"></a>
<a 
 id="dx1-88003"></a>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-88004r3"></a>
                                                                                 

                                                                                 

<!--l. 152--><p class="noindent" ><img 
src="images/GMT_linear_cal.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;5.3: </span><span  
class="content">Linear transformation of calendar coordinates.</span></div><!--tex4ht:label?: x1-88004r3 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 154--><p class="indent" >   Several particular issues arise when we seek to make linear plots using calendar date/time as the input
coordinates. As far as setting up the coordinate transformation we must indicate whether our input data have
absolute time coordinates or relative time coordinates. For the former we append <span 
class="ptmb8t-">T </span>after the axis scale (or width),
while for the latter we append <span 
class="ptmb8t-">t </span>at the end of the <span 
class="pcrb8t-">-Jx </span>(or <span 
class="pcrb8t-">-JX</span>) option. However, other command line arguments
(like the <span 
class="pcrb8t-">-R </span>option) may already specify whether the time coordinate is absolute or relative. An absolute time entry
must be given as [<span 
class="ptmri8t-">date</span>]<span 
class="ptmb8t-">T</span>[<span 
class="ptmri8t-">clock</span>] (with <span 
class="ptmri8t-">date </span>given as <span 
class="ptmri8t-">yyyy</span>[-<span 
class="ptmri8t-">mm</span>[-<span 
class="ptmri8t-">dd</span>]], <span 
class="ptmri8t-">yyyy</span>[-<span 
class="ptmri8t-">jjj</span>], or <span 
class="ptmri8t-">yyyy</span>[-<span 
class="ptmb8t-">W</span><span 
class="ptmri8t-">ww</span>[-<span 
class="ptmri8t-">d</span>]], and <span 
class="ptmri8t-">clock </span>using
the <span 
class="ptmri8t-">hh</span>[:<span 
class="ptmri8t-">mm</span>[:<span 
class="ptmri8t-">ss</span>[<span 
class="ptmri8t-">.xxx</span>]]] 24-hour clock format) whereas the relative time is simply given as the units of time
since the epoch followed by <span 
class="ptmb8t-">t </span>(see <span 
class="ptmb8t-">TIME_UNIT </span>and <span 
class="ptmb8t-">TIME_EPOCH </span>for information on specifying
the time unit and the epoch). As a simple example, we will make a plot of a school week calendar
(Figure&#x00A0;<a 
href="#x1-88004r3">5.3<!--tex4ht:ref: fig:GMT_linear_cal --></a>).
</p><!--l. 168--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;PLOT_DATE_FORMAT</span><span 
class="pcrr8t-x-x-70">&#x00A0;o</span><span 
class="pcrr8t-x-x-70">&#x00A0;TIME_WEEK_START</span><span 
class="pcrr8t-x-x-70">&#x00A0;Sunday</span><span 
class="pcrr8t-x-x-70">&#x00A0;PLOT_CLOCK_FORMAT</span><span 
class="pcrr8t-x-x-70">&#x00A0;-hham</span><span 
class="pcrr8t-x-x-70">&#x00A0;TIME_FORMAT_PRIMARY</span><span 
class="pcrr8t-x-x-70">&#x00A0;full</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psbasemap</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R2001-9-24T/2001-9-29T/T07:0/T15:0</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX4i/-2i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ba1Kf1kg1d/a1Hg1hWsNe</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_linear_cal.ps</span>
   </div>__________________________________________________________________________________________________
<!--l. 170--><p class="indent" >   When the coordinate ranges provided by the <span 
class="pcrb8t-">-R </span>option and the projection type given by <span 
class="pcrb8t-">-JX </span>(including the
optional <span 
class="ptmb8t-">d</span>, <span 
class="ptmb8t-">g</span>, <span 
class="ptmb8t-">t </span>or <span 
class="ptmb8t-">T</span>) conflict, <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;will warn the users about it. In general, the options provided with <span 
class="pcrb8t-">-JX </span>will
prevail.
<a 
 id="dx1-88005"></a>
<a 
 id="dx1-88006"></a>
<a 
 id="dx1-88007"></a>
<a 
 id="dx1-88008"></a>
<a 
 id="dx1-88009"></a>
<a 
 id="dx1-88010"></a>
<a 
 id="dx1-88011"></a>
<a 
 id="dx1-88012"></a>
</p>
   <h4 class="subsectionHead"><span class="titlemark">5.1.2    </span> <a 
 id="x1-890005.1.2"></a>Cartesian logarithmic projection</h4>
<a 
 id="dx1-89001"></a>
<a 
 id="dx1-89002"></a>
<a 
 id="dx1-89003"></a>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-89004r4"></a>
                                                                                 

                                                                                 

<!--l. 191--><p class="noindent" ><img 
src="images/GMT_log.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;5.4: </span><span  
class="content">Logarithmic transformation of <!--l. 191--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi></math>-coordinates.</span></div><!--tex4ht:label?: x1-89004r4 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 193--><p class="indent" >   The log<!--l. 193--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mn>1</mn><mn>0</mn></mrow></msub 
></math>
transformation is simply <!--l. 193--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msup><mrow 
><mi 
>u</mi></mrow><mrow 
><mi 
>&#x2032;</mi></mrow></msup 
> <mo 
class="MathClass-rel">=</mo> <mi 
>a</mi><msub><mrow 
><mo 
class="MathClass-op">log</mo><!--nolimits--></mrow><mrow 
><mn>1</mn><mn>0</mn></mrow></msub 
><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>u</mi></mrow><mo 
class="MathClass-close">)</mo></mrow><mo 
class="MathClass-bin">+</mo><mi 
>b</mi></math>
and is selected by appending an <span 
class="ptmb8t-">l </span>(lower case L) immediately following the scale (or axis length) value. Hence, to
produce a plot in which the <span 
class="ptmri8t-">x</span>-axis is logarithmic (the <span 
class="ptmri8t-">y</span>-axis remains linear, i.e., a semi-log plot),
try
</p><!--l. 198--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R1/100/0/10</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx1.5il/0.15i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B2g3/a2f1g2WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthick,-</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-H</span><span 
class="pcrr8t-x-x-70">&#x00A0;sqrt.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_log.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ss0.075i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;-W</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-H</span><span 
class="pcrr8t-x-x-70">&#x00A0;sqrt.d10</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_log.ps</span>
   </div>__________________________________________________________________________________________________
<!--l. 200--><p class="indent" >   Note  that  if  <span 
class="ptmri8t-">x</span>-  and  <span 
class="ptmri8t-">y</span>-scaling  are  different  and  a
log<!--l. 201--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mn>1</mn><mn>0</mn></mrow></msub 
></math>-log<!--l. 201--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mn>1</mn><mn>0</mn></mrow></msub 
></math>
plot is desired, the <span 
class="ptmb8t-">l </span>must be appended twice: Once after the <span 
class="ptmri8t-">x</span>-scale (before the /) and once after the <span 
class="ptmri8t-">y</span>-scale. <a 
 id="dx1-89005"></a><a 
 id="dx1-89006"></a>
<a 
 id="dx1-89007"></a>
</p>
   <h4 class="subsectionHead"><span class="titlemark">5.1.3    </span> <a 
 id="x1-900005.1.3"></a>Cartesian power projection</h4>
<a 
 id="dx1-90001"></a>
<a 
 id="dx1-90002"></a>
<a 
 id="dx1-90003"></a>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-90004r5"></a>
                                                                                 

                                                                                 

<!--l. 215--><p class="noindent" ><img 
src="images/GMT_pow.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;5.5: </span><span  
class="content">Exponential or power transformation of <!--l. 215--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi></math>-coordinates.</span></div><!--tex4ht:label?: x1-90004r5 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 217--><p class="indent" >   This projection uses <!--l. 217--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msup><mrow 
><mi 
>u</mi></mrow><mrow 
><mi 
>&#x2032;</mi></mrow></msup 
> <mo 
class="MathClass-rel">=</mo> <mi 
>a</mi><msup><mrow 
><mi 
>u</mi></mrow><mrow 
><mi 
>b</mi></mrow></msup 
><mo 
class="MathClass-bin">+</mo><mi 
>c</mi></math> and allows us to
explore exponential relationships like <span 
class="ptmri8t-">x</span><!--l. 217--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msup><mrow 
></mrow><mrow 
><mi 
>p</mi></mrow></msup 
></math>
versus <span 
class="ptmri8t-">y</span><!--l. 217--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msup><mrow 
></mrow><mrow 
><mi 
>q</mi></mrow></msup 
></math>.
While <!--l. 218--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>p</mi></math> and
<!--l. 218--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>q</mi></math> can be any values,
we will select <!--l. 218--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>p</mi> <mo 
class="MathClass-rel">=</mo> <mn>0</mn><mo 
class="MathClass-punc">.</mo><mn>5</mn></math> and
<!--l. 219--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>q</mi> <mo 
class="MathClass-rel">=</mo> <mn>1</mn></math> which means
we will plot <!--l. 219--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi></math>
versus <!--l. 219--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msqrt><mrow><mi 
>x</mi></mrow></msqrt></math>.
We indicate this scaling by appending a <span 
class="ptmb8t-">p </span>(lower case P) followed by the desired exponent, in our case 0.5. Since
<!--l. 221--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>q</mi> <mo 
class="MathClass-rel">=</mo> <mn>1</mn></math>
we do not need to specify <span 
class="ptmb8t-">p</span>1 since it is identical to the linear transformation. Thus our command
becomes
</p><!--l. 225--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R0/100/0/10</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx0.3ip0.5/0.15i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ba1p/a2f1WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthick</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;sqrt.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_pow.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sc0.075i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;-W</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;sqrt.d10</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_pow.ps</span>
   </div>_________________________________________________________________________________________________ <a 
 id="dx1-90005"></a><a 
 id="dx1-90006"></a>
<a 
 id="dx1-90007"></a><a 
 id="dx1-90008"></a>
   <h3 class="sectionHead"><span class="titlemark">5.2    </span> <a 
 id="x1-910005.2"></a>Linear projection with polar (<!--l. 233--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>&#x03B8;</mi><mo 
class="MathClass-punc">,</mo><mi 
>r</mi></math>)
coordinates (<span 
class="pcrb8t-">-Jp -JP</span>)</h3>
<a 
 id="dx1-91001"></a>
<a 
 id="dx1-91002"></a>
<a 
 id="dx1-91003"></a>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-91004r6"></a>
                                                                                 

                                                                                 

<!--l. 239--><p class="noindent" ><img 
src="images/GMT_polar.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;5.6: </span><span  
class="content">Polar (Cylindrical) transformation of (<!--l. 239--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>&#x03B8;</mi><mo 
class="MathClass-punc">,</mo><mi 
>r</mi></math>)
coordinates.</span></div><!--tex4ht:label?: x1-91004r6 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 241--><p class="indent" >   This  transformation  converts  polar  coordinates  (angle
<!--l. 241--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>&#x03B8;</mi></math> and radius
<!--l. 241--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>r</mi></math>) to positions on
a plot. Now <!--l. 242--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msup><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>&#x2032;</mi></mrow></msup 
> <mo 
class="MathClass-rel">=</mo> <mi 
>f</mi><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>&#x03B8;</mi><mo 
class="MathClass-punc">,</mo><mi 
>r</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></math> and
<!--l. 242--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msup><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>&#x2032;</mi></mrow></msup 
> <mo 
class="MathClass-rel">=</mo> <mi 
>g</mi><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>&#x03B8;</mi><mo 
class="MathClass-punc">,</mo><mi 
>r</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></math>, hence it is similar to a regular
map projection because <!--l. 243--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi></math>
and <!--l. 243--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>y</mi></math> are
coupled and <!--l. 243--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi></math>
(i.e., <!--l. 243--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>&#x03B8;</mi></math>)
has a 360<span 
class="ptmr8c-">°</span>&#x00A0;periodicity. With input and output points both in the plane it is a <span 
class="ptmb8t-">two-dimensional </span>projection. The
transformation comes in two flavors:
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-91006x1">Normally, <!--l. 248--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>&#x03B8;</mi></math>
   is   understood   to   be   directions   counter-clockwise   from   the   horizontal   axis,   but   we   may
   choose   to   specify   an   angular   offset   [whose   default   value   is   zero].   We   will   call   this   offset
   <!--l. 249--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
><mi 
>&#x03B8;</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>.
   Then, <!--l. 250--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msup><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>&#x2032;</mi></mrow></msup 
> <mo 
class="MathClass-rel">=</mo> <mi 
>f</mi><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>&#x03B8;</mi><mo 
class="MathClass-punc">,</mo><mi 
>r</mi></mrow><mo 
class="MathClass-close">)</mo></mrow> <mo 
class="MathClass-rel">=</mo> <mi 
>a</mi><mi 
>r</mi><mo 
class="MathClass-op">cos</mo><!--nolimits--><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>&#x03B8;</mi> <mo 
class="MathClass-bin">-</mo><msub><mrow 
><mi 
>&#x03B8;</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></mrow><mo 
class="MathClass-close">)</mo></mrow><mo 
class="MathClass-bin">+</mo><mi 
>b</mi></math>
   and <!--l. 250--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msup><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>&#x2032;</mi></mrow></msup 
> <mo 
class="MathClass-rel">=</mo> <mi 
>g</mi><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>&#x03B8;</mi><mo 
class="MathClass-punc">,</mo><mi 
>r</mi></mrow><mo 
class="MathClass-close">)</mo></mrow> <mo 
class="MathClass-rel">=</mo> <mi 
>a</mi><mi 
>r</mi><mo 
class="MathClass-op">sin</mo><!--nolimits--><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>&#x03B8;</mi> <mo 
class="MathClass-bin">-</mo><msub><mrow 
><mi 
>&#x03B8;</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></mrow><mo 
class="MathClass-close">)</mo></mrow><mo 
class="MathClass-bin">+</mo><mi 
>c</mi></math>.
   </li>
   <li 
  class="enumerate" id="x1-91008x2">Alternatively, <!--l. 251--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>&#x03B8;</mi></math>
   can    be    interpreted    to    be    azimuths    clockwise    from    the    vertical    axis,    yet    we    may
   again    choose    to    specify    the    angular    offset    [whose    default    value    is    zero].    Then,
   <!--l. 253--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msup><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>&#x2032;</mi></mrow></msup 
> <mo 
class="MathClass-rel">=</mo> <mi 
>f</mi><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>&#x03B8;</mi><mo 
class="MathClass-punc">,</mo><mi 
>r</mi></mrow><mo 
class="MathClass-close">)</mo></mrow> <mo 
class="MathClass-rel">=</mo> <mi 
>a</mi><mi 
>r</mi><mo 
class="MathClass-op">cos</mo><!--nolimits--><mrow ><mo 
class="MathClass-open">(</mo><mrow><mn>9</mn><mn>0</mn><mo 
class="MathClass-bin">-</mo><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>&#x03B8;</mi> <mo 
class="MathClass-bin">-</mo><msub><mrow 
><mi 
>&#x03B8;</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></mrow><mo 
class="MathClass-close">)</mo></mrow></mrow><mo 
class="MathClass-close">)</mo></mrow><mo 
class="MathClass-bin">+</mo><mi 
>b</mi></math>
   and <!--l. 253--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msup><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>&#x2032;</mi></mrow></msup 
> <mo 
class="MathClass-rel">=</mo> <mi 
>g</mi><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>&#x03B8;</mi><mo 
class="MathClass-punc">,</mo><mi 
>r</mi></mrow><mo 
class="MathClass-close">)</mo></mrow> <mo 
class="MathClass-rel">=</mo> <mi 
>a</mi><mi 
>r</mi><mo 
class="MathClass-op">sin</mo><!--nolimits--><mrow ><mo 
class="MathClass-open">(</mo><mrow><mn>9</mn><mn>0</mn><mo 
class="MathClass-bin">-</mo><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>&#x03B8;</mi> <mo 
class="MathClass-bin">-</mo><msub><mrow 
><mi 
>&#x03B8;</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></mrow><mo 
class="MathClass-close">)</mo></mrow></mrow><mo 
class="MathClass-close">)</mo></mrow><mo 
class="MathClass-bin">+</mo><mi 
>c</mi></math>.</li></ol>
<!--l. 256--><p class="indent" >   Consequently, the polar transformation is defined by providing
</p>
   <ul class="itemize1">
   <li class="itemize">scale in inches/unit (<span 
class="pcrb8t-">-Jp</span>) or full width of plot in inches (<span 
class="pcrb8t-">-JP</span>)
   </li>
   <li class="itemize">Optionally, insert <span 
class="ptmb8t-">a </span>after <span 
class="ptmb8t-">p</span><!--l. 260--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">P</span>
   to indicate CW azimuths rather than CCW directions
   </li>
   <li class="itemize">Optionally, append /<!--l. 261--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>o</mi><mi 
>r</mi><mi 
>i</mi><mi 
>g</mi><mi 
>i</mi><mi 
>n</mi></math>
   in degrees to indicate an angular offset [0]
   </li>
   <li class="itemize">Optionally,  append  <span 
class="ptmb8t-">r  </span>to  reverse  the  radial  direction  (here,  <span 
class="ptmri8t-">south  </span>and  <span 
class="ptmri8t-">north  </span>must  be  elevations  in
   0&#8211;90<span 
class="ptmr8c-">°</span>&#x00A0;range).
   </li>
   <li class="itemize">Optionally, append <span 
class="ptmb8t-">z </span>to annotate depths rather than radius.</li></ul>
<!--l. 266--><p class="indent" >   As an example of this projection we will create a gridded data set in polar coordinates
<!--l. 267--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>&#x03B8;</mi><mo 
class="MathClass-punc">,</mo><mi 
>r</mi></mrow><mo 
class="MathClass-close">)</mo></mrow> <mo 
class="MathClass-rel">=</mo> <msup><mrow 
><mi 
>r</mi></mrow><mrow 
><mn>2</mn></mrow></msup 
> <mo 
class="MathClass-bin">&#x22C5;</mo><mo 
class="MathClass-op">cos</mo><!--nolimits--><mn>4</mn><mi 
>&#x03B8;</mi></math> using
<a 
href="../html/man/grdmath.html" ><span 
class="phvb8t-">grdmath</span></a><a 
 id="dx1-91009"></a>, a RPN calculator that operates on or creates grid files.
</p><!--l. 271--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">grdmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R0/360/2/4</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I6/0.1</span><span 
class="pcrr8t-x-x-70">&#x00A0;X</span><span 
class="pcrr8t-x-x-70">&#x00A0;4</span><span 
class="pcrr8t-x-x-70">&#x00A0;MUL</span><span 
class="pcrr8t-x-x-70">&#x00A0;PI</span><span 
class="pcrr8t-x-x-70">&#x00A0;MUL</span><span 
class="pcrr8t-x-x-70">&#x00A0;180</span><span 
class="pcrr8t-x-x-70">&#x00A0;DIV</span><span 
class="pcrr8t-x-x-70">&#x00A0;COS</span><span 
class="pcrr8t-x-x-70">&#x00A0;Y</span><span 
class="pcrr8t-x-x-70">&#x00A0;2</span><span 
class="pcrr8t-x-x-70">&#x00A0;POW</span><span 
class="pcrr8t-x-x-70">&#x00A0;MUL</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdcontour</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JP3i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B30Ns</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C2</span><span 
class="pcrr8t-x-x-70">&#x00A0;-S4</span><span 
class="pcrr8t-x-x-70">&#x00A0;--PLOT_DEGREE_FORMAT=+ddd</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_polar.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.nc</span>
                                                                                 

                                                                                 
   </div>__________________________________________________________________________________________________
<!--l. 273--><p class="indent" >   We used <a 
href="../html/man/grdcontour.html" ><span 
class="phvb8t-">grdcontour</span></a><a 
 id="dx1-91010"></a> to make a contour map of this data. Because the data file only contains values with
<!--l. 274--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mn>2</mn> <mo 
class="MathClass-rel">&#x2264;</mo> <mi 
>r</mi> <mo 
class="MathClass-rel">&#x2264;</mo> <mn>4</mn></math>, a donut
shaped plot appears in Figure&#x00A0;<a 
href="#x1-91004r6">5.6<!--tex4ht:ref: fig:GMT_polar --></a>.&#x00A0;<a 
 id="dx1-91011"></a> <a 
 id="dx1-91012"></a><a 
 id="dx1-91013"></a>
                                                                                 

                                                                                 
                                                                                 

                                                                                 
                                                                                 

                                                                                 
</p>
   <h2 class="chapterHead"><span class="titlemark">Chapter&#x00A0;6</span><br /><a 
 id="x1-920006"></a><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;Map Projections</h2>
<!--l. 12--><p class="noindent" ><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;implements more than 30 different projections. They all project the input coordinates longitude and latitude to positions
on a map. In general, <!--l. 13--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msup><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>&#x2032;</mi></mrow></msup 
> <mo 
class="MathClass-rel">=</mo> <mi 
>f</mi><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi><mo 
class="MathClass-punc">,</mo><mi 
>y</mi><mo 
class="MathClass-punc">,</mo><mi 
>z</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></math>
and <!--l. 13--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msup><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>&#x2032;</mi></mrow></msup 
> <mo 
class="MathClass-rel">=</mo> <mi 
>g</mi><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi><mo 
class="MathClass-punc">,</mo><mi 
>y</mi><mo 
class="MathClass-punc">,</mo><mi 
>z</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></math>, where
<!--l. 14--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi></math> is implicitly given as the radial
vector length to the <!--l. 14--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi><mo 
class="MathClass-punc">,</mo><mi 
>y</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></math> point on the
chosen ellipsoid. The functions <!--l. 14--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>f</mi></math>
and <!--l. 14--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>g</mi></math> can be
quite nasty and we will refrain from presenting details in this document. The interested read is referred to <span 
class="ptmri8t-">Snyder</span>
[1987]<span class="footnote-mark"><a 
href="#fn21x6" id="fn21x6-bk"><sup class="textsuperscript">21</sup></a></span><a 
 id="x1-92001f21"></a>.
We will mostly be using the <a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-92002"></a> command to demonstrate each of the projections. <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;map
projections are grouped into four categories depending on the nature of the projection. The groups
are
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-92004x1">Conic map projections
   </li>
   <li 
  class="enumerate" id="x1-92006x2">Azimuthal map projections
   </li>
   <li 
  class="enumerate" id="x1-92008x3">Cylindrical map projections
   </li>
   <li 
  class="enumerate" id="x1-92010x4">Miscellaneous projections</li></ol>
<!--l. 28--><p class="indent" >   Because <!--l. 28--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi></math>
and <!--l. 28--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>y</mi></math> are
coupled we can only specify one plot-dimensional scale, typically a map <span 
class="ptmri8t-">scale </span>(for lower-case map projection
code) or a map <span 
class="ptmri8t-">width </span>(for upper-case map projection code). However, in some cases it would be more practical to
specify map <span 
class="ptmri8t-">height </span>instead of <span 
class="ptmri8t-">width</span>, while in other situations it would be nice to set either the <span 
class="ptmri8t-">shortest </span>or <span 
class="ptmri8t-">longest</span>
map dimension. Users may select these alternatives by appending a character code to their map dimension. To
specify map <span 
class="ptmri8t-">height</span>, append <span 
class="ptmb8t-">h </span>to the given dimension; to select the minimum map dimension, append <span 
class="ptmb8t-">-</span>, whereas
you may append <span 
class="ptmb8t-">+ </span>to select the maximum map dimension. Without the modifier the map width is selected by
default.
</p><!--l. 38--><p class="indent" >   In <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;version 4.3.0 we noticed we ran out of the alphabet for 1-letter (and sometimes 2-letter) projection
codes. To allow more flexibility, and to make it easier to remember the codes, we implemented the option to use the
abbreviations used by the <span 
class="ptmbo8t-">Proj4</span><a 
 id="dx1-92011"></a> mapping package. Since some of the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;projections are not in <span 
class="ptmbo8t-">Proj4</span><a 
 id="dx1-92012"></a>, we
invented some of our own as well. For a full list of both the old 1- and 2-letter codes, as well as the
<span 
class="ptmbo8t-">Proj4</span><a 
 id="dx1-92013"></a>-equivalents see the quick reference cards in Section&#x00A0;<a 
href="#x1-370003.2">3.2<!--tex4ht:ref: sec:purpose --></a>. For example, <span 
class="pcrb8t-">-JM15c </span>and <span 
class="pcrb8t-">-JMerc/15c </span>have
the same meaning.
</p>
   <h3 class="sectionHead"><span class="titlemark">6.1    </span> <a 
 id="x1-930006.1"></a>Conic projections</h3>
<a 
 id="dx1-93001"></a>
<a 
 id="dx1-93002"></a>
<!--l. 44--><p class="noindent" >
</p>
   <h4 class="subsectionHead"><span class="titlemark">6.1.1    </span> <a 
 id="x1-940006.1.1"></a>Albers conic equal-area projection (<span 
class="pcrb8t-">-Jb-JB</span>)</h4>
<a 
 id="dx1-94001"></a>
<a 
 id="dx1-94002"></a>
<a 
 id="dx1-94003"></a>
                                                                                 

                                                                                 
<!--l. 49--><p class="noindent" >This projection, developed by Albers in 1805, is predominantly used to map regions of large east-west extent, in
particular the United States. It is a conic, equal-area projection, in which parallels are unequally spaced arcs of
concentric circles, more closely spaced at the north and south edges of the map. Meridians, on the other hand, are
equally spaced radii about a common center, and cut the parallels at right angles. Distortion in scale and shape
vanishes along the two standard parallels. Between them, the scale along parallels is too small; beyond them it is
too large. The opposite is true for the scale along meridians. To define the projection in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;you need to provide
the following information:
</p>
   <ul class="itemize1">
   <li class="itemize">Longitude and latitude of the projection center.
   </li>
   <li class="itemize">Two standard parallels.
   </li>
   <li class="itemize">Map scale in inch/degree or 1:xxxxx notation (<span 
class="pcrb8t-">-Jb</span>), or map width (<span 
class="pcrb8t-">-JB</span>).</li></ul>
<!--l. 68--><p class="indent" >   Note that you must include the &#8220;1:&#8221; if you choose to specify the scale that way. E.g., you can
say 0.5 which means 0.5 inch/degree or 1:200000 which means 1 inch on the map equals 200,000
inches along the standard parallels. The projection center defines the origin of the rectangular map
coordinates. As an example we will make a map of the region near Taiwan. We choose the center of the
projection to be at 125 <span 
class="ptmr8c-">°</span>E/20 <span 
class="ptmr8c-">°</span>N and 25 <span 
class="ptmr8c-">°</span>N and 45 <span 
class="ptmr8c-">°</span>N as our two standard parallels. We desire a map
that is 5 inches wide. The complete command needed to generate the map below is therefore given
by:
</p><!--l. 79--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;GRID_CROSS_SIZE_PRIMARY</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R110/140/20/35</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JB125/20/25/45/5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B10g5</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dl</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A250</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_albers.ps</span>
   </div>__________________________________________________________________________________________________
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-94004r1"></a>
                                                                                 

                                                                                 

<!--l. 81--><p class="noindent" ><img 
src="images/GMT_albers.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;6.1: </span><span  
class="content">Albers equal-area conic map projection</span></div><!--tex4ht:label?: x1-94004r1 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-94005"></a>
<a 
 id="dx1-94006"></a>
<a 
 id="dx1-94007"></a>
   <h4 class="subsectionHead"><span class="titlemark">6.1.2    </span> <a 
 id="x1-950006.1.2"></a>Equidistant conic projection (<span 
class="pcrb8t-">-Jd-JD</span>)</h4>
<a 
 id="dx1-95001"></a>
<a 
 id="dx1-95002"></a>
<a 
 id="dx1-95003"></a>
<!--l. 92--><p class="noindent" >The equidistant conic projection was described by the Greek philosopher Claudius Ptolemy about A.D.&#x00A0;150. It is
neither conformal or equal-area, but serves as a compromise between them. The scale is true along all meridians
and the standard parallels. To select this projection in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;you must provide the same information as for the
other conic projection, i.e.,
</p>
   <ul class="itemize1">
   <li class="itemize">Longitude and latitude of the projection center.
   </li>
   <li class="itemize">Two standard parallels.
   </li>
   <li class="itemize">Map scale in inch/degree or 1:xxxxx notation (<span 
class="pcrb8t-">-Jd</span>), or map width (<span 
class="pcrb8t-">-JD</span>).</li></ul>
<!--l. 105--><p class="indent" >   The equidistant conic projection is often used for atlases with maps of small countries. As an example, we
generate a map of Cuba:
</p><!--l. 109--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;PLOT_DEGREE_FORMAT</span><span 
class="pcrr8t-x-x-70">&#x00A0;ddd:mm:ssF</span><span 
class="pcrr8t-x-x-70">&#x00A0;GRID_CROSS_SIZE_PRIMARY</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.05i</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R-88/-70/18/24</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JD-79/21/19/23/4.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B5g1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Di</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N1/thick</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_equidistant_conic.ps</span>
   </div>__________________________________________________________________________________________________
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-95004r2"></a>
                                                                                 

                                                                                 

<!--l. 111--><p class="noindent" ><img 
src="images/GMT_equidistant_conic.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;6.2: </span><span  
class="content">Equidistant conic map projection</span></div><!--tex4ht:label?: x1-95004r2 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-95005"></a>
<a 
 id="dx1-95006"></a>
<a 
 id="dx1-95007"></a>
   <h4 class="subsectionHead"><span class="titlemark">6.1.3    </span> <a 
 id="x1-960006.1.3"></a>Lambert conic conformal projection (<span 
class="pcrb8t-">-Jl-JL</span>)</h4>
<a 
 id="dx1-96001"></a>
<a 
 id="dx1-96002"></a>
<a 
 id="dx1-96003"></a>
<!--l. 122--><p class="noindent" >This conic projection was designed by the Alsatian mathematician Johann Heinrich Lambert (1772) and has
been used extensively for mapping of regions with predominantly east-west orientation, just like the
Albers projection. Unlike the Albers projection, Lambert&#8217;s conformal projection is not equal-area. The
parallels are arcs of circles with a common origin, and meridians are the equally spaced radii of these
circles. As with Albers projection, it is only the two standard parallels that are distortion-free. To
select this projection in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;you must provide the same information as for the Albers projection,
i.e.,
</p>
   <ul class="itemize1">
   <li class="itemize">Longitude and latitude of the projection center.
   </li>
   <li class="itemize">Two standard parallels.
   </li>
   <li class="itemize">Map scale in inch/degree or 1:xxxxx notation (<span 
class="pcrb8t-">-Jl</span>), or map width (<span 
class="pcrb8t-">-JL</span>).</li></ul>
<!--l. 138--><p class="indent" >   The Lambert conformal projection has been used for basemaps for all the 48 contiguous States with the two
fixed standard parallels 33<span 
class="ptmr8c-">°</span>N and 45<span 
class="ptmr8c-">°</span>N. We will generate a map of the continental USA using these parameters.
Note that with all the projections you have the option of selecting a rectangular border rather than one defined by
meridians and parallels. Here, we choose the regular WESN region, a &#8220;fancy&#8221; basemap frame, and use degrees
west for longitudes. The generating commands used were
</p><!--l. 147--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;BASEMAP_TYPE</span><span 
class="pcrr8t-x-x-70">&#x00A0;FANCY</span><span 
class="pcrr8t-x-x-70">&#x00A0;PLOT_DEGREE_FORMAT</span><span 
class="pcrr8t-x-x-70">&#x00A0;ddd:mm:ssF</span><span 
class="pcrr8t-x-x-70">&#x00A0;GRID_CROSS_SIZE_PRIMARY</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.05i</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R-130/-70/24/52</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jl-100/35/33/45/1:50000000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B10g5</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dl</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N1/thick</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N2/thinner</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A500</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_lambert_conic.ps</span>
   </div>__________________________________________________________________________________________________
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-96004r3"></a>
                                                                                 

                                                                                 

<!--l. 149--><p class="noindent" ><img 
src="images/GMT_lambert_conic.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;6.3: </span><span  
class="content">Lambert conformal conic map projection</span></div><!--tex4ht:label?: x1-96004r3 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 151--><p class="indent" >   The choice for projection center does not affect the projection but it indicates which meridian (here 100<span 
class="ptmr8c-">°</span>W)
will be vertical on the map. The standard parallels were originally selected by Adams to provide a maximum scale
error between latitudes 30.5<span 
class="ptmr8c-">°</span>N and 47.5<span 
class="ptmr8c-">°</span>N of 0.5&#8211;1%. Some areas, like Florida, experience scale errors of up to
2.5%. <a 
 id="dx1-96005"></a><a 
 id="dx1-96006"></a> <a 
 id="dx1-96007"></a>
</p>
   <h4 class="subsectionHead"><span class="titlemark">6.1.4    </span> <a 
 id="x1-970006.1.4"></a>(American) polyconic projection (<span 
class="pcrb8t-">-Jpoly-JPoly</span></h4>
<a 
 id="dx1-97001"></a>
<a 
 id="dx1-97002"></a>
<a 
 id="dx1-97003"></a>
<!--l. 166--><p class="noindent" >The polyconic projection, in Europe usually referred to as the American polyconic projection, was introduced
shortly before 1820 by the Swiss-American cartographer Ferdinand Rodulph Hassler (1770-1843). As head of the
Survey of the Coast, he was looking for a projection that would give the least distortion for mapping the coast of
the United States. The projection acquired its name from the construction of each parallel, which is achieved by
projecting the parallel onto the cone while it is rolled around the globe, along the central meridian, tangent to that
parallel. As a consequence, the projection involves many cones rather than a single one used in regular conic
projections.
</p><!--l. 168--><p class="indent" >   The polyconic projection is neither equal-area, nor conformal. It is true to scale without distortion along the
central meridian. Each parallel is true to scale as well, but the meridians are not as they get further away from the
central meridian. As a consequence, no parallel is standard because conformity is lost with the lengthening of the
meridians.
</p><!--l. 170--><p class="indent" >   Below we reproduce the illustration by <span 
class="ptmri8t-">Snyder </span>[1987], with a gridline every 10<span 
class="ptmr8c-">° </span>and annotations only every 30<span 
class="ptmr8c-">°</span>
in longitude:
</p><!--l. 172--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R-180/-20/0/90</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JPoly/4i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B30g10/10g10</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A1000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_polyconic.ps</span>
   </div>__________________________________________________________________________________________________
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-97004r4"></a>
                                                                                 

                                                                                 

<!--l. 174--><p class="noindent" ><img 
src="images/GMT_polyconic.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;6.4: </span><span  
class="content">(American) polyconic projection</span></div><!--tex4ht:label?: x1-97004r4 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-97005"></a>
<a 
 id="dx1-97006"></a>
<a 
 id="dx1-97007"></a>
<a 
 id="dx1-97008"></a>
<a 
 id="dx1-97009"></a>
                                                                                 

                                                                                 
   <h3 class="sectionHead"><span class="titlemark">6.2    </span> <a 
 id="x1-980006.2"></a>Azimuthal projections</h3>
<a 
 id="dx1-98001"></a>
<a 
 id="dx1-98002"></a>
<!--l. 188--><p class="noindent" >
</p>
   <h4 class="subsectionHead"><span class="titlemark">6.2.1    </span> <a 
 id="x1-990006.2.1"></a>Lambert Azimuthal Equal-Area (<span 
class="pcrb8t-">-Ja-JA</span>)</h4>
<a 
 id="dx1-99001"></a>
<a 
 id="dx1-99002"></a>
<a 
 id="dx1-99003"></a>
<!--l. 193--><p class="noindent" >This projection was developed by Lambert in 1772 and is typically used for mapping large regions like continents
and hemispheres. It is an azimuthal, equal-area projection, but is not perspective. Distortion is zero at the center of
the projection, and increases radially away from this point. To define this projection in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;you must provide the
following information:
</p>
   <ul class="itemize1">
   <li class="itemize">Longitude and latitude of the projection center.
   </li>
   <li class="itemize">Optionally,    the    horizon,    i.e.,    the    number    of    degrees    from    the    center    to    the    edge
   (<!--l. 203--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x2264;</mo></math>180<span 
class="ptmr8c-">°</span>,
   default is 90<span 
class="ptmr8c-">°</span>).
   </li>
   <li class="itemize">Scale as 1:xxxxx or as radius/latitude where radius is the projected distance on the map from projection
   center to an oblique latitude (<span 
class="pcrb8t-">-Ja</span>), or map width (<span 
class="pcrb8t-">-JA</span>).</li></ul>
<!--l. 209--><p class="indent" >   Two different types of maps can be made with this projection depending on how the region is specified. We will
give examples of both types.
</p><!--l. 213--><p class="noindent" >
</p>
   <h5 class="subsubsectionHead"><a 
 id="x1-1000006.2.1"></a>Rectangular map</h5>
<a 
 id="dx1-100001"></a>
<a 
 id="dx1-100002"></a>
<!--l. 218--><p class="noindent" >In this mode we define our region by specifying the longitude/latitude of the lower left and upper right corners
instead of the usual <span 
class="ptmri8t-">west, east, south, north </span>boundaries. The reason for specifying our area this way is that for this
and many other projections, lines of equal longitude and latitude are not straight lines and are thus poor choices for
map boundaries. Instead we require that the map boundaries be rectangular by defining the corners of a
rectangular map boundary. Using 0<span 
class="ptmr8c-">°</span>E/40<span 
class="ptmr8c-">°</span>S (lower left) and 60<span 
class="ptmr8c-">°</span>E/10<span 
class="ptmr8c-">°</span>S (upper right) as our corners we
try
</p><!--l. 229--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;PLOT_DEGREE_FORMAT</span><span 
class="pcrr8t-x-x-70">&#x00A0;ddd:mm:ssF</span><span 
class="pcrr8t-x-x-70">&#x00A0;GRID_CROSS_SIZE_PRIMARY</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R0/-40/60/-10r</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JA30/-30/4.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B30g30/15g15</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dl</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A500</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_lambert_az_rect.ps</span>
   </div>__________________________________________________________________________________________________
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-100003r5"></a>
                                                                                 

                                                                                 

<!--l. 232--><p class="noindent" ><img 
src="images/GMT_lambert_az_rect.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;6.5: </span><span  
class="content">Rectangular map using the Lambert azimuthal equal-area projection.</span></div><!--tex4ht:label?: x1-100003r5 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 234--><p class="indent" >   Note that an &#8220;r&#8221; is appended to the <span 
class="pcrb8t-">-R </span>option to inform <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;that the region has been selected using the
rectangle technique, otherwise it would try to decode the values as <span 
class="ptmri8t-">west, east, south, north </span>and report an error since
<span 
class="ptmri8t-">&#8217;east&#8217; </span><!--l. 238--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003C;</mo></math>
<span 
class="ptmri8t-">&#8217;west&#8217;</span>.
</p>
   <h5 class="subsubsectionHead"><a 
 id="x1-1010006.2.1"></a>Hemisphere map</h5>
<a 
 id="dx1-101001"></a>
<!--l. 244--><p class="noindent" >Here, you must specify the world as your region (<span 
class="pcrb8t-">-Rg </span>or <span 
class="pcrb8t-">-Rd</span>). E.g., to obtain a hemisphere view that shows the
Americas, try
</p><!--l. 247--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rg</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JA280/30/3.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B30g30/15g15</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A1000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_lambert_az_hemi.ps</span>
   </div>__________________________________________________________________________________________________
<hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-101002r6"></a>
                                                                                 

                                                                                 

<!--l. 249--><p class="noindent" ><img 
src="images/GMT_lambert_az_hemi.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;6.6: </span><span  
class="content">Hemisphere map using the Lambert azimuthal equal-area projection.</span></div><!--tex4ht:label?: x1-101002r6 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 251--><p class="indent" >   To geologists, the Lambert azimuthal equal-area projection (with origin at 0<span 
class="ptmr8c-">°</span>/0<span 
class="ptmr8c-">°</span>) is known as the <span 
class="ptmri8t-">equal-area</span>
(Schmidt) stereonet and used for plotting fold axes, fault planes, and the like. An <span 
class="ptmri8t-">equal-angle </span>(Wulff) stereonet can
be obtained by using the stereographic projection (discussed later). The stereonets produced by these two
projections appear below.
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-101003r7"></a>
                                                                                 

                                                                                 

<!--l. 258--><p class="noindent" ><img 
src="images/GMT_stereonets.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;6.7: </span><span  
class="content">Equal-Area (Schmidt) and Equal-Angle (Wulff) stereo nets.</span></div><!--tex4ht:label?: x1-101003r7 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-101004"></a>
<a 
 id="dx1-101005"></a>
<a 
 id="dx1-101006"></a>
<a 
 id="dx1-101007"></a>
<a 
 id="dx1-101008"></a>
   <h4 class="subsectionHead"><span class="titlemark">6.2.2    </span> <a 
 id="x1-1020006.2.2"></a>Stereographic Equal-Angle projection (<span 
class="pcrb8t-">-Js-JS</span>)</h4>
<a 
 id="dx1-102001"></a>
<a 
 id="dx1-102002"></a>
<a 
 id="dx1-102003"></a>
<!--l. 271--><p class="noindent" >This is a conformal, azimuthal projection that dates back to the Greeks. Its main use is for mapping the polar
regions. In the polar aspect all meridians are straight lines and parallels are arcs of circles. While this is
the most common use it is possible to select any point as the center of projection. The requirements
are
</p>
   <ul class="itemize1">
   <li class="itemize">Longitude and latitude of the projection center.
   </li>
   <li class="itemize">Optionally,    the    horizon,    i.e.,    the    number    of    degrees    from    the    center    to    the    edge
   (<!--l. 280--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003C;</mo></math>180<span 
class="ptmr8c-">°</span>,
   default is 90<span 
class="ptmr8c-">°</span>).
   </li>
   <li class="itemize">Scale as 1:xxxxx (true scale at pole), slat/1:xxxxx (true scale at standard parallel slat), or radius/latitude
   where radius is distance on map in inches from projection center to a particular [possibly oblique]
   latitude (<span 
class="pcrb8t-">-Js</span>), or simply map width (<span 
class="pcrb8t-">-JS</span>).</li></ul>
<!--l. 288--><p class="indent" >   A default map scale factor of 0.9996 will be applied by default (although you may change this with
<span 
class="ptmb8t-">MAP_SCALE_FACTOR</span>). However, the setting is ignored when a standard parallel has been specified since the
scale is then implicitly given. We will look at two different types of maps.
</p><!--l. 294--><p class="noindent" >
</p>
   <h5 class="subsubsectionHead"><a 
 id="x1-1030006.2.2"></a>Polar Stereographic Map</h5>
<a 
 id="dx1-103001"></a>
<!--l. 297--><p class="noindent" >In our first example we will let the projection center be at the north pole. This means we have a polar stereographic
projection and the map boundaries will coincide with lines of constant longitude and latitude. An example is given
by
</p><!--l. 302--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R-30/30/60/72</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Js0/90/4.5i/60</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ba10g5/5g5</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dl</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A250</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_stereographic_polar.ps</span>
   </div>__________________________________________________________________________________________________
<hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-103002r8"></a>
                                                                                 

                                                                                 

<!--l. 304--><p class="noindent" ><img 
src="images/GMT_stereographic_polar.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;6.8: </span><span  
class="content">Polar stereographic conformal projection.</span></div><!--tex4ht:label?: x1-103002r8 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
   <h5 class="subsubsectionHead"><a 
 id="x1-1040006.2.2"></a>Rectangular stereographic map</h5>
<a 
 id="dx1-104001"></a>
<!--l. 309--><p class="noindent" >As with Lambert&#8217;s azimuthal equal-area projection we have the option to use rectangular boundaries rather than the
wedge-shape typically associated with polar projections. This choice is defined by selecting two points as corners
in the rectangle and appending an &#8220;r&#8221; to the <span 
class="pcrb8t-">-R </span>option. This command produces a map as presented in
Figure&#x00A0;<a 
href="#x1-104002r9">6.9<!--tex4ht:ref: fig:GMT_stereographic_rect --></a>:
</p><!--l. 317--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;OBLIQUE_ANNOTATION</span><span 
class="pcrr8t-x-x-70">&#x00A0;30</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R-25/59/70/72r</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JS10/90/11c</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B30g10/5g5</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dl</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A250</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_stereographic_rect.ps</span>
   </div>__________________________________________________________________________________________________
<hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-104002r9"></a>
                                                                                 

                                                                                 

<!--l. 319--><p class="noindent" ><img 
src="images/GMT_stereographic_rect.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;6.9: </span><span  
class="content">Polar stereographic conformal projection with rectangular borders.</span></div><!--tex4ht:label?: x1-104002r9 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
   <h5 class="subsubsectionHead"><a 
 id="x1-1050006.2.2"></a>General stereographic map</h5>
<a 
 id="dx1-105001"></a>
<!--l. 324--><p class="noindent" >In terms of usage this projection is identical to the Lambert azimuthal equal-area projection. Thus, one can make
both rectangular and hemispheric maps. Our example shows Australia using a projection pole at 130E/30<span 
class="ptmr8c-">°</span>S. The
command used was
</p><!--l. 329--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;OBLIQUE_ANNOTATION</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R100/-40/160/-10r</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JS130/-30/4i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B30g10/15g15</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dl</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A500</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_stereographic_general.ps</span>
   </div>__________________________________________________________________________________________________
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-105002r10"></a>
                                                                                 

                                                                                 

<!--l. 332--><p class="noindent" ><img 
src="images/GMT_stereographic_general.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;6.10: </span><span  
class="content">General stereographic conformal projection with rectangular borders.</span></div><!--tex4ht:label?: x1-105002r10 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 334--><p class="indent" >   By choosing 0<span 
class="ptmr8c-">°</span>/0<span 
class="ptmr8c-">°</span>as the pole, we obtain the conformal stereonet presented next to its equal-area cousin in the
Section&#x00A0;<a 
href="#x1-1010006.2.1">6.2.1<!--tex4ht:ref: sec:lamb --></a> on the Lambert azimuthal equal-area projection (Figure&#x00A0;<a 
href="#x1-101003r7">6.7<!--tex4ht:ref: fig:GMT_stereonets --></a>).
<a 
 id="dx1-105003"></a>
<a 
 id="dx1-105004"></a>
<a 
 id="dx1-105005"></a>
</p>
   <h4 class="subsectionHead"><span class="titlemark">6.2.3    </span> <a 
 id="x1-1060006.2.3"></a>Perspective projection (<span 
class="pcrb8t-">-Jg-JG</span>)</h4>
<a 
 id="dx1-106001"></a>
<a 
 id="dx1-106002"></a>
<a 
 id="dx1-106003"></a>
<!--l. 347--><p class="noindent" >The perspective projection imitates in 2 dimensions the 3-dimensional view of the earth from space. The
implementation in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;is very flexible, and thus requires many input variables. Those are listed and explained
below, with the values used in Figure&#x00A0;<a 
href="#x1-106005r11">6.11<!--tex4ht:ref: fig:GMT_perspective --></a> between brackets.
</p>
   <ul class="itemize1">
   <li class="itemize">Longitude and latitude of the projection center (4<span 
class="ptmr8c-">°</span>E/52<span 
class="ptmr8c-">°</span>N).
   </li>
   <li class="itemize">Altitude of the viewer above sea level in kilometers (230 km). If this value is less than 10, it is assumed
   to be the distance of the viewer from the center of the earth in earth radii. If an &#8220;r&#8221; is appended, it is the
   distance from the center of the earth in kilometers.
   </li>
   <li class="itemize">Azimuth in degrees (90<span 
class="ptmr8c-">°</span>, due east). This is the direction in which you are looking, measured clockwise
   from north.
   </li>
   <li class="itemize">Tilt in degrees (60<span 
class="ptmr8c-">°</span>). This is the viewing angle relative to zenith. So a tilt of 0<span 
class="ptmr8c-">°</span>&#x00A0;is looking straight
   down, 60<span 
class="ptmr8c-">°</span>&#x00A0;is looking from 30<span 
class="ptmr8c-">°</span>&#x00A0;above the horizon.
   </li>
   <li class="itemize">Twist in degrees (180<span 
class="ptmr8c-">°</span>). This is the boresight rotation (clockwise) of the image. The twist of 180<span 
class="ptmr8c-">°</span>&#x00A0;in
   the example mimics the fact that the Space Shuttle flies upside down.
   </li>
   <li class="itemize">Width and height of the viewpoint in degrees (60<span 
class="ptmr8c-">°</span>). This number depends on whether you are looking
   with the naked eye (in which case you view is about 60<span 
class="ptmr8c-">°</span>&#x00A0;wide), or with binoculars, for example.
   </li>
   <li class="itemize">Scale as 1:xxxxx or as radius/latitude where radius is distance on map in inches from projection center
   to a particular [possibly oblique] latitude (<span 
class="pcrb8t-">-Jg</span>), or map width (<span 
class="pcrb8t-">-JG</span>) (5 inches).</li></ul>
<!--l. 372--><p class="indent" >   The imagined view of northwest Europe from a Space Shuttle at 230 km looking due east is thus accomplished
by the following <a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-106004"></a> command:
</p><!--l. 375--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rg</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JG4/52/230/90/60/180/60/60/5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B2g2/1g1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ia</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Di</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;--ANNOT_MIN_SPACING=0.25i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_perspective.ps</span>
   </div>__________________________________________________________________________________________________
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-106005r11"></a>
                                                                                 

                                                                                 

<!--l. 377--><p class="noindent" ><img 
src="images/GMT_perspective.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;6.11: </span><span  
class="content">View from the Space Shuttle in Perspective projection.</span></div><!--tex4ht:label?: x1-106005r11 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-106006"></a>
<a 
 id="dx1-106007"></a>
<a 
 id="dx1-106008"></a>
   <h4 class="subsectionHead"><span class="titlemark">6.2.4    </span> <a 
 id="x1-1070006.2.4"></a>Orthographic projection (<span 
class="pcrb8t-">-Jg-JG</span>)</h4>
<a 
 id="dx1-107001"></a>
<a 
 id="dx1-107002"></a>
<a 
 id="dx1-107003"></a>
<!--l. 389--><p class="noindent" >The orthographic azimuthal projection is a perspective projection from infinite distance. It is therefore often used to
give the appearance of a globe viewed from outer space. As with Lambert&#8217;s equal-area and the stereographic
projection, only one hemisphere can be viewed at any time. The projection is neither equal-area nor
conformal, and much distortion is introduced near the edge of the hemisphere. The directions from the
center of projection are true. The projection was known to the Egyptians and Greeks more than 2,000
years ago. Because it is mainly used for pictorial views at a small scale, only the spherical form is
necessary.
</p><!--l. 400--><p class="indent" >   To specify the orthographic projection the same options <span 
class="pcrb8t-">-Jg </span>or <span 
class="pcrb8t-">-JG </span>as the perspective projection are used, but
with fewer variables to supply:
</p>
   <ul class="itemize1">
   <li class="itemize">Longitude and latitude of the projection center.
   </li>
   <li class="itemize">Optionally,    the    horizon,    i.e.,    the    number    of    degrees    from    the    center    to    the    edge
   (<!--l. 405--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x2264;</mo></math>90<span 
class="ptmr8c-">°</span>,
   default is 90<span 
class="ptmr8c-">°</span>).
   </li>
   <li class="itemize">Scale as 1:xxxxx or as radius/latitude where radius is distance on map in inches from projection center
   to a particular [possibly oblique] latitude (<span 
class="pcrb8t-">-Jg</span>), or map width (<span 
class="pcrb8t-">-JG</span>).</li></ul>
<!--l. 412--><p class="indent" >   Our example of a perspective view centered on 75<span 
class="ptmr8c-">°</span>W/40<span 
class="ptmr8c-">°</span>N can therefore be generated by the following
<a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-107004"></a> command:
</p><!--l. 415--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rg</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JG-75/41/4.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B15g15</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A5000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_orthographic.ps</span>
   </div>__________________________________________________________________________________________________
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-107005r12"></a>
                                                                                 

                                                                                 

<!--l. 417--><p class="noindent" ><img 
src="images/GMT_orthographic.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;6.12: </span><span  
class="content">Hemisphere map using the Orthographic projection.</span></div><!--tex4ht:label?: x1-107005r12 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-107006"></a>
<a 
 id="dx1-107007"></a>
<a 
 id="dx1-107008"></a>
   <h4 class="subsectionHead"><span class="titlemark">6.2.5    </span> <a 
 id="x1-1080006.2.5"></a>Azimuthal Equidistant projection (<span 
class="pcrb8t-">-Je-JE</span>)</h4>
<a 
 id="dx1-108001"></a>
<a 
 id="dx1-108002"></a>
<a 
 id="dx1-108003"></a>
<!--l. 429--><p class="noindent" >The most noticeable feature of this azimuthal projection is the fact that distances measured from the center are true.
Therefore, a circle about the projection center defines the locus of points that are equally far away from the plot
origin. Furthermore, directions from the center are also true. The projection, in the polar aspect, is at least several
centuries old. It is a useful projection for a global view of locations at various or identical distance from a given
point (the map center).
</p><!--l. 438--><p class="indent" >   To specify the azimuthal equidistant projection you must supply:
</p>
   <ul class="itemize1">
   <li class="itemize">Longitude and latitude of the projection center.
   </li>
   <li class="itemize">Optionally,    the    horizon,    i.e.,    the    number    of    degrees    from    the    center    to    the    edge
   (<!--l. 442--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x2264;</mo></math>180<span 
class="ptmr8c-">°</span>,
   default is 180<span 
class="ptmr8c-">°</span>).
   </li>
   <li class="itemize">Scale as 1:xxxxx or as radius/latitude where radius is distance on map in inches from projection center
   to a particular [possibly oblique] latitude (<span 
class="pcrb8t-">-Je</span>), or map width (<span 
class="pcrb8t-">-JE</span>).</li></ul>
<!--l. 449--><p class="indent" >   Our example of a global view centered on 100<span 
class="ptmr8c-">°</span>W/40<span 
class="ptmr8c-">°</span>N can therefore be generated by the following <a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-108004"></a>
command. Note that the antipodal point is 180<span 
class="ptmr8c-">°</span>&#x00A0;away from the center, but in this projection this point plots as the
entire map perimeter:
</p><!--l. 455--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rg</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JE-100/40/4.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B15g15</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A10000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_az_equidistant.ps</span>
   </div>__________________________________________________________________________________________________
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-108005r13"></a>
                                                                                 

                                                                                 

<!--l. 457--><p class="noindent" ><img 
src="images/GMT_az_equidistant.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;6.13: </span><span  
class="content">World map using the equidistant azimuthal projection.</span></div><!--tex4ht:label?: x1-108005r13 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-108006"></a>
<a 
 id="dx1-108007"></a>
<a 
 id="dx1-108008"></a>
   <h4 class="subsectionHead"><span class="titlemark">6.2.6    </span> <a 
 id="x1-1090006.2.6"></a>Gnomonic projection (<span 
class="pcrb8t-">-Jf-JF</span>)</h4>
<a 
 id="dx1-109001"></a>
<a 
 id="dx1-109002"></a>
<a 
 id="dx1-109003"></a>
<!--l. 469--><p class="noindent" >The Gnomonic azimuthal projection is a perspective projection from the center onto a plane tangent to the surface.
Its origin goes back to the old Greeks who used it for star maps almost 2500 years ago. The projection is neither
equal-area nor conformal, and much distortion is introduced near the edge of the hemisphere; in fact, less than a
hemisphere may be shown around a given center. The directions from the center of projection are true. Great circles
project onto straight lines. Because it is mainly used for pictorial views at a small scale, only the spherical form is
necessary.
</p><!--l. 479--><p class="indent" >   To specify the Gnomonic projection you must supply:
</p>
   <ul class="itemize1">
   <li class="itemize">Longitude and latitude of the projection center.
   </li>
   <li class="itemize">Optionally,    the    horizon,    i.e.,    the    number    of    degrees    from    the    center    to    the    edge
   (<!--l. 483--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003C;</mo></math>90<span 
class="ptmr8c-">°</span>,
   default is 60<span 
class="ptmr8c-">°</span>).
   </li>
   <li class="itemize">Scale as 1:xxxxx or as radius/latitude where radius is distance on map in inches from projection center
   to a particular [possibly oblique] latitude (<span 
class="pcrb8t-">-Jf</span>), or map width (<span 
class="pcrb8t-">-JF</span>).</li></ul>
<!--l. 490--><p class="indent" >   Using a horizon of 60<span 
class="ptmr8c-">°</span>, our example of this projection centered on 120<span 
class="ptmr8c-">°</span>W/35<span 
class="ptmr8c-">°</span>N can therefore be generated by
the following <a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-109004"></a> command:
</p><!--l. 494--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rg</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JF-120/35/60/4.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B30g15</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A10000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_gnomonic.ps</span>
   </div>__________________________________________________________________________________________________
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-109005r14"></a>
                                                                                 

                                                                                 

<!--l. 496--><p class="noindent" ><img 
src="images/GMT_gnomonic.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;6.14: </span><span  
class="content">Gnomonic azimuthal projection.</span></div><!--tex4ht:label?: x1-109005r14 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-109006"></a>
<a 
 id="dx1-109007"></a>
<a 
 id="dx1-109008"></a>
<a 
 id="dx1-109009"></a>
<a 
 id="dx1-109010"></a>
                                                                                 

                                                                                 
   <h3 class="sectionHead"><span class="titlemark">6.3    </span> <a 
 id="x1-1100006.3"></a>Cylindrical projections</h3>
<a 
 id="dx1-110001"></a>
<a 
 id="dx1-110002"></a>
<!--l. 510--><p class="noindent" >Cylindrical projections are easily recognized for its shape: maps are rectangular and meridians and parallels are
straight lines crossing at right angles. But that is where similarities between the cylindrical projections supported
by <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;(Mercator, transverse Mercator, universal transverse Mercator, oblique Mercator, Cassini,
cylindrical equidistant, cylindrical equal-area, Miller, and cylindrical stereographic projections) stops. Each
have a different way of spacing the meridians and parallels to obtain certain desirable cartographic
properties.
</p><!--l. 512--><p class="noindent" >
</p>
   <h4 class="subsectionHead"><span class="titlemark">6.3.1    </span> <a 
 id="x1-1110006.3.1"></a>Mercator projection (<span 
class="pcrb8t-">-Jm-JM</span>)</h4>
<a 
 id="dx1-111001"></a>
<a 
 id="dx1-111002"></a>
<a 
 id="dx1-111003"></a>
<!--l. 517--><p class="noindent" >Probably the most famous of the various map projections, the Mercator projection takes its name from
the Flemish cartographer Gheert Cremer, better known as Gerardus Mercator, who presented it in
1569. The projection is a cylindrical and conformal, with no distortion along the equator. A major
navigational feature of the projection is that a line of constant azimuth is straight. Such a line is called a
rhumb line or <span 
class="ptmri8t-">loxodrome</span><a 
 id="dx1-111004"></a>. Thus, to sail from one point to another one only had to connect the points
with a straight line, determine the azimuth of the line, and keep this constant course for the entire
voyage<span class="footnote-mark"><a 
href="#fn22x6" id="fn22x6-bk"><sup class="textsuperscript">22</sup></a></span><a 
 id="x1-111005f22"></a><a 
 id="dx1-111006"></a>.
The Mercator projection has been used extensively for world maps in which the distortion towards the polar
regions grows rather large, thus incorrectly giving the impression that, for example, Greenland is larger than South
America. In reality, the latter is about eight times the size of Greenland. Also, the Former Soviet Union looks much
bigger than Africa or South America. One may wonder whether this illusion has had any influence on U.S.&#x00A0;foreign
policy.
</p><!--l. 537--><p class="indent" >   In the regular Mercator projection, the cylinder touches the globe along the equator. Other orientations like
vertical and oblique give rise to the Transverse and Oblique Mercator projections, respectively. We will discuss
these generalizations following the regular Mercator projection.
</p><!--l. 544--><p class="indent" >   The regular Mercator projection requires a minimum of parameters. To use it in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;programs you supply
this information (the first two items are optional and have defaults):
</p>
   <ul class="itemize1">
   <li class="itemize">Central meridian [Middle of your map].
   </li>
   <li class="itemize">Standard parallel for true scale [Equator]. When supplied, central meridian must be supplied as well.
   </li>
   <li class="itemize">Scale along the equator in inch/degree or 1:xxxxx (<span 
class="pcrb8t-">-Jm</span>), or map width (<span 
class="pcrb8t-">-JM</span>).</li></ul>
<!--l. 555--><p class="indent" >   Our example presents a world map at a scale of 0.012 inch pr degree which will give a map 4.32 inch wide. It
was created with the command:
</p><!--l. 559--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;BASEMAP_TYPE</span><span 
class="pcrr8t-x-x-70">&#x00A0;fancy</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R0/360/-70/70</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jm1.2e-2i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ba60f30/a30f15</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A5000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_mercator.ps</span>
   </div>__________________________________________________________________________________________________
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-111007r15"></a>
                                                                                 

                                                                                 

<!--l. 561--><p class="noindent" ><img 
src="images/GMT_mercator.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;6.15: </span><span  
class="content">Simple Mercator map.</span></div><!--tex4ht:label?: x1-111007r15 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 563--><p class="indent" >   While this example is centered on the Dateline, one can easily choose another configuration with the <span 
class="pcrb8t-">-R </span>option.
A map centered on Greenwich would specify the region with <span 
class="ptmb8t-">-R</span>-180/180/-70/70.
<a 
 id="dx1-111008"></a>
<a 
 id="dx1-111009"></a>
<a 
 id="dx1-111010"></a>
</p>
   <h4 class="subsectionHead"><span class="titlemark">6.3.2    </span> <a 
 id="x1-1120006.3.2"></a>Transverse Mercator projection (<span 
class="pcrb8t-">-Jt-JT</span>)</h4>
<a 
 id="dx1-112001"></a>
<a 
 id="dx1-112002"></a>
<a 
 id="dx1-112003"></a>
<!--l. 577--><p class="noindent" >The transverse Mercator was invented by Lambert in 1772. In this projection the cylinder touches a meridian
along which there is no distortion. The distortion increases away from the central meridian and goes
to infinity at 90<span 
class="ptmr8c-">°</span>&#x00A0;from center. The central meridian, each meridian 90<span 
class="ptmr8c-">°</span>&#x00A0;away from the center, and
equator are straight lines; other parallels and meridians are complex curves. The projection is defined by
specifying:
</p>
   <ul class="itemize1">
   <li class="itemize">The central meridian.
   </li>
   <li class="itemize">Optionally, the latitude of origin (default is the equator).
   </li>
   <li class="itemize">Scale along the equator in inch/degree or 1:xxxxx (<span 
class="pcrb8t-">-Jt</span>), or map width (<span 
class="pcrb8t-">-JT</span>).</li></ul>
<!--l. 592--><p class="indent" >   The optional latitude of origin defaults to Equator if not specified. Although defaulting to 1, you can change the
map scale factor via the <span 
class="ptmb8t-">MAP_SCALE_FACTOR </span>parameter. Our example shows a transverse Mercator map of
south-east Europe and the Middle East with 35<span 
class="ptmr8c-">°</span>E as the central meridian:
</p><!--l. 599--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R20/30/50/45r</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jt35/0.18i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B10g5</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dl</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A250</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_transverse_merc.ps</span>
   </div>__________________________________________________________________________________________________
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-112004r16"></a>
                                                                                 

                                                                                 

<!--l. 601--><p class="noindent" ><img 
src="images/GMT_transverse_merc.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;6.16: </span><span  
class="content">Rectangular Transverse Mercator map.</span></div><!--tex4ht:label?: x1-112004r16 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 603--><p class="indent" >   The transverse Mercator can also be used to generate a global map&#8212;the equivalent of the 360<span 
class="ptmr8c-">°</span>&#x00A0;Mercator map.
Using the command
</p><!--l. 606--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R0/360/-80/80</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JT330/-45/3.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B30g15/15g15WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A2000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_TM.ps</span>
   </div>__________________________________________________________________________________________________
<!--l. 608--><p class="noindent" >we made the map illustrated in Figure&#x00A0;<a 
href="#x1-112005r17">6.17<!--tex4ht:ref: fig:GMT_TM --></a>. Note that when a world map is given (indicated by <span 
class="pcrb8t-">-R</span><span 
class="ptmri8t-">0/360/s/n</span>), the
arguments are interpreted to mean oblique degrees, i.e., the 360<span 
class="ptmr8c-">°</span>&#x00A0;range is understood to mean the extent of the plot
along the central meridian, while the &#8220;south&#8221; and &#8220;north&#8221; values represent how far from the central longitude we
want the plot to extend. These values correspond to latitudes in the regular Mercator projection and must therefore
be less than 90<span 
class="ptmr8c-">°</span>.
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-112005r17"></a>
                                                                                 

                                                                                 

<!--l. 618--><p class="noindent" ><img 
src="images/GMT_TM.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;6.17: </span><span  
class="content">A global transverse Mercator map.</span></div><!--tex4ht:label?: x1-112005r17 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-112006"></a>
<a 
 id="dx1-112007"></a>
<a 
 id="dx1-112008"></a>
   <h4 class="subsectionHead"><span class="titlemark">6.3.3    </span> <a 
 id="x1-1130006.3.3"></a>Universal Transverse Mercator (UTM) projection (<span 
class="pcrb8t-">-Ju-JU</span>)</h4>
<a 
 id="dx1-113001"></a>
<a 
 id="dx1-113002"></a>
<a 
 id="dx1-113003"></a>
<!--l. 629--><p class="noindent" >A particular subset of the transverse Mercator is the Universal Transverse Mercator (UTM) which was adopted by
the US Army for large-scale military maps. Here, the globe is divided into 60 zones between 84<span 
class="ptmr8c-">°</span>S and 84<span 
class="ptmr8c-">°</span>N, most
of which are 6<span 
class="ptmr8c-">°</span>&#x00A0;wide. Each of these UTM zones have their unique central meridian. Furthermore, each zone is
divided into latitude bands but these are not needed to specify the projection for most cases. See Figure&#x00A0;<a 
href="#x1-113004r18">6.18<!--tex4ht:ref: fig:GMT_utm_zones --></a> for all
zone designations.
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-113004r18"></a>
                                                                                 

                                                                                 

<!--l. 641--><p class="noindent" ><img 
src="images/GMT_utm_zones.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;6.18: </span><span  
class="content">Universal Transverse Mercator zone layout.</span></div><!--tex4ht:label?: x1-113004r18 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 646--><p class="indent" >   <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;implements both the transverse Mercator and the UTM projection. When selecting UTM you must
specify:
</p>
   <ul class="itemize1">
   <li class="itemize">UTM zone (A, B, 1&#8211;60, Y, Z). Use negative values for numerical zones in the southern hemisphere or
   append the latitude modifiers C&#8211;H, J&#8211;N, P&#8211;X) to specify an exact UTM grid zone.
   </li>
   <li class="itemize">Scale along the equator in inch/degree or 1:xxxxx (<span 
class="pcrb8t-">-Ju</span>), or map width (<span 
class="pcrb8t-">-JU</span>).</li></ul>
<!--l. 655--><p class="indent" >   In order to minimize the distortion in any given zone, a scale factor of 0.9996 has been factored into the
formulae. (although a standard, you can change this with <span 
class="ptmb8t-">MAP_SCALE_FACTOR</span>). This makes the UTM
projection a <span 
class="ptmri8t-">secant </span>projection and not a <span 
class="ptmri8t-">tangent </span>projection like the transverse Mercator above. The scale only
varies by 1 part in 1,000 from true scale at equator. The ellipsoidal projection expressions are accurate for map
areas that extend less than 10<span 
class="ptmr8c-">°</span>&#x00A0;away from the central meridian. For larger regions we use the conformal latitude in
the general spherical formulae instead.
<a 
 id="dx1-113005"></a>
<a 
 id="dx1-113006"></a>
<a 
 id="dx1-113007"></a>
</p>
   <h4 class="subsectionHead"><span class="titlemark">6.3.4    </span> <a 
 id="x1-1140006.3.4"></a>Oblique Mercator projection (<span 
class="pcrb8t-">-Jo-JO</span>)</h4>
<a 
 id="dx1-114001"></a>
<a 
 id="dx1-114002"></a>
<a 
 id="dx1-114003"></a>
<!--l. 675--><p class="noindent" >Oblique configurations of the cylinder give rise to the oblique Mercator projection. It is particularly useful when
mapping regions of large lateral extent in an oblique direction. Both parallels and meridians are complex curves.
The projection was developed in the early 1900s by several workers. Several parameters must be provided to define
the projection. <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;offers three different definitions:
</p><!--l. 683--><p class="indent" >
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-114005x1">Option <span 
class="pcrb8t-">-Joa </span>or <span 
class="pcrb8t-">-JOa</span>:
      <ul class="itemize1">
      <li class="itemize">Longitude and latitude of projection center.
      </li>
      <li class="itemize">Azimuth of the oblique equator.
      </li>
      <li class="itemize">Scale in inch/degree or 1:xxxxx along oblique equator (<span 
class="pcrb8t-">-Joa</span>), or map width (<span 
class="pcrb8t-">-JOa</span>).</li></ul>
   </li>
   <li 
  class="enumerate" id="x1-114007x2">Option <span 
class="pcrb8t-">-Job </span>or <span 
class="pcrb8t-">-JOb</span>:
      <ul class="itemize1">
      <li class="itemize">Longitude and latitude of projection center.
      </li>
      <li class="itemize">Longitude and latitude of second point on oblique equator.
      </li>
      <li class="itemize">Scale in inch/degree or 1:xxxxx along oblique equator (<span 
class="pcrb8t-">-Job</span>), or map width (<span 
class="pcrb8t-">-JOb</span>).</li></ul>
                                                                                 

                                                                                 
   </li>
   <li 
  class="enumerate" id="x1-114009x3">Option <span 
class="pcrb8t-">-Joc </span>or <span 
class="pcrb8t-">-JOc</span>:
      <ul class="itemize1">
      <li class="itemize">Longitude and latitude of projection center.
      </li>
      <li class="itemize">Longitude and latitude of projection pole.
      </li>
      <li class="itemize">Scale in inch/degree or 1:xxxxx along oblique equator (<span 
class="pcrb8t-">-Joc</span>), or map width (<span 
class="pcrb8t-">-JOc</span>).</li></ul>
   </li></ol>
<!--l. 707--><p class="indent" >   Our example was produced by the command
</p><!--l. 709--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R270/20/305/25r</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JOc280/25.5/22/69/4.8i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B10g5</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Di</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A250</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Tf301.5/23/0.4i/2</span><span 
class="pcrr8t-x-x-70">&#x00A0;--HEADER_FONT_SIZE=8p</span><span 
class="pcrr8t-x-x-70">&#x00A0;--HEADER_OFFSET=0.05i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_obl_merc.ps</span>
   </div>__________________________________________________________________________________________________
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-114010r19"></a>
                                                                                 

                                                                                 

<!--l. 712--><p class="noindent" ><img 
src="images/GMT_obl_merc.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;6.19: </span><span  
class="content">Oblique Mercator map using <span 
class="pcrb8t-">-Joc</span>. We make it clear which direction is North by adding a
star rose with the <span 
class="pcrb8t-">-T </span>option.</span></div><!--tex4ht:label?: x1-114010r19 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 714--><p class="indent" >   It uses definition 3 for an oblique view of some Caribbean islands. Note that we define our region using the
rectangular system described earlier. If we do not append an &#8220;r&#8221; to the <span 
class="pcrb8t-">-R </span>string then the information provided with
the <span 
class="pcrb8t-">-R </span>option is assumed to be oblique degrees about the projection center rather than the usual geographic
coordinates. This interpretation is chosen since in general the parallels and meridians are not very suitable as map
boundaries.
<a 
 id="dx1-114011"></a>
<a 
 id="dx1-114012"></a>
<a 
 id="dx1-114013"></a>
</p>
   <h4 class="subsectionHead"><span class="titlemark">6.3.5    </span> <a 
 id="x1-1150006.3.5"></a>Cassini cylindrical projection (<span 
class="pcrb8t-">-Jc-JC</span>)</h4>
<a 
 id="dx1-115001"></a>
<a 
 id="dx1-115002"></a>
<a 
 id="dx1-115003"></a>
<!--l. 733--><p class="noindent" >This cylindrical projection was developed in 1745 by César-François Cassini de Thury for the survey of France.
It is occasionally called Cassini-Soldner since the latter provided the more accurate mathematical analysis that led
to the development of the ellipsoidal formulae. The projection is neither conformal nor equal-area, and behaves as a
compromise between the two end-members. The distortion is zero along the central meridian. It is best suited for
mapping regions of north-south extent. The central meridian, each meridian 90<span 
class="ptmr8c-">°</span>&#x00A0;away, and equator are straight
lines; all other meridians and parallels are complex curves. The requirements to define this projection
are:
</p>
   <ul class="itemize1">
   <li class="itemize">Longitude and latitude of central point.
   </li>
   <li class="itemize">Scale in inch/degree or as 1:xxxxx (<span 
class="pcrb8t-">-Jc</span>), or map width (<span 
class="pcrb8t-">-JC</span>).</li></ul>
<!--l. 750--><p class="indent" >   A detailed map of the island of Sardinia centered on the 8<span 
class="ptmr8c-">°</span>45&#8217;E meridian using the Cassini projection can be
obtained by running the command:
</p><!--l. 754--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R7:30/38:30/10:30/41:30r</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JC8.75/40/2.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B1g1f30m</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Lf9.5/38.8/40/60</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dh</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ia/thinner</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;--LABEL_FONT_SIZE=12</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_cassini.ps</span>
   </div>__________________________________________________________________________________________________
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-115004r20"></a>
                                                                                 

                                                                                 

<!--l. 756--><p class="noindent" ><img 
src="images/GMT_cassini.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;6.20: </span><span  
class="content">Cassini map over Sardinia.</span></div><!--tex4ht:label?: x1-115004r20 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 758--><p class="indent" >   As with the previous projections, the user can choose between a rectangular boundary (used here) or a
geographical (WESN) boundary.
<a 
 id="dx1-115005"></a>
<a 
 id="dx1-115006"></a>
<a 
 id="dx1-115007"></a>
</p>
   <h4 class="subsectionHead"><span class="titlemark">6.3.6    </span> <a 
 id="x1-1160006.3.6"></a>Cylindrical equidistant projection (<span 
class="pcrb8t-">-Jq-JQ</span>)</h4>
<a 
 id="dx1-116001"></a>
<a 
 id="dx1-116002"></a>
<a 
 id="dx1-116003"></a>
<!--l. 772--><p class="noindent" >This simple cylindrical projection is really a linear scaling of longitudes and latitudes. The most common form is
the Plate Carrée projection, where the scaling of longitudes and latitudes is the same.<a 
 id="dx1-116004"></a> All meridians and parallels
are straight lines. The projection can be defined by: </p>
   <ul class="itemize1">
   <li class="itemize">The central meridian [Middle of your map].
   </li>
   <li class="itemize">Standard parallel [Equator].
   </li>
   <li class="itemize">Scale in inch/degree or as 1:xxxxx (<span 
class="pcrb8t-">-Jq</span>), or map width (<span 
class="pcrb8t-">-JQ</span>).</li></ul>
<!--l. 781--><p class="noindent" >The first two of these are optional and have defaults. When the standard parallel is defined, the central meridian must
be supplied as well.
</p><!--l. 783--><p class="indent" >   A world map centered on the dateline using this projection can be obtained by running the command:
</p><!--l. 786--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rg</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JQ4.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B60f30g30</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A5000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_equi_cyl.ps</span>
   </div>__________________________________________________________________________________________________
<hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-116005r21"></a>
                                                                                 

                                                                                 

<!--l. 787--><p class="noindent" ><img 
src="images/GMT_equi_cyl.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;6.21: </span><span  
class="content">World map using the Plate Carrée projection.</span></div><!--tex4ht:label?: x1-116005r21 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 789--><p class="indent" >   Different relative scalings of longitudes and latitudes can be obtained by selecting a standard parallel different
from the equator. Some selections for standard parallels have practical properties as shown in Table&#x00A0;<a 
href="#x1-116009r1">6.1<!--tex4ht:ref: tbl:JQ --></a>.
</p><div class="table">
                                                                                 

                                                                                 
<!--l. 790--><p class="indent" >   <a 
 id="x1-116009r1"></a></p><hr class="float" /><div class="float" 
>
                                                                                 

                                                                                 
<a 
 id="dx1-116006"></a>
<a 
 id="dx1-116007"></a>
<a 
 id="dx1-116008"></a>
<div class="tabular"> <table id="TBL-19" class="tabular" 
cellspacing="0" cellpadding="0"  
><colgroup id="TBL-19-1g"><col 
id="TBL-19-1" /><col 
id="TBL-19-2" /></colgroup><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-19-1-"><td  style="text-align:center; white-space:nowrap;" id="TBL-19-1-1"  
class="td11">              <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">Projection</span></div>                </td><td  style="text-align:center; white-space:nowrap;" id="TBL-19-1-2"  
class="td11"><div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">Standard parallel</span></div>
</td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-19-2-"><td  style="text-align:left; white-space:nowrap;" id="TBL-19-2-1"  
class="td11">Grafarend and Niermann, minimum linear distortion</td><td  style="text-align:center; white-space:nowrap;" id="TBL-19-2-2"  
class="td11">    61.7<span 
class="ptmr8c-">°          </span></td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-19-3-"><td  style="text-align:left; white-space:nowrap;" id="TBL-19-3-1"  
class="td11">Ronald Miller Equirectangular                                   </td><td  style="text-align:center; white-space:nowrap;" id="TBL-19-3-2"  
class="td11">    50.5<span 
class="ptmr8c-">°          </span></td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-19-4-"><td  style="text-align:left; white-space:nowrap;" id="TBL-19-4-1"  
class="td11">Ronald Miller, minimum continental distortion         </td><td  style="text-align:center; white-space:nowrap;" id="TBL-19-4-2"  
class="td11">    43.5<span 
class="ptmr8c-">°          </span></td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-19-5-"><td  style="text-align:left; white-space:nowrap;" id="TBL-19-5-1"  
class="td11">Grafarend and Niermann                                            </td><td  style="text-align:center; white-space:nowrap;" id="TBL-19-5-2"  
class="td11">     42<span 
class="ptmr8c-">°           </span></td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-19-6-"><td  style="text-align:left; white-space:nowrap;" id="TBL-19-6-1"  
class="td11">Ronald Miller, minimum overall distortion                </td><td  style="text-align:center; white-space:nowrap;" id="TBL-19-6-2"  
class="td11">    37.5<span 
class="ptmr8c-">°          </span></td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-19-7-"><td  style="text-align:left; white-space:nowrap;" id="TBL-19-7-1"  
class="td11">Plate Carrée, Simple Cylindrical, Plain/Plane          </td><td  style="text-align:center; white-space:nowrap;" id="TBL-19-7-2"  
class="td11">     0<span 
class="ptmr8c-">°            </span></td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-19-8-"><td  style="text-align:left; white-space:nowrap;" id="TBL-19-8-1"  
class="td11">                                   </td></tr></table></div>
<br /><div class="caption" 
><span class="id">Table&#x00A0;6.1: </span><span  
class="content">Standard parallels for some cylindrical equidistant projections.</span></div><!--tex4ht:label?: x1-116009r1 -->
                                                                                 

                                                                                 
   </div><hr class="endfloat" />
   </div>
<a 
 id="dx1-116010"></a>
<a 
 id="dx1-116011"></a>
<a 
 id="dx1-116012"></a>
   <h4 class="subsectionHead"><span class="titlemark">6.3.7    </span> <a 
 id="x1-1170006.3.7"></a>Cylindrical equal-area projections (<span 
class="pcrb8t-">-Jy-JY</span>)</h4>
<a 
 id="dx1-117001"></a>
<a 
 id="dx1-117002"></a>
<a 
 id="dx1-117003"></a>
<!--l. 819--><p class="noindent" >This cylindrical projection is actually several projections, depending on what latitude is selected as the standard
parallel. However, they are all equal area and hence non-conformal. All meridians and parallels are straight lines.
The requirements to define this projection are:
</p>
   <ul class="itemize1">
   <li class="itemize">The central meridian.
   </li>
   <li class="itemize">The standard parallel.
   </li>
   <li class="itemize">Scale in inch/degree or as 1:xxxxx (<span 
class="pcrb8t-">-Jy</span>), or map width (<span 
class="pcrb8t-">-JY</span>)</li></ul>
<!--l. 831--><p class="indent" >   While you may choose any value for the standard parallel and obtain your own personal projection, there are
seven choices of standard parallels that result in known (or named) projections. These are listed in
Table&#x00A0;<a 
href="#x1-117012r2">6.2<!--tex4ht:ref: tbl:JY --></a>.
</p>
   <div class="table">
                                                                                 

                                                                                 
<!--l. 836--><p class="indent" >   <a 
 id="x1-117012r2"></a></p><hr class="float" /><div class="float" 
>
                                                                                 

                                                                                 
<a 
 id="dx1-117004"></a>
<a 
 id="dx1-117005"></a>
<a 
 id="dx1-117006"></a>
<a 
 id="dx1-117007"></a>
<a 
 id="dx1-117008"></a>
<a 
 id="dx1-117009"></a>
<a 
 id="dx1-117010"></a>
<a 
 id="dx1-117011"></a>
<div class="tabular"> <table id="TBL-20" class="tabular" 
cellspacing="0" cellpadding="0"  
><colgroup id="TBL-20-1g"><col 
id="TBL-20-1" /><col 
id="TBL-20-2" /></colgroup><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-20-1-"><td  style="text-align:center; white-space:nowrap;" id="TBL-20-1-1"  
class="td11">  <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">Projection</span></div>  </td><td  style="text-align:center; white-space:nowrap;" id="TBL-20-1-2"  
class="td11"> <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">Standard parallel</span></div>
</td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-20-2-"><td  style="text-align:left; white-space:nowrap;" id="TBL-20-2-1"  
class="td11">Balthasart           </td><td  style="text-align:center; white-space:nowrap;" id="TBL-20-2-2"  
class="td11">      50<span 
class="ptmr8c-">°             </span></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-20-3-"><td  style="text-align:left; white-space:nowrap;" id="TBL-20-3-1"  
class="td11">Gall-Peters </td><td  style="text-align:center; white-space:nowrap;" id="TBL-20-3-2"  
class="td11"> 45<span 
class="ptmr8c-">°</span></td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-20-4-"><td  style="text-align:left; white-space:nowrap;" id="TBL-20-4-1"  
class="td11">Hobo-Dyer         </td><td  style="text-align:center; white-space:nowrap;" id="TBL-20-4-2"  
class="td11"> 37<span 
class="ptmr8c-">°</span>30&#8217; (= 37.5<span 
class="ptmr8c-">°</span>)   </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-20-5-"><td  style="text-align:left; white-space:nowrap;" id="TBL-20-5-1"  
class="td11">Trystan Edwards</td><td  style="text-align:center; white-space:nowrap;" id="TBL-20-5-2"  
class="td11"> 37<span 
class="ptmr8c-">°</span>24&#8217; (= 37.4<span 
class="ptmr8c-">°</span>)   </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-20-6-"><td  style="text-align:left; white-space:nowrap;" id="TBL-20-6-1"  
class="td11">Caster                 </td><td  style="text-align:center; white-space:nowrap;" id="TBL-20-6-2"  
class="td11">37<span 
class="ptmr8c-">°</span>04&#8217; (= 37.0666<span 
class="ptmr8c-">°</span>)</td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-20-7-"><td  style="text-align:left; white-space:nowrap;" id="TBL-20-7-1"  
class="td11">Behrman            </td><td  style="text-align:center; white-space:nowrap;" id="TBL-20-7-2"  
class="td11">      30<span 
class="ptmr8c-">°             </span></td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-20-8-"><td  style="text-align:left; white-space:nowrap;" id="TBL-20-8-1"  
class="td11">Lambert             </td><td  style="text-align:center; white-space:nowrap;" id="TBL-20-8-2"  
class="td11">      0<span 
class="ptmr8c-">°              </span></td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-20-9-"><td  style="text-align:left; white-space:nowrap;" id="TBL-20-9-1"  
class="td11">           </td></tr></table></div>
<br /><div class="caption" 
><span class="id">Table&#x00A0;6.2: </span><span  
class="content">Standard parallels for some cylindrical equal-area projections.</span></div><!--tex4ht:label?: x1-117012r2 -->
                                                                                 

                                                                                 
   </div><hr class="endfloat" />
   </div>
<!--l. 861--><p class="indent" >   For instance, a world map centered on the 35<span 
class="ptmr8c-">°</span>E meridian using the Behrman projection (Figure&#x00A0;<a 
href="#x1-117013r22">6.22<!--tex4ht:ref: fig:GMT_general_cyl --></a>) can be
obtained by running the command:
</p><!--l. 865--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R-145/215/-90/90</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JY35/30/4.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B45g45</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A10000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Slightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_general_cyl.ps</span>
   </div>__________________________________________________________________________________________________
<hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-117013r22"></a>
                                                                                 

                                                                                 

<!--l. 866--><p class="noindent" ><img 
src="images/GMT_general_cyl.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;6.22: </span><span  
class="content">World map using the Behrman cylindrical equal-area projection.</span></div><!--tex4ht:label?: x1-117013r22 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 868--><p class="indent" >   As one can see there is considerable distortion at high latitudes since the poles map into lines.
<a 
 id="dx1-117014"></a>
<a 
 id="dx1-117015"></a>
<a 
 id="dx1-117016"></a>
</p>
   <h4 class="subsectionHead"><span class="titlemark">6.3.8    </span> <a 
 id="x1-1180006.3.8"></a>Miller Cylindrical projection (<span 
class="pcrb8t-">-Jj-JJ</span>)</h4>
<a 
 id="dx1-118001"></a>
<a 
 id="dx1-118002"></a>
<a 
 id="dx1-118003"></a>
<!--l. 881--><p class="noindent" >This cylindrical projection, presented by Osborn Maitland Miller of the American Geographic Society in 1942, is
neither equal nor conformal. All meridians and parallels are straight lines. The projection was designed to be a
compromise between Mercator and other cylindrical projections. Specifically, Miller spaced the parallels by using
Mercator&#8217;s formula with 0.8 times the actual latitude, thus avoiding the singular poles; the result
was then divided by 0.8. There is only a spherical form for this projection. Specify the projection
by:
</p>
   <ul class="itemize1">
   <li class="itemize">Optionally, the central meridian (default is the middle of your map).
   </li>
   <li class="itemize">Scale in inch/degree or as 1:xxxxx (<span 
class="pcrb8t-">-Jj</span>), or map width (<span 
class="pcrb8t-">-JJ</span>).</li></ul>
<!--l. 895--><p class="indent" >   For instance, a world map centered on the 90<span 
class="ptmr8c-">°</span>E meridian at a map scale of 1:400,000,000 (Figure&#x00A0;<a 
href="#x1-118004r23">6.23<!--tex4ht:ref: fig:GMT_miller --></a>) can be
obtained as follows:
</p><!--l. 898--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R-90/270/-80/90</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jj1:400000000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B45g45/30g30</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A10000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_miller.ps</span>
   </div>__________________________________________________________________________________________________
<hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-118004r23"></a>
                                                                                 

                                                                                 

<!--l. 899--><p class="noindent" ><img 
src="images/GMT_miller.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;6.23: </span><span  
class="content">World map using the Miller cylindrical projection.</span></div><!--tex4ht:label?: x1-118004r23 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-118005"></a>
<a 
 id="dx1-118006"></a>
<a 
 id="dx1-118007"></a>
   <h4 class="subsectionHead"><span class="titlemark">6.3.9    </span> <a 
 id="x1-1190006.3.9"></a>Cylindrical stereographic projections (<span 
class="pcrb8t-">-Jcyl_stere-JCyl_stere</span>)</h4>
<a 
 id="dx1-119001"></a>
<a 
 id="dx1-119002"></a>
<a 
 id="dx1-119003"></a>
<!--l. 910--><p class="noindent" >The cylindrical stereographic projections are certainly not as notable as other cylindrical projections, but are still
used because of their relative simplicity and their ability to overcome some of the downsides of other cylindrical
projections, like extreme distortions of the higher latitudes. The stereographic projections are perspective
projections, projecting the sphere onto a cylinder in the direction of the antipodal point on the equator. The cylinder
crosses the sphere at two standard parallels, equidistant from the equator. The projections are defined by:
</p>
   <ul class="itemize1">
   <li class="itemize">The central meridian (uses the middle of the map when omitted).
   </li>
   <li class="itemize">The standard parallel (default is the Equator). When used, central meridian needs to be given as well.
   </li>
   <li class="itemize">Scale in inch/degree or as 1:xxxxx (<span 
class="pcrb8t-">-Jcyl_stere</span>), or map width (<span 
class="pcrb8t-">-JCyl_stere</span>)</li></ul>
<!--l. 917--><p class="noindent" >Some of the selections of the standard parallel are named for the cartographer or publication that popularized the
projection (Table&#x00A0;<a 
href="#x1-119009r3">6.3<!--tex4ht:ref: tbl:JCylstere --></a>).
</p>
   <div class="table">
                                                                                 

                                                                                 
<!--l. 919--><p class="indent" >   <a 
 id="x1-119009r3"></a></p><hr class="float" /><div class="float" 
>
                                                                                 

                                                                                 
<a 
 id="dx1-119004"></a>
<a 
 id="dx1-119005"></a>
<a 
 id="dx1-119006"></a>
<a 
 id="dx1-119007"></a>
<a 
 id="dx1-119008"></a>
<div class="tabular"> <table id="TBL-21" class="tabular" 
cellspacing="0" cellpadding="0"  
><colgroup id="TBL-21-1g"><col 
id="TBL-21-1" /><col 
id="TBL-21-2" /></colgroup><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-21-1-"><td  style="text-align:center; white-space:nowrap;" id="TBL-21-1-1"  
class="td11">               <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">Projection</span></div>                 </td><td  style="text-align:center; white-space:nowrap;" id="TBL-21-1-2"  
class="td11"><div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">Standard parallel</span></div>
</td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-21-2-"><td  style="text-align:left; white-space:nowrap;" id="TBL-21-2-1"  
class="td11">Miller&#8217;s modified Gall                                                      </td><td  style="text-align:center; white-space:nowrap;" id="TBL-21-2-2"  
class="td11">  66.159467<span 
class="ptmr8c-">°     </span></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-21-3-"><td  style="text-align:left; white-space:nowrap;" id="TBL-21-3-1"  
class="td11">Kamenetskiy&#8217;s First </td><td  style="text-align:center; white-space:nowrap;" id="TBL-21-3-2"  
class="td11"> 55<span 
class="ptmr8c-">°</span></td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-21-4-"><td  style="text-align:left; white-space:nowrap;" id="TBL-21-4-1"  
class="td11">Gall&#8217;s stereographic                                                         </td><td  style="text-align:center; white-space:nowrap;" id="TBL-21-4-2"  
class="td11">     45<span 
class="ptmr8c-">°           </span></td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-21-5-"><td  style="text-align:left; white-space:nowrap;" id="TBL-21-5-1"  
class="td11">Bolshoi Sovietskii Atlas Mira or Kamenetskiy&#8217;s Second</td><td  style="text-align:center; white-space:nowrap;" id="TBL-21-5-2"  
class="td11">     30<span 
class="ptmr8c-">°           </span></td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-21-6-"><td  style="text-align:left; white-space:nowrap;" id="TBL-21-6-1"  
class="td11">Braun&#8217;s cylindrical                                                           </td><td  style="text-align:center; white-space:nowrap;" id="TBL-21-6-2"  
class="td11">     0<span 
class="ptmr8c-">°            </span></td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-21-7-"><td  style="text-align:left; white-space:nowrap;" id="TBL-21-7-1"  
class="td11">                                     </td></tr></table></div>
<br /><div class="caption" 
><span class="id">Table&#x00A0;6.3: </span><span  
class="content">Standard parallels for some cylindrical equal-area projections.</span></div><!--tex4ht:label?: x1-119009r3 -->
                                                                                 

                                                                                 
   </div><hr class="endfloat" />
   </div>
<!--l. 939--><p class="indent" >   A map of the world, centered on the Greenwich meridian, using the Gall&#8217;s stereographic projection (standard
parallel is 45<span 
class="ptmr8c-">°</span>, Figure&#x00A0;<a 
href="#x1-119010r24">6.24<!--tex4ht:ref: fig:GMT_gall_stereo --></a>), is obtained as follows:
</p><!--l. 941--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;PLOT_DEGREE_FORMAT</span><span 
class="pcrr8t-x-x-70">&#x00A0;dddA</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R-180/180/-60/80</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JCyl_stere/0/45/4.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ba60f30g30/a30g30</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A5000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ggrey</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_gall_stereo.ps</span>
   </div>__________________________________________________________________________________________________
<hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-119010r24"></a>
                                                                                 

                                                                                 

<!--l. 942--><p class="noindent" ><img 
src="images/GMT_gall_stereo.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;6.24: </span><span  
class="content">World map using Gall&#8217;s stereographic projection.</span></div><!--tex4ht:label?: x1-119010r24 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-119011"></a>
<a 
 id="dx1-119012"></a>
<a 
 id="dx1-119013"></a>
<a 
 id="dx1-119014"></a>
<a 
 id="dx1-119015"></a>
                                                                                 

                                                                                 
   <h3 class="sectionHead"><span class="titlemark">6.4    </span> <a 
 id="x1-1200006.4"></a>Miscellaneous projections</h3>
<a 
 id="dx1-120001"></a>
<a 
 id="dx1-120002"></a>
<!--l. 958--><p class="noindent" ><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;supports 8 common projections for global presentation of data or models. These are the Hammer,
Mollweide, Winkel Tripel, Robinson, Eckert IV and VI, Sinusoidal, and Van der Grinten projections. Due to the
small scale used for global maps these projections all use the spherical approximation rather than more elaborate
elliptical formulae.
</p><!--l. 966--><p class="indent" >   In all cases, the specification of the central meridian can be skipped. The default is the middle of the longitude
range of the plot, specified by the <span 
class="pcrb8t-">-(</span>R) option.
</p><!--l. 969--><p class="noindent" >
</p>
   <h4 class="subsectionHead"><span class="titlemark">6.4.1    </span> <a 
 id="x1-1210006.4.1"></a>Hammer projection (<span 
class="pcrb8t-">-Jh-JH</span>)</h4>
<a 
 id="dx1-121001"></a>
<a 
 id="dx1-121002"></a>
<a 
 id="dx1-121003"></a>
<!--l. 975--><p class="noindent" >The equal-area Hammer projection, first presented by the German mathematician Ernst von Hammer in 1892, is
also known as Hammer-Aitoff (the Aitoff projection looks similar, but is not equal-area). The border is an ellipse,
equator and central meridian are straight lines, while other parallels and meridians are complex curves. The
projection is defined by selecting:
</p>
   <ul class="itemize1">
   <li class="itemize">The central meridian [Middle of your map].
   </li>
   <li class="itemize">Scale along equator in inch/degree or 1:xxxxx (<span 
class="pcrb8t-">-Jh</span>), or map width (<span 
class="pcrb8t-">-JH</span>).</li></ul>
<!--l. 987--><p class="indent" >   A view of the Pacific ocean using the Dateline as central meridian is accomplished thus
</p><!--l. 990--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rg</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JH4.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bg30/g15</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A10000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_hammer.ps</span>
   </div>__________________________________________________________________________________________________
<hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-121004r25"></a>
                                                                                 

                                                                                 

<!--l. 991--><p class="noindent" ><img 
src="images/GMT_hammer.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;6.25: </span><span  
class="content">World map using the Hammer projection.</span></div><!--tex4ht:label?: x1-121004r25 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-121005"></a>
<a 
 id="dx1-121006"></a>
<a 
 id="dx1-121007"></a>
   <h4 class="subsectionHead"><span class="titlemark">6.4.2    </span> <a 
 id="x1-1220006.4.2"></a>Mollweide projection (<span 
class="pcrb8t-">-Jw-JW</span>)</h4>
<a 
 id="dx1-122001"></a>
<a 
 id="dx1-122002"></a>
<a 
 id="dx1-122003"></a>
<!--l. 1003--><p class="noindent" >This pseudo-cylindrical, equal-area projection was developed by the German mathematician and astronomer Karl
Brandan Mollweide in 1805. Parallels are unequally spaced straight lines with the meridians being equally
spaced elliptical arcs. The scale is only true along latitudes 40<span 
class="ptmr8c-">°</span>44&#8217; north and south. The projection is
used mainly for global maps showing data distributions. It is occasionally referenced under the name
homalographic projection. Like the Hammer projection, outlined above, we need to specify only
two parameters to completely define the mapping of longitudes and latitudes into rectangular <span 
class="ptmri8t-">x</span>/<span 
class="ptmri8t-">y</span>
coordinates:
</p>
   <ul class="itemize1">
   <li class="itemize">The central meridian [Middle of your map].
   </li>
   <li class="itemize">Scale along equator in inch/degree or 1:xxxxx (<span 
class="pcrb8t-">-Jw</span>), or map width (<span 
class="pcrb8t-">-JW</span>).</li></ul>
<!--l. 1020--><p class="indent" >   An example centered on Greenwich can be generated thus:
                                                                                 

                                                                                 
</p><!--l. 1024--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rd</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JW4.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bg30/g15</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A10000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_mollweide.ps</span>
   </div>__________________________________________________________________________________________________
<hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-122004r26"></a>
                                                                                 

                                                                                 

<!--l. 1025--><p class="noindent" ><img 
src="images/GMT_mollweide.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;6.26: </span><span  
class="content">World map using the Mollweide projection.</span></div><!--tex4ht:label?: x1-122004r26 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-122005"></a>
<a 
 id="dx1-122006"></a>
<a 
 id="dx1-122007"></a>
   <h4 class="subsectionHead"><span class="titlemark">6.4.3    </span> <a 
 id="x1-1230006.4.3"></a>Winkel Tripel projection (<span 
class="pcrb8t-">-Jr-JR</span>)</h4>
<a 
 id="dx1-123001"></a>
<a 
 id="dx1-123002"></a>
<a 
 id="dx1-123003"></a>
<!--l. 1037--><p class="noindent" >In 1921, the German mathematician Oswald Winkel a projection that was to strike a compromise between the
properties of three elements (area, angle and distance). The German word &#8220;tripel&#8221; refers to this junction of where
each of these elements are least distorted when plotting global maps. The projection was popularized when
Bartholomew and Son started to use it in its world-renowned &#8220;The Times Atlas of the World&#8221; in the mid 20th
century. In 1998, the National Geographic Society made the Winkel Tripel as its map projection of choice for
global maps.
</p><!--l. 1039--><p class="indent" >   Naturally, this projection is neither conformal, nor equal-area. Central meridian and equator are straight lines;
other parallels and meridians are curved. The projection is obtained by averaging the coordinates of the Equidistant
Cylindrical and Aitoff (not Hammer-Aitoff) projections. The poles map into straight lines 0.4 times the length of
equator. To use it you must enter
</p>
   <ul class="itemize1">
   <li class="itemize">The central meridian [Middle of your map].
   </li>
   <li class="itemize">Scale along equator in inch/degree or 1:xxxxx (<span 
class="pcrb8t-">-Jr</span>), or map width (<span 
class="pcrb8t-">-JR</span>).</li></ul>
<!--l. 1051--><p class="indent" >   Centered on Greenwich, the example in Figure&#x00A0;<a 
href="#x1-123004r27">6.27<!--tex4ht:ref: fig:GMT_winkel --></a> was created by this command:
</p><!--l. 1054--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rd</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JR4.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bg30/g15</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A10000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ggray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_winkel.ps</span>
   </div>__________________________________________________________________________________________________
<hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-123004r27"></a>
                                                                                 

                                                                                 

<!--l. 1055--><p class="noindent" ><img 
src="images/GMT_winkel.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;6.27: </span><span  
class="content">World map using the Winkel Tripel projection.</span></div><!--tex4ht:label?: x1-123004r27 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-123005"></a>
<a 
 id="dx1-123006"></a>
<a 
 id="dx1-123007"></a>
   <h4 class="subsectionHead"><span class="titlemark">6.4.4    </span> <a 
 id="x1-1240006.4.4"></a>Robinson projection (<span 
class="pcrb8t-">-Jn-JN</span>)</h4>
<a 
 id="dx1-124001"></a>
<a 
 id="dx1-124002"></a>
<a 
 id="dx1-124003"></a>
<!--l. 1067--><p class="noindent" >The Robinson projection, presented by the American geographer and cartographer Arthur H. Robinson in 1963, is
a modified cylindrical projection that is neither conformal nor equal-area. Central meridian and all parallels are straight
lines; other meridians are curved. It uses lookup tables rather than analytic expressions to make the world map &#8220;look&#8221;
right<span class="footnote-mark"><a 
href="#fn23x6" id="fn23x6-bk"><sup class="textsuperscript">23</sup></a></span><a 
 id="x1-124004f23"></a>.
The scale is true along latitudes <span 
class="ptmr8c-">±</span>38<span 
class="ptmr8c-">°</span>. The projection was originally developed for use by Rand McNally and is
currently used by the National Geographic Society. To use it you must enter
</p>
   <ul class="itemize1">
   <li class="itemize">The central meridian [Middle of your map].
   </li>
   <li class="itemize">Scale along equator in inch/degree or 1:xxxxx (<span 
class="pcrb8t-">-Jn</span>), or map width (<span 
class="pcrb8t-">-JN</span>).</li></ul>
<!--l. 1087--><p class="indent" >   Again centered on Greenwich, the example below was created by this command:
</p><!--l. 1089--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rd</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JN4.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bg30/g15</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A10000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ggray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_robinson.ps</span>
   </div>__________________________________________________________________________________________________
<hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-124005r28"></a>
                                                                                 

                                                                                 

<!--l. 1090--><p class="noindent" ><img 
src="images/GMT_robinson.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;6.28: </span><span  
class="content">World map using the Robinson projection.</span></div><!--tex4ht:label?: x1-124005r28 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-124006"></a>
<a 
 id="dx1-124007"></a>
<a 
 id="dx1-124008"></a>
   <h4 class="subsectionHead"><span class="titlemark">6.4.5    </span> <a 
 id="x1-1250006.4.5"></a>Eckert IV and VI projection (<span 
class="pcrb8t-">-Jk-JK</span>)</h4>
<a 
 id="dx1-125001"></a>
<a 
 id="dx1-125002"></a>
<a 
 id="dx1-125003"></a>
<!--l. 1102--><p class="noindent" >The Eckert IV and VI projections, presented by the German cartographer Max Eckert-Greiffendorff in 1906, are
pseudocylindrical equal-area projections. Central meridian and all parallels are straight lines; other meridians are
equally spaced elliptical arcs (IV) or sinusoids (VI). The scale is true along latitudes <span 
class="ptmr8c-">±</span>40<span 
class="ptmr8c-">°</span>30&#8217; (IV) and <span 
class="ptmr8c-">±</span>49<span 
class="ptmr8c-">°</span>16&#8217;
(VI). Their main use is in thematic world maps. To select Eckert IV you must use <span 
class="pcrb8t-">-JKf </span>(<span 
class="ptmb8t-">f </span>for &#8220;four&#8221;) while Eckert
VI is selected with <span 
class="pcrb8t-">-JKs </span>(<span 
class="ptmb8t-">s </span>for &#8220;six&#8221;). If no modifier is given it defaults to Eckert VI. In addition, you must
enter
</p>
   <ul class="itemize1">
   <li class="itemize">The central meridian [Middle of your map].
   </li>
   <li class="itemize">Scale along equator in inch/degree or 1:xxxxx (<span 
class="pcrb8t-">-Jk</span>), or map width (<span 
class="pcrb8t-">-JK</span>).</li></ul>
<!--l. 1118--><p class="indent" >   Centered on the Dateline, the Eckert IV example below was created by this command:
</p><!--l. 1120--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rg</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JKf4.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bg30/g15</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A10000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Slightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_eckert4.ps</span>
   </div>__________________________________________________________________________________________________
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-125004r29"></a>
                                                                                 

                                                                                 

<!--l. 1122--><p class="noindent" ><img 
src="images/GMT_eckert4.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;6.29: </span><span  
class="content">World map using the Eckert IV projection.</span></div><!--tex4ht:label?: x1-125004r29 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 1124--><p class="indent" >   The same script, with <span 
class="ptmb8t-">s </span>instead of <span 
class="ptmb8t-">f</span>, yields the Eckert VI map:
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-125005r30"></a>
                                                                                 

                                                                                 

<!--l. 1126--><p class="noindent" ><img 
src="images/GMT_eckert6.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;6.30: </span><span  
class="content">World map using the Eckert VI projection.</span></div><!--tex4ht:label?: x1-125005r30 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-125006"></a>
<a 
 id="dx1-125007"></a>
<a 
 id="dx1-125008"></a>
   <h4 class="subsectionHead"><span class="titlemark">6.4.6    </span> <a 
 id="x1-1260006.4.6"></a>Sinusoidal projection (<span 
class="pcrb8t-">-Ji-JI</span>)</h4>
<a 
 id="dx1-126001"></a>
<a 
 id="dx1-126002"></a>
<a 
 id="dx1-126003"></a>
<!--l. 1138--><p class="noindent" >The sinusoidal projection is one of the oldest known projections, is equal-area, and has been used
since the mid-16th century. It has also been called the &#8220;Equal-area Mercator&#8221; projection. The central
meridian is a straight line; all other meridians are sinusoidal curves. Parallels are all equally spaced
straight lines, with scale being true along all parallels (and central meridian). To use it, you need to
select:
</p>
   <ul class="itemize1">
   <li class="itemize">The central meridian [Middle of your map].
   </li>
   <li class="itemize">Scale along equator in inch/degree or 1:xxxxx (<span 
class="pcrb8t-">-Ji</span>), or map width (<span 
class="pcrb8t-">-JI</span>).</li></ul>
<!--l. 1152--><p class="indent" >   A simple world map using the sinusoidal projection is therefore obtained by
</p><!--l. 1154--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rd</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JI4.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bg30/g15</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A10000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ggray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_sinusoidal.ps</span>
   </div>__________________________________________________________________________________________________
<hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-126004r31"></a>
                                                                                 

                                                                                 

<!--l. 1155--><p class="noindent" ><img 
src="images/GMT_sinusoidal.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;6.31: </span><span  
class="content">World map using the Sinusoidal projection.</span></div><!--tex4ht:label?: x1-126004r31 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 1157--><p class="indent" >   To reduce distortion of shape the interrupted sinusoidal projection was introduced in 1927. Here, three
symmetrical segments are used to cover the entire world. Traditionally, the interruptions are at 160<span 
class="ptmr8c-">°</span>W, 20<span 
class="ptmr8c-">°</span>W, and
60<span 
class="ptmr8c-">°</span>E. To make the interrupted map we must call <a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-126005"></a> for each segment and superpose the results. To
produce an interrupted world map (with the traditional boundaries just mentioned) that is 5.04 inches
wide we use the scale 5.04/360<span 
class="ptmr8c-">°</span>&#x00A0;= 0.014 and offset the subsequent plots horizontally by their widths
(140<span 
class="ptmr8c-">°</span><!--l. 1166--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-bin">&#x22C5;</mo></math>0.014 and
80<span 
class="ptmr8c-">°</span><!--l. 1167--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-bin">&#x22C5;</mo></math>0.014):
<a 
 id="dx1-126006"></a>
</p><!--l. 1171--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R200/340/-90/90</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ji0.014i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bg30/g15</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A10000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_sinus_int.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R-20/60/-90/90</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ji0.014i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bg30/g15</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A10000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X1.96i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_sinus_int.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R60/200/-90/90</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ji0.014i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bg30/g15</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A10000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X1.12i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_sinus_int.ps</span>
   </div>__________________________________________________________________________________________________
<hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-126007r32"></a>
                                                                                 

                                                                                 

<!--l. 1172--><p class="noindent" ><img 
src="images/GMT_sinus_int.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;6.32: </span><span  
class="content">World map using the Interrupted Sinusoidal projection.</span></div><!--tex4ht:label?: x1-126007r32 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 1174--><p class="indent" >   The usefulness of the interrupted sinusoidal projection is basically limited to display of global, discontinuous
data distributions like hydrocarbon and mineral resources, etc.
<a 
 id="dx1-126008"></a>
<a 
 id="dx1-126009"></a>
<a 
 id="dx1-126010"></a>
</p>
   <h4 class="subsectionHead"><span class="titlemark">6.4.7    </span> <a 
 id="x1-1270006.4.7"></a>Van der Grinten projection (<span 
class="pcrb8t-">-Jv-JV</span>)</h4>
<a 
 id="dx1-127001"></a>
<a 
 id="dx1-127002"></a>
<a 
 id="dx1-127003"></a>
<!--l. 1188--><p class="noindent" >The Van der Grinten projection, presented by Alphons J. van der Grinten in 1904, is neither equal-area nor
conformal. Central meridian and Equator are straight lines; other meridians are arcs of circles. The scale is true
along the Equator only. Its main use is to show the entire world enclosed in a circle. To use it you must
enter
</p>
   <ul class="itemize1">
   <li class="itemize">The central meridian [Middle of your map].
   </li>
   <li class="itemize">Scale along equator in inch/degree or 1:xxxxx (<span 
class="pcrb8t-">-Jv</span>), or map width (<span 
class="pcrb8t-">-JV</span>).</li></ul>
<!--l. 1200--><p class="indent" >   Centered on the Dateline, the example below was created by this command:
</p><!--l. 1202--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rg</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JV4i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bg30/g15</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A10000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_grinten.ps</span>
   </div>__________________________________________________________________________________________________
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-127004r33"></a>
                                                                                 

                                                                                 

<!--l. 1204--><p class="noindent" ><img 
src="images/GMT_grinten.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;6.33: </span><span  
class="content">World map using the Van der Grinten projection.</span></div><!--tex4ht:label?: x1-127004r33 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-127005"></a>
<a 
 id="dx1-127006"></a>
<a 
 id="dx1-127007"></a>
<a 
 id="dx1-127008"></a>
<a 
 id="dx1-127009"></a>
                                                                                 

                                                                                 
                                                                                 

                                                                                 
                                                                                 

                                                                                 
   <h2 class="chapterHead"><span class="titlemark">Chapter&#x00A0;7</span><br /><a 
 id="x1-1280007"></a>Creating GMT Graphics</h2>
<!--l. 13--><p class="noindent" >In this section we will be giving several examples of typical usage of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;programs. In general, we
will start with a raw data set, manipulate the numbers in various ways, then display the results in
diagram or map view. The resulting plots will have in common that they are all made up of simpler
plots that have been overlaid to create a complex illustration. We will mostly follow the following
format:
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-128002x1">We explain what we want to achieve in plain language.
   </li>
   <li 
  class="enumerate" id="x1-128004x2">We present an annotated Bourne shell script that contains all commands used to generate the illustration.
   </li>
   <li 
  class="enumerate" id="x1-128006x3">We explain the rationale behind the commands.
   </li>
   <li 
  class="enumerate" id="x1-128008x4">We present the illustration, 50% reduced in size, and without the timestamp (<span 
class="pcrb8t-">-U</span>).</li></ol>
<!--l. 35--><p class="indent" >   A detailed discussion of each command is not given; we refer you to the manual pages for command line
syntax, etc. We encourage you to run these scripts for yourself. See Appendix&#x00A0;<a 
href="#x1-204000D">D<!--tex4ht:ref: app:D --></a> if you would like an electronic
version of all the shell-scripts (both <span 
class="ptmbo8t-">sh</span><a 
 id="dx1-128009"></a> and <span 
class="ptmbo8t-">csh</span><a 
 id="dx1-128010"></a> scripts are available, as or DOS batch files; only the
<span 
class="ptmbo8t-">sh</span><a 
 id="dx1-128011"></a>-scripts are discussed here) and support data used below. Note that all examples explicitly specifies
the measurement units, so although we use inches you should be able to run these scripts and get
the same plots even if you have cm as the default measure unit. The examples are all written to be
&#8220;quiet&#8221;, that is no information is echoed to the screen. Thus, these scripts are well suited for background
execution.
</p><!--l. 48--><p class="indent" >   Note that we also end each script by cleaning up after ourselves. Because <span 
class="ptmbo8t-">awk</span><a 
 id="dx1-128012"></a> is broken as designed on some
systems, and <span 
class="ptmbo8t-">nawk</span><a 
 id="dx1-128013"></a> is not available on others we refer to <span 
class="ptmbo8t-">$AWK</span><a 
 id="dx1-128014"></a> in the scripts below; the <span 
class="ptmbo8t-">do_examples.sh</span><a 
 id="dx1-128015"></a> scripts
will set this when running all examples.
</p><!--l. 54--><p class="indent" >   Finally, be aware that for practical purposes the output <span 
class="ptmri8t-">PostScript</span>&#x00A0;file name is stored as the variable
<span 
class="pcrr8t-">ps</span>.
</p>
   <h3 class="sectionHead"><span class="titlemark">7.1    </span> <a 
 id="x1-1290007.1"></a>The making of contour maps</h3>
<a 
 id="dx1-129001"></a>
<!--l. 60--><p class="noindent" >We want to create two contour maps of the low order geoid using the Hammer equal area projection. Our gridded
data file is called <span class="underline">osu91a1f_16.nc</span> and contains a global 1<span 
class="ptmr8c-">°</span>&#x00A0;by 1<span 
class="ptmr8c-">°</span>&#x00A0;gridded geoid (we will see how to make gridded
files later). We would like to show one map centered on Greenwich and one centered on the dateline. Positive
contours should be drawn with a solid pen and negative contours with a dashed pen. Annotations should
occur for every 50 m contour level, and both contour maps should show the continents in light gray in
the background. Finally, we want a rectangular frame surrounding the two maps. This is how it is
done:
</p><!--l. 72--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;EXAMPLE</span><span 
class="pcrr8t-x-x-70">&#x00A0;01</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Make</span><span 
class="pcrr8t-x-x-70">&#x00A0;two</span><span 
class="pcrr8t-x-x-70">&#x00A0;contour</span><span 
class="pcrr8t-x-x-70">&#x00A0;maps</span><span 
class="pcrr8t-x-x-70">&#x00A0;based</span><span 
class="pcrr8t-x-x-70">&#x00A0;on</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;data</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;file</span><span 
class="pcrr8t-x-x-70">&#x00A0;osu91a1f_16.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmtset,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdcontour,</span><span 
class="pcrr8t-x-x-70">&#x00A0;psbasemap,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pscoast</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;rm</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ps=../example_01.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;GRID_CROSS_SIZE_PRIMARY</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;ANNOT_FONT_SIZE_PRIMARY</span><span 
class="pcrr8t-x-x-70">&#x00A0;10</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psbasemap</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R0/6.5/0/9</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B0</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rg</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JH0/6i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X0.25i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y0.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bg30</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdcontour</span><span 
class="pcrr8t-x-x-70">&#x00A0;osu91a1f_16.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C10</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A50+s7</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gd4i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-L-1000/-1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wcthinnest,-</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wathin,-</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T0.1i/0.02i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdcontour</span><span 
class="pcrr8t-x-x-70">&#x00A0;osu91a1f_16.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C10</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A50+s7</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gd4i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-L-1/1000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T0.1i/0.02i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rg</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JH6i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y4i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bg30:.~Low</span><span 
class="pcrr8t-x-x-70">&#x00A0;Order</span><span 
class="pcrr8t-x-x-70">&#x00A0;Geoid~:</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
                                                                                 

                                                                                 
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdcontour</span><span 
class="pcrr8t-x-x-70">&#x00A0;osu91a1f_16.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C10</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A50+s7</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gd4i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-L-1000/-1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wcthinnest,-</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wathin,-</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T0.1i/0.02i:-+</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdcontour</span><span 
class="pcrr8t-x-x-70">&#x00A0;osu91a1f_16.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C10</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A50+s7</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gd4i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-L-1/1000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T0.1i/0.02i:-+</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt*</span>
   </div>__________________________________________________________________________________________________
<!--l. 74--><p class="indent" >   The first command draws a box surrounding the maps. This is followed by two sequences of <a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-129002"></a>,
<a 
href="../html/man/grdcontour.html" ><span 
class="phvb8t-">grdcontour</span></a>, <a 
href="../html/man/grdcontour.html" ><span 
class="phvb8t-">grdcontour</span></a>. They differ in that the first is centered on Greenwich; the second on the
dateline. We use the limit option (<span 
class="pcrb8t-">-L</span>) in <a 
href="../html/man/grdcontour.html" ><span 
class="phvb8t-">grdcontour</span></a><a 
 id="dx1-129003"></a> to select negative contours only and plot those
with a dashed pen, then positive contours only and draw with a solid pen [Default]. The <span 
class="pcrb8t-">-T </span>option
causes tickmarks pointing in the downhill direction to be drawn on the innermost, closed contours. For
the upper panel we also added - and + to the local lows and highs. You can find this illustration as
Figure&#x00A0;<a 
href="#x1-129004r1">7.1<!--tex4ht:ref: fig:GMT_example_01 --></a>.
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-129004r1"></a>
                                                                                 

                                                                                 
<!--l. 87--><p class="noindent" ><img 
src="images/example_01.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;7.1: </span><span  
class="content">Contour maps of gridded data.</span></div><!--tex4ht:label?: x1-129004r1 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-129005"></a>
   <h3 class="sectionHead"><span class="titlemark">7.2    </span> <a 
 id="x1-1300007.2"></a>Image presentations</h3>
<a 
 id="dx1-130001"></a>
<!--l. 95--><p class="noindent" >As our second example we will demonstrate how to make color images from gridded data sets (again, we will defer
the actual making of grid files to later examples). We will use the supplemental program <a 
href="../html/man/grdraster.html" ><span 
class="phvb8t-">grdraster</span></a><a 
 id="dx1-130002"></a> to extract 2-D
grid files of bathymetry and Geosat geoid heights and put the two images on the same page. The region of interest
is the Hawaiian islands, and due to the oblique trend of the island chain we prefer to rotate our geographical data
sets using an oblique Mercator projection defined by the hotspot pole at (68<span 
class="ptmr8c-">°</span>W, 69<span 
class="ptmr8c-">°</span>N). We choose the
point (190<span 
class="ptmr8c-">°</span>, 25.5<span 
class="ptmr8c-">°</span>) to be the center of our projection (e.g., the local origin), and we want to image a
rectangular region defined by the longitudes and latitudes of the lower left and upper right corner of region.
In our case we choose (160<span 
class="ptmr8c-">°</span>, 20<span 
class="ptmr8c-">°</span>) and (220<span 
class="ptmr8c-">°</span>, 30<span 
class="ptmr8c-">°</span>) as the corners. We use <a 
href="../html/man/grdimage.html" ><span 
class="phvb8t-">grdimage</span></a><a 
 id="dx1-130003"></a> to make the
illustration:
</p><!--l. 112--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;EXAMPLE</span><span 
class="pcrr8t-x-x-70">&#x00A0;02</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Make</span><span 
class="pcrr8t-x-x-70">&#x00A0;two</span><span 
class="pcrr8t-x-x-70">&#x00A0;color</span><span 
class="pcrr8t-x-x-70">&#x00A0;images</span><span 
class="pcrr8t-x-x-70">&#x00A0;based</span><span 
class="pcrr8t-x-x-70">&#x00A0;gridded</span><span 
class="pcrr8t-x-x-70">&#x00A0;data</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmtset,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grd2cpt,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdgradient,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdimage,</span><span 
class="pcrr8t-x-x-70">&#x00A0;makecpt,</span><span 
class="pcrr8t-x-x-70">&#x00A0;psscale,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;rm</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ps=../example_02.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;HEADER_FONT_SIZE</span><span 
class="pcrr8t-x-x-70">&#x00A0;30</span><span 
class="pcrr8t-x-x-70">&#x00A0;OBLIQUE_ANNOTATION</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">makecpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Crainbow</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T-2/14/2</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;g.cpt</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdimage</span><span 
class="pcrr8t-x-x-70">&#x00A0;HI_geoid2.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R160/20/220/30r</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JOc190/25.5/292/69/4.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-E50</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U/-1.25i/-1i/~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;2</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B10</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cg.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X1.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y1.25i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psscale</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cg.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D5.1i/1.35i/2.88i/0.4i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ac</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B2:GEOID:/:m:</span><span 
class="pcrr8t-x-x-70">&#x00A0;-E</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grd2cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;HI_topo2.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Crelief</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Z</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;t.cpt</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdgradient</span><span 
class="pcrr8t-x-x-70">&#x00A0;HI_topo2.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A0</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Nt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-GHI_topo2_int.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdimage</span><span 
class="pcrr8t-x-x-70">&#x00A0;HI_topo2.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-IHI_topo2_int.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-E50</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B10:.~H@#awaiian@#</span><span 
class="pcrr8t-x-x-70">&#x00A0;T@#opo</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;@#G@#eoid:~</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ct.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y4.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;--HEADER_OFFSET=0.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psscale</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ct.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D5.1i/1.35i/2.88i/0.4i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I0.3</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ac</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B2:TOPO:/:km:</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R0/8.5/0/11</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y-4.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;&#x003C;</span><span 
class="pcrr8t-x-x-70">&#x00A0;END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-0.4</span><span 
class="pcrr8t-x-x-70">&#x00A0;7.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;30</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;CB</span><span 
class="pcrr8t-x-x-70">&#x00A0;a)</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-0.4</span><span 
class="pcrr8t-x-x-70">&#x00A0;3.0</span><span 
class="pcrr8t-x-x-70">&#x00A0;30</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;CB</span><span 
class="pcrr8t-x-x-70">&#x00A0;b)</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;HI_topo2_int.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;?.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt*</span>
   </div>__________________________________________________________________________________________________
<!--l. 114--><p class="indent" >   The first step extracts the 2-D data sets from the local data base using <a 
href="../html/man/grdraster.html" ><span 
class="phvb8t-">grdraster</span></a><a 
 id="dx1-130004"></a>, which is a supplemental
utility program (see Appendix&#x00A0;<a 
href="#x1-165000A">A<!--tex4ht:ref: app:A --></a>) that may be adapted to reflect the nature of your data base format. It
automatically figures out the required extent of the region given the two corners points and the projection.
The extreme meridians and parallels enclosing the oblique region is <span 
class="pcrb8t-">-R</span>159:50/220:10/3:10/47:35.
This is the area extracted by <a 
href="../html/man/grdraster.html" ><span 
class="phvb8t-">grdraster</span></a><a 
 id="dx1-130005"></a>. For your convenience we have commented out those lines
and provided the two extracted files so you do not need <a 
href="../html/man/grdraster.html" ><span 
class="phvb8t-">grdraster</span></a><a 
 id="dx1-130006"></a> to try this example. By using the
embedded grid file format mechanism we saved the topography using kilometers as the data unit. We now
have two grid files with bathymetry and geoid heights, respectively. We use <a 
href="../html/man/makecpt.html" ><span 
class="phvb8t-">makecpt</span></a><a 
 id="dx1-130007"></a> to generate a
linear color palette file <span class="underline">geoid.cpt</span> for the geoid and use <a 
href="../html/man/grd2cpt.html" ><span 
class="phvb8t-">grd2cpt</span></a><a 
 id="dx1-130008"></a> to get a histogram-equalized cpt file
<span class="underline">topo.cpt</span> for the topography data. To emphasize the structures in the data we calculate the slopes in the
north-south direction using <a 
href="../html/man/grdgradient.html" ><span 
class="phvb8t-">grdgradient</span></a><a 
 id="dx1-130009"></a>; these will be used to modulate the color image. Next we run
<a 
href="../html/man/grdimage.html" ><span 
class="phvb8t-">grdimage</span></a><a 
 id="dx1-130010"></a> to create a color-code image of the Geosat geoid heights, and draw a color legend to the
right of the image with <a 
href="../html/man/psscale.html" ><span 
class="phvb8t-">psscale</span></a><a 
 id="dx1-130011"></a>. Similarly, we run <a 
href="../html/man/grdimage.html" ><span 
class="phvb8t-">grdimage</span></a><a 
 id="dx1-130012"></a> but specify <span 
class="pcrb8t-">-Y</span>4.5i to plot above the
previous image. Adding scale and label the two plots a) and b) completes the illustration (Figure&#x00A0;<a 
href="#x1-130014r2">7.2<!--tex4ht:ref: fig:GMT_example_02 --></a>).
<a 
 id="dx1-130013"></a></p><hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-130014r2"></a>
                                                                                 

                                                                                 
<!--l. 142--><p class="noindent" ><img 
src="images/example_02.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;7.2: </span><span  
class="content">Color images from gridded data.</span></div><!--tex4ht:label?: x1-130014r2 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
   <h3 class="sectionHead"><span class="titlemark">7.3    </span> <a 
 id="x1-1310007.3"></a>Spectral estimation and xy-plots</h3>
<a 
 id="dx1-131001"></a>
<a 
 id="dx1-131002"></a>
<!--l. 148--><p class="noindent" >In this example we will show how to use the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;programs <a 
href="../html/man/fitcircle.html" ><span 
class="phvb8t-">fitcircle</span></a><a 
 id="dx1-131003"></a>, <a 
href="../html/man/project.html" ><span 
class="phvb8t-">project</span></a><a 
 id="dx1-131004"></a>, <a 
href="../html/man/sample1d.html" ><span 
class="phvb8t-">sample1d</span></a><a 
 id="dx1-131005"></a>, <a 
href="../html/man/spectrum1d.html" ><span 
class="phvb8t-">spectrum1d</span></a><a 
 id="dx1-131006"></a>, <a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-131007"></a>,
and <a 
href="../html/man/pstext.html" ><span 
class="phvb8t-">pstext</span></a><a 
 id="dx1-131008"></a>. Suppose you have (lon, lat, gravity) along a satellite track in a file called <span class="underline">sat.xyg</span>, and (lon, lat, gravity)
along a ship track in a file called <span class="underline">ship.xyg</span>. You want to make a cross-spectral analysis of these data. First, you will
have to get the two data sets into equidistantly sampled time-series form. To do this, it will be convenient to project
these along the great circle that best fits the sat track. We must use <a 
href="../html/man/fitcircle.html" ><span 
class="phvb8t-">fitcircle</span></a><a 
 id="dx1-131009"></a> to find this great circle and choose the
L<!--l. 159--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mn>2</mn></mrow></msub 
></math>
estimates of best pole. We project the data using <a 
href="../html/man/project.html" ><span 
class="phvb8t-">project</span></a><a 
 id="dx1-131010"></a> to find out what their ranges are in the projected
coordinate. The <a 
href="../html/man/minmax.html" ><span 
class="phvb8t-">minmax</span></a><a 
 id="dx1-131011"></a> utility will report the minimum and maximum values for multi-column ASCII tables.
Use this information to select the range of the projected distance coordinate they have in common. The script
prompts you for that information after reporting the values. We decide to make a file of equidistant sampling points
spaced 1 km apart from -1167 to +1169, and use the <span 
class="ptmri8t-">UNIX</span>&#x00A0;utility <span 
class="ptmbo8t-">$AWK</span><a 
 id="dx1-131012"></a> to accomplish this step. We can then
resample the projected data, and carry out the cross-spectral calculations, assuming that the ship is the input and the
satellite is the output data. There are several intermediate steps that produce helpful plots showing the effect of the
various processing steps (<span class="underline">example_03[a&#8211;f].ps</span>), while the final plot <span class="underline">example_03.ps</span> shows the ship and
sat power in one diagram and the coherency on another diagram, both on the same page. Note the
extended use of <a 
href="../html/man/pstext.html" ><span 
class="phvb8t-">pstext</span></a><a 
 id="dx1-131013"></a> and <a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-131014"></a> to put labels and legends directly on the plots. For that purpose
we often use <span 
class="pcrb8t-">-Jx</span>1i and specify positions in inches directly. Thus, the complete automated script
reads:
</p><!--l. 181--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;EXAMPLE</span><span 
class="pcrr8t-x-x-70">&#x00A0;03</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Resample</span><span 
class="pcrr8t-x-x-70">&#x00A0;track</span><span 
class="pcrr8t-x-x-70">&#x00A0;data,</span><span 
class="pcrr8t-x-x-70">&#x00A0;do</span><span 
class="pcrr8t-x-x-70">&#x00A0;spectral</span><span 
class="pcrr8t-x-x-70">&#x00A0;analysis,</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;plot</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;filter1d,</span><span 
class="pcrr8t-x-x-70">&#x00A0;fitcircle,</span><span 
class="pcrr8t-x-x-70">&#x00A0;minmax,</span><span 
class="pcrr8t-x-x-70">&#x00A0;project,</span><span 
class="pcrr8t-x-x-70">&#x00A0;sample1d</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;spectrum1d,</span><span 
class="pcrr8t-x-x-70">&#x00A0;trend1d,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pshistogram,</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$AWK,</span><span 
class="pcrr8t-x-x-70">&#x00A0;cat,</span><span 
class="pcrr8t-x-x-70">&#x00A0;echo,</span><span 
class="pcrr8t-x-x-70">&#x00A0;head,</span><span 
class="pcrr8t-x-x-70">&#x00A0;paste,</span><span 
class="pcrr8t-x-x-70">&#x00A0;rm,</span><span 
class="pcrr8t-x-x-70">&#x00A0;tail</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;This</span><span 
class="pcrr8t-x-x-70">&#x00A0;example</span><span 
class="pcrr8t-x-x-70">&#x00A0;begins</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span><span 
class="pcrr8t-x-x-70">&#x00A0;data</span><span 
class="pcrr8t-x-x-70">&#x00A0;files</span><span 
class="pcrr8t-x-x-70">&#x00A0;~ship.xyg~</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;~sat.xyg~</span><span 
class="pcrr8t-x-x-70">&#x00A0;which</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;are</span><span 
class="pcrr8t-x-x-70">&#x00A0;measurements</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;quantity</span><span 
class="pcrr8t-x-x-70">&#x00A0;~g~</span><span 
class="pcrr8t-x-x-70">&#x00A0;(a</span><span 
class="pcrr8t-x-x-70">&#x00A0;~gravity</span><span 
class="pcrr8t-x-x-70">&#x00A0;anomaly~</span><span 
class="pcrr8t-x-x-70">&#x00A0;which</span><span 
class="pcrr8t-x-x-70">&#x00A0;is</span><span 
class="pcrr8t-x-x-70">&#x00A0;an</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;anomalous</span><span 
class="pcrr8t-x-x-70">&#x00A0;increase</span><span 
class="pcrr8t-x-x-70">&#x00A0;or</span><span 
class="pcrr8t-x-x-70">&#x00A0;decrease</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;magnitude</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;acceleration</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;gravity</span><span 
class="pcrr8t-x-x-70">&#x00A0;at</span><span 
class="pcrr8t-x-x-70">&#x00A0;sea</span><span 
class="pcrr8t-x-x-70">&#x00A0;level).</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;g</span><span 
class="pcrr8t-x-x-70">&#x00A0;is</span><span 
class="pcrr8t-x-x-70">&#x00A0;measured</span><span 
class="pcrr8t-x-x-70">&#x00A0;at</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;sequence</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;points</span><span 
class="pcrr8t-x-x-70">&#x00A0;~x,y~</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;which</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;this</span><span 
class="pcrr8t-x-x-70">&#x00A0;case</span><span 
class="pcrr8t-x-x-70">&#x00A0;are</span><span 
class="pcrr8t-x-x-70">&#x00A0;~longitude,latitude~.</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;The</span><span 
class="pcrr8t-x-x-70">&#x00A0;~sat.xyg~</span><span 
class="pcrr8t-x-x-70">&#x00A0;data</span><span 
class="pcrr8t-x-x-70">&#x00A0;were</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;obtained</span><span 
class="pcrr8t-x-x-70">&#x00A0;by</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;satellite</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;sequence</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;points</span><span 
class="pcrr8t-x-x-70">&#x00A0;lies</span><span 
class="pcrr8t-x-x-70">&#x00A0;almost</span><span 
class="pcrr8t-x-x-70">&#x00A0;along</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;great</span><span 
class="pcrr8t-x-x-70">&#x00A0;circle.</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;The</span><span 
class="pcrr8t-x-x-70">&#x00A0;~ship.xyg~</span><span 
class="pcrr8t-x-x-70">&#x00A0;data</span><span 
class="pcrr8t-x-x-70">&#x00A0;were</span><span 
class="pcrr8t-x-x-70">&#x00A0;obtained</span><span 
class="pcrr8t-x-x-70">&#x00A0;by</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship</span><span 
class="pcrr8t-x-x-70">&#x00A0;which</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;tried</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;follow</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;satellite&#8217;s</span><span 
class="pcrr8t-x-x-70">&#x00A0;path</span><span 
class="pcrr8t-x-x-70">&#x00A0;but</span><span 
class="pcrr8t-x-x-70">&#x00A0;deviated</span><span 
class="pcrr8t-x-x-70">&#x00A0;from</span><span 
class="pcrr8t-x-x-70">&#x00A0;it</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;places.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Thus</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;two</span><span 
class="pcrr8t-x-x-70">&#x00A0;data</span><span 
class="pcrr8t-x-x-70">&#x00A0;sets</span><span 
class="pcrr8t-x-x-70">&#x00A0;are</span><span 
class="pcrr8t-x-x-70">&#x00A0;not</span><span 
class="pcrr8t-x-x-70">&#x00A0;measured</span><span 
class="pcrr8t-x-x-70">&#x00A0;at</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;same</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;points,</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;use</span><span 
class="pcrr8t-x-x-70">&#x00A0;various</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;tools</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;facilitate</span><span 
class="pcrr8t-x-x-70">&#x00A0;their</span><span 
class="pcrr8t-x-x-70">&#x00A0;comparison.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;The</span><span 
class="pcrr8t-x-x-70">&#x00A0;main</span><span 
class="pcrr8t-x-x-70">&#x00A0;illustration</span><span 
class="pcrr8t-x-x-70">&#x00A0;(example_03.ps)</span><span 
class="pcrr8t-x-x-70">&#x00A0;are</span><span 
class="pcrr8t-x-x-70">&#x00A0;accompanied</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span><span 
class="pcrr8t-x-x-70">&#x00A0;5</span><span 
class="pcrr8t-x-x-70">&#x00A0;support</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;plots</span><span 
class="pcrr8t-x-x-70">&#x00A0;(03a-f)</span><span 
class="pcrr8t-x-x-70">&#x00A0;showing</span><span 
class="pcrr8t-x-x-70">&#x00A0;data</span><span 
class="pcrr8t-x-x-70">&#x00A0;distributions</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;various</span><span 
class="pcrr8t-x-x-70">&#x00A0;intermediate</span><span 
class="pcrr8t-x-x-70">&#x00A0;steps.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;First,</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;use</span><span 
class="pcrr8t-x-x-70">&#x00A0;~fitcircle~</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;find</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;parameters</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;great</span><span 
class="pcrr8t-x-x-70">&#x00A0;circle</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;most</span><span 
class="pcrr8t-x-x-70">&#x00A0;closely</span><span 
class="pcrr8t-x-x-70">&#x00A0;fitting</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;x,y</span><span 
class="pcrr8t-x-x-70">&#x00A0;points</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;~sat.xyg~:</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ps=../example_03.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">fitcircle</span><span 
class="pcrr8t-x-x-70">&#x00A0;sat.xyg</span><span 
class="pcrr8t-x-x-70">&#x00A0;-L2</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;report</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">cposx=&#8216;grep</span><span 
class="pcrr8t-x-x-70">&#x00A0;~L2</span><span 
class="pcrr8t-x-x-70">&#x00A0;Average</span><span 
class="pcrr8t-x-x-70">&#x00A0;Position~</span><span 
class="pcrr8t-x-x-70">&#x00A0;report</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;cut</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f1&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">cposy=&#8216;grep</span><span 
class="pcrr8t-x-x-70">&#x00A0;~L2</span><span 
class="pcrr8t-x-x-70">&#x00A0;Average</span><span 
class="pcrr8t-x-x-70">&#x00A0;Position~</span><span 
class="pcrr8t-x-x-70">&#x00A0;report</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;cut</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f2&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pposx=&#8216;grep</span><span 
class="pcrr8t-x-x-70">&#x00A0;~L2</span><span 
class="pcrr8t-x-x-70">&#x00A0;N</span><span 
class="pcrr8t-x-x-70">&#x00A0;Hemisphere~</span><span 
class="pcrr8t-x-x-70">&#x00A0;report</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;cut</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f1&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pposy=&#8216;grep</span><span 
class="pcrr8t-x-x-70">&#x00A0;~L2</span><span 
class="pcrr8t-x-x-70">&#x00A0;N</span><span 
class="pcrr8t-x-x-70">&#x00A0;Hemisphere~</span><span 
class="pcrr8t-x-x-70">&#x00A0;report</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;cut</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f2&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Now</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;use</span><span 
class="pcrr8t-x-x-70">&#x00A0;~project~</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;project</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;data</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;both</span><span 
class="pcrr8t-x-x-70">&#x00A0;sat.xyg</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship.xyg</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;into</span><span 
class="pcrr8t-x-x-70">&#x00A0;data.pg,</span><span 
class="pcrr8t-x-x-70">&#x00A0;where</span><span 
class="pcrr8t-x-x-70">&#x00A0;g</span><span 
class="pcrr8t-x-x-70">&#x00A0;is</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;same</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;p</span><span 
class="pcrr8t-x-x-70">&#x00A0;is</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;oblique</span><span 
class="pcrr8t-x-x-70">&#x00A0;longitude</span><span 
class="pcrr8t-x-x-70">&#x00A0;around</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;great</span><span 
class="pcrr8t-x-x-70">&#x00A0;circle.</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;We</span><span 
class="pcrr8t-x-x-70">&#x00A0;use</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Q</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;get</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;p</span><span 
class="pcrr8t-x-x-70">&#x00A0;distance</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;kilometers,</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;-S</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;sort</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;output</span><span 
class="pcrr8t-x-x-70">&#x00A0;into</span><span 
class="pcrr8t-x-x-70">&#x00A0;increasing</span><span 
class="pcrr8t-x-x-70">&#x00A0;p</span><span 
class="pcrr8t-x-x-70">&#x00A0;values.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">project</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;sat.xyg</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C$cposx/$cposy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T$pposx/$pposy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-S</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Fpz</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Q</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;sat.pg</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">project</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship.xyg</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C$cposx/$cposy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T$pposx/$pposy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-S</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Fpz</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Q</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship.pg</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;The</span><span 
class="pcrr8t-x-x-70">&#x00A0;minmax</span><span 
class="pcrr8t-x-x-70">&#x00A0;utility</span><span 
class="pcrr8t-x-x-70">&#x00A0;will</span><span 
class="pcrr8t-x-x-70">&#x00A0;report</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;minimum</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;maximum</span><span 
class="pcrr8t-x-x-70">&#x00A0;values</span><span 
class="pcrr8t-x-x-70">&#x00A0;for</span><span 
class="pcrr8t-x-x-70">&#x00A0;all</span><span 
class="pcrr8t-x-x-70">&#x00A0;columns.</span>
                                                                                 

                                                                                 
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;We</span><span 
class="pcrr8t-x-x-70">&#x00A0;use</span><span 
class="pcrr8t-x-x-70">&#x00A0;this</span><span 
class="pcrr8t-x-x-70">&#x00A0;information</span><span 
class="pcrr8t-x-x-70">&#x00A0;first</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;large</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I</span><span 
class="pcrr8t-x-x-70">&#x00A0;value</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;find</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;appropriate</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;use</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;plot</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;.pg</span><span 
class="pcrr8t-x-x-70">&#x00A0;data.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">plotr=&#8216;cat</span><span 
class="pcrr8t-x-x-70">&#x00A0;sat.pg</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship.pg</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;minmax</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I100/25&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;$plotr</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U/-1.75i/-1.25i/~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;3a</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ba500f100:~Distance</span><span 
class="pcrr8t-x-x-70">&#x00A0;along</span><span 
class="pcrr8t-x-x-70">&#x00A0;great</span><span 
class="pcrr8t-x-x-70">&#x00A0;circle~:/a100f25:~Gravity</span><span 
class="pcrr8t-x-x-70">&#x00A0;anomaly</span><span 
class="pcrr8t-x-x-70">&#x00A0;(mGal)~:WeSn</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX8i/5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X2i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y1.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthick</span><span 
class="pcrr8t-x-x-70">&#x00A0;sat.pg</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;../example_03a.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sp0.03i</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship.pg</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;../example_03a.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;From</span><span 
class="pcrr8t-x-x-70">&#x00A0;this</span><span 
class="pcrr8t-x-x-70">&#x00A0;plot</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;see</span><span 
class="pcrr8t-x-x-70">&#x00A0;that</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship</span><span 
class="pcrr8t-x-x-70">&#x00A0;data</span><span 
class="pcrr8t-x-x-70">&#x00A0;have</span><span 
class="pcrr8t-x-x-70">&#x00A0;some</span><span 
class="pcrr8t-x-x-70">&#x00A0;~spikes~</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;also</span><span 
class="pcrr8t-x-x-70">&#x00A0;greatly</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;differ</span><span 
class="pcrr8t-x-x-70">&#x00A0;from</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;satellite</span><span 
class="pcrr8t-x-x-70">&#x00A0;data</span><span 
class="pcrr8t-x-x-70">&#x00A0;at</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;point</span><span 
class="pcrr8t-x-x-70">&#x00A0;about</span><span 
class="pcrr8t-x-x-70">&#x00A0;p</span><span 
class="pcrr8t-x-x-70">&#x00A0;~=</span><span 
class="pcrr8t-x-x-70">&#x00A0;+250</span><span 
class="pcrr8t-x-x-70">&#x00A0;km,</span><span 
class="pcrr8t-x-x-70">&#x00A0;where</span><span 
class="pcrr8t-x-x-70">&#x00A0;both</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;them</span><span 
class="pcrr8t-x-x-70">&#x00A0;show</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;very</span><span 
class="pcrr8t-x-x-70">&#x00A0;large</span><span 
class="pcrr8t-x-x-70">&#x00A0;anomaly.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;To</span><span 
class="pcrr8t-x-x-70">&#x00A0;facilitate</span><span 
class="pcrr8t-x-x-70">&#x00A0;comparison</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;two</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;cross-spectral</span><span 
class="pcrr8t-x-x-70">&#x00A0;analysis</span><span 
class="pcrr8t-x-x-70">&#x00A0;using</span><span 
class="pcrr8t-x-x-70">&#x00A0;~spectrum1d~,</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;resample</span><span 
class="pcrr8t-x-x-70">&#x00A0;both</span><span 
class="pcrr8t-x-x-70">&#x00A0;data</span><span 
class="pcrr8t-x-x-70">&#x00A0;sets</span><span 
class="pcrr8t-x-x-70">&#x00A0;at</span><span 
class="pcrr8t-x-x-70">&#x00A0;intervals</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;km.</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;First</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;find</span><span 
class="pcrr8t-x-x-70">&#x00A0;out</span><span 
class="pcrr8t-x-x-70">&#x00A0;how</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;data</span><span 
class="pcrr8t-x-x-70">&#x00A0;are</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;typically</span><span 
class="pcrr8t-x-x-70">&#x00A0;spaced</span><span 
class="pcrr8t-x-x-70">&#x00A0;using</span><span 
class="pcrr8t-x-x-70">&#x00A0;$AWK</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;get</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;delta-p</span><span 
class="pcrr8t-x-x-70">&#x00A0;between</span><span 
class="pcrr8t-x-x-70">&#x00A0;points</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;view</span><span 
class="pcrr8t-x-x-70">&#x00A0;it</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;~pshistogram~.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">$AWK</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;{</span><span 
class="pcrr8t-x-x-70">&#x00A0;if</span><span 
class="pcrr8t-x-x-70">&#x00A0;(NR</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;1)</span><span 
class="pcrr8t-x-x-70">&#x00A0;print</span><span 
class="pcrr8t-x-x-70">&#x00A0;$1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-</span><span 
class="pcrr8t-x-x-70">&#x00A0;last1;</span><span 
class="pcrr8t-x-x-70">&#x00A0;last1=$1;</span><span 
class="pcrr8t-x-x-70">&#x00A0;}&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship.pg</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pshistogram</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-W0.1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX3i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X2i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y1.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B:.~Ship~:</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U/-1.75i/-1.25i/~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;3b</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;../example_03b.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">$AWK</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;{</span><span 
class="pcrr8t-x-x-70">&#x00A0;if</span><span 
class="pcrr8t-x-x-70">&#x00A0;(NR</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;1)</span><span 
class="pcrr8t-x-x-70">&#x00A0;print</span><span 
class="pcrr8t-x-x-70">&#x00A0;$1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-</span><span 
class="pcrr8t-x-x-70">&#x00A0;last1;</span><span 
class="pcrr8t-x-x-70">&#x00A0;last1=$1;</span><span 
class="pcrr8t-x-x-70">&#x00A0;}&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;sat.pg</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pshistogram</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-W0.1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX3i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B:.~Sat~:</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;../example_03b.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;This</span><span 
class="pcrr8t-x-x-70">&#x00A0;experience</span><span 
class="pcrr8t-x-x-70">&#x00A0;shows</span><span 
class="pcrr8t-x-x-70">&#x00A0;that</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;satellite</span><span 
class="pcrr8t-x-x-70">&#x00A0;values</span><span 
class="pcrr8t-x-x-70">&#x00A0;are</span><span 
class="pcrr8t-x-x-70">&#x00A0;spaced</span><span 
class="pcrr8t-x-x-70">&#x00A0;fairly</span><span 
class="pcrr8t-x-x-70">&#x00A0;evenly,</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;delta-p</span><span 
class="pcrr8t-x-x-70">&#x00A0;between</span><span 
class="pcrr8t-x-x-70">&#x00A0;3.222</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;3.418.</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;The</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship</span><span 
class="pcrr8t-x-x-70">&#x00A0;values</span><span 
class="pcrr8t-x-x-70">&#x00A0;are</span><span 
class="pcrr8t-x-x-70">&#x00A0;spaced</span><span 
class="pcrr8t-x-x-70">&#x00A0;quite</span><span 
class="pcrr8t-x-x-70">&#x00A0;unevelnly,</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;delta-p</span><span 
class="pcrr8t-x-x-70">&#x00A0;between</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.095</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;9.017.</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;This</span><span 
class="pcrr8t-x-x-70">&#x00A0;means</span><span 
class="pcrr8t-x-x-70">&#x00A0;that</span><span 
class="pcrr8t-x-x-70">&#x00A0;when</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;want</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;km</span><span 
class="pcrr8t-x-x-70">&#x00A0;even</span><span 
class="pcrr8t-x-x-70">&#x00A0;sampling,</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;can</span><span 
class="pcrr8t-x-x-70">&#x00A0;use</span><span 
class="pcrr8t-x-x-70">&#x00A0;~sample1d~</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;interpolate</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;sat</span><span 
class="pcrr8t-x-x-70">&#x00A0;data,</span><span 
class="pcrr8t-x-x-70">&#x00A0;but</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;same</span><span 
class="pcrr8t-x-x-70">&#x00A0;procedure</span><span 
class="pcrr8t-x-x-70">&#x00A0;applied</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship</span><span 
class="pcrr8t-x-x-70">&#x00A0;data</span><span 
class="pcrr8t-x-x-70">&#x00A0;could</span><span 
class="pcrr8t-x-x-70">&#x00A0;alias</span><span 
class="pcrr8t-x-x-70">&#x00A0;information</span><span 
class="pcrr8t-x-x-70">&#x00A0;at</span><span 
class="pcrr8t-x-x-70">&#x00A0;shorter</span><span 
class="pcrr8t-x-x-70">&#x00A0;wavelengths.</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;So</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;have</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;use</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;~filter1d~</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;resample</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship</span><span 
class="pcrr8t-x-x-70">&#x00A0;data.</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Also,</span><span 
class="pcrr8t-x-x-70">&#x00A0;since</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;observed</span><span 
class="pcrr8t-x-x-70">&#x00A0;spikes</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;data,</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;use</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;median</span><span 
class="pcrr8t-x-x-70">&#x00A0;filter</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;clean</span><span 
class="pcrr8t-x-x-70">&#x00A0;up</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship</span><span 
class="pcrr8t-x-x-70">&#x00A0;values.</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;We</span><span 
class="pcrr8t-x-x-70">&#x00A0;will</span><span 
class="pcrr8t-x-x-70">&#x00A0;want</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;use</span><span 
class="pcrr8t-x-x-70">&#x00A0;~paste~</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;put</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;two</span><span 
class="pcrr8t-x-x-70">&#x00A0;sampled</span><span 
class="pcrr8t-x-x-70">&#x00A0;data</span><span 
class="pcrr8t-x-x-70">&#x00A0;sets</span><span 
class="pcrr8t-x-x-70">&#x00A0;together,</span><span 
class="pcrr8t-x-x-70">&#x00A0;so</span><span 
class="pcrr8t-x-x-70">&#x00A0;they</span><span 
class="pcrr8t-x-x-70">&#x00A0;must</span><span 
class="pcrr8t-x-x-70">&#x00A0;start</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;end</span><span 
class="pcrr8t-x-x-70">&#x00A0;at</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;same</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;point,</span><span 
class="pcrr8t-x-x-70">&#x00A0;without</span><span 
class="pcrr8t-x-x-70">&#x00A0;NaNs.</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;So</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;want</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;get</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;starting</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;ending</span><span 
class="pcrr8t-x-x-70">&#x00A0;point</span><span 
class="pcrr8t-x-x-70">&#x00A0;which</span><span 
class="pcrr8t-x-x-70">&#x00A0;works</span><span 
class="pcrr8t-x-x-70">&#x00A0;for</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;both</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;them.</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;This</span><span 
class="pcrr8t-x-x-70">&#x00A0;is</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;job</span><span 
class="pcrr8t-x-x-70">&#x00A0;for</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmtmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;UPPER/LOWER.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">head</span><span 
class="pcrr8t-x-x-70">&#x00A0;-1</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship.pg</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;tmp</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">head</span><span 
class="pcrr8t-x-x-70">&#x00A0;-1</span><span 
class="pcrr8t-x-x-70">&#x00A0;sat.pg</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;tmp</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">sampr1=&#8216;gmtmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;tmp</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ca</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sf</span><span 
class="pcrr8t-x-x-70">&#x00A0;-F0</span><span 
class="pcrr8t-x-x-70">&#x00A0;UPPER</span><span 
class="pcrr8t-x-x-70">&#x00A0;CEIL</span><span 
class="pcrr8t-x-x-70">&#x00A0;=&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">tail</span><span 
class="pcrr8t-x-x-70">&#x00A0;-1</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship.pg</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;tmp</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">tail</span><span 
class="pcrr8t-x-x-70">&#x00A0;-1</span><span 
class="pcrr8t-x-x-70">&#x00A0;sat.pg</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;tmp</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">sampr2=&#8216;gmtmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;tmp</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ca</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sf</span><span 
class="pcrr8t-x-x-70">&#x00A0;-F0</span><span 
class="pcrr8t-x-x-70">&#x00A0;LOWER</span><span 
class="pcrr8t-x-x-70">&#x00A0;FLOOR</span><span 
class="pcrr8t-x-x-70">&#x00A0;=&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Now</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;can</span><span 
class="pcrr8t-x-x-70">&#x00A0;use</span><span 
class="pcrr8t-x-x-70">&#x00A0;sampr1|2</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmtmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;make</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;sampling</span><span 
class="pcrr8t-x-x-70">&#x00A0;points</span><span 
class="pcrr8t-x-x-70">&#x00A0;file</span><span 
class="pcrr8t-x-x-70">&#x00A0;for</span><span 
class="pcrr8t-x-x-70">&#x00A0;sample1d:</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T$sampr1/$sampr2/1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N1/0</span><span 
class="pcrr8t-x-x-70">&#x00A0;T</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;samp.x</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Now</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;can</span><span 
class="pcrr8t-x-x-70">&#x00A0;resample</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;projected</span><span 
class="pcrr8t-x-x-70">&#x00A0;satellite</span><span 
class="pcrr8t-x-x-70">&#x00A0;data:</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">sample1d</span><span 
class="pcrr8t-x-x-70">&#x00A0;sat.pg</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Nsamp.x</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;samp_sat.pg</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;For</span><span 
class="pcrr8t-x-x-70">&#x00A0;reasons</span><span 
class="pcrr8t-x-x-70">&#x00A0;above,</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;use</span><span 
class="pcrr8t-x-x-70">&#x00A0;filter1d</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;pre-treat</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship</span><span 
class="pcrr8t-x-x-70">&#x00A0;data.</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;We</span><span 
class="pcrr8t-x-x-70">&#x00A0;also</span><span 
class="pcrr8t-x-x-70">&#x00A0;need</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;sample</span><span 
class="pcrr8t-x-x-70">&#x00A0;it</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;because</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;gaps</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;km</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;found.</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;So</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;use</span><span 
class="pcrr8t-x-x-70">&#x00A0;filter1d</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;sample1d.</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;We</span><span 
class="pcrr8t-x-x-70">&#x00A0;also</span><span 
class="pcrr8t-x-x-70">&#x00A0;use</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;-E</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;on</span><span 
class="pcrr8t-x-x-70">&#x00A0;filter1d</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;use</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;data</span><span 
class="pcrr8t-x-x-70">&#x00A0;all</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;way</span><span 
class="pcrr8t-x-x-70">&#x00A0;out</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;sampr1/sampr2</span><span 
class="pcrr8t-x-x-70">&#x00A0;:</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">filter1d</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship.pg</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Fm1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T$sampr1/$sampr2/1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-E</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;sample1d</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Nsamp.x</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;samp_ship.pg</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Now</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;plot</span><span 
class="pcrr8t-x-x-70">&#x00A0;them</span><span 
class="pcrr8t-x-x-70">&#x00A0;again</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;see</span><span 
class="pcrr8t-x-x-70">&#x00A0;if</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;have</span><span 
class="pcrr8t-x-x-70">&#x00A0;done</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;right</span><span 
class="pcrr8t-x-x-70">&#x00A0;thing:</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;$plotr</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX8i/5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X2i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y1.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthick</span><span 
class="pcrr8t-x-x-70">&#x00A0;samp_sat.pg</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ba500f100:~Distance</span><span 
class="pcrr8t-x-x-70">&#x00A0;along</span><span 
class="pcrr8t-x-x-70">&#x00A0;great</span><span 
class="pcrr8t-x-x-70">&#x00A0;circle~:/a100f25:~Gravity</span><span 
class="pcrr8t-x-x-70">&#x00A0;anomaly</span><span 
class="pcrr8t-x-x-70">&#x00A0;(mGal)~:WeSn</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U/-1.75i/-1.25i/~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;3c</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;../example_03c.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sp0.03i</span><span 
class="pcrr8t-x-x-70">&#x00A0;samp_ship.pg</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;../example_03c.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Now</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;do</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;cross-spectra,</span><span 
class="pcrr8t-x-x-70">&#x00A0;assuming</span><span 
class="pcrr8t-x-x-70">&#x00A0;that</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship</span><span 
class="pcrr8t-x-x-70">&#x00A0;is</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;input</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;sat</span><span 
class="pcrr8t-x-x-70">&#x00A0;is</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;output</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;data,</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;do</span><span 
class="pcrr8t-x-x-70">&#x00A0;this:</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">paste</span><span 
class="pcrr8t-x-x-70">&#x00A0;samp_ship.pg</span><span 
class="pcrr8t-x-x-70">&#x00A0;samp_sat.pg</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;cut</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f2,4</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;spectrum1d</span><span 
class="pcrr8t-x-x-70">&#x00A0;-S256</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-W</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;/dev/null</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Now</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;want</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;plot</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;spectra.</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;The</span><span 
class="pcrr8t-x-x-70">&#x00A0;following</span><span 
class="pcrr8t-x-x-70">&#x00A0;commands</span><span 
class="pcrr8t-x-x-70">&#x00A0;will</span><span 
class="pcrr8t-x-x-70">&#x00A0;plot</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;sat</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;power</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;one</span><span 
class="pcrr8t-x-x-70">&#x00A0;diagram</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;coherency</span><span 
class="pcrr8t-x-x-70">&#x00A0;on</span><span 
class="pcrr8t-x-x-70">&#x00A0;another</span><span 
class="pcrr8t-x-x-70">&#x00A0;diagram,</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;both</span><span 
class="pcrr8t-x-x-70">&#x00A0;on</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;same</span><span 
class="pcrr8t-x-x-70">&#x00A0;page.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Note</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;extended</span><span 
class="pcrr8t-x-x-70">&#x00A0;use</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;put</span><span 
class="pcrr8t-x-x-70">&#x00A0;labels</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;legends</span><span 
class="pcrr8t-x-x-70">&#x00A0;directly</span><span 
class="pcrr8t-x-x-70">&#x00A0;on</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;plots.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;For</span><span 
class="pcrr8t-x-x-70">&#x00A0;that</span><span 
class="pcrr8t-x-x-70">&#x00A0;purpose</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;often</span><span 
class="pcrr8t-x-x-70">&#x00A0;use</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;specify</span><span 
class="pcrr8t-x-x-70">&#x00A0;positions</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;inches</span><span 
class="pcrr8t-x-x-70">&#x00A0;directly:</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;spectrum.coh</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ba1f3p:~Wavelength</span><span 
class="pcrr8t-x-x-70">&#x00A0;(km)~:/a0.25f0.05:~Coherency@+2@+~:WeSn</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX-4il/3.75i</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R1/1000/0/1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U/-2.25i/-1.25i/~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;3</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X2.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sc0.07i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ey/0.5p</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y1.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~3.85</span><span 
class="pcrr8t-x-x-70">&#x00A0;3.6</span><span 
class="pcrr8t-x-x-70">&#x00A0;18</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;TR</span><span 
class="pcrr8t-x-x-70">&#x00A0;Coherency@+2@+~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R0/4/0/3.75</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">cat</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;box.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;&#x003C;</span><span 
class="pcrr8t-x-x-70">&#x00A0;END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">2.375</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;3.75</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">2.375</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;3.25</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">4</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;3.25</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">END</span>
                                                                                 

                                                                                 
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthicker</span><span 
class="pcrr8t-x-x-70">&#x00A0;box.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ba1f3p/a1f3p:~Power</span><span 
class="pcrr8t-x-x-70">&#x00A0;(mGal@+2@+km)~::.~Ship</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;Satellite</span><span 
class="pcrr8t-x-x-70">&#x00A0;Gravity~:WeSn</span><span 
class="pcrr8t-x-x-70">&#x00A0;spectrum.xpower</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;-ST0.07i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R1/1000/0.1/10000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX-4il/3.75il</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y4.2i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ey/0.5p</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;spectrum.ypower</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sc0.07i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ey/0.5p</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~3.9</span><span 
class="pcrr8t-x-x-70">&#x00A0;3.6</span><span 
class="pcrr8t-x-x-70">&#x00A0;18</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;TR</span><span 
class="pcrr8t-x-x-70">&#x00A0;Input</span><span 
class="pcrr8t-x-x-70">&#x00A0;Power~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R0/4/0/3.75</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthicker</span><span 
class="pcrr8t-x-x-70">&#x00A0;box.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-L</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthicker</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;&#x003C;</span><span 
class="pcrr8t-x-x-70">&#x00A0;END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">0.25</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.25</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">1.4</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.25</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">1.4</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.9</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">0.25</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.9</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~0.4</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.7~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-ST0.07i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~0.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.7</span><span 
class="pcrr8t-x-x-70">&#x00A0;14</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;ML</span><span 
class="pcrr8t-x-x-70">&#x00A0;Ship~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~0.4</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.4~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sc0.07i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~0.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.4</span><span 
class="pcrr8t-x-x-70">&#x00A0;14</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;ML</span><span 
class="pcrr8t-x-x-70">&#x00A0;Satellite~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Now</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;wonder</span><span 
class="pcrr8t-x-x-70">&#x00A0;if</span><span 
class="pcrr8t-x-x-70">&#x00A0;removing</span><span 
class="pcrr8t-x-x-70">&#x00A0;that</span><span 
class="pcrr8t-x-x-70">&#x00A0;large</span><span 
class="pcrr8t-x-x-70">&#x00A0;feature</span><span 
class="pcrr8t-x-x-70">&#x00A0;at</span><span 
class="pcrr8t-x-x-70">&#x00A0;250</span><span 
class="pcrr8t-x-x-70">&#x00A0;km</span><span 
class="pcrr8t-x-x-70">&#x00A0;would</span><span 
class="pcrr8t-x-x-70">&#x00A0;make</span><span 
class="pcrr8t-x-x-70">&#x00A0;any</span><span 
class="pcrr8t-x-x-70">&#x00A0;difference.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;We</span><span 
class="pcrr8t-x-x-70">&#x00A0;could</span><span 
class="pcrr8t-x-x-70">&#x00A0;throw</span><span 
class="pcrr8t-x-x-70">&#x00A0;away</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;section</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;data</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span><span 
class="pcrr8t-x-x-70">&#x00A0;$AWK</span><span 
class="pcrr8t-x-x-70">&#x00A0;or</span><span 
class="pcrr8t-x-x-70">&#x00A0;sed</span><span 
class="pcrr8t-x-x-70">&#x00A0;or</span><span 
class="pcrr8t-x-x-70">&#x00A0;head</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;tail,</span><span 
class="pcrr8t-x-x-70">&#x00A0;but</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;demonstrate</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;use</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;~trend1d~</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;identify</span><span 
class="pcrr8t-x-x-70">&#x00A0;outliers</span><span 
class="pcrr8t-x-x-70">&#x00A0;instead.</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;We</span><span 
class="pcrr8t-x-x-70">&#x00A0;will</span><span 
class="pcrr8t-x-x-70">&#x00A0;fit</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;straight</span><span 
class="pcrr8t-x-x-70">&#x00A0;line</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;samp_ship.pg</span><span 
class="pcrr8t-x-x-70">&#x00A0;data</span><span 
class="pcrr8t-x-x-70">&#x00A0;by</span><span 
class="pcrr8t-x-x-70">&#x00A0;an</span><span 
class="pcrr8t-x-x-70">&#x00A0;iteratively-reweighted</span><span 
class="pcrr8t-x-x-70">&#x00A0;method</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;save</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;weights</span><span 
class="pcrr8t-x-x-70">&#x00A0;on</span><span 
class="pcrr8t-x-x-70">&#x00A0;output.</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Then</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;will</span><span 
class="pcrr8t-x-x-70">&#x00A0;plot</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;weights</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;see</span><span 
class="pcrr8t-x-x-70">&#x00A0;how</span><span 
class="pcrr8t-x-x-70">&#x00A0;things</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;look:</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">trend1d</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Fxw</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N2r</span><span 
class="pcrr8t-x-x-70">&#x00A0;samp_ship.pg</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;samp_ship.xw</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;$plotr</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX8i/4i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X2i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y1.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sp0.03i</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ba500f100:~Distance</span><span 
class="pcrr8t-x-x-70">&#x00A0;along</span><span 
class="pcrr8t-x-x-70">&#x00A0;great</span><span 
class="pcrr8t-x-x-70">&#x00A0;circle~:/a100f25:~Gravity</span><span 
class="pcrr8t-x-x-70">&#x00A0;anomaly</span><span 
class="pcrr8t-x-x-70">&#x00A0;(mGal)~:WeSn</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U/-1.75i/-1.25i/~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;3d</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;samp_ship.pg</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;../example_03d.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">plotr=&#8216;minmax</span><span 
class="pcrr8t-x-x-70">&#x00A0;samp_ship.xw</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I100/1.1&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;$plotr</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX8i/1.1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y4.25i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bf100/a0.5f0.1:~Weight~:Wesn</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sp0.03i</span><span 
class="pcrr8t-x-x-70">&#x00A0;samp_ship.xw</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;../example_03d.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;From</span><span 
class="pcrr8t-x-x-70">&#x00A0;this</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;see</span><span 
class="pcrr8t-x-x-70">&#x00A0;that</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;might</span><span 
class="pcrr8t-x-x-70">&#x00A0;want</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;throw</span><span 
class="pcrr8t-x-x-70">&#x00A0;away</span><span 
class="pcrr8t-x-x-70">&#x00A0;values</span><span 
class="pcrr8t-x-x-70">&#x00A0;where</span><span 
class="pcrr8t-x-x-70">&#x00A0;w</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.6.</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;So</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;try</span><span 
class="pcrr8t-x-x-70">&#x00A0;that,</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;this</span><span 
class="pcrr8t-x-x-70">&#x00A0;time</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;also</span><span 
class="pcrr8t-x-x-70">&#x00A0;use</span><span 
class="pcrr8t-x-x-70">&#x00A0;trend1d</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;return</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;residual</span><span 
class="pcrr8t-x-x-70">&#x00A0;from</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;model</span><span 
class="pcrr8t-x-x-70">&#x00A0;fit</span><span 
class="pcrr8t-x-x-70">&#x00A0;(the</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;de-trended</span><span 
class="pcrr8t-x-x-70">&#x00A0;data):</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">trend1d</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Fxrw</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N2r</span><span 
class="pcrr8t-x-x-70">&#x00A0;samp_ship.pg</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;$AWK</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;{</span><span 
class="pcrr8t-x-x-70">&#x00A0;if</span><span 
class="pcrr8t-x-x-70">&#x00A0;($3</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.6)</span><span 
class="pcrr8t-x-x-70">&#x00A0;print</span><span 
class="pcrr8t-x-x-70">&#x00A0;$1,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$2</span><span 
class="pcrr8t-x-x-70">&#x00A0;}&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;sample1d</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Nsamp.x</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;samp2_ship.pg</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">trend1d</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Fxrw</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N2r</span><span 
class="pcrr8t-x-x-70">&#x00A0;samp_sat.pg</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;$AWK</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;{</span><span 
class="pcrr8t-x-x-70">&#x00A0;if</span><span 
class="pcrr8t-x-x-70">&#x00A0;($3</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.6)</span><span 
class="pcrr8t-x-x-70">&#x00A0;print</span><span 
class="pcrr8t-x-x-70">&#x00A0;$1,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$2</span><span 
class="pcrr8t-x-x-70">&#x00A0;}&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;sample1d</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Nsamp.x</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;samp2_sat.pg</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;We</span><span 
class="pcrr8t-x-x-70">&#x00A0;plot</span><span 
class="pcrr8t-x-x-70">&#x00A0;these</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;see</span><span 
class="pcrr8t-x-x-70">&#x00A0;how</span><span 
class="pcrr8t-x-x-70">&#x00A0;they</span><span 
class="pcrr8t-x-x-70">&#x00A0;look:</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">plotr=&#8216;cat</span><span 
class="pcrr8t-x-x-70">&#x00A0;samp2_sat.pg</span><span 
class="pcrr8t-x-x-70">&#x00A0;samp2_ship.pg</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;minmax</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I100/25&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;$plotr</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX8i/5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X2i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y1.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthick</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ba500f100:~Distance</span><span 
class="pcrr8t-x-x-70">&#x00A0;along</span><span 
class="pcrr8t-x-x-70">&#x00A0;great</span><span 
class="pcrr8t-x-x-70">&#x00A0;circle~:/a50f25:~Gravity</span><span 
class="pcrr8t-x-x-70">&#x00A0;anomaly</span><span 
class="pcrr8t-x-x-70">&#x00A0;(mGal)~:WeSn</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U/-1.75i/-1.25i/~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;3e</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;samp2_sat.pg</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;../example_03e.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sp0.03i</span><span 
class="pcrr8t-x-x-70">&#x00A0;samp2_ship.pg</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;../example_03e.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Now</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;do</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;cross-spectral</span><span 
class="pcrr8t-x-x-70">&#x00A0;analysis</span><span 
class="pcrr8t-x-x-70">&#x00A0;again.</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Comparing</span><span 
class="pcrr8t-x-x-70">&#x00A0;this</span><span 
class="pcrr8t-x-x-70">&#x00A0;plot</span><span 
class="pcrr8t-x-x-70">&#x00A0;(example_03e.ps)</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;previous</span><span 
class="pcrr8t-x-x-70">&#x00A0;one</span><span 
class="pcrr8t-x-x-70">&#x00A0;(example_03d.ps)</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;see</span><span 
class="pcrr8t-x-x-70">&#x00A0;that</span><span 
class="pcrr8t-x-x-70">&#x00A0;throwing</span><span 
class="pcrr8t-x-x-70">&#x00A0;out</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;large</span><span 
class="pcrr8t-x-x-70">&#x00A0;feature</span><span 
class="pcrr8t-x-x-70">&#x00A0;has</span><span 
class="pcrr8t-x-x-70">&#x00A0;reduced</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;power</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;both</span><span 
class="pcrr8t-x-x-70">&#x00A0;data</span><span 
class="pcrr8t-x-x-70">&#x00A0;sets</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;reduced</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;coherency</span><span 
class="pcrr8t-x-x-70">&#x00A0;at</span><span 
class="pcrr8t-x-x-70">&#x00A0;wavelengths</span><span 
class="pcrr8t-x-x-70">&#x00A0;between</span><span 
class="pcrr8t-x-x-70">&#x00A0;20--60</span><span 
class="pcrr8t-x-x-70">&#x00A0;km.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">paste</span><span 
class="pcrr8t-x-x-70">&#x00A0;samp2_ship.pg</span><span 
class="pcrr8t-x-x-70">&#x00A0;samp2_sat.pg</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;cut</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f2,4</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;spectrum1d</span><span 
class="pcrr8t-x-x-70">&#x00A0;-S256</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-W</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;/dev/null</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;spectrum.coh</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ba1f3p:~Wavelength</span><span 
class="pcrr8t-x-x-70">&#x00A0;(km)~:/a0.25f0.05:~Coherency@+2@+~:WeSn</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX-4il/3.75i</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R1/1000/0/1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U/-2.25i/-1.25i/~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;3f</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X2.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sc0.07i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ey/0.5p</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y1.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;../example_03f.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~3.85</span><span 
class="pcrr8t-x-x-70">&#x00A0;3.6</span><span 
class="pcrr8t-x-x-70">&#x00A0;18</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;TR</span><span 
class="pcrr8t-x-x-70">&#x00A0;Coherency@+2@+~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R0/4/0/3.75</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;../example_03f.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">cat</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;box.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;&#x003C;</span><span 
class="pcrr8t-x-x-70">&#x00A0;END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">2.375</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;3.75</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">2.375</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;3.25</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">4</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;3.25</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthicker</span><span 
class="pcrr8t-x-x-70">&#x00A0;box.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;../example_03f.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ba1f3p/a1f3p:~Power</span><span 
class="pcrr8t-x-x-70">&#x00A0;(mGal@+2@+km)~::.~Ship</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;Satellite</span><span 
class="pcrr8t-x-x-70">&#x00A0;Gravity~:WeSn</span><span 
class="pcrr8t-x-x-70">&#x00A0;spectrum.xpower</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-ST0.07i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R1/1000/0.1/10000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX-4il/3.75il</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y4.2i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ey/0.5p</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;../example_03f.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;spectrum.ypower</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sc0.07i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ey/0.5p</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;../example_03f.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~3.9</span><span 
class="pcrr8t-x-x-70">&#x00A0;3.6</span><span 
class="pcrr8t-x-x-70">&#x00A0;18</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;TR</span><span 
class="pcrr8t-x-x-70">&#x00A0;Input</span><span 
class="pcrr8t-x-x-70">&#x00A0;Power~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R0/4/0/3.75</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;../example_03f.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthicker</span><span 
class="pcrr8t-x-x-70">&#x00A0;box.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;../example_03f.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-L</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthicker</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;../example_03f.ps</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;&#x003C;</span><span 
class="pcrr8t-x-x-70">&#x00A0;END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">0.25</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.25</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">1.4</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.25</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">1.4</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.9</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">0.25</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.9</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~0.4</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.7~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-ST0.07i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;../example_03f.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~0.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.7</span><span 
class="pcrr8t-x-x-70">&#x00A0;14</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;ML</span><span 
class="pcrr8t-x-x-70">&#x00A0;Ship~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;../example_03f.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~0.4</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.4~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sc0.07i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;../example_03f.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~0.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.4</span><span 
class="pcrr8t-x-x-70">&#x00A0;14</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;ML</span><span 
class="pcrr8t-x-x-70">&#x00A0;Satellite~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;../example_03f.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
                                                                                 

                                                                                 
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;box.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;report</span><span 
class="pcrr8t-x-x-70">&#x00A0;tmp</span><span 
class="pcrr8t-x-x-70">&#x00A0;samp*</span><span 
class="pcrr8t-x-x-70">&#x00A0;*.pg</span><span 
class="pcrr8t-x-x-70">&#x00A0;*.extr</span><span 
class="pcrr8t-x-x-70">&#x00A0;spectrum.*</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt*</span>
   </div>__________________________________________________________________________________________________
<!--l. 183--><p class="indent" >   The final illustration (Figure&#x00A0;<a 
href="#x1-131015r3">7.3<!--tex4ht:ref: fig:GMT_example_03 --></a>) shows that the ship gravity anomalies have more power than altimetry
derived gravity for short wavelengths and that the coherency between the two signals improves dramatically for
wavelengths <!--l. 186--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003E;</mo></math>
20 km. </p><hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-131015r3"></a>
                                                                                 

                                                                                 
<!--l. 187--><p class="noindent" ><img 
src="images/example_03.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;7.3: </span><span  
class="content">Spectral estimation and <!--l. 187--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi><mo 
class="MathClass-bin">&#x2215;</mo><mi 
>y</mi></math>-plots.</span></div><!--tex4ht:label?: x1-131015r3 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-131016"></a>
<a 
 id="dx1-131017"></a>
   <h3 class="sectionHead"><span class="titlemark">7.4    </span> <a 
 id="x1-1320007.4"></a>A 3-D perspective mesh plot</h3>
<a 
 id="dx1-132001"></a>
<!--l. 195--><p class="noindent" >This example will illustrate how to make a fairly complicated composite figure. We need a subset of the ETOPO5
bathymetry<span class="footnote-mark"><a 
href="#fn24x7" id="fn24x7-bk"><sup class="textsuperscript">24</sup></a></span><a 
 id="x1-132002f24"></a>
and Geosat geoid data sets which we will extract from the local data bases using <a 
href="../html/man/grdraster.html" ><span 
class="phvb8t-">grdraster</span></a><a 
 id="dx1-132003"></a>. We would like to
show a 2-layer perspective plot where layer one shows a contour map of the marine geoid with the location of the
Hawaiian islands superposed, and a second layer showing the 3-D mesh plot of the topography. We also add an
arrow pointing north and some text. This is how to do it:
</p><!--l. 206--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;EXAMPLE</span><span 
class="pcrr8t-x-x-70">&#x00A0;04</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;3-D</span><span 
class="pcrr8t-x-x-70">&#x00A0;mesh</span><span 
class="pcrr8t-x-x-70">&#x00A0;plot</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;Hawaiian</span><span 
class="pcrr8t-x-x-70">&#x00A0;topography</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;geoid</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdcontour,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdview,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pscoast,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;echo,</span><span 
class="pcrr8t-x-x-70">&#x00A0;rm</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ps=../example_04.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;-10</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;255</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;255&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;zero.cpt</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;100</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;10</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;100&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;zero.cpt</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdcontour</span><span 
class="pcrr8t-x-x-70">&#x00A0;HI_geoid4.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jm0.45i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-E60/30</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R195/210/18/25</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A5+o</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gd4i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X1.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y1.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U/-1.25i/-1.25i/~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;4</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-E60/30</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B2/2NEsw</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T209/19.5/1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdview</span><span 
class="pcrr8t-x-x-70">&#x00A0;HI_topo4.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jz0.34i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Czero.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-E60/30</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R195/210/18/25/-6/4</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N-6/lightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Qsm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B2/2/2:~Topo</span><span 
class="pcrr8t-x-x-70">&#x00A0;(km)~:neswZ</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y2.2i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;3.25</span><span 
class="pcrr8t-x-x-70">&#x00A0;5.75</span><span 
class="pcrr8t-x-x-70">&#x00A0;60</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.0</span><span 
class="pcrr8t-x-x-70">&#x00A0;33</span><span 
class="pcrr8t-x-x-70">&#x00A0;BC</span><span 
class="pcrr8t-x-x-70">&#x00A0;H@#awaiian@#</span><span 
class="pcrr8t-x-x-70">&#x00A0;R@#idge&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R0/10/0/10</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;zero.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt*</span>
   </div>__________________________________________________________________________________________________
<!--l. 208--><p class="indent" >   The purpose of the color palette file <span class="underline">zero.cpt</span> is to have the positive topography mesh painted light gray (the
remainder is white). The left side of Figure&#x00A0;<a 
href="#x1-132004r4">7.4<!--tex4ht:ref: fig:GMT_example_04 --></a> shows the complete illustration.
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-132004r4"></a>
                                                                                 

                                                                                 
<!--l. 213--><p class="noindent" ><img 
src="images/example_04.png" alt="PIC"  
 />                                                                           <img 
src="images/example_04c.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;7.4: </span><span  
class="content">3-D perspective mesh plot (left) and colored version (right).</span></div><!--tex4ht:label?: x1-132004r4 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 219--><p class="indent" >   A color version of this figure was used in our first article in <span 
class="ptmri8t-">EOS Trans. AGU </span>(Oct. 8th, 1991). It was created
along similar lines, but instead of a mesh plot we chose a color-coded surface with artificial illumination from a
light-source due north. We choose to use the <span 
class="pcrb8t-">-Qi </span>option in <a 
href="../html/man/grdview.html" ><span 
class="phvb8t-">grdview</span></a><a 
 id="dx1-132005"></a> to achieve a high degree of smoothness. Here,
we select 100 dpi since that will be the resolution of our final raster (The EOS raster was 300 dpi). We used
<a 
href="../html/man/grdgradient.html" ><span 
class="phvb8t-">grdgradient</span></a><a 
 id="dx1-132006"></a> to provide the intensity files. The following script creates the color <span 
class="ptmri8t-">PostScript</span>&#x00A0;file. Note that the size
of the resulting output file is directly dependent on the square of the dpi chosen for the scanline conversion. A
higher value for dpi in <span 
class="pcrb8t-">-Qi </span>would have resulted in a much larger output file. The cpt files were taken from
Section&#x00A0;<a 
href="#x1-1300007.2">7.2<!--tex4ht:ref: sec:example_02 --></a>.
</p><!--l. 234--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;EXAMPLE</span><span 
class="pcrr8t-x-x-70">&#x00A0;04c</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;3-D</span><span 
class="pcrr8t-x-x-70">&#x00A0;perspective</span><span 
class="pcrr8t-x-x-70">&#x00A0;color</span><span 
class="pcrr8t-x-x-70">&#x00A0;plot</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;Hawaiian</span><span 
class="pcrr8t-x-x-70">&#x00A0;topography</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;geoid</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdcontour,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdview,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pscoast,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;echo,</span><span 
class="pcrr8t-x-x-70">&#x00A0;rm</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ps=../example_04c.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdgradient</span><span 
class="pcrr8t-x-x-70">&#x00A0;HI_geoid4.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A0</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gg_intens.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Nt0.75</span><span 
class="pcrr8t-x-x-70">&#x00A0;-M</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdgradient</span><span 
class="pcrr8t-x-x-70">&#x00A0;HI_topo4.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A0</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gt_intens.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Nt0.75</span><span 
class="pcrr8t-x-x-70">&#x00A0;-M</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdview</span><span 
class="pcrr8t-x-x-70">&#x00A0;HI_geoid4.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ig_intens.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JM6.75i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-E60/30</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R195/210/18/25</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cgeoid.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Qi100</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X1.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y1.25i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U/-1.25i/-1i/~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;04c</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-E60/30</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B2/2NEsw</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psbasemap</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-E60/30</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T209/19.5/1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;--COLOR_BACKGROUND=red</span><span 
class="pcrr8t-x-x-70">&#x00A0;--TICK_PEN=thinner,red</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdview</span><span 
class="pcrr8t-x-x-70">&#x00A0;HI_topo4.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-It_intens.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JZ3.4i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ctopo.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-E60/30</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R195/210/18/25/-6/4</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N-6/lightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Qi100</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y2.2i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psbasemap</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JZ3.4i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-E60/30</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Z-6</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B2/2/2:~Topo</span><span 
class="pcrr8t-x-x-70">&#x00A0;(km)~:neZ</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;3.25</span><span 
class="pcrr8t-x-x-70">&#x00A0;5.75</span><span 
class="pcrr8t-x-x-70">&#x00A0;60</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.0</span><span 
class="pcrr8t-x-x-70">&#x00A0;33</span><span 
class="pcrr8t-x-x-70">&#x00A0;BC</span><span 
class="pcrr8t-x-x-70">&#x00A0;H@#awaiian@#</span><span 
class="pcrr8t-x-x-70">&#x00A0;R@#idge&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R0/10/0/10</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;*_intens.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt*</span>
   </div>__________________________________________________________________________________________________
<a 
 id="dx1-132007"></a>
   <h3 class="sectionHead"><span class="titlemark">7.5    </span> <a 
 id="x1-1330007.5"></a>A 3-D illuminated surface in black and white</h3>
<a 
 id="dx1-133001"></a>
<!--l. 241--><p class="noindent" >Instead of a mesh plot we may choose to show 3-D surfaces using artificial illumination. For this
example we will use <a 
href="../html/man/grdmath.html" ><span 
class="phvb8t-">grdmath</span></a><a 
 id="dx1-133002"></a> to make a grid file that contains the surface given by the function
<!--l. 244--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi><mo 
class="MathClass-punc">,</mo><mi 
>y</mi></mrow><mo 
class="MathClass-close">)</mo></mrow> <mo 
class="MathClass-rel">=</mo><mo 
class="MathClass-op"> cos</mo><!--nolimits--><mrow ><mo 
class="MathClass-open">(</mo><mrow><mn>2</mn><mi 
>&#x03C0;</mi><mi 
>r</mi><mo 
class="MathClass-bin">&#x2215;</mo><mn>8</mn></mrow><mo 
class="MathClass-close">)</mo></mrow><mo 
class="MathClass-bin">&#x22C5;</mo><msup><mrow 
><mi 
>e</mi></mrow><mrow 
><mo 
class="MathClass-bin">-</mo><mi 
>r</mi><mo 
class="MathClass-bin">&#x2215;</mo><mn>1</mn><mn>0</mn></mrow></msup 
></math>, where
<!--l. 245--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msup><mrow 
><mi 
>r</mi></mrow><mrow 
><mn>2</mn></mrow></msup 
> <mo 
class="MathClass-rel">=</mo> <mrow ><mo 
class="MathClass-open">(</mo><mrow><msup><mrow 
><mi 
>x</mi></mrow><mrow 
><mn>2</mn></mrow></msup 
> <mo 
class="MathClass-bin">+</mo><msup><mrow 
><mi 
>y</mi></mrow><mrow 
><mn>2</mn></mrow></msup 
></mrow><mo 
class="MathClass-close">)</mo></mrow></math>. The
illumination is obtained by passing two grid files to <a 
href="../html/man/grdview.html" ><span 
class="phvb8t-">grdview</span></a><a 
 id="dx1-133003"></a>: One with the <span 
class="ptmri8t-">z</span>-values (the surface) and
another with intensity values (which should be in the <span 
class="ptmr8c-">±</span>1 range). We use <a 
href="../html/man/grdgradient.html" ><span 
class="phvb8t-">grdgradient</span></a><a 
 id="dx1-133004"></a> to compute the
horizontal gradients in the direction of the artificial light source. The <span class="underline">gray.cpt</span> file only has one line that
states that all <span 
class="ptmri8t-">z </span>values should have the gray level 128. Thus, variations in shade are entirely due to
variations in gradients, or illuminations. We choose to illuminate from the SW and view the surface from
SE:
</p><!--l. 256--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;EXAMPLE</span><span 
class="pcrr8t-x-x-70">&#x00A0;05</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Generate</span><span 
class="pcrr8t-x-x-70">&#x00A0;grid</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;show</span><span 
class="pcrr8t-x-x-70">&#x00A0;monochrome</span><span 
class="pcrr8t-x-x-70">&#x00A0;3-D</span><span 
class="pcrr8t-x-x-70">&#x00A0;perspective</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdgradient,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdmath,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdview,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;echo,</span><span 
class="pcrr8t-x-x-70">&#x00A0;rm</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ps=../example_05.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R-15/15/-15/15</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I0.3</span><span 
class="pcrr8t-x-x-70">&#x00A0;X</span><span 
class="pcrr8t-x-x-70">&#x00A0;Y</span><span 
class="pcrr8t-x-x-70">&#x00A0;HYPOT</span><span 
class="pcrr8t-x-x-70">&#x00A0;DUP</span><span 
class="pcrr8t-x-x-70">&#x00A0;2</span><span 
class="pcrr8t-x-x-70">&#x00A0;MUL</span><span 
class="pcrr8t-x-x-70">&#x00A0;PI</span><span 
class="pcrr8t-x-x-70">&#x00A0;MUL</span><span 
class="pcrr8t-x-x-70">&#x00A0;8</span><span 
class="pcrr8t-x-x-70">&#x00A0;DIV</span><span 
class="pcrr8t-x-x-70">&#x00A0;COS</span><span 
class="pcrr8t-x-x-70">&#x00A0;EXCH</span><span 
class="pcrr8t-x-x-70">&#x00A0;NEG</span><span 
class="pcrr8t-x-x-70">&#x00A0;10</span><span 
class="pcrr8t-x-x-70">&#x00A0;DIV</span><span 
class="pcrr8t-x-x-70">&#x00A0;EXP</span><span 
class="pcrr8t-x-x-70">&#x00A0;MUL</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;sombrero.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;-5</span><span 
class="pcrr8t-x-x-70">&#x00A0;128</span><span 
class="pcrr8t-x-x-70">&#x00A0;5</span><span 
class="pcrr8t-x-x-70">&#x00A0;128&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;gray.cpt</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdgradient</span><span 
class="pcrr8t-x-x-70">&#x00A0;sombrero.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A225</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gintensity.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Nt0.75</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdview</span><span 
class="pcrr8t-x-x-70">&#x00A0;sombrero.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX6i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JZ2i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B5/5/0.5SEwnZ</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N-1/white</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Qs</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Iintensity.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X1.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cgray.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R-15/15/-15/15/-1/1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-E120/30</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U/-1.25i/-0.75i/~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;5</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~4.1</span><span 
class="pcrr8t-x-x-70">&#x00A0;5.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;50</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;33</span><span 
class="pcrr8t-x-x-70">&#x00A0;BC</span><span 
class="pcrr8t-x-x-70">&#x00A0;z(r)</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;cos</span><span 
class="pcrr8t-x-x-70">&#x00A0;(2@~p@~r/8)</span><span 
class="pcrr8t-x-x-70">&#x00A0;*</span><span 
class="pcrr8t-x-x-70">&#x00A0;e@+-r/10@+~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R0/11/0/8.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;gray.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;sombrero.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;intensity.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt*</span>
                                                                                 

                                                                                 
   </div>__________________________________________________________________________________________________
<!--l. 258--><p class="indent" >   The variations in intensity could be made more dramatic by using <a 
href="../html/man/grdmath.html" ><span 
class="phvb8t-">grdmath</span></a><a 
 id="dx1-133005"></a> to scale the intensity file before
running <a 
href="../html/man/grdview.html" ><span 
class="phvb8t-">grdview</span></a><a 
 id="dx1-133006"></a>. For very rough data sets one may improve the smoothness of the intensities by passing
the output of <a 
href="../html/man/grdgradient.html" ><span 
class="phvb8t-">grdgradient</span></a><a 
 id="dx1-133007"></a> to <a 
href="../html/man/grdhisteq.html" ><span 
class="phvb8t-">grdhisteq</span></a><a 
 id="dx1-133008"></a>. The shell-script above will result in a plot like the one in
Figure&#x00A0;<a 
href="#x1-133009r5">7.5<!--tex4ht:ref: fig:GMT_example_05 --></a>.
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-133009r5"></a>
                                                                                 

                                                                                 
<!--l. 266--><p class="noindent" ><img 
src="images/example_05.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;7.5: </span><span  
class="content">3-D illuminated surface.</span></div><!--tex4ht:label?: x1-133009r5 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-133010"></a>
   <h3 class="sectionHead"><span class="titlemark">7.6    </span> <a 
 id="x1-1340007.6"></a>Plotting of histograms</h3>
<a 
 id="dx1-134001"></a>
<!--l. 273--><p class="noindent" ><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;provides two tools to render histograms: <a 
href="../html/man/pshistogram.html" ><span 
class="phvb8t-">pshistogram</span></a><a 
 id="dx1-134002"></a> and <a 
href="../html/man/psrose.html" ><span 
class="phvb8t-">psrose</span></a><a 
 id="dx1-134003"></a>. The former takes care of regular
histograms whereas the latter deals with polar histograms (rose diagrams, sector diagrams, and wind rose
diagrams). We will show an example that involves both programs. The file <span class="underline">fractures.yx</span> contains a compilation of
fracture lengths and directions as digitized from geological maps. The file <span class="underline">v3206.t</span> contains all the
bathymetry measurements from <span 
class="ptmri8t-">Vema </span>cruise 3206. Our complete figure (Figure&#x00A0;<a 
href="#x1-134004r6">7.6<!--tex4ht:ref: fig:GMT_example_06 --></a>) was made running this
script:
</p><!--l. 284--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;EXAMPLE</span><span 
class="pcrr8t-x-x-70">&#x00A0;06</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Make</span><span 
class="pcrr8t-x-x-70">&#x00A0;standard</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;polar</span><span 
class="pcrr8t-x-x-70">&#x00A0;histograms</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;pshistogram,</span><span 
class="pcrr8t-x-x-70">&#x00A0;psrose</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;rm</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ps=../example_06.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psrose</span><span 
class="pcrr8t-x-x-70">&#x00A0;fractures.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;-:</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A10r</span><span 
class="pcrr8t-x-x-70">&#x00A0;-S1.8in</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U/-2.25i/-0.75i/~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;6</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R0/1/0/360</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X2.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B0.2g0.2/30g30</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pshistogram</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ba2000f1000:~Topography</span><span 
class="pcrr8t-x-x-70">&#x00A0;(m)~:/a10f5:~Frequency~::,%::.~Two</span><span 
class="pcrr8t-x-x-70">&#x00A0;types</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;histograms~:WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;v3206.t</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R-6000/0/0/30</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX4.8i/2.4i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ggray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y5.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X-0.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Lthinner</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Z1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-W250</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt*</span>
   </div>__________________________________________________________________________________________________
<hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-134004r6"></a>
                                                                                 

                                                                                 
<!--l. 285--><p class="noindent" ><img 
src="images/example_06.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;7.6: </span><span  
class="content">Two kinds of histograms.</span></div><!--tex4ht:label?: x1-134004r6 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-134005"></a>
   <h3 class="sectionHead"><span class="titlemark">7.7    </span> <a 
 id="x1-1350007.7"></a>A simple location map</h3>
<a 
 id="dx1-135001"></a>
<!--l. 292--><p class="noindent" >Many scientific papers start out by showing a location map of the region of interest. This map will
typically also contain certain features and labels. This example will present a location map for the
equatorial Atlantic ocean, where fracture zones and mid-ocean ridge segments have been plotted.
We also would like to plot earthquake locations and available isochrons. We have obtained one file,
<span class="underline">quakes.xym</span>, which contains the position and magnitude of available earthquakes in the region. We
choose to use magnitude/100 for the symbol-size in inches. The digital fracture zone traces (<span class="underline">fz.xy</span>)
and isochrons (0 isochron as <span class="underline">ridge.xy</span>, the rest as <span class="underline">isochrons.xy</span>) were digitized from available
maps<span class="footnote-mark"><a 
href="#fn25x7" id="fn25x7-bk"><sup class="textsuperscript">25</sup></a></span><a 
 id="x1-135002f25"></a>.
We create the final location map (Figure&#x00A0;<a 
href="#x1-135003r7">7.7<!--tex4ht:ref: fig:GMT_example_07 --></a>) with the following script:
</p><!--l. 308--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;EXAMPLE</span><span 
class="pcrr8t-x-x-70">&#x00A0;07</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Make</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;basemap</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span><span 
class="pcrr8t-x-x-70">&#x00A0;earthquakes</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;isochrons</span><span 
class="pcrr8t-x-x-70">&#x00A0;etc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;pscoast,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext,</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$AWK,</span><span 
class="pcrr8t-x-x-70">&#x00A0;echo,</span><span 
class="pcrr8t-x-x-70">&#x00A0;rm</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ps=../example_07.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R-50/0/-10/20</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JM9i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-GP300/26</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dl</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B10</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;7</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-m</span><span 
class="pcrr8t-x-x-70">&#x00A0;fz.xy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinner,-</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">$AWK</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;{print</span><span 
class="pcrr8t-x-x-70">&#x00A0;$1-360.0,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$2,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$3*0.01}&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;quakes.xym</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-H1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sci</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-m</span><span 
class="pcrr8t-x-x-70">&#x00A0;isochron.xy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthin</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-m</span><span 
class="pcrr8t-x-x-70">&#x00A0;ridge.xy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthicker</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthick</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;&#x003C;</span><span 
class="pcrr8t-x-x-70">&#x00A0;END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-14.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;15.2</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;-2</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;15.2</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;-2</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;17.8</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-14.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;17.8</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinner</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;&#x003C;</span><span 
class="pcrr8t-x-x-70">&#x00A0;END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-14.35</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;15.35</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;-2.15</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;15.35</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;-2.15</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;17.65</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-14.35</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;17.65</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~-13.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;16.5~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sc0.08i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinner</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~-12.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;16.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;18</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;6</span><span 
class="pcrr8t-x-x-70">&#x00A0;LM</span><span 
class="pcrr8t-x-x-70">&#x00A0;ISC</span><span 
class="pcrr8t-x-x-70">&#x00A0;Earthquakes~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sthin</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;&#x003C;</span><span 
class="pcrr8t-x-x-70">&#x00A0;END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-43</span><span 
class="pcrr8t-x-x-70">&#x00A0;-5</span><span 
class="pcrr8t-x-x-70">&#x00A0;30</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;CM</span><span 
class="pcrr8t-x-x-70">&#x00A0;SOUTH</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-43</span><span 
class="pcrr8t-x-x-70">&#x00A0;-8</span><span 
class="pcrr8t-x-x-70">&#x00A0;30</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;CM</span><span 
class="pcrr8t-x-x-70">&#x00A0;AMERICA</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;-7</span><span 
class="pcrr8t-x-x-70">&#x00A0;11</span><span 
class="pcrr8t-x-x-70">&#x00A0;30</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;CM</span><span 
class="pcrr8t-x-x-70">&#x00A0;AFRICA</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt*</span>
   </div>__________________________________________________________________________________________________
<hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-135003r7"></a>
                                                                                 

                                                                                 
<!--l. 309--><p class="noindent" ><img 
src="images/example_07.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;7.7: </span><span  
class="content">A typical location map.</span></div><!--tex4ht:label?: x1-135003r7 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 311--><p class="indent" >   The same figure could equally well be made in color, which could be rasterized and made into a slide for a
meeting presentation. The script is similar to the one outlined above, except we would choose a color for land and
oceans, and select colored symbols and pens rather than black and white.
<a 
 id="dx1-135004"></a>
</p>
   <h3 class="sectionHead"><span class="titlemark">7.8    </span> <a 
 id="x1-1360007.8"></a>A 3-D histogram</h3>
<a 
 id="dx1-136001"></a>
<!--l. 322--><p class="noindent" >The program <a 
href="../html/man/psxyz.html" ><span 
class="phvb8t-">psxyz</span></a><a 
 id="dx1-136002"></a> allows us to plot three-dimensional symbols, including columnar plots.
As a simple demonstration, we will convert a gridded netCDF of bathymetry into an ASCII
<!--l. 325--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi><mi 
>y</mi><mi 
>z</mi></math> table
and use the height information to draw a 2-D histogram in a 3-D perspective view. Our gridded bathymetry file is
called <span class="underline">guinea_bay.nc</span> and covers the region from 0 to 5 <span 
class="ptmr8c-">°</span>E and 0 to 5 <span 
class="ptmr8c-">°</span>N. Depth ranges from -5000 meter to
sea-level. We produce the Figure&#x00A0;<a 
href="#x1-136003r8">7.8<!--tex4ht:ref: fig:GMT_example_08 --></a> by running this script:
</p><!--l. 332--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;EXAMPLE</span><span 
class="pcrr8t-x-x-70">&#x00A0;08</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Make</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;3-D</span><span 
class="pcrr8t-x-x-70">&#x00A0;bar</span><span 
class="pcrr8t-x-x-70">&#x00A0;plot</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;grd2xyz,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext,</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxyz</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;echo,</span><span 
class="pcrr8t-x-x-70">&#x00A0;rm</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ps=../example_08.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grd2xyz</span><span 
class="pcrr8t-x-x-70">&#x00A0;guinea_bay.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxyz</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B1/1/1000:~Topography</span><span 
class="pcrr8t-x-x-70">&#x00A0;(m)~::.ETOPO5:WSneZ+</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R-0.1/5.1/-0.1/5.1/-5000/0</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JM5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JZ6i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-E200/30</span><span 
class="pcrr8t-x-x-70">&#x00A0;-So0.0833333ub-5000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;8</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;0.1</span><span 
class="pcrr8t-x-x-70">&#x00A0;4.9</span><span 
class="pcrr8t-x-x-70">&#x00A0;24</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;TL</span><span 
class="pcrr8t-x-x-70">&#x00A0;This</span><span 
class="pcrr8t-x-x-70">&#x00A0;is</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;surface</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;cube&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JZ</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Z0</span><span 
class="pcrr8t-x-x-70">&#x00A0;-E200/30</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt*</span>
   </div>__________________________________________________________________________________________________
<hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-136003r8"></a>
                                                                                 

                                                                                 
<!--l. 333--><p class="noindent" ><img 
src="images/example_08.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;7.8: </span><span  
class="content">A 3-D histogram.</span></div><!--tex4ht:label?: x1-136003r8 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-136004"></a>
   <h3 class="sectionHead"><span class="titlemark">7.9    </span> <a 
 id="x1-1370007.9"></a>Plotting time-series along tracks</h3>
<a 
 id="dx1-137001"></a>
<!--l. 340--><p class="noindent" >A common application in many scientific disciplines involves plotting one or several time-series as as &#8220;wiggles&#8221;
along tracks. Marine geophysicists often display magnetic anomalies in this manner, and seismologists use the
technique when plotting individual seismic traces. In our example we will show how a set of Geosat sea surface
slope profiles from the south Pacific can be plotted as &#8220;wiggles&#8221; using the <a 
href="../html/man/pswiggle.html" ><span 
class="phvb8t-">pswiggle</span></a><a 
 id="dx1-137002"></a> program. We
will embellish the plot with track numbers, the location of the Pacific-Antarctic Ridge, recognized
fracture zones in the area, and a &#8220;wiggle&#8221; scale. The Geosat tracks are stored in the files <span class="underline">*.xys</span>, the ridge
in <span class="underline">ridge.xy</span>, and all the fracture zones are stored in the multiple segment file <span class="underline">fz.xy</span>. We extract the
profile id (which is the first part of the file name for each profile) and the last point in each of the
track files to construct an input file for <a 
href="../html/man/pstext.html" ><span 
class="phvb8t-">pstext</span></a><a 
 id="dx1-137003"></a> that will label each profile with the track number. We
know the profiles trend approximately N40<span 
class="ptmr8c-">°</span>E so we want the labels to have that same orientation (i.e.,
the angle with the baseline must be 50<span 
class="ptmr8c-">°</span>). We do this by extracting the last record from each track,
paste this file with the <span class="underline">tracks.lis</span> file, and use <span 
class="ptmbo8t-">$AWK</span><a 
 id="dx1-137004"></a> to create the format needed for <a 
href="../html/man/pstext.html" ><span 
class="phvb8t-">pstext</span></a><a 
 id="dx1-137005"></a>. Note we
offset the positions by -0.05 inch with <span 
class="pcrb8t-">-D </span>in order to have a small gap between the profile and the
label:
</p><!--l. 365--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;EXAMPLE</span><span 
class="pcrr8t-x-x-70">&#x00A0;09</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Make</span><span 
class="pcrr8t-x-x-70">&#x00A0;wiggle</span><span 
class="pcrr8t-x-x-70">&#x00A0;plot</span><span 
class="pcrr8t-x-x-70">&#x00A0;along</span><span 
class="pcrr8t-x-x-70">&#x00A0;track</span><span 
class="pcrr8t-x-x-70">&#x00A0;from</span><span 
class="pcrr8t-x-x-70">&#x00A0;geoid</span><span 
class="pcrr8t-x-x-70">&#x00A0;deflections</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;pswiggle,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext,</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$AWK,</span><span 
class="pcrr8t-x-x-70">&#x00A0;ls,</span><span 
class="pcrr8t-x-x-70">&#x00A0;paste,</span><span 
class="pcrr8t-x-x-70">&#x00A0;tail,</span><span 
class="pcrr8t-x-x-70">&#x00A0;rm</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ps=../example_09.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pswiggle</span><span 
class="pcrr8t-x-x-70">&#x00A0;track_*.xys</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R185/250/-68/-42</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;9</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jm0.13i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ba10f5</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Z2000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;-S240/-67/500/@~m@~rad</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;ridge.xy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthicker</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-m</span><span 
class="pcrr8t-x-x-70">&#x00A0;fz.xy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinner,-</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;tmp</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Make</span><span 
class="pcrr8t-x-x-70">&#x00A0;label</span><span 
class="pcrr8t-x-x-70">&#x00A0;file</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">for</span><span 
class="pcrr8t-x-x-70">&#x00A0;file</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;track_*.xys;</span><span 
class="pcrr8t-x-x-70">&#x00A0;do</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;tail</span><span 
class="pcrr8t-x-x-70">&#x00A0;-1</span><span 
class="pcrr8t-x-x-70">&#x00A0;$file</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;tmp</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">done</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ls</span><span 
class="pcrr8t-x-x-70">&#x00A0;-1</span><span 
class="pcrr8t-x-x-70">&#x00A0;track_*.xys</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;$AWK</span><span 
class="pcrr8t-x-x-70">&#x00A0;-F.</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;{print</span><span 
class="pcrr8t-x-x-70">&#x00A0;$2}&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;tracks.lis</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">paste</span><span 
class="pcrr8t-x-x-70">&#x00A0;tmp</span><span 
class="pcrr8t-x-x-70">&#x00A0;tracks.lis</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;$AWK</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;{print</span><span 
class="pcrr8t-x-x-70">&#x00A0;$1,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$2,</span><span 
class="pcrr8t-x-x-70">&#x00A0;10,</span><span 
class="pcrr8t-x-x-70">&#x00A0;50,</span><span 
class="pcrr8t-x-x-70">&#x00A0;1,</span><span 
class="pcrr8t-x-x-70">&#x00A0;~RM~,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$4}&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D-0.05i/-0.05i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;tmp</span><span 
class="pcrr8t-x-x-70">&#x00A0;tracks.lis</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt*</span>
   </div>__________________________________________________________________________________________________
<!--l. 367--><p class="indent" >   The output shows the sea-surface slopes along 42 descending Geosat tracks in the Eltanin and Udintsev fracture
zone region in a Mercator projection (Figure&#x00A0;<a 
href="#x1-137006r9">7.9<!--tex4ht:ref: fig:GMT_example_09 --></a>). </p><hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-137006r9"></a>
                                                                                 

                                                                                 
<!--l. 370--><p class="noindent" ><img 
src="images/example_09.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;7.9: </span><span  
class="content">Time-series as &#8220;wiggles&#8221; along a track.</span></div><!--tex4ht:label?: x1-137006r9 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-137007"></a>
   <h3 class="sectionHead"><span class="titlemark">7.10    </span> <a 
 id="x1-1380007.10"></a>A geographical bar graph plot</h3>
<a 
 id="dx1-138001"></a>
<!--l. 377--><p class="noindent" >Our next and perhaps most business-like example presents a three-dimensional bar graph plot showing the
geographic distribution of the membership in the American Geophysical Union (AGU). The input data was taken
from the January 2008 AGU member directory and added up to give total members per continent. We decide to plot
a 3-D column centered on each continent with a height that is proportional to the logarithm of the membership. A
log<!--l. 384--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
></mrow><mrow 
><mn>1</mn><mn>0</mn></mrow></msub 
></math>-scale
is used since the memberships vary by almost 3 orders of magnitude. We choose a plain linear projection for the
basemap and add the columns and text on top. Our script that produces Figure&#x00A0;<a 
href="#x1-138002r10">7.10<!--tex4ht:ref: fig:GMT_example_10 --></a> reads:
</p><!--l. 389--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;EXAMPLE</span><span 
class="pcrr8t-x-x-70">&#x00A0;10</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Make</span><span 
class="pcrr8t-x-x-70">&#x00A0;3-D</span><span 
class="pcrr8t-x-x-70">&#x00A0;bar</span><span 
class="pcrr8t-x-x-70">&#x00A0;graph</span><span 
class="pcrr8t-x-x-70">&#x00A0;on</span><span 
class="pcrr8t-x-x-70">&#x00A0;top</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;perspective</span><span 
class="pcrr8t-x-x-70">&#x00A0;map</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;pscoast,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext,</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxyz</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$AWK,</span><span 
class="pcrr8t-x-x-70">&#x00A0;rm</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ps=../example_10.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rd</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX8id/5id</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;-E200/40</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;10</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxyz</span><span 
class="pcrr8t-x-x-70">&#x00A0;agu2013.txt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R-180/180/-90/90/1/100000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JZ2.5il</span><span 
class="pcrr8t-x-x-70">&#x00A0;-So0.3ib1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ggray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinner</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B60g60/30g30/a1p:Memberships:WSneZ</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-E200/40</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">$AWK</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;{print</span><span 
class="pcrr8t-x-x-70">&#x00A0;$1,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$2,</span><span 
class="pcrr8t-x-x-70">&#x00A0;20,</span><span 
class="pcrr8t-x-x-70">&#x00A0;0,</span><span 
class="pcrr8t-x-x-70">&#x00A0;0,</span><span 
class="pcrr8t-x-x-70">&#x00A0;~RM~,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$3}&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;agu2013.txt</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rd</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-E200/40</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sthinner</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D-0.2i/0</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~4.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;6</span><span 
class="pcrr8t-x-x-70">&#x00A0;30</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;5</span><span 
class="pcrr8t-x-x-70">&#x00A0;BC</span><span 
class="pcrr8t-x-x-70">&#x00A0;AGU</span><span 
class="pcrr8t-x-x-70">&#x00A0;2013</span><span 
class="pcrr8t-x-x-70">&#x00A0;Membership</span><span 
class="pcrr8t-x-x-70">&#x00A0;Distribution~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R0/11/0/8.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt*</span>
   </div>__________________________________________________________________________________________________
<hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-138002r10"></a>
                                                                                 

                                                                                 
<!--l. 390--><p class="noindent" ><img 
src="images/example_10.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;7.10: </span><span  
class="content">Geographical bar graph.</span></div><!--tex4ht:label?: x1-138002r10 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-138003"></a>
   <h3 class="sectionHead"><span class="titlemark">7.11    </span> <a 
 id="x1-1390007.11"></a>Making a 3-D RGB color cube</h3>
<a 
 id="dx1-139001"></a>
<!--l. 397--><p class="noindent" >In this example we generate a series of 6 color images, arranged so that they can be cut out and assembled into a
3-D color cube. The six faces of the cube represent the outside of the R-G-B color space. On each face one of the
color components is fixed at either 0 or 255 and the other two components vary smoothly across the face from 0 to
255. The cube is configured as a right-handed coordinate system with <span 
class="ptmri8t-">x-y-z </span>mapping R-G-B. Hence, the 8 corners
of the cube represent the primaries red, green, and blue, plus the secondaries cyan, magenta and yellow, plus black
and white.
</p><!--l. 409--><p class="indent" >   The 6 color faces are generated by feeding <a 
href="../html/man/grdimage.html" ><span 
class="phvb8t-">grdimage</span></a><a 
 id="dx1-139002"></a> three grids, one for each color component (R, G, and B).
In some cases the X or Y axes of a face are reversed by specifying a negative width or height in order
to change the variation of the color value in that direction from ascending to descending, or vice
versa.
</p><!--l. 414--><p class="indent" >   A number of rays emanating from the white and black corners indicate the Hue value (ranging from 0 to 360<span 
class="ptmr8c-">°</span>).
The dashed and dotted lines near the white corner reflect saturation levels, running from 0 to 1 (in black font). On
these 3 faces the brightness is a constant value of 1. On the other 3 faces of the cube, around the black
corner, the white decimal numbers indicate brightnesses between 0 and 1, with saturation fixed at
1.
</p><!--l. 420--><p class="indent" >   Here is the shell script to generate the RGB cube in Figure&#x00A0;<a 
href="#x1-139003r11">7.11<!--tex4ht:ref: fig:GMT_example_11 --></a>:
</p><!--l. 422--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;EXAMPLE</span><span 
class="pcrr8t-x-x-70">&#x00A0;11</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Create</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;3-D</span><span 
class="pcrr8t-x-x-70">&#x00A0;RGB</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cube</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmtset,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdimage,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdmath,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext,</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;rm</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ps=../example_11.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Use</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;plot</span><span 
class="pcrr8t-x-x-70">&#x00A0;~cut-along-the-dotted~</span><span 
class="pcrr8t-x-x-70">&#x00A0;lines.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;TICK_LENGTH</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;COLOR_MODEL</span><span 
class="pcrr8t-x-x-70">&#x00A0;rgb</span><span 
class="pcrr8t-x-x-70">&#x00A0;CHAR_ENCODING</span><span 
class="pcrr8t-x-x-70">&#x00A0;Standard+</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;cut-here.dat</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest,.</span><span 
class="pcrr8t-x-x-70">&#x00A0;-m</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R-51/306/0/1071</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX3.5i/10.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X2.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y0.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U/-2.0i/-0.2i/~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;11</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;First,</span><span 
class="pcrr8t-x-x-70">&#x00A0;create</span><span 
class="pcrr8t-x-x-70">&#x00A0;grids</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;ascending</span><span 
class="pcrr8t-x-x-70">&#x00A0;X</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;Y</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;constant</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;These</span><span 
class="pcrr8t-x-x-70">&#x00A0;are</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;be</span><span 
class="pcrr8t-x-x-70">&#x00A0;used</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;represent</span><span 
class="pcrr8t-x-x-70">&#x00A0;R,</span><span 
class="pcrr8t-x-x-70">&#x00A0;G</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;B</span><span 
class="pcrr8t-x-x-70">&#x00A0;values</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;darker</span><span 
class="pcrr8t-x-x-70">&#x00A0;3</span><span 
class="pcrr8t-x-x-70">&#x00A0;faces</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;cube.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R0/255/0/255</span><span 
class="pcrr8t-x-x-70">&#x00A0;X</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;x.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;Y</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;y.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;c.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdimage</span><span 
class="pcrr8t-x-x-70">&#x00A0;x.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;y.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;c.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX2.5i/-2.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X0.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-m</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinner,white,-</span><span 
class="pcrr8t-x-x-70">&#x00A0;rays.dat</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bwesn</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;128</span><span 
class="pcrr8t-x-x-70">&#x00A0;128</span><span 
class="pcrr8t-x-x-70">&#x00A0;12</span><span 
class="pcrr8t-x-x-70">&#x00A0;-45</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;MC</span><span 
class="pcrr8t-x-x-70">&#x00A0;~60\217~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;102</span><span 
class="pcrr8t-x-x-70">&#x00A0;26</span><span 
class="pcrr8t-x-x-70">&#x00A0;12</span><span 
class="pcrr8t-x-x-70">&#x00A0;-90</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;MC</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.4</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;204</span><span 
class="pcrr8t-x-x-70">&#x00A0;26</span><span 
class="pcrr8t-x-x-70">&#x00A0;12</span><span 
class="pcrr8t-x-x-70">&#x00A0;-90</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;MC</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.8</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;10</span><span 
class="pcrr8t-x-x-70">&#x00A0;140</span><span 
class="pcrr8t-x-x-70">&#x00A0;16</span><span 
class="pcrr8t-x-x-70">&#x00A0;180</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;MC</span><span 
class="pcrr8t-x-x-70">&#x00A0;G</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;128</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Svs</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdimage</span><span 
class="pcrr8t-x-x-70">&#x00A0;x.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;c.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;y.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX2.5i/2.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y2.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-m</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinner,white,-</span><span 
class="pcrr8t-x-x-70">&#x00A0;rays.dat</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bwesn</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;128</span><span 
class="pcrr8t-x-x-70">&#x00A0;128</span><span 
class="pcrr8t-x-x-70">&#x00A0;12</span><span 
class="pcrr8t-x-x-70">&#x00A0;45</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;MC</span><span 
class="pcrr8t-x-x-70">&#x00A0;~300\217~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;26</span><span 
class="pcrr8t-x-x-70">&#x00A0;102</span><span 
class="pcrr8t-x-x-70">&#x00A0;12</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;MC</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.4</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;26</span><span 
class="pcrr8t-x-x-70">&#x00A0;204</span><span 
class="pcrr8t-x-x-70">&#x00A0;12</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;MC</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.8</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;140</span><span 
class="pcrr8t-x-x-70">&#x00A0;10</span><span 
class="pcrr8t-x-x-70">&#x00A0;16</span><span 
class="pcrr8t-x-x-70">&#x00A0;-90</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;MC</span><span 
class="pcrr8t-x-x-70">&#x00A0;R</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;100</span><span 
class="pcrr8t-x-x-70">&#x00A0;100</span><span 
class="pcrr8t-x-x-70">&#x00A0;16</span><span 
class="pcrr8t-x-x-70">&#x00A0;-45</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;MC</span><span 
class="pcrr8t-x-x-70">&#x00A0;V</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;128</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Svs</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;90</span><span 
class="pcrr8t-x-x-70">&#x00A0;90</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Svs</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdimage</span><span 
class="pcrr8t-x-x-70">&#x00A0;c.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;x.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;y.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX-2.5i/2.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X-2.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-m</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinner,white,-</span><span 
class="pcrr8t-x-x-70">&#x00A0;rays.dat</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bwesn</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;128</span><span 
class="pcrr8t-x-x-70">&#x00A0;128</span><span 
class="pcrr8t-x-x-70">&#x00A0;12</span><span 
class="pcrr8t-x-x-70">&#x00A0;135</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;MC</span><span 
class="pcrr8t-x-x-70">&#x00A0;~180\217~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
                                                                                 

                                                                                 
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;102</span><span 
class="pcrr8t-x-x-70">&#x00A0;26</span><span 
class="pcrr8t-x-x-70">&#x00A0;12</span><span 
class="pcrr8t-x-x-70">&#x00A0;90</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;MC</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.4</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;204</span><span 
class="pcrr8t-x-x-70">&#x00A0;26</span><span 
class="pcrr8t-x-x-70">&#x00A0;12</span><span 
class="pcrr8t-x-x-70">&#x00A0;90</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;MC</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.8</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;10</span><span 
class="pcrr8t-x-x-70">&#x00A0;140</span><span 
class="pcrr8t-x-x-70">&#x00A0;16</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;MC</span><span 
class="pcrr8t-x-x-70">&#x00A0;B</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;128</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Svs</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;128</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Svs</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Second,</span><span 
class="pcrr8t-x-x-70">&#x00A0;create</span><span 
class="pcrr8t-x-x-70">&#x00A0;grids</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;descending</span><span 
class="pcrr8t-x-x-70">&#x00A0;X</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;Y</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;constant</span><span 
class="pcrr8t-x-x-70">&#x00A0;255.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;These</span><span 
class="pcrr8t-x-x-70">&#x00A0;are</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;be</span><span 
class="pcrr8t-x-x-70">&#x00A0;used</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;represent</span><span 
class="pcrr8t-x-x-70">&#x00A0;R,</span><span 
class="pcrr8t-x-x-70">&#x00A0;G</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;B</span><span 
class="pcrr8t-x-x-70">&#x00A0;values</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;lighter</span><span 
class="pcrr8t-x-x-70">&#x00A0;3</span><span 
class="pcrr8t-x-x-70">&#x00A0;faces</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;cube.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;255</span><span 
class="pcrr8t-x-x-70">&#x00A0;X</span><span 
class="pcrr8t-x-x-70">&#x00A0;SUB</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;x.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;255</span><span 
class="pcrr8t-x-x-70">&#x00A0;Y</span><span 
class="pcrr8t-x-x-70">&#x00A0;SUB</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;y.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;255</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;c.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdimage</span><span 
class="pcrr8t-x-x-70">&#x00A0;x.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;y.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;c.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX-2.5i/-2.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X2.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y2.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-m</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinner,black,-</span><span 
class="pcrr8t-x-x-70">&#x00A0;rays.dat</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bwesn</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;128</span><span 
class="pcrr8t-x-x-70">&#x00A0;128</span><span 
class="pcrr8t-x-x-70">&#x00A0;12</span><span 
class="pcrr8t-x-x-70">&#x00A0;225</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;MC</span><span 
class="pcrr8t-x-x-70">&#x00A0;~240\217~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;102</span><span 
class="pcrr8t-x-x-70">&#x00A0;26</span><span 
class="pcrr8t-x-x-70">&#x00A0;12</span><span 
class="pcrr8t-x-x-70">&#x00A0;270</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;MC</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.4</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;204</span><span 
class="pcrr8t-x-x-70">&#x00A0;26</span><span 
class="pcrr8t-x-x-70">&#x00A0;12</span><span 
class="pcrr8t-x-x-70">&#x00A0;270</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;MC</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.8</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdimage</span><span 
class="pcrr8t-x-x-70">&#x00A0;c.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;y.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;x.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX2.5i/-2.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X2.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-m</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinner,black,-</span><span 
class="pcrr8t-x-x-70">&#x00A0;rays.dat</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bwesn</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;128</span><span 
class="pcrr8t-x-x-70">&#x00A0;128</span><span 
class="pcrr8t-x-x-70">&#x00A0;12</span><span 
class="pcrr8t-x-x-70">&#x00A0;-45</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;MC</span><span 
class="pcrr8t-x-x-70">&#x00A0;~0\217~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;26</span><span 
class="pcrr8t-x-x-70">&#x00A0;102</span><span 
class="pcrr8t-x-x-70">&#x00A0;12</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;MC</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.4</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;26</span><span 
class="pcrr8t-x-x-70">&#x00A0;204</span><span 
class="pcrr8t-x-x-70">&#x00A0;12</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;MC</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.8</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;100</span><span 
class="pcrr8t-x-x-70">&#x00A0;100</span><span 
class="pcrr8t-x-x-70">&#x00A0;16</span><span 
class="pcrr8t-x-x-70">&#x00A0;45</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;MC</span><span 
class="pcrr8t-x-x-70">&#x00A0;S</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;204</span><span 
class="pcrr8t-x-x-70">&#x00A0;66</span><span 
class="pcrr8t-x-x-70">&#x00A0;16</span><span 
class="pcrr8t-x-x-70">&#x00A0;90</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;MC</span><span 
class="pcrr8t-x-x-70">&#x00A0;H</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;90</span><span 
class="pcrr8t-x-x-70">&#x00A0;90</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Svs</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;204</span><span 
class="pcrr8t-x-x-70">&#x00A0;204</span><span 
class="pcrr8t-x-x-70">&#x00A0;204</span><span 
class="pcrr8t-x-x-70">&#x00A0;76</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Svs</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdimage</span><span 
class="pcrr8t-x-x-70">&#x00A0;x.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;c.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;y.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX-2.5i/2.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X-2.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y2.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-m</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinner,black,-</span><span 
class="pcrr8t-x-x-70">&#x00A0;rays.dat</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bwesn</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;128</span><span 
class="pcrr8t-x-x-70">&#x00A0;128</span><span 
class="pcrr8t-x-x-70">&#x00A0;12</span><span 
class="pcrr8t-x-x-70">&#x00A0;135</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;MC</span><span 
class="pcrr8t-x-x-70">&#x00A0;~120\217~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;26</span><span 
class="pcrr8t-x-x-70">&#x00A0;102</span><span 
class="pcrr8t-x-x-70">&#x00A0;12</span><span 
class="pcrr8t-x-x-70">&#x00A0;180</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;MC</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.4</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;26</span><span 
class="pcrr8t-x-x-70">&#x00A0;204</span><span 
class="pcrr8t-x-x-70">&#x00A0;12</span><span 
class="pcrr8t-x-x-70">&#x00A0;180</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;MC</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.8</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;200</span><span 
class="pcrr8t-x-x-70">&#x00A0;200</span><span 
class="pcrr8t-x-x-70">&#x00A0;16</span><span 
class="pcrr8t-x-x-70">&#x00A0;225</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;MC</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;4</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;*.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt*</span>
   </div>__________________________________________________________________________________________________
<hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-139003r11"></a>
                                                                                 

                                                                                 

<!--l. 423--><p class="noindent" ><img 
src="images/example_11.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;7.11: </span><span  
class="content">The RGB color cube.</span></div><!--tex4ht:label?: x1-139003r11 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-139004"></a>
   <h3 class="sectionHead"><span class="titlemark">7.12    </span> <a 
 id="x1-1400007.12"></a>Optimal triangulation of data</h3>
<a 
 id="dx1-140001"></a>
<!--l. 431--><p class="noindent" >Our next example (Figure&#x00A0;<a 
href="#x1-140006r12">7.12<!--tex4ht:ref: fig:GMT_example_12 --></a>) operates on a data set of topographic readings non-uniformly distributed in the
plane (Table 5.11 in Davis: <span 
class="ptmri8t-">Statistics and Data Analysis in Geology</span>, J. Wiley). We use <a 
href="../html/man/triangulate.html" ><span 
class="phvb8t-">triangulate</span></a><a 
 id="dx1-140002"></a> to perform the
optimal Delaunay triangulation, then use the output to draw the resulting network. We label the node numbers as
well as the node values, and call <a 
href="../html/man/pscontour.html" ><span 
class="phvb8t-">pscontour</span></a><a 
 id="dx1-140003"></a> to make a contour map and image directly from the
raw data. Thus, in this example we do not actually make grid files but still are able to contour and
image the data. We use a color palette table <span class="underline">topo.cpt</span> (created via <a 
href="../html/man/minmax.html" ><span 
class="phvb8t-">minmax</span></a><a 
 id="dx1-140004"></a> and <a 
href="../html/man/makecpt.html" ><span 
class="phvb8t-">makecpt</span></a><a 
 id="dx1-140005"></a>). The script
becomes:
</p><!--l. 445--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;EXAMPLE</span><span 
class="pcrr8t-x-x-70">&#x00A0;12</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Illustrates</span><span 
class="pcrr8t-x-x-70">&#x00A0;Delaunay</span><span 
class="pcrr8t-x-x-70">&#x00A0;triangulation</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;points,</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;contouring</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;makecpt,</span><span 
class="pcrr8t-x-x-70">&#x00A0;minmax,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pscontour,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext,</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy,</span><span 
class="pcrr8t-x-x-70">&#x00A0;triangulate</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$AWK,</span><span 
class="pcrr8t-x-x-70">&#x00A0;echo,</span><span 
class="pcrr8t-x-x-70">&#x00A0;rm</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;First</span><span 
class="pcrr8t-x-x-70">&#x00A0;draw</span><span 
class="pcrr8t-x-x-70">&#x00A0;network</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;label</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;nodes</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ps=../example_12.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">triangulate</span><span 
class="pcrr8t-x-x-70">&#x00A0;table_5.11</span><span 
class="pcrr8t-x-x-70">&#x00A0;-m</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;net.xy</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R0/6.5/-0.2/6.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX3.06i/3.15i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B2f1WSNe</span><span 
class="pcrr8t-x-x-70">&#x00A0;-m</span><span 
class="pcrr8t-x-x-70">&#x00A0;net.xy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinner</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X0.9i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y4.65i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;table_5.11</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sc0.12i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">$AWK</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;{print</span><span 
class="pcrr8t-x-x-70">&#x00A0;$1,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$2,</span><span 
class="pcrr8t-x-x-70">&#x00A0;6,</span><span 
class="pcrr8t-x-x-70">&#x00A0;0,</span><span 
class="pcrr8t-x-x-70">&#x00A0;0,</span><span 
class="pcrr8t-x-x-70">&#x00A0;~CM~,</span><span 
class="pcrr8t-x-x-70">&#x00A0;NR-1}&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;table_5.11</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Then</span><span 
class="pcrr8t-x-x-70">&#x00A0;draw</span><span 
class="pcrr8t-x-x-70">&#x00A0;network</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;print</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;node</span><span 
class="pcrr8t-x-x-70">&#x00A0;values</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B2f1eSNw</span><span 
class="pcrr8t-x-x-70">&#x00A0;-m</span><span 
class="pcrr8t-x-x-70">&#x00A0;net.xy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinner</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X3.25i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;table_5.11</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sc0.03i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">$AWK</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;{printf</span><span 
class="pcrr8t-x-x-70">&#x00A0;~%g</span><span 
class="pcrr8t-x-x-70">&#x00A0;%s</span><span 
class="pcrr8t-x-x-70">&#x00A0;6</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;LM</span><span 
class="pcrr8t-x-x-70">&#x00A0;%g\n~,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$1,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$2,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$3}&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;table_5.11</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wwhite,o</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C0.01i/0.01i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D0.08i/0i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Then</span><span 
class="pcrr8t-x-x-70">&#x00A0;contour</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;data</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;draw</span><span 
class="pcrr8t-x-x-70">&#x00A0;triangles</span><span 
class="pcrr8t-x-x-70">&#x00A0;using</span><span 
class="pcrr8t-x-x-70">&#x00A0;dashed</span><span 
class="pcrr8t-x-x-70">&#x00A0;pen;</span><span 
class="pcrr8t-x-x-70">&#x00A0;use</span><span 
class="pcrr8t-x-x-70">&#x00A0;~minmax~</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;~makecpt~</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;make</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;color</span><span 
class="pcrr8t-x-x-70">&#x00A0;palette</span><span 
class="pcrr8t-x-x-70">&#x00A0;(.cpt)</span><span 
class="pcrr8t-x-x-70">&#x00A0;file</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">T=&#8216;minmax</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T25/2</span><span 
class="pcrr8t-x-x-70">&#x00A0;table_5.11&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">makecpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cjet</span><span 
class="pcrr8t-x-x-70">&#x00A0;$T</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;topo.cpt</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscontour</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;table_5.11</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B2f1WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthin</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ctopo.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Lthinnest,-</span><span 
class="pcrr8t-x-x-70">&#x00A0;-G1i/0</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X-3.25i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y-3.65i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;12</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Finally</span><span 
class="pcrr8t-x-x-70">&#x00A0;color</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;topography</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscontour</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;table_5.11</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B2f1eSnw</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ctopo.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X3.25i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~3.16</span><span 
class="pcrr8t-x-x-70">&#x00A0;8</span><span 
class="pcrr8t-x-x-70">&#x00A0;30</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;BC</span><span 
class="pcrr8t-x-x-70">&#x00A0;Delaunay</span><span 
class="pcrr8t-x-x-70">&#x00A0;Triangulation~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R0/8/0/11</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X-3.25i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;net.xy</span><span 
class="pcrr8t-x-x-70">&#x00A0;topo.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt*</span>
   </div>__________________________________________________________________________________________________
<hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-140006r12"></a>
                                                                                 

                                                                                 
<!--l. 446--><p class="noindent" ><img 
src="images/example_12.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;7.12: </span><span  
class="content">Optimal triangulation of data.</span></div><!--tex4ht:label?: x1-140006r12 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-140007"></a>
   <h3 class="sectionHead"><span class="titlemark">7.13    </span> <a 
 id="x1-1410007.13"></a>Plotting of vector fields</h3>
<a 
 id="dx1-141001"></a>
<!--l. 453--><p class="noindent" >In many areas, such as fluid dynamics and elasticity, it is desirable to plot vector fields of various kinds. <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;provides
a way to illustrate 2-component vector fields using the <a 
href="../html/man/grdvector.html" ><span 
class="phvb8t-">grdvector</span></a><a 
 id="dx1-141002"></a> utility. The two components of the field (Cartesian or
polar components) are stored in separate grid files. In this example we use <a 
href="../html/man/grdmath.html" ><span 
class="phvb8t-">grdmath</span></a><a 
 id="dx1-141003"></a> to generate a surface
<!--l. 459--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi><mo 
class="MathClass-punc">,</mo><mi 
>y</mi></mrow><mo 
class="MathClass-close">)</mo></mrow> <mo 
class="MathClass-rel">=</mo> <mi 
>x</mi><mo 
class="MathClass-bin">&#x22C5;</mo><mo 
class="MathClass-op">exp</mo><!--nolimits--><mrow ><mo 
class="MathClass-open">(</mo><mrow><mo 
class="MathClass-bin">-</mo><msup><mrow 
><mi 
>x</mi></mrow><mrow 
><mn>2</mn></mrow></msup 
> <mo 
class="MathClass-bin">-</mo><msup><mrow 
><mi 
>y</mi></mrow><mrow 
><mn>2</mn></mrow></msup 
></mrow><mo 
class="MathClass-close">)</mo></mrow></math> and to
calculate <!--l. 460--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-op">&#x2207;</mo><mi 
>z</mi></math> by
returning the <span 
class="ptmri8t-">x</span>- and <span 
class="ptmri8t-">y</span>-derivatives separately. We superpose the gradient vector field and the surface <span 
class="ptmri8t-">z </span>and also plot
the components of the gradient in separate windows. A <a 
href="../html/man/pstext.html" ><span 
class="phvb8t-">pstext</span></a><a 
 id="dx1-141004"></a> call to place a header finishes the plot
(Figure&#x00A0;<a 
href="#x1-141005r13">7.13<!--tex4ht:ref: fig:GMT_example_13 --></a>:
</p><!--l. 468--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;EXAMPLE</span><span 
class="pcrr8t-x-x-70">&#x00A0;13</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Illustrate</span><span 
class="pcrr8t-x-x-70">&#x00A0;vectors</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;contouring</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdmath,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdcontour,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdvector,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;echo,</span><span 
class="pcrr8t-x-x-70">&#x00A0;rm</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ps=../example_13.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R-2/2/-2/2</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I0.1</span><span 
class="pcrr8t-x-x-70">&#x00A0;X</span><span 
class="pcrr8t-x-x-70">&#x00A0;Y</span><span 
class="pcrr8t-x-x-70">&#x00A0;R2</span><span 
class="pcrr8t-x-x-70">&#x00A0;NEG</span><span 
class="pcrr8t-x-x-70">&#x00A0;EXP</span><span 
class="pcrr8t-x-x-70">&#x00A0;X</span><span 
class="pcrr8t-x-x-70">&#x00A0;MUL</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;z.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;z.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;DDX</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;dzdx.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;z.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;DDY</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;dzdy.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdcontour</span><span 
class="pcrr8t-x-x-70">&#x00A0;dzdx.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX3i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B1/1WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C0.1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A0.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gd2i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-S4</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T0.1i/0.03i</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;13</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdcontour</span><span 
class="pcrr8t-x-x-70">&#x00A0;dzdy.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B1/1WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C0.05</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A0.2</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gd2i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-S4</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T0.1i/0.03i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X3.45i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdcontour</span><span 
class="pcrr8t-x-x-70">&#x00A0;z.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B1/1WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C0.05</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A0.1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gd2i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-S4</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T0.1i/0.03i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X-3.45i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y3.45i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdcontour</span><span 
class="pcrr8t-x-x-70">&#x00A0;z.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B1/1WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C0.05</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gd2i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-S4</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X3.45i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdvector</span><span 
class="pcrr8t-x-x-70">&#x00A0;dzdx.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;dzdy.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I0.2</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Q0.03i/0.1i/0.09in0.25i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-G0</span><span 
class="pcrr8t-x-x-70">&#x00A0;-S5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~3.2</span><span 
class="pcrr8t-x-x-70">&#x00A0;3.6</span><span 
class="pcrr8t-x-x-70">&#x00A0;40</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;6</span><span 
class="pcrr8t-x-x-70">&#x00A0;BC</span><span 
class="pcrr8t-x-x-70">&#x00A0;z(x,y)</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;x</span><span 
class="pcrr8t-x-x-70">&#x00A0;*</span><span 
class="pcrr8t-x-x-70">&#x00A0;exp(-x@+2@+-y@+2@+)~</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R0/6/0/4.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X-3.45i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;z.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;dzdx.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;dzdy.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt*</span>
   </div>__________________________________________________________________________________________________
<hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-141005r13"></a>
                                                                                 

                                                                                 
<!--l. 469--><p class="noindent" ><img 
src="images/example_13.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;7.13: </span><span  
class="content">Display of vector fields in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>.</span></div><!--tex4ht:label?: x1-141005r13 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-141006"></a>
   <h3 class="sectionHead"><span class="titlemark">7.14    </span> <a 
 id="x1-1420007.14"></a>Gridding of data and trend surfaces</h3>
<a 
 id="dx1-142001"></a>
<!--l. 476--><p class="noindent" >This example shows how one goes from randomly spaced data points to an evenly sampled surface. First we plot
the distribution and values of our raw data set (same as in Section&#x00A0;<a 
href="#x1-1400007.12">7.12<!--tex4ht:ref: sec:example_12 --></a>). We choose an equidistant grid and run
<a 
href="../html/man/blockmean.html" ><span 
class="phvb8t-">blockmean</span></a><a 
 id="dx1-142002"></a> which preprocesses the data to avoid aliasing. The dashed lines indicate the logical blocks used by
<a 
href="../html/man/blockmean.html" ><span 
class="phvb8t-">blockmean</span></a><a 
 id="dx1-142003"></a>; all points inside a given bin will be averaged. The logical blocks are drawn from a
temporary file we make on the fly within the shell script. The processed data is then gridded with the
<a 
href="../html/man/surface.html" ><span 
class="phvb8t-">surface</span></a><a 
 id="dx1-142004"></a> program and contoured every 25 units. A most important point here is that <a 
href="../html/man/blockmean.html" ><span 
class="phvb8t-">blockmean</span></a><a 
 id="dx1-142005"></a>,
<a 
href="../html/man/blockmedian.html" ><span 
class="phvb8t-">blockmedian</span></a><a 
 id="dx1-142006"></a>, or <a 
href="../html/man/blockmode.html" ><span 
class="phvb8t-">blockmode</span></a><a 
 id="dx1-142007"></a> should always be run prior to running <a 
href="../html/man/surface.html" ><span 
class="phvb8t-">surface</span></a><a 
 id="dx1-142008"></a>, and both of these steps
must use the same grid interval. We use <a 
href="../html/man/grdtrend.html" ><span 
class="phvb8t-">grdtrend</span></a><a 
 id="dx1-142009"></a> to fit a bicubic trend surface to the gridded data,
contour it as well, and sample both grid files along a diagonal transect using <a 
href="../html/man/grdtrack.html" ><span 
class="phvb8t-">grdtrack</span></a><a 
 id="dx1-142010"></a>. The bottom
panel compares the gridded (solid line) and bicubic trend (dashed line) along the transect using <a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-142011"></a>
(Figure&#x00A0;<a 
href="#x1-142012r14">7.14<!--tex4ht:ref: fig:GMT_example_14 --></a>):
</p><!--l. 496--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;EXAMPLE</span><span 
class="pcrr8t-x-x-70">&#x00A0;14</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Showing</span><span 
class="pcrr8t-x-x-70">&#x00A0;simple</span><span 
class="pcrr8t-x-x-70">&#x00A0;gridding,</span><span 
class="pcrr8t-x-x-70">&#x00A0;contouring,</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;resampling</span><span 
class="pcrr8t-x-x-70">&#x00A0;along</span><span 
class="pcrr8t-x-x-70">&#x00A0;tracks</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;blockmean,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdcontour,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdtrack,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdtrend,</span><span 
class="pcrr8t-x-x-70">&#x00A0;minmax,</span><span 
class="pcrr8t-x-x-70">&#x00A0;project</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmtset,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext,</span><span 
class="pcrr8t-x-x-70">&#x00A0;psbasemap,</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy,</span><span 
class="pcrr8t-x-x-70">&#x00A0;surface</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$AWK,</span><span 
class="pcrr8t-x-x-70">&#x00A0;rm</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ps=../example_14.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;First</span><span 
class="pcrr8t-x-x-70">&#x00A0;draw</span><span 
class="pcrr8t-x-x-70">&#x00A0;network</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;label</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;nodes</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;GRID_PEN_PRIMARY</span><span 
class="pcrr8t-x-x-70">&#x00A0;thinnest,-</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;table_5.11</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R0/7/0/7</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX3.06i/3.15i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B2f1WSNe</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sc0.05i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y6.45i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">$AWK</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;{printf</span><span 
class="pcrr8t-x-x-70">&#x00A0;~%g</span><span 
class="pcrr8t-x-x-70">&#x00A0;%s</span><span 
class="pcrr8t-x-x-70">&#x00A0;6</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;LM</span><span 
class="pcrr8t-x-x-70">&#x00A0;%g\n~,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$1+0.08,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$2,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$3}&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;table_5.11</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">blockmean</span><span 
class="pcrr8t-x-x-70">&#x00A0;table_5.11</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R0/7/0/7</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I1</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;mean.xyz</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Then</span><span 
class="pcrr8t-x-x-70">&#x00A0;draw</span><span 
class="pcrr8t-x-x-70">&#x00A0;blockmean</span><span 
class="pcrr8t-x-x-70">&#x00A0;cells</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psbasemap</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R0.5/7.5/0.5/7.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B0g1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X3.25i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R0/7/0/7</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B2f1eSNw</span><span 
class="pcrr8t-x-x-70">&#x00A0;mean.xyz</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ss0.05i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">$AWK</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;{printf</span><span 
class="pcrr8t-x-x-70">&#x00A0;~%g</span><span 
class="pcrr8t-x-x-70">&#x00A0;%s</span><span 
class="pcrr8t-x-x-70">&#x00A0;6</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;LM</span><span 
class="pcrr8t-x-x-70">&#x00A0;%g\n~,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$1+0.1,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$2,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$3}&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;mean.xyz</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wwhite,o</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C0.01i/0.01i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Then</span><span 
class="pcrr8t-x-x-70">&#x00A0;surface</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;contour</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;data</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">surface</span><span 
class="pcrr8t-x-x-70">&#x00A0;mean.xyz</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gdata.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdcontour</span><span 
class="pcrr8t-x-x-70">&#x00A0;data.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B2f1WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C25</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A50</span><span 
class="pcrr8t-x-x-70">&#x00A0;-G3i/10</span><span 
class="pcrr8t-x-x-70">&#x00A0;-S4</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X-3.25i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y-3.55i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;mean.xyz</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ss0.05i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Fit</span><span 
class="pcrr8t-x-x-70">&#x00A0;bicubic</span><span 
class="pcrr8t-x-x-70">&#x00A0;trend</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;data</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;compare</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;gridded</span><span 
class="pcrr8t-x-x-70">&#x00A0;surface</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdtrend</span><span 
class="pcrr8t-x-x-70">&#x00A0;data.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N10</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ttrend.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">project</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C0/0</span><span 
class="pcrr8t-x-x-70">&#x00A0;-E7/7</span><span 
class="pcrr8t-x-x-70">&#x00A0;-G0.1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;track</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdcontour</span><span 
class="pcrr8t-x-x-70">&#x00A0;trend.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B2f1wSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C25</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A50</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glct/cb</span><span 
class="pcrr8t-x-x-70">&#x00A0;-S4</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X3.25i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;track</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthick,.</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Sample</span><span 
class="pcrr8t-x-x-70">&#x00A0;along</span><span 
class="pcrr8t-x-x-70">&#x00A0;diagonal</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdtrack</span><span 
class="pcrr8t-x-x-70">&#x00A0;track</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gdata.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;cut</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f3,4</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;data.d</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdtrack</span><span 
class="pcrr8t-x-x-70">&#x00A0;track</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gtrend.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;cut</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f3,4</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;trend.d</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8216;minmax</span><span 
class="pcrr8t-x-x-70">&#x00A0;data.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;trend.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I0.5/25&#8216;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX6.3i/1.4i</span><span 
class="pcrr8t-x-x-70">&#x00A0;data.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthick</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X-3.25i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y-1.9i</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B1/50WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;trend.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinner,-</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;14</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;mean.xyz</span><span 
class="pcrr8t-x-x-70">&#x00A0;track</span><span 
class="pcrr8t-x-x-70">&#x00A0;*.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;*.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt*</span>
   </div>__________________________________________________________________________________________________
<hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-142012r14"></a>
                                                                                 

                                                                                 
<!--l. 497--><p class="noindent" ><img 
src="images/example_14.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;7.14: </span><span  
class="content">Gridding of data and trend surfaces.</span></div><!--tex4ht:label?: x1-142012r14 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-142013"></a>
   <h3 class="sectionHead"><span class="titlemark">7.15    </span> <a 
 id="x1-1430007.15"></a>Gridding, contouring, and masking of unconstrained areas</h3>
<a 
 id="dx1-143001"></a>
<!--l. 505--><p class="noindent" >This example (Figure&#x00A0;<a 
href="#x1-143010r15">7.15<!--tex4ht:ref: fig:GMT_example_15 --></a>) demonstrates some off the different ways one can use to grid data in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>, and how to
deal with unconstrained areas. We first convert a large ASCII file to binary with <a 
href="../html/man/gmtconvert.html" ><span 
class="phvb8t-">gmtconvert</span></a><a 
 id="dx1-143002"></a> since the binary file
will read and process much faster. Our lower left plot illustrates the results of gridding using a nearest neighbor
technique (<a 
href="../html/man/nearneighbor.html" ><span 
class="phvb8t-">nearneighbor</span></a><a 
 id="dx1-143003"></a>) which is a local method: No output is given where there are no data. Next (lower
right), we use a minimum curvature technique (<a 
href="../html/man/surface.html" ><span 
class="phvb8t-">surface</span></a><a 
 id="dx1-143004"></a>) which is a global method. Hence, the contours cover the
entire map although the data are only available for portions of the area (indicated by the gray areas plotted using
<a 
href="../html/man/psmask.html" ><span 
class="phvb8t-">psmask</span></a><a 
 id="dx1-143005"></a>). The top left scenario illustrates how we can create a clip path (using <a 
href="../html/man/psmask.html" ><span 
class="phvb8t-">psmask</span></a><a 
 id="dx1-143006"></a>) based on
the data coverage to eliminate contours outside the constrained area. Finally (top right) we simply
employ <a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-143007"></a> to overlay gray land masses to cover up the unwanted contours, and end by plotting a
star at the deepest point on the map with <a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-143008"></a>. This point was extracted from the grid files using
<a 
href="../html/man/grdinfo.html" ><span 
class="phvb8t-">grdinfo</span></a><a 
 id="dx1-143009"></a>.
</p><!--l. 525--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;EXAMPLE</span><span 
class="pcrr8t-x-x-70">&#x00A0;15</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Gridding</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;clipping</span><span 
class="pcrr8t-x-x-70">&#x00A0;when</span><span 
class="pcrr8t-x-x-70">&#x00A0;data</span><span 
class="pcrr8t-x-x-70">&#x00A0;are</span><span 
class="pcrr8t-x-x-70">&#x00A0;missing</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;blockmedian,</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmtconvert,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdclip,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdcontour,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdinfo,</span><span 
class="pcrr8t-x-x-70">&#x00A0;minmax</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;nearneighbor,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pscoast,</span><span 
class="pcrr8t-x-x-70">&#x00A0;psmask,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext,</span><span 
class="pcrr8t-x-x-70">&#x00A0;surface</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;awk,</span><span 
class="pcrr8t-x-x-70">&#x00A0;echo,</span><span 
class="pcrr8t-x-x-70">&#x00A0;rm</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ps=../example_15.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtconvert</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship.xyz</span><span 
class="pcrr8t-x-x-70">&#x00A0;-bo</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship.b</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">region=&#8216;minmax</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship.b</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-bi3&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">nearneighbor</span><span 
class="pcrr8t-x-x-70">&#x00A0;$region</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I10m</span><span 
class="pcrr8t-x-x-70">&#x00A0;-S40k</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gship.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship.b</span><span 
class="pcrr8t-x-x-70">&#x00A0;-bi3</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">info=&#8216;grdinfo</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C</span><span 
class="pcrr8t-x-x-70">&#x00A0;-M</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship.nc&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdcontour</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JM3i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B2WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C250</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A1000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-G2i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;15</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">blockmedian</span><span 
class="pcrr8t-x-x-70">&#x00A0;$region</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I10m</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship.b</span><span 
class="pcrr8t-x-x-70">&#x00A0;-bi3</span><span 
class="pcrr8t-x-x-70">&#x00A0;-bo</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship_10m.b</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">surface</span><span 
class="pcrr8t-x-x-70">&#x00A0;$region</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I10m</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship_10m.b</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gship.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-bi3</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psmask</span><span 
class="pcrr8t-x-x-70">&#x00A0;$region</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I10m</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship.b</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-bi3</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X3.6i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdcontour</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B2WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C250</span><span 
class="pcrr8t-x-x-70">&#x00A0;-L-8000/0</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A1000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-G2i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psmask</span><span 
class="pcrr8t-x-x-70">&#x00A0;$region</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I10m</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship_10m.b</span><span 
class="pcrr8t-x-x-70">&#x00A0;-bi3</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B2WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X-3.6i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y3.75i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdcontour</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C250</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A1000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-L-8000/0</span><span 
class="pcrr8t-x-x-70">&#x00A0;-G2i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psmask</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdclip</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sa-1/NaN</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gship_clipped.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdcontour</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship_clipped.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B2WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C250</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A1000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-L-8000/0</span><span 
class="pcrr8t-x-x-70">&#x00A0;-G2i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X3.6i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;$region</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ggray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;$info</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;$AWK</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;{print</span><span 
class="pcrr8t-x-x-70">&#x00A0;$12,$13}&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sa0.15i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthick</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~-0.3</span><span 
class="pcrr8t-x-x-70">&#x00A0;3.6</span><span 
class="pcrr8t-x-x-70">&#x00A0;24</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;CB</span><span 
class="pcrr8t-x-x-70">&#x00A0;Gridding</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span><span 
class="pcrr8t-x-x-70">&#x00A0;missing</span><span 
class="pcrr8t-x-x-70">&#x00A0;data~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R0/3/0/4</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship.b</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship_10m.b</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;ship_clipped.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt*</span>
   </div>__________________________________________________________________________________________________
<hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-143010r15"></a>
                                                                                 

                                                                                 
<!--l. 526--><p class="noindent" ><img 
src="images/example_15.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;7.15: </span><span  
class="content">Gridding, contouring, and masking of data.</span></div><!--tex4ht:label?: x1-143010r15 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-143011"></a>
   <h3 class="sectionHead"><span class="titlemark">7.16    </span> <a 
 id="x1-1440007.16"></a>Gridding of data, continued</h3>
<a 
 id="dx1-144001"></a>
<!--l. 533--><p class="noindent" ><a 
href="../html/man/pscontour.html" ><span 
class="phvb8t-">pscontour</span></a><a 
 id="dx1-144002"></a> (for contouring) and <a 
href="../html/man/triangulate.html" ><span 
class="phvb8t-">triangulate</span></a><a 
 id="dx1-144003"></a> (for gridding) use the simplest method
of interpolating data: a Delaunay triangulation (see Section&#x00A0;<a 
href="#x1-1400007.12">7.12<!--tex4ht:ref: sec:example_12 --></a>) which forms
<!--l. 536--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi><mo 
class="MathClass-punc">,</mo><mi 
>y</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></math>
as a union of planar triangular facets. One advantage of this method is that it will not extrapolate
<!--l. 538--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi><mo 
class="MathClass-punc">,</mo><mi 
>y</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></math>
beyond the convex hull of the input (<span 
class="ptmri8t-">x, y</span>) data. Another is that it will not estimate a
<span 
class="ptmri8t-">z </span>value above or below the local bounds on any triangle. A disadvantage is that the
<!--l. 541--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi><mo 
class="MathClass-punc">,</mo><mi 
>y</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></math>
surface is not differentiable, but has sharp kinks at triangle edges and thus also along contours.
This may not look physically reasonable, but it can be filtered later (last panel below).
<a 
href="../html/man/surface.html" ><span 
class="phvb8t-">surface</span></a><a 
 id="dx1-144004"></a> can be used to generate a higher-order (smooth and differentiable) interpolation of
<!--l. 546--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi><mo 
class="MathClass-punc">,</mo><mi 
>y</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></math> onto a
grid, after which the grid may be illustrated (<a 
href="../html/man/grdcontour.html" ><span 
class="phvb8t-">grdcontour</span></a><a 
 id="dx1-144005"></a>, <a 
href="../html/man/grdimage.html" ><span 
class="phvb8t-">grdimage</span></a><a 
 id="dx1-144006"></a>, <a 
href="../html/man/grdview.html" ><span 
class="phvb8t-">grdview</span></a><a 
 id="dx1-144007"></a>). <a 
href="../html/man/surface.html" ><span 
class="phvb8t-">surface</span></a><a 
 id="dx1-144008"></a> will interpolate to all
(<span 
class="ptmri8t-">x, y</span>) points in a rectangular region, and thus will extrapolate beyond the convex hull of the data. However, this can
be masked out in various ways (see Section&#x00A0;<a 
href="#x1-1430007.15">7.15<!--tex4ht:ref: sec:example_15 --></a>).
</p><!--l. 553--><p class="indent" >   A more serious objection is that <a 
href="../html/man/surface.html" ><span 
class="phvb8t-">surface</span></a><a 
 id="dx1-144009"></a> may estimate <span 
class="ptmri8t-">z </span>values outside the local range of the data (note area near <span 
class="ptmri8t-">x</span>
= 0.8, <span 
class="ptmri8t-">y </span>= 5.3). This commonly happens when the default tension value of zero is used to create a &#8220;minimum curvature&#8221;
(most smooth) interpolant. <a 
href="../html/man/surface.html" ><span 
class="phvb8t-">surface</span></a><a 
 id="dx1-144010"></a> can be used with non-zero tension to partially overcome this problem. The limiting
value <!--l. 559--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>t</mi><mi 
>e</mi><mi 
>n</mi><mi 
>s</mi><mi 
>i</mi><mi 
>o</mi><mi 
>n</mi> <mo 
class="MathClass-rel">=</mo> <mn>1</mn></math>
should approximate the triangulation, while a value between 0 and 1 may yield a good compromise between the
above two cases. A value of 0.5 is shown here (Figure&#x00A0;<a 
href="#x1-144017r16">7.16<!--tex4ht:ref: fig:GMT_example_16 --></a>). A side effect of the tension is that it tends to make the
contours turn near the edges of the domain so that they approach the edge from a perpendicular direction. A
solution is to use <a 
href="../html/man/surface.html" ><span 
class="phvb8t-">surface</span></a><a 
 id="dx1-144011"></a> in a larger area and then use <a 
href="../html/man/grdcut.html" ><span 
class="phvb8t-">grdcut</span></a><a 
 id="dx1-144012"></a> to cut out the desired smaller area. Another way to
achieve a compromise is to interpolate the data to a grid and then filter the grid using <a 
href="../html/man/grdfft.html" ><span 
class="phvb8t-">grdfft</span></a><a 
 id="dx1-144013"></a> or <a 
href="../html/man/grdfilter.html" ><span 
class="phvb8t-">grdfilter</span></a><a 
 id="dx1-144014"></a>. The
latter can handle grids containing &#8220;NaN&#8221; values and it can do median and mode filters as well as
convolutions. Shown here is <a 
href="../html/man/triangulate.html" ><span 
class="phvb8t-">triangulate</span></a><a 
 id="dx1-144015"></a> followed by <a 
href="../html/man/grdfilter.html" ><span 
class="phvb8t-">grdfilter</span></a><a 
 id="dx1-144016"></a>. Note that the filter has done some
extrapolation beyond the convex hull of the original <span 
class="ptmri8t-">x, y </span>values. The &#8220;best&#8221; smooth approximation of
<!--l. 574--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi><mo 
class="MathClass-punc">,</mo><mi 
>y</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></math> depends
on the errors in the data and the physical laws obeyed by <span 
class="ptmri8t-">z</span>. <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;cannot always do the &#8220;best&#8221; thing but it offers
great flexibility through its combinations of tools. We illustrate all four solutions using a cpt file that contains color
fills, predefined patterns for interval (900,925) and NaN, an image pattern for interval (875,900), and a &#8220;skip slice&#8221;
request for interval (700,725).
</p><!--l. 582--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;EXAMPLE</span><span 
class="pcrr8t-x-x-70">&#x00A0;16</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Illustrates</span><span 
class="pcrr8t-x-x-70">&#x00A0;interpolation</span><span 
class="pcrr8t-x-x-70">&#x00A0;methods</span><span 
class="pcrr8t-x-x-70">&#x00A0;using</span><span 
class="pcrr8t-x-x-70">&#x00A0;same</span><span 
class="pcrr8t-x-x-70">&#x00A0;data</span><span 
class="pcrr8t-x-x-70">&#x00A0;as</span><span 
class="pcrr8t-x-x-70">&#x00A0;Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;12.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmtset,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdview,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdfilter,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pscontour,</span><span 
class="pcrr8t-x-x-70">&#x00A0;psscale,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext,</span><span 
class="pcrr8t-x-x-70">&#x00A0;surface,</span><span 
class="pcrr8t-x-x-70">&#x00A0;triangulate</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;echo,</span><span 
class="pcrr8t-x-x-70">&#x00A0;rm</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Illustrate</span><span 
class="pcrr8t-x-x-70">&#x00A0;various</span><span 
class="pcrr8t-x-x-70">&#x00A0;means</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;contouring,</span><span 
class="pcrr8t-x-x-70">&#x00A0;using</span><span 
class="pcrr8t-x-x-70">&#x00A0;triangulate</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;surface.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ps=../example_16.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;ANNOT_FONT_SIZE_PRIMARY</span><span 
class="pcrr8t-x-x-70">&#x00A0;9</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscontour</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R0/6.5/-0.2/6.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx0.45i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y5.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ba2f1WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;table_5.11</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cex16.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~3.25</span><span 
class="pcrr8t-x-x-70">&#x00A0;7</span><span 
class="pcrr8t-x-x-70">&#x00A0;18</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;4</span><span 
class="pcrr8t-x-x-70">&#x00A0;CB</span><span 
class="pcrr8t-x-x-70">&#x00A0;pscontour</span><span 
class="pcrr8t-x-x-70">&#x00A0;(triangulate)~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">surface</span><span 
class="pcrr8t-x-x-70">&#x00A0;table_5.11</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I0.2</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Graws0.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdview</span><span 
class="pcrr8t-x-x-70">&#x00A0;raws0.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ba2f1WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cex16.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Qs</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X3.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~3.25</span><span 
class="pcrr8t-x-x-70">&#x00A0;7</span><span 
class="pcrr8t-x-x-70">&#x00A0;18</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;4</span><span 
class="pcrr8t-x-x-70">&#x00A0;CB</span><span 
class="pcrr8t-x-x-70">&#x00A0;surface</span><span 
class="pcrr8t-x-x-70">&#x00A0;(tension</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;0)~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
                                                                                 

                                                                                 
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">surface</span><span 
class="pcrr8t-x-x-70">&#x00A0;table_5.11</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I0.2</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Graws5.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T0.5</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdview</span><span 
class="pcrr8t-x-x-70">&#x00A0;raws5.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ba2f1WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cex16.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Qs</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y-3.75i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X-3.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~3.25</span><span 
class="pcrr8t-x-x-70">&#x00A0;7</span><span 
class="pcrr8t-x-x-70">&#x00A0;18</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;4</span><span 
class="pcrr8t-x-x-70">&#x00A0;CB</span><span 
class="pcrr8t-x-x-70">&#x00A0;surface</span><span 
class="pcrr8t-x-x-70">&#x00A0;(tension</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.5)~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">triangulate</span><span 
class="pcrr8t-x-x-70">&#x00A0;table_5.11</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Grawt.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I0.2</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;/dev/null</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdfilter</span><span 
class="pcrr8t-x-x-70">&#x00A0;rawt.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gfiltered.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D0</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Fc1</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdview</span><span 
class="pcrr8t-x-x-70">&#x00A0;filtered.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ba2f1WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cex16.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Qs</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X3.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~3.25</span><span 
class="pcrr8t-x-x-70">&#x00A0;7</span><span 
class="pcrr8t-x-x-70">&#x00A0;18</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;4</span><span 
class="pcrr8t-x-x-70">&#x00A0;CB</span><span 
class="pcrr8t-x-x-70">&#x00A0;triangulate</span><span 
class="pcrr8t-x-x-70">&#x00A0;@~\256@~</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdfilter~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~3.2125</span><span 
class="pcrr8t-x-x-70">&#x00A0;7.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;32</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;4</span><span 
class="pcrr8t-x-x-70">&#x00A0;CB</span><span 
class="pcrr8t-x-x-70">&#x00A0;Gridding</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;Data~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R0/10/0/10</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X-3.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psscale</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D3.25i/0.35i/5i/0.25ih</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cex16.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;16</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y-0.75i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;*.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt*</span>
   </div>__________________________________________________________________________________________________
<hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-144017r16"></a>
                                                                                 

                                                                                 
<!--l. 583--><p class="noindent" ><img 
src="images/example_16.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;7.16: </span><span  
class="content">More ways to grid data.</span></div><!--tex4ht:label?: x1-144017r16 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-144018"></a>
   <h3 class="sectionHead"><span class="titlemark">7.17    </span> <a 
 id="x1-1450007.17"></a>Images clipped by coastlines</h3>
<a 
 id="dx1-145001"></a>
<!--l. 590--><p class="noindent" >This example demonstrates how <a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-145002"></a> can be used to set up clip paths based on coastlines. This approach is
well suited when different gridded data sets are to be merged on a plot using different color palette files.
Merging the files themselves may not be doable since they may represent different data sets, as we show
in this example. Here, we lay down a color map of the geoid field near India with <a 
href="../html/man/grdimage.html" ><span 
class="phvb8t-">grdimage</span></a><a 
 id="dx1-145003"></a>, use
<a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-145004"></a> to set up land clip paths, and then overlay topography from the ETOPO5 data set with another
call to <a 
href="../html/man/grdimage.html" ><span 
class="phvb8t-">grdimage</span></a><a 
 id="dx1-145005"></a>. We finally undo the clippath with a second call to <a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-145006"></a> with the option <span 
class="pcrb8t-">-Q</span>
(Figure&#x00A0;<a 
href="#x1-145007r17">7.17<!--tex4ht:ref: fig:GMT_example_17 --></a>):
</p><!--l. 603--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;EXAMPLE</span><span 
class="pcrr8t-x-x-70">&#x00A0;17</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Illustrates</span><span 
class="pcrr8t-x-x-70">&#x00A0;clipping</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;images</span><span 
class="pcrr8t-x-x-70">&#x00A0;using</span><span 
class="pcrr8t-x-x-70">&#x00A0;coastlines</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;grd2cpt,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdgradient,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdimage,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pscoast,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;rm</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ps=../example_17.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;First</span><span 
class="pcrr8t-x-x-70">&#x00A0;generate</span><span 
class="pcrr8t-x-x-70">&#x00A0;geoid</span><span 
class="pcrr8t-x-x-70">&#x00A0;image</span><span 
class="pcrr8t-x-x-70">&#x00A0;w/</span><span 
class="pcrr8t-x-x-70">&#x00A0;shading</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grd2cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;india_geoid.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Crainbow</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;geoid.cpt</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdgradient</span><span 
class="pcrr8t-x-x-70">&#x00A0;india_geoid.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Nt1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A45</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gindia_geoid_i.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdimage</span><span 
class="pcrr8t-x-x-70">&#x00A0;india_geoid.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Iindia_geoid_i.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JM6.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cgeoid.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;17</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Then</span><span 
class="pcrr8t-x-x-70">&#x00A0;use</span><span 
class="pcrr8t-x-x-70">&#x00A0;pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;initiate</span><span 
class="pcrr8t-x-x-70">&#x00A0;clip</span><span 
class="pcrr8t-x-x-70">&#x00A0;path</span><span 
class="pcrr8t-x-x-70">&#x00A0;for</span><span 
class="pcrr8t-x-x-70">&#x00A0;land</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rindia_geoid.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dl</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gc</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Now</span><span 
class="pcrr8t-x-x-70">&#x00A0;generate</span><span 
class="pcrr8t-x-x-70">&#x00A0;topography</span><span 
class="pcrr8t-x-x-70">&#x00A0;image</span><span 
class="pcrr8t-x-x-70">&#x00A0;w/shading</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~-10000</span><span 
class="pcrr8t-x-x-70">&#x00A0;150</span><span 
class="pcrr8t-x-x-70">&#x00A0;10000</span><span 
class="pcrr8t-x-x-70">&#x00A0;150~</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;gray.cpt</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdgradient</span><span 
class="pcrr8t-x-x-70">&#x00A0;india_topo.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Nt1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A45</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gindia_topo_i.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdimage</span><span 
class="pcrr8t-x-x-70">&#x00A0;india_topo.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Iindia_topo_i.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cgray.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Finally</span><span 
class="pcrr8t-x-x-70">&#x00A0;undo</span><span 
class="pcrr8t-x-x-70">&#x00A0;clipping</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;overlay</span><span 
class="pcrr8t-x-x-70">&#x00A0;basemap</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Q</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B10f5:.~Clipping</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;Images~:</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Put</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;color</span><span 
class="pcrr8t-x-x-70">&#x00A0;legend</span><span 
class="pcrr8t-x-x-70">&#x00A0;on</span><span 
class="pcrr8t-x-x-70">&#x00A0;top</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;land</span><span 
class="pcrr8t-x-x-70">&#x00A0;mask</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psscale</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D4i/7.6i/4i/0.2ih</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cgeoid.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B5f1/:m:</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Add</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;text</span><span 
class="pcrr8t-x-x-70">&#x00A0;paragraph</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-m</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wwhite,Othinner</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D-0.1i/0.1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;&#x003C;</span><span 
class="pcrr8t-x-x-70">&#x00A0;END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;90</span><span 
class="pcrr8t-x-x-70">&#x00A0;-10</span><span 
class="pcrr8t-x-x-70">&#x00A0;12</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;4</span><span 
class="pcrr8t-x-x-70">&#x00A0;RB</span><span 
class="pcrr8t-x-x-70">&#x00A0;12p</span><span 
class="pcrr8t-x-x-70">&#x00A0;3i</span><span 
class="pcrr8t-x-x-70">&#x00A0;j</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">@_@%5%Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;17.@%%@_</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;We</span><span 
class="pcrr8t-x-x-70">&#x00A0;first</span><span 
class="pcrr8t-x-x-70">&#x00A0;plot</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;color</span><span 
class="pcrr8t-x-x-70">&#x00A0;geoid</span><span 
class="pcrr8t-x-x-70">&#x00A0;image</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">for</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;entire</span><span 
class="pcrr8t-x-x-70">&#x00A0;region,</span><span 
class="pcrr8t-x-x-70">&#x00A0;followed</span><span 
class="pcrr8t-x-x-70">&#x00A0;by</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;gray-shaded</span><span 
class="pcrr8t-x-x-70">&#x00A0;@#etopo5@#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">image</span><span 
class="pcrr8t-x-x-70">&#x00A0;that</span><span 
class="pcrr8t-x-x-70">&#x00A0;is</span><span 
class="pcrr8t-x-x-70">&#x00A0;clipped</span><span 
class="pcrr8t-x-x-70">&#x00A0;so</span><span 
class="pcrr8t-x-x-70">&#x00A0;it</span><span 
class="pcrr8t-x-x-70">&#x00A0;is</span><span 
class="pcrr8t-x-x-70">&#x00A0;only</span><span 
class="pcrr8t-x-x-70">&#x00A0;visible</span><span 
class="pcrr8t-x-x-70">&#x00A0;inside</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;coastlines.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Clean</span><span 
class="pcrr8t-x-x-70">&#x00A0;up</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;geoid.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;gray.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;*_i.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt*</span>
   </div>__________________________________________________________________________________________________
<hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-145007r17"></a>
                                                                                 

                                                                                 
<!--l. 604--><p class="noindent" ><img 
src="images/example_17.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;7.17: </span><span  
class="content">Clipping of images using coastlines.</span></div><!--tex4ht:label?: x1-145007r17 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 606--><p class="indent" >   We also plot a color legend on top of the land. So here we basically have three layers of &#8220;paint&#8221; stacked on top
of each other: the underlaying geoid map, the land mask, and finally the color legend. This legend makes clear how
<a 
href="../html/man/grd2cpt.html" ><span 
class="phvb8t-">grd2cpt</span></a><a 
 id="dx1-145008"></a> distributed the colors over the range: they are not of equal length put are associated with equal amounts
of area in the plot. Since the high amounts (in red) are not very prevalent, that color spans a long
range.
</p><!--l. 613--><p class="indent" >   For this image it is appropriate to use the <span 
class="pcrb8t-">-I </span>option in <a 
href="../html/man/psscale.html" ><span 
class="phvb8t-">psscale</span></a><a 
 id="dx1-145009"></a> so the legend gets shaded, similar to the geoid
grid. See Appendix&#x00A0;<a 
href="#x1-242000M">M<!--tex4ht:ref: app:M --></a> to learn more about color palettes and ways to draw color legends.
<a 
 id="dx1-145010"></a>
</p>
   <h3 class="sectionHead"><span class="titlemark">7.18    </span> <a 
 id="x1-1460007.18"></a>Volumes and Spatial Selections</h3>
<a 
 id="dx1-146001"></a>
<!--l. 622--><p class="noindent" >To demonstrate potential usage of the new programs <a 
href="../html/man/grdvolume.html" ><span 
class="phvb8t-">grdvolume</span></a><a 
 id="dx1-146002"></a> and <a 
href="../html/man/gmtselect.html" ><span 
class="phvb8t-">gmtselect</span></a><a 
 id="dx1-146003"></a> we extract a subset of the Sandwell &amp; Smith
altimetric gravity field<span class="footnote-mark"><a 
href="#fn26x7" id="fn26x7-bk"><sup class="textsuperscript">26</sup></a></span><a 
 id="x1-146004f26"></a>
for the northern Pacific and decide to isolate all seamounts that (1) exceed 50 mGal in amplitude and
(2) are within 200 km of the Pratt seamount. We do this by dumping the 50 mGal contours to disk,
then making a simple <span 
class="ptmbo8t-">$AWK</span><a 
 id="dx1-146005"></a> script <span class="underline">center.awk</span> that returns the mean location of the points making
up each closed polygon, and then pass these locations to <a 
href="../html/man/gmtselect.html" ><span 
class="phvb8t-">gmtselect</span></a><a 
 id="dx1-146006"></a> which retains only the points
within 200 km of Pratt. We then mask out all the data outside this radius and use <a 
href="../html/man/grdvolume.html" ><span 
class="phvb8t-">grdvolume</span></a><a 
 id="dx1-146007"></a> to
determine the combined area and volumes of the chosen seamounts. Our illustration is presented in
Figure&#x00A0;<a 
href="#x1-146008r18">7.18<!--tex4ht:ref: fig:GMT_example_18 --></a>.
</p><!--l. 638--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;EXAMPLE</span><span 
class="pcrr8t-x-x-70">&#x00A0;18</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Illustrates</span><span 
class="pcrr8t-x-x-70">&#x00A0;volumes</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;grids</span><span 
class="pcrr8t-x-x-70">&#x00A0;inside</span><span 
class="pcrr8t-x-x-70">&#x00A0;contours</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;spatial</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;selection</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;data</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmtset,</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmtselect,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdclip,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdcontour,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdgradient,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdimage</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdmath,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdvolume,</span><span 
class="pcrr8t-x-x-70">&#x00A0;makecpt,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pscoast,</span><span 
class="pcrr8t-x-x-70">&#x00A0;psscale,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext,</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$AWK,</span><span 
class="pcrr8t-x-x-70">&#x00A0;cat,</span><span 
class="pcrr8t-x-x-70">&#x00A0;rm</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ps=../example_18.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Use</span><span 
class="pcrr8t-x-x-70">&#x00A0;spherical</span><span 
class="pcrr8t-x-x-70">&#x00A0;projection</span><span 
class="pcrr8t-x-x-70">&#x00A0;since</span><span 
class="pcrr8t-x-x-70">&#x00A0;SS</span><span 
class="pcrr8t-x-x-70">&#x00A0;data</span><span 
class="pcrr8t-x-x-70">&#x00A0;define</span><span 
class="pcrr8t-x-x-70">&#x00A0;on</span><span 
class="pcrr8t-x-x-70">&#x00A0;sphere</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;ELLIPSOID</span><span 
class="pcrr8t-x-x-70">&#x00A0;Sphere</span><span 
class="pcrr8t-x-x-70">&#x00A0;D_FORMAT</span><span 
class="pcrr8t-x-x-70">&#x00A0;%g</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Define</span><span 
class="pcrr8t-x-x-70">&#x00A0;location</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;Pratt</span><span 
class="pcrr8t-x-x-70">&#x00A0;seamount</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~-142.65</span><span 
class="pcrr8t-x-x-70">&#x00A0;56.25~</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;pratt.d</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;First</span><span 
class="pcrr8t-x-x-70">&#x00A0;generate</span><span 
class="pcrr8t-x-x-70">&#x00A0;gravity</span><span 
class="pcrr8t-x-x-70">&#x00A0;image</span><span 
class="pcrr8t-x-x-70">&#x00A0;w/</span><span 
class="pcrr8t-x-x-70">&#x00A0;shading,</span><span 
class="pcrr8t-x-x-70">&#x00A0;label</span><span 
class="pcrr8t-x-x-70">&#x00A0;Pratt,</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;draw</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;circle</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;radius</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;200</span><span 
class="pcrr8t-x-x-70">&#x00A0;km</span><span 
class="pcrr8t-x-x-70">&#x00A0;centered</span><span 
class="pcrr8t-x-x-70">&#x00A0;on</span><span 
class="pcrr8t-x-x-70">&#x00A0;Pratt.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">makecpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Crainbow</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T-60/60/10</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Z</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;grav.cpt</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdgradient</span><span 
class="pcrr8t-x-x-70">&#x00A0;AK_gulf_grav.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Nt1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A45</span><span 
class="pcrr8t-x-x-70">&#x00A0;-GAK_gulf_grav_i.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdimage</span><span 
class="pcrr8t-x-x-70">&#x00A0;AK_gulf_grav.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-IAK_gulf_grav_i.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JM5.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cgrav.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B2f1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X1.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y5.85i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-RAK_gulf_grav.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Di</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ggray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psscale</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D2.75i/-0.4i/4i/0.15ih</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cgrav.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B20f10/:mGal:</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">$AWK</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;{print</span><span 
class="pcrr8t-x-x-70">&#x00A0;$1,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$2,</span><span 
class="pcrr8t-x-x-70">&#x00A0;12,</span><span 
class="pcrr8t-x-x-70">&#x00A0;0,</span><span 
class="pcrr8t-x-x-70">&#x00A0;1,</span><span 
class="pcrr8t-x-x-70">&#x00A0;~LB~,</span><span 
class="pcrr8t-x-x-70">&#x00A0;~Pratt~}&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;pratt.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D0.1i/0.1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">$AWK</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;{print</span><span 
class="pcrr8t-x-x-70">&#x00A0;$1,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$2,</span><span 
class="pcrr8t-x-x-70">&#x00A0;0,</span><span 
class="pcrr8t-x-x-70">&#x00A0;400,</span><span 
class="pcrr8t-x-x-70">&#x00A0;400}&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;pratt.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-SE</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Then</span><span 
class="pcrr8t-x-x-70">&#x00A0;draw</span><span 
class="pcrr8t-x-x-70">&#x00A0;10</span><span 
class="pcrr8t-x-x-70">&#x00A0;mGal</span><span 
class="pcrr8t-x-x-70">&#x00A0;contours</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;overlay</span><span 
class="pcrr8t-x-x-70">&#x00A0;50</span><span 
class="pcrr8t-x-x-70">&#x00A0;mGal</span><span 
class="pcrr8t-x-x-70">&#x00A0;contour</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;green</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdcontour</span><span 
class="pcrr8t-x-x-70">&#x00A0;AK_gulf_grav.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C20</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B2f1WSEn</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y-4.85i</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U/-1.25i/-0.75i/~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;18</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdcontour</span><span 
class="pcrr8t-x-x-70">&#x00A0;AK_gulf_grav.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C10</span><span 
class="pcrr8t-x-x-70">&#x00A0;-L49/51</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dsm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wcthin,green</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Di</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ggray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">$AWK</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;{print</span><span 
class="pcrr8t-x-x-70">&#x00A0;$1,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$2,</span><span 
class="pcrr8t-x-x-70">&#x00A0;0,</span><span 
class="pcrr8t-x-x-70">&#x00A0;400,</span><span 
class="pcrr8t-x-x-70">&#x00A0;400}&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;pratt.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-SE</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;sm_*[0-9].xyz</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Only</span><span 
class="pcrr8t-x-x-70">&#x00A0;consider</span><span 
class="pcrr8t-x-x-70">&#x00A0;closed</span><span 
class="pcrr8t-x-x-70">&#x00A0;contours</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Now</span><span 
class="pcrr8t-x-x-70">&#x00A0;determine</span><span 
class="pcrr8t-x-x-70">&#x00A0;centers</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;each</span><span 
class="pcrr8t-x-x-70">&#x00A0;enclosed</span><span 
class="pcrr8t-x-x-70">&#x00A0;seamount</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;50</span><span 
class="pcrr8t-x-x-70">&#x00A0;mGal</span><span 
class="pcrr8t-x-x-70">&#x00A0;but</span><span 
class="pcrr8t-x-x-70">&#x00A0;only</span><span 
class="pcrr8t-x-x-70">&#x00A0;plot</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;ones</span><span 
class="pcrr8t-x-x-70">&#x00A0;within</span><span 
class="pcrr8t-x-x-70">&#x00A0;200</span><span 
class="pcrr8t-x-x-70">&#x00A0;km</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;Pratt</span><span 
class="pcrr8t-x-x-70">&#x00A0;seamount.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;First</span><span 
class="pcrr8t-x-x-70">&#x00A0;determine</span><span 
class="pcrr8t-x-x-70">&#x00A0;mean</span><span 
class="pcrr8t-x-x-70">&#x00A0;location</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;each</span><span 
class="pcrr8t-x-x-70">&#x00A0;closed</span><span 
class="pcrr8t-x-x-70">&#x00A0;contour</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;add</span><span 
class="pcrr8t-x-x-70">&#x00A0;it</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;file</span><span 
class="pcrr8t-x-x-70">&#x00A0;centers.d</span>
                                                                                 

                                                                                 
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;centers.d</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">for</span><span 
class="pcrr8t-x-x-70">&#x00A0;file</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;sm_*.xyz;</span><span 
class="pcrr8t-x-x-70">&#x00A0;do</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$AWK</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;BEGIN{x=0;y=0;n=0};{x+=$1;y+=$2;n++};END{print</span><span 
class="pcrr8t-x-x-70">&#x00A0;x/n,y/n}&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$file</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;centers.d</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">done</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Only</span><span 
class="pcrr8t-x-x-70">&#x00A0;plot</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;ones</span><span 
class="pcrr8t-x-x-70">&#x00A0;within</span><span 
class="pcrr8t-x-x-70">&#x00A0;200</span><span 
class="pcrr8t-x-x-70">&#x00A0;km</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtselect</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C200/pratt.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;centers.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;-fg</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-SC0.04i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gred</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-ST0.1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gyellow</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;pratt.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Then</span><span 
class="pcrr8t-x-x-70">&#x00A0;report</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;volume</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;area</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;these</span><span 
class="pcrr8t-x-x-70">&#x00A0;seamounts</span><span 
class="pcrr8t-x-x-70">&#x00A0;only</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;by</span><span 
class="pcrr8t-x-x-70">&#x00A0;masking</span><span 
class="pcrr8t-x-x-70">&#x00A0;out</span><span 
class="pcrr8t-x-x-70">&#x00A0;data</span><span 
class="pcrr8t-x-x-70">&#x00A0;outside</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;200</span><span 
class="pcrr8t-x-x-70">&#x00A0;km-radius</span><span 
class="pcrr8t-x-x-70">&#x00A0;circle</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;then</span><span 
class="pcrr8t-x-x-70">&#x00A0;evaluate</span><span 
class="pcrr8t-x-x-70">&#x00A0;area/volume</span><span 
class="pcrr8t-x-x-70">&#x00A0;for</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;50</span><span 
class="pcrr8t-x-x-70">&#x00A0;mGal</span><span 
class="pcrr8t-x-x-70">&#x00A0;contour</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8216;cat</span><span 
class="pcrr8t-x-x-70">&#x00A0;pratt.d&#8216;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GDIST</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;mask.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdclip</span><span 
class="pcrr8t-x-x-70">&#x00A0;mask.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sa200/NaN</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sb200/1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gmask.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;AK_gulf_grav.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;mask.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;MUL</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;tmp.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">area=&#8216;grdvolume</span><span 
class="pcrr8t-x-x-70">&#x00A0;tmp.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C50</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sk</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;cut</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f2&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">volume=&#8216;grdvolume</span><span 
class="pcrr8t-x-x-70">&#x00A0;tmp.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C50</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sk</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;cut</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f3&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-L</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthin</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;&#x003C;</span><span 
class="pcrr8t-x-x-70">&#x00A0;END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-148.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;52.75</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-140.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;52.75</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-140.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;53.75</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-148.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;53.75</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;&#x003C;</span><span 
class="pcrr8t-x-x-70">&#x00A0;END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-148</span><span 
class="pcrr8t-x-x-70">&#x00A0;53.08</span><span 
class="pcrr8t-x-x-70">&#x00A0;14</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;LM</span><span 
class="pcrr8t-x-x-70">&#x00A0;Areas:</span><span 
class="pcrr8t-x-x-70">&#x00A0;$area</span><span 
class="pcrr8t-x-x-70">&#x00A0;km@+2@+</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-148</span><span 
class="pcrr8t-x-x-70">&#x00A0;53.42</span><span 
class="pcrr8t-x-x-70">&#x00A0;14</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;LM</span><span 
class="pcrr8t-x-x-70">&#x00A0;Volumes:</span><span 
class="pcrr8t-x-x-70">&#x00A0;$volume</span><span 
class="pcrr8t-x-x-70">&#x00A0;mGal\264km@+2@+</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Clean</span><span 
class="pcrr8t-x-x-70">&#x00A0;up</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;grav.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;sm_*.xyz</span><span 
class="pcrr8t-x-x-70">&#x00A0;*_i.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;tmp.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;mask.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;pratt.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;center*</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt*</span>
   </div>__________________________________________________________________________________________________
<hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-146008r18"></a>
                                                                                 

                                                                                 
<!--l. 639--><p class="noindent" ><img 
src="images/example_18.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;7.18: </span><span  
class="content">Volumes and geo-spatial selections.</span></div><!--tex4ht:label?: x1-146008r18 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-146009"></a>
   <h3 class="sectionHead"><span class="titlemark">7.19    </span> <a 
 id="x1-1470007.19"></a>Color patterns on maps</h3>
<a 
 id="dx1-147001"></a>
<a 
 id="dx1-147002"></a>
<!--l. 647--><p class="noindent" ><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;3.1 introduced color patterns and this examples give a few cases of how to use this new feature. We make a
phony poster that advertises an international conference on <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;in Honolulu. We use <a 
href="../html/man/grdmath.html" ><span 
class="phvb8t-">grdmath</span></a><a 
 id="dx1-147003"></a>, <a 
href="../html/man/makecpt.html" ><span 
class="phvb8t-">makecpt</span></a><a 
 id="dx1-147004"></a>, and
<a 
href="../html/man/grdimage.html" ><span 
class="phvb8t-">grdimage</span></a><a 
 id="dx1-147005"></a> to draw pleasing color backgrounds on maps, and overlay <a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-147006"></a> clip paths to have
the patterns change at the coastlines. The middle panel demonstrates a simple <a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-147007"></a> call where
the built-in pattern # 86 is drawn at 100 dpi but with the black and white pixels replaced with color
combinations. At the same time the ocean is filled with a repeating image of a circuit board (provides in
Sun raster format). The text <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;in the center is an off-line <span 
class="ptmri8t-">PostScript</span>&#x00A0;file that was overlaid using
<a 
href="../html/man/psimage.html" ><span 
class="phvb8t-">psimage</span></a><a 
 id="dx1-147008"></a>. The final panel repeats the top panel except that the land and sea images have changed places
(Figure&#x00A0;<a 
href="#x1-147009r19">7.19<!--tex4ht:ref: fig:GMT_example_19 --></a>).
</p><!--l. 662--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;EXAMPLE</span><span 
class="pcrr8t-x-x-70">&#x00A0;19</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Illustrates</span><span 
class="pcrr8t-x-x-70">&#x00A0;various</span><span 
class="pcrr8t-x-x-70">&#x00A0;color</span><span 
class="pcrr8t-x-x-70">&#x00A0;pattern</span><span 
class="pcrr8t-x-x-70">&#x00A0;effects</span><span 
class="pcrr8t-x-x-70">&#x00A0;for</span><span 
class="pcrr8t-x-x-70">&#x00A0;maps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmtset,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdimage,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdmath,</span><span 
class="pcrr8t-x-x-70">&#x00A0;makecpt,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pscoast,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext,</span><span 
class="pcrr8t-x-x-70">&#x00A0;psimage</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;rm</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ps=../example_19.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;First</span><span 
class="pcrr8t-x-x-70">&#x00A0;make</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;worldmap</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span><span 
class="pcrr8t-x-x-70">&#x00A0;graded</span><span 
class="pcrr8t-x-x-70">&#x00A0;blue</span><span 
class="pcrr8t-x-x-70">&#x00A0;oceans</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;rainbow</span><span 
class="pcrr8t-x-x-70">&#x00A0;continents</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;COLOR_MODEL</span><span 
class="pcrr8t-x-x-70">&#x00A0;rgb</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rd</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I1</span><span 
class="pcrr8t-x-x-70">&#x00A0;Y</span><span 
class="pcrr8t-x-x-70">&#x00A0;COSD</span><span 
class="pcrr8t-x-x-70">&#x00A0;2</span><span 
class="pcrr8t-x-x-70">&#x00A0;POW</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;lat.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rd</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I1</span><span 
class="pcrr8t-x-x-70">&#x00A0;X</span><span 
class="pcrr8t-x-x-70">&#x00A0;Y</span><span 
class="pcrr8t-x-x-70">&#x00A0;ABS</span><span 
class="pcrr8t-x-x-70">&#x00A0;90</span><span 
class="pcrr8t-x-x-70">&#x00A0;NEQ</span><span 
class="pcrr8t-x-x-70">&#x00A0;MUL</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;lon.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~0</span><span 
class="pcrr8t-x-x-70">&#x00A0;white</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;blue~</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;lat.cpt</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">makecpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Crainbow</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T-180/180/60</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Z</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;lon.cpt</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdimage</span><span 
class="pcrr8t-x-x-70">&#x00A0;lat.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sl</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JI0/6.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Clat.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y7.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B0</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A5000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gc</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdimage</span><span 
class="pcrr8t-x-x-70">&#x00A0;lon.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sl</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Clon.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Q</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A5000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~0</span><span 
class="pcrr8t-x-x-70">&#x00A0;20</span><span 
class="pcrr8t-x-x-70">&#x00A0;32</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;CM</span><span 
class="pcrr8t-x-x-70">&#x00A0;9TH</span><span 
class="pcrr8t-x-x-70">&#x00A0;INTERNATIONAL~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gred</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sthinner</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~0</span><span 
class="pcrr8t-x-x-70">&#x00A0;-10</span><span 
class="pcrr8t-x-x-70">&#x00A0;32</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;CM</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;CONFERENCE~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gred</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sthinner</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~0</span><span 
class="pcrr8t-x-x-70">&#x00A0;-30</span><span 
class="pcrr8t-x-x-70">&#x00A0;18</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;CM</span><span 
class="pcrr8t-x-x-70">&#x00A0;Honolulu,</span><span 
class="pcrr8t-x-x-70">&#x00A0;Hawaii,</span><span 
class="pcrr8t-x-x-70">&#x00A0;April</span><span 
class="pcrr8t-x-x-70">&#x00A0;1,</span><span 
class="pcrr8t-x-x-70">&#x00A0;2011~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ggreen</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Then</span><span 
class="pcrr8t-x-x-70">&#x00A0;show</span><span 
class="pcrr8t-x-x-70">&#x00A0;example</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;color</span><span 
class="pcrr8t-x-x-70">&#x00A0;patterns</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;placing</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;PostScript</span><span 
class="pcrr8t-x-x-70">&#x00A0;image</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A5000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gp100/86:FredByellow</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sp100/circuit.ras</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B0</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y-3.25i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~0</span><span 
class="pcrr8t-x-x-70">&#x00A0;30</span><span 
class="pcrr8t-x-x-70">&#x00A0;32</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;CM</span><span 
class="pcrr8t-x-x-70">&#x00A0;SILLY</span><span 
class="pcrr8t-x-x-70">&#x00A0;USES</span><span 
class="pcrr8t-x-x-70">&#x00A0;OF~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgreen</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sthinner</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~0</span><span 
class="pcrr8t-x-x-70">&#x00A0;-30</span><span 
class="pcrr8t-x-x-70">&#x00A0;32</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;CM</span><span 
class="pcrr8t-x-x-70">&#x00A0;COLOR</span><span 
class="pcrr8t-x-x-70">&#x00A0;PATTERNS~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gmagenta</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sthinner</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psimage</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C3.25i/1.625i/CM</span><span 
class="pcrr8t-x-x-70">&#x00A0;-W3i</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_covertext.eps</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Finally</span><span 
class="pcrr8t-x-x-70">&#x00A0;repeat</span><span 
class="pcrr8t-x-x-70">&#x00A0;1st</span><span 
class="pcrr8t-x-x-70">&#x00A0;plot</span><span 
class="pcrr8t-x-x-70">&#x00A0;but</span><span 
class="pcrr8t-x-x-70">&#x00A0;exchange</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;patterns</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdimage</span><span 
class="pcrr8t-x-x-70">&#x00A0;lon.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sl</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Clon.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y-3.25i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B0</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;19</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A5000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gc</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdimage</span><span 
class="pcrr8t-x-x-70">&#x00A0;lat.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sl</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Clat.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Q</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A5000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~0</span><span 
class="pcrr8t-x-x-70">&#x00A0;20</span><span 
class="pcrr8t-x-x-70">&#x00A0;32</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;CM</span><span 
class="pcrr8t-x-x-70">&#x00A0;9TH</span><span 
class="pcrr8t-x-x-70">&#x00A0;INTERNATIONAL~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gred</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sthinner</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~0</span><span 
class="pcrr8t-x-x-70">&#x00A0;-10</span><span 
class="pcrr8t-x-x-70">&#x00A0;32</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;CM</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;CONFERENCE~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gred</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sthinner</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~0</span><span 
class="pcrr8t-x-x-70">&#x00A0;-30</span><span 
class="pcrr8t-x-x-70">&#x00A0;18</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;CM</span><span 
class="pcrr8t-x-x-70">&#x00A0;Honolulu,</span><span 
class="pcrr8t-x-x-70">&#x00A0;Hawaii,</span><span 
class="pcrr8t-x-x-70">&#x00A0;April</span><span 
class="pcrr8t-x-x-70">&#x00A0;1,</span><span 
class="pcrr8t-x-x-70">&#x00A0;2011~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ggreen</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;l*.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;l*.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt*</span>
   </div>__________________________________________________________________________________________________
<hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-147009r19"></a>
                                                                                 

                                                                                 

<!--l. 663--><p class="noindent" ><img 
src="images/example_19.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;7.19: </span><span  
class="content">Using color patterns and additional PostScript material in illustrations.</span></div><!--tex4ht:label?: x1-147009r19 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-147010"></a>
<a 
 id="dx1-147011"></a>
   <h3 class="sectionHead"><span class="titlemark">7.20    </span> <a 
 id="x1-1480007.20"></a>Custom plot symbols</h3>
<a 
 id="dx1-148001"></a>
<!--l. 671--><p class="noindent" >One is often required to make special maps that shows the distribution of certain features but one would prefer to
use a custom symbol instead of the built-in circles, squares, triangles, etc. in the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;plotting programs <a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-148002"></a>
and <a 
href="../html/man/psxyz.html" ><span 
class="phvb8t-">psxyz</span></a><a 
 id="dx1-148003"></a>. Here we demonstrate one approach that allows for a fair bit of flexibility in designing ones own
symbols. The following recipe is used when designing a new symbol.
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-148005x1">Use <a 
href="../html/man/psbasemap.html" ><span 
class="phvb8t-">psbasemap</span></a><a 
 id="dx1-148006"></a> (or engineering paper!) to set up an empty grid that goes from -0.5 to +0.5 in both
   <span 
class="ptmri8t-">x  </span>and  <span 
class="ptmri8t-">y</span>.  Use  ruler  and  compass  to  draw  your  new  symbol  using  straight  lines,  arcs  of  circles,  and
   stand-alone geometrical objects (see <a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-148007"></a> man page for a full description of symbol design). In this
   Section we will create two new symbols: a volcano and a bulls eye.
   <hr class="figure" /><div class="figure" 
> <img 
src="images/GMT_volcano.png" alt="PIC"  
 />
   </div><hr class="endfigure" />
   </li>
   <li 
  class="enumerate" id="x1-148009x2">After designing the symbol we will encode it using a simple set of rules. In our case we describe our volcano
   and bulls eye using these three freeform polygon generators:
   <table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:22;" 
class="tabbing"></td><td style="width:2052;" 
class="tabbing"><!--l. 698--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math> <!--l. 698--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math> <span 
class="ptmb8t-">M </span>[ <span 
class="pcrb8t-">-G</span><span 
class="ptmri8t-">fill </span>] [ <span 
class="pcrb8t-">-W</span><span 
class="ptmri8t-">pen </span>]                                                                                                                                                                           </td><td  
class="tabbing">Start new element at <!--l. 698--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>, <!--l. 698--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>
</td></tr></table>
   <!--l. 698--><p class="noindent" >      </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:22;" 
class="tabbing"></td><td style="width:2052;" 
class="tabbing"><!--l. 699--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mn>1</mn></mrow></msub 
></math> <!--l. 699--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mn>1</mn></mrow></msub 
></math> <span 
class="ptmb8t-">D                                                                                                                                                                                                           </span></td><td  
class="tabbing">Draw straight line from current point to <!--l. 699--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mn>1</mn></mrow></msub 
></math>, <!--l. 699--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mn>1</mn></mrow></msub 
></math> around (<!--l. 699--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>, <!--l. 699--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>)</td></tr></table>
   <!--l. 699--><p class="noindent" >      </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:22;" 
class="tabbing"></td><td style="width:2052;" 
class="tabbing"><!--l. 700--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math> <!--l. 700--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math> <!--l. 700--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>r</mi></math> <!--l. 700--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
><mi 
>&#x03B1;</mi></mrow><mrow 
><mn>1</mn></mrow></msub 
></math> <!--l. 700--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
><mi 
>&#x03B1;</mi></mrow><mrow 
><mn>2</mn></mrow></msub 
></math> <span 
class="ptmb8t-">A</span></td><td  
class="tabbing">Draw arc segment of radius <!--l. 701--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>r</mi></math> from angle <!--l. 701--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
><mi 
>&#x03B1;</mi></mrow><mrow 
><mn>1</mn> </mrow> </msub 
> </math> to <!--l. 701--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
><mi 
>&#x03B1;</mi></mrow><mrow 
><mn>2</mn></mrow></msub 
></math></td></tr></table>
   <!--l. 702--><p class="noindent" >
   </p><!--l. 704--><p class="noindent" >We also add a few stand-alone circles (for other symbols, see <a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-148010"></a> man page):
</p>
   <table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:22;" 
class="tabbing"></td><td style="width:2052;" 
class="tabbing"><!--l. 708--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math> <!--l. 708--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math> <!--l. 708--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>r</mi></math> <span 
class="ptmb8t-">c </span>[ <span 
class="pcrb8t-">-G</span><span 
class="ptmri8t-">fill </span>] [ <span 
class="pcrb8t-">-W</span><span 
class="ptmri8t-">pen </span>]  </td><td  
class="tabbing">Draw single circle of radius <!--l. 709--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>r</mi></math> around <!--l. 709--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>, <!--l. 709--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>
</td></tr></table>
   <!--l. 709--><p class="noindent" >                                                                                                                                                                      </p><table  
cellpadding="0" border="0" cellspacing="0" 
class="tabbing"><tr  
style="vertical-align:baseline;" class="tabbing"><td style="width:22;" 
class="tabbing"></td><td  
class="tabbing"></td></tr></table>
   <!--l. 710--><p class="noindent" >
   </p><!--l. 712--><p class="noindent" >The optional <span 
class="pcrb8t-">-G </span>and <span 
class="pcrb8t-">-W </span>can be used to hardwire the color fill and pen for segments (use <span 
class="ptmb8t-">&#8211; </span>to disallow fill or line
   for any specific feature). By default the segments are painted based on the values of the command line
   settings.
   </p><!--l. 717--><p class="noindent" >Manually applying these rules to our volcano symbol results in a definition file <span class="underline">volcano.def</span>:
   </p><!--l. 720--><p class="noindent" >______________________________________________________________________________</p><div class="verbatiminput">
                                                                                 

                                                                                 
   <span 
class="pcrr8t-x-x-70">#</span>
   <span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Definition</span><span 
class="pcrr8t-x-x-70">&#x00A0;file</span><span 
class="pcrr8t-x-x-70">&#x00A0;for</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;volcano</span><span 
class="pcrr8t-x-x-70">&#x00A0;symbol</span>
   <span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;To</span><span 
class="pcrr8t-x-x-70">&#x00A0;be</span><span 
class="pcrr8t-x-x-70">&#x00A0;used</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;as</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Skvolcano/&#x003C;size&#x003E;.</span>
   <span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;The</span><span 
class="pcrr8t-x-x-70">&#x00A0;symbol</span><span 
class="pcrr8t-x-x-70">&#x00A0;will</span><span 
class="pcrr8t-x-x-70">&#x00A0;be</span><span 
class="pcrr8t-x-x-70">&#x00A0;painted</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;drawn</span><span 
class="pcrr8t-x-x-70">&#x00A0;given</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span>
   <span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-G</span><span 
class="pcrr8t-x-x-70">&#x00A0;-L</span><span 
class="pcrr8t-x-x-70">&#x00A0;-W</span><span 
class="pcrr8t-x-x-70">&#x00A0;options</span><span 
class="pcrr8t-x-x-70">&#x00A0;on</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;command</span><span 
class="pcrr8t-x-x-70">&#x00A0;line.</span>
   <span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
   <span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-0.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-0.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;M</span>
   <span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-0.2</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;D</span>
   <span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-0.1</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.173205081</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.4</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;240</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;300</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;A</span>
   <span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">0.3</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-0.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;D</span>
   <span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-0.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-0.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;D</span>
   <span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-0.05</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.15</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.2</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;c</span>
   <span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">0.15</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.3</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.15</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;c</span>
   <span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">0.325</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.4</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.1</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;c</span>
   <span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">0.45</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.45</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.05</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;c</span>
   </div>__________________________________________________________________________________________________
   <!--l. 722--><p class="noindent" >Without much further discussion we also make a definition file <span class="underline">bullseye.def</span> for a multi-colored bulls eye
   symbol. Note that the symbol can be created beyond the -0.5 to +0.5 range, as shown by the red lines. There is
   no limit in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;to the size of the symbols. The center, however, will always be at (0,0). This is the point to
   which the coordinates in <a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-148011"></a> refers.
   </p><!--l. 727--><p class="noindent" >______________________________________________________________________________</p><div class="verbatiminput">
   <span 
class="pcrr8t-x-x-70">#</span>
   <span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Segment</span><span 
class="pcrr8t-x-x-70">&#x00A0;info</span><span 
class="pcrr8t-x-x-70">&#x00A0;file</span><span 
class="pcrr8t-x-x-70">&#x00A0;for</span><span 
class="pcrr8t-x-x-70">&#x00A0;bullseye</span><span 
class="pcrr8t-x-x-70">&#x00A0;symbol</span>
   <span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;These</span><span 
class="pcrr8t-x-x-70">&#x00A0;instructions</span><span 
class="pcrr8t-x-x-70">&#x00A0;are</span><span 
class="pcrr8t-x-x-70">&#x00A0;intended</span><span 
class="pcrr8t-x-x-70">&#x00A0;for</span><span 
class="pcrr8t-x-x-70">&#x00A0;make_symbol</span>
   <span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;which</span><span 
class="pcrr8t-x-x-70">&#x00A0;will</span><span 
class="pcrr8t-x-x-70">&#x00A0;generate</span><span 
class="pcrr8t-x-x-70">&#x00A0;an</span><span 
class="pcrr8t-x-x-70">&#x00A0;awk-script</span><span 
class="pcrr8t-x-x-70">&#x00A0;that</span><span 
class="pcrr8t-x-x-70">&#x00A0;creates</span>
   <span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;multiple-segment</span><span 
class="pcrr8t-x-x-70">&#x00A0;output</span><span 
class="pcrr8t-x-x-70">&#x00A0;describing</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;desired</span>
   <span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;symbol</span><span 
class="pcrr8t-x-x-70">&#x00A0;at</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;chosen</span><span 
class="pcrr8t-x-x-70">&#x00A0;size.</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;The</span><span 
class="pcrr8t-x-x-70">&#x00A0;symbol</span><span 
class="pcrr8t-x-x-70">&#x00A0;will</span><span 
class="pcrr8t-x-x-70">&#x00A0;be</span>
   <span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;painted</span><span 
class="pcrr8t-x-x-70">&#x00A0;drawn</span><span 
class="pcrr8t-x-x-70">&#x00A0;given</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;-G</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-W</span><span 
class="pcrr8t-x-x-70">&#x00A0;options</span><span 
class="pcrr8t-x-x-70">&#x00A0;for</span><span 
class="pcrr8t-x-x-70">&#x00A0;each</span>
   <span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;segment.</span>
   <span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
   <span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-0.7</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;M</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-W0.5p,red</span>
   <span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.7</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;D</span>
   <span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-0.7</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;M</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-W0.5p,red</span>
   <span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">0.7</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;D</span>
   <span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.9</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;c</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gp0/12</span>
   <span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.9</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;c</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-W0.25p</span>
   <span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.7</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;c</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gyellow</span><span 
class="pcrr8t-x-x-70">&#x00A0;-W0.25p</span>
   <span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;c</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gp0/9</span>
   <span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;c</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-W0.25p</span>
   <span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.3</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;c</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gyellow</span><span 
class="pcrr8t-x-x-70">&#x00A0;-W0.25p</span>
   <span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.1</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;c</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;-W0.25p</span>
   </div>__________________________________________________________________________________________________
   <!--l. 729--><p class="noindent" >The values refer to positions and dimensions illustrated in the Figure above.
   </p></li>
   <li 
  class="enumerate" id="x1-148013x3">Given proper definition files we may now use them with <a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-148014"></a> or <a 
href="../html/man/psxyz.html" ><span 
class="phvb8t-">psxyz</span></a><a 
 id="dx1-148015"></a>.</li></ol>
<!--l. 734--><p class="indent" >   We are now ready to give it a try. Based on the hotspot locations in the file <span class="underline">hotspots.d</span> (with a 3rd column giving
the desired symbol sizes in inches) we lay down a world map and overlay red volcano symbols using our
custom-built volcano symbol and <a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-148016"></a>. We do something similar with the bulls eye symbols. Without the <span 
class="pcrb8t-">-G</span>
option, however, they get the colors defined in <span class="underline">bullseye.def</span>.
</p><!--l. 741--><p class="indent" >   Here is our final map script that produces Figure&#x00A0;<a 
href="#x1-148017r20">7.20<!--tex4ht:ref: fig:GMT_example_20 --></a>:
</p><!--l. 743--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;EXAMPLE</span><span 
class="pcrr8t-x-x-70">&#x00A0;20</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Extend</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;plot</span><span 
class="pcrr8t-x-x-70">&#x00A0;custom</span><span 
class="pcrr8t-x-x-70">&#x00A0;symbols</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;pscoast,</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;rm</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Plot</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;world-map</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span><span 
class="pcrr8t-x-x-70">&#x00A0;volcano</span><span 
class="pcrr8t-x-x-70">&#x00A0;symbols</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;different</span><span 
class="pcrr8t-x-x-70">&#x00A0;sizes</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;on</span><span 
class="pcrr8t-x-x-70">&#x00A0;top</span><span 
class="pcrr8t-x-x-70">&#x00A0;given</span><span 
class="pcrr8t-x-x-70">&#x00A0;locations</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;sizes</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;hotspots.d</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ps=../example_20.ps</span>
                                                                                 

                                                                                 
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">cat</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;hotspots.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;&#x003C;</span><span 
class="pcrr8t-x-x-70">&#x00A0;END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">55.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-21.0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.25</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">63.0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-49.0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.25</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-12.0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-37.0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.25</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-28.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;29.34</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.25</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">48.4</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-53.4</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.25</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">155.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-40.4</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.25</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-155.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;19.6</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.5</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-138.1</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-50.9</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.25</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-153.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-21.0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.25</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-116.7</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-26.3</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.25</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-16.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;64.4</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.25</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rg</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JR9i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B60/30:.~Hotspot</span><span 
class="pcrr8t-x-x-70">&#x00A0;Islands</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cities~:</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gdarkgreen</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Slightblue</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A5000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;20</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;hotspots.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Skvolcano</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gred</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Overlay</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;few</span><span 
class="pcrr8t-x-x-70">&#x00A0;bullseyes</span><span 
class="pcrr8t-x-x-70">&#x00A0;at</span><span 
class="pcrr8t-x-x-70">&#x00A0;NY,</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cairo,</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;Perth</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">cat</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;cities.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;&#x003C;</span><span 
class="pcrr8t-x-x-70">&#x00A0;END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">286</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;40.45</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.8</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">31.15</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;30.03</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.8</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">115.49</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-31.58</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.8</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;cities.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Skbullseye</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;hotspots.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;cities.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt*</span>
   </div>__________________________________________________________________________________________________
<hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-148017r20"></a>
                                                                                 

                                                                                 
<!--l. 744--><p class="noindent" ><img 
src="images/example_20.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;7.20: </span><span  
class="content">Using custom symbols in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>.</span></div><!--tex4ht:label?: x1-148017r20 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 746--><p class="indent" >   Given these guidelines you can easily make your own symbols. Symbols with more than one color can be
obtained by making several symbol components. E.g., to have yellow smoke coming out of red volcanoes we
would make two symbols: one with just the cone and caldera and the other with the bubbles. These would be
plotted consecutively using the desired colors. Alternatively, like in <span class="underline">bullseye.def</span>, we may specify colors directly for
the various segments. Note that the custom symbols (Appendix&#x00A0;<a 
href="#x1-245000N">N<!--tex4ht:ref: app:N --></a>), unlike the built-in symbols in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>,
can be used with the built-in patterns (Appendix&#x00A0;<a 
href="#x1-207000E">E<!--tex4ht:ref: app:E --></a>). Other approaches are also possible, of course.
<a 
 id="dx1-148018"></a>
</p>
   <h3 class="sectionHead"><span class="titlemark">7.21    </span> <a 
 id="x1-1490007.21"></a>Time-series of RedHat stock price</h3>
<a 
 id="dx1-149001"></a>
<!--l. 762--><p class="noindent" >As discussed in Section&#x00A0;<a 
href="#x1-470004.4.3">4.4.3<!--tex4ht:ref: sec:timeaxis --></a>, the annotation of time-series is generally more complicated due to the extra degrees
of freedom afforded by the dual annotation system. In this example we will display the trend of the stock price of
RedHat (RHAT) from their initial public offering until late 2006. The data file is a comma-separated table and the
records look like this:
                                                                                 

                                                                                 
</p>
   <div class="verbatim" id="verbatim-6">
Date,Open,High,Low,Close,Volume,Adj.Close*
&#x00A0;<br />12-Mar-04,17.74,18.49,17.67,18.02,4827500,18.02
&#x00A0;<br />11-Mar-04,17.60,18.90,17.37,18.09,7700400,18.09
</div>
<!--l. 772--><p class="nopar" >Hence, we have a single header record and various prices in USD for each day of business. We will plot the trend of
the opening price as a red line superimposed on a yellow envelope representing the low-to-high fluctuation during
each day. We also indicate when and at what cost Paul Wessel bought a few shares, and zoom in on the
developments since 2004; in the inset we label the time-axis in Finnish in honor of Linus Thorvalds.
Because the time coordinates are Y2K-challenged and the order is backwards (big units of years
come <span 
class="ptmri8t-">after </span>smaller units like days) we must change the default input/output formats used by <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>.
Finally, we want to prefix prices with the $ symbol to indicate the currency. Here is how it all comes
out:
</p><!--l. 784--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;EXAMPLE</span><span 
class="pcrr8t-x-x-70">&#x00A0;21</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Plot</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;time-series</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmtset,</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmtconvert,</span><span 
class="pcrr8t-x-x-70">&#x00A0;minmax,</span><span 
class="pcrr8t-x-x-70">&#x00A0;psbasemap,</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;cut,</span><span 
class="pcrr8t-x-x-70">&#x00A0;echo</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ps=../example_21.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;File</span><span 
class="pcrr8t-x-x-70">&#x00A0;has</span><span 
class="pcrr8t-x-x-70">&#x00A0;time</span><span 
class="pcrr8t-x-x-70">&#x00A0;stored</span><span 
class="pcrr8t-x-x-70">&#x00A0;as</span><span 
class="pcrr8t-x-x-70">&#x00A0;dd-Mon-yy</span><span 
class="pcrr8t-x-x-70">&#x00A0;so</span><span 
class="pcrr8t-x-x-70">&#x00A0;set</span><span 
class="pcrr8t-x-x-70">&#x00A0;input</span><span 
class="pcrr8t-x-x-70">&#x00A0;format</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;match</span><span 
class="pcrr8t-x-x-70">&#x00A0;it</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;INPUT_DATE_FORMAT</span><span 
class="pcrr8t-x-x-70">&#x00A0;dd-o-yy</span><span 
class="pcrr8t-x-x-70">&#x00A0;PLOT_DATE_FORMAT</span><span 
class="pcrr8t-x-x-70">&#x00A0;o</span><span 
class="pcrr8t-x-x-70">&#x00A0;ANNOT_FONT_SIZE_PRIMARY</span><span 
class="pcrr8t-x-x-70">&#x00A0;+10p</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;TIME_FORMAT_PRIMARY</span><span 
class="pcrr8t-x-x-70">&#x00A0;abbreviated</span><span 
class="pcrr8t-x-x-70">&#x00A0;CHAR_ENCODING</span><span 
class="pcrr8t-x-x-70">&#x00A0;ISOLatin1+</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Pull</span><span 
class="pcrr8t-x-x-70">&#x00A0;out</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;suitable</span><span 
class="pcrr8t-x-x-70">&#x00A0;region</span><span 
class="pcrr8t-x-x-70">&#x00A0;string</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;yyy-mm-dd</span><span 
class="pcrr8t-x-x-70">&#x00A0;format</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">minmax</span><span 
class="pcrr8t-x-x-70">&#x00A0;-fT</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I50</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C</span><span 
class="pcrr8t-x-x-70">&#x00A0;-H</span><span 
class="pcrr8t-x-x-70">&#x00A0;RHAT_price.csv</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;RHAT.info</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">w=&#8216;cut</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f1</span><span 
class="pcrr8t-x-x-70">&#x00A0;RHAT.info&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">e=&#8216;cut</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f2</span><span 
class="pcrr8t-x-x-70">&#x00A0;RHAT.info&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">s=&#8216;cut</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f3</span><span 
class="pcrr8t-x-x-70">&#x00A0;RHAT.info&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">n=&#8216;cut</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f4</span><span 
class="pcrr8t-x-x-70">&#x00A0;RHAT.info&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">R=~-R$w/$e/$s/$n~</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Lay</span><span 
class="pcrr8t-x-x-70">&#x00A0;down</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;basemap:</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psbasemap</span><span 
class="pcrr8t-x-x-70">&#x00A0;$R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX9i/6i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgreen</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;21</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bs1Y/WSen</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bpa3Of1o/50WSen:=\$::.~RedHat</span><span 
class="pcrr8t-x-x-70">&#x00A0;(RHAT)</span><span 
class="pcrr8t-x-x-70">&#x00A0;Stock</span><span 
class="pcrr8t-x-x-70">&#x00A0;Price</span><span 
class="pcrr8t-x-x-70">&#x00A0;Trend</span><span 
class="pcrr8t-x-x-70">&#x00A0;since</span><span 
class="pcrr8t-x-x-70">&#x00A0;IPO~:</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Plot</span><span 
class="pcrr8t-x-x-70">&#x00A0;main</span><span 
class="pcrr8t-x-x-70">&#x00A0;window</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span><span 
class="pcrr8t-x-x-70">&#x00A0;open</span><span 
class="pcrr8t-x-x-70">&#x00A0;price</span><span 
class="pcrr8t-x-x-70">&#x00A0;as</span><span 
class="pcrr8t-x-x-70">&#x00A0;red</span><span 
class="pcrr8t-x-x-70">&#x00A0;line</span><span 
class="pcrr8t-x-x-70">&#x00A0;over</span><span 
class="pcrr8t-x-x-70">&#x00A0;yellow</span><span 
class="pcrr8t-x-x-70">&#x00A0;envelope</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;low/highs</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;OUTPUT_DATE_FORMAT</span><span 
class="pcrr8t-x-x-70">&#x00A0;dd-o-yy</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtconvert</span><span 
class="pcrr8t-x-x-70">&#x00A0;-F0,2</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f0T</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Hi</span><span 
class="pcrr8t-x-x-70">&#x00A0;RHAT_price.csv</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;RHAT.env</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtconvert</span><span 
class="pcrr8t-x-x-70">&#x00A0;-F0,3</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f0T</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Hi</span><span 
class="pcrr8t-x-x-70">&#x00A0;RHAT_price.csv</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;RHAT.env</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gyellow</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;RHAT.env</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;RHAT_price.csv</span><span 
class="pcrr8t-x-x-70">&#x00A0;-H</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthin,red</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Draw</span><span 
class="pcrr8t-x-x-70">&#x00A0;P</span><span 
class="pcrr8t-x-x-70">&#x00A0;Wessel&#8217;s</span><span 
class="pcrr8t-x-x-70">&#x00A0;purchase</span><span 
class="pcrr8t-x-x-70">&#x00A0;price</span><span 
class="pcrr8t-x-x-70">&#x00A0;as</span><span 
class="pcrr8t-x-x-70">&#x00A0;line</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;label</span><span 
class="pcrr8t-x-x-70">&#x00A0;it.</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Note</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;temporary</span><span 
class="pcrr8t-x-x-70">&#x00A0;switch</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;back</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;default</span><span 
class="pcrr8t-x-x-70">&#x00A0;yyyy-mm-dd</span><span 
class="pcrr8t-x-x-70">&#x00A0;format</span><span 
class="pcrr8t-x-x-70">&#x00A0;since</span><span 
class="pcrr8t-x-x-70">&#x00A0;that</span><span 
class="pcrr8t-x-x-70">&#x00A0;is</span><span 
class="pcrr8t-x-x-70">&#x00A0;what</span><span 
class="pcrr8t-x-x-70">&#x00A0;minmax</span><span 
class="pcrr8t-x-x-70">&#x00A0;gave</span><span 
class="pcrr8t-x-x-70">&#x00A0;us.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~05-May-00</span><span 
class="pcrr8t-x-x-70">&#x00A0;0~</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;RHAT.pw</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~05-May-00</span><span 
class="pcrr8t-x-x-70">&#x00A0;300~</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;RHAT.pw</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;RHAT.pw</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinner,-</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~01-Jan-99</span><span 
class="pcrr8t-x-x-70">&#x00A0;25~</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;RHAT.pw</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~01-Jan-07</span><span 
class="pcrr8t-x-x-70">&#x00A0;25~</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;RHAT.pw</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;RHAT.pw</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthick,-</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;INPUT_DATE_FORMAT</span><span 
class="pcrr8t-x-x-70">&#x00A0;yyyy-mm-dd</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~$w</span><span 
class="pcrr8t-x-x-70">&#x00A0;25</span><span 
class="pcrr8t-x-x-70">&#x00A0;12</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;17</span><span 
class="pcrr8t-x-x-70">&#x00A0;LB</span><span 
class="pcrr8t-x-x-70">&#x00A0;Wessel</span><span 
class="pcrr8t-x-x-70">&#x00A0;purchase</span><span 
class="pcrr8t-x-x-70">&#x00A0;price~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D2i/0.05i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;INPUT_DATE_FORMAT</span><span 
class="pcrr8t-x-x-70">&#x00A0;dd-o-yy</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Get</span><span 
class="pcrr8t-x-x-70">&#x00A0;smaller</span><span 
class="pcrr8t-x-x-70">&#x00A0;region</span><span 
class="pcrr8t-x-x-70">&#x00A0;for</span><span 
class="pcrr8t-x-x-70">&#x00A0;insert</span><span 
class="pcrr8t-x-x-70">&#x00A0;for</span><span 
class="pcrr8t-x-x-70">&#x00A0;trend</span><span 
class="pcrr8t-x-x-70">&#x00A0;since</span><span 
class="pcrr8t-x-x-70">&#x00A0;2004</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">R=~-R2004T/$e/$s/40~</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
                                                                                 

                                                                                 
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Lay</span><span 
class="pcrr8t-x-x-70">&#x00A0;down</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;basemap,</span><span 
class="pcrr8t-x-x-70">&#x00A0;using</span><span 
class="pcrr8t-x-x-70">&#x00A0;Finnish</span><span 
class="pcrr8t-x-x-70">&#x00A0;annotations</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;place</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;insert</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;upper</span><span 
class="pcrr8t-x-x-70">&#x00A0;right:</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;TIME_LANGUAGE</span><span 
class="pcrr8t-x-x-70">&#x00A0;fi</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psbasemap</span><span 
class="pcrr8t-x-x-70">&#x00A0;$R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX6i/3i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bpa3Of3o/10:=\$:ESw</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Bs1Y/</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightblue</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X3i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y3i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;TIME_LANGUAGE</span><span 
class="pcrr8t-x-x-70">&#x00A0;us</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Again,</span><span 
class="pcrr8t-x-x-70">&#x00A0;plot</span><span 
class="pcrr8t-x-x-70">&#x00A0;close</span><span 
class="pcrr8t-x-x-70">&#x00A0;price</span><span 
class="pcrr8t-x-x-70">&#x00A0;as</span><span 
class="pcrr8t-x-x-70">&#x00A0;red</span><span 
class="pcrr8t-x-x-70">&#x00A0;line</span><span 
class="pcrr8t-x-x-70">&#x00A0;over</span><span 
class="pcrr8t-x-x-70">&#x00A0;yellow</span><span 
class="pcrr8t-x-x-70">&#x00A0;envelope</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;low/highs</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gyellow</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;RHAT.env</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;RHAT_price.csv</span><span 
class="pcrr8t-x-x-70">&#x00A0;-H</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthin/red</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Draw</span><span 
class="pcrr8t-x-x-70">&#x00A0;P</span><span 
class="pcrr8t-x-x-70">&#x00A0;Wessel&#8217;s</span><span 
class="pcrr8t-x-x-70">&#x00A0;purchase</span><span 
class="pcrr8t-x-x-70">&#x00A0;price</span><span 
class="pcrr8t-x-x-70">&#x00A0;as</span><span 
class="pcrr8t-x-x-70">&#x00A0;dashed</span><span 
class="pcrr8t-x-x-70">&#x00A0;line</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;RHAT.pw</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthick,-</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Clean</span><span 
class="pcrr8t-x-x-70">&#x00A0;up</span><span 
class="pcrr8t-x-x-70">&#x00A0;after</span><span 
class="pcrr8t-x-x-70">&#x00A0;ourselves:</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;RHAT.*</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt*</span>
   </div>__________________________________________________________________________________________________
<!--l. 786--><p class="indent" >   which produces the plot in Figure&#x00A0;<a 
href="#x1-149002r21">7.21<!--tex4ht:ref: fig:GMT_example_21 --></a>, suggesting Wessel has missed a few trains if he had hoped to cash in
on the Internet bubble...
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-149002r21"></a>
                                                                                 

                                                                                 
<!--l. 789--><p class="noindent" ><img 
src="images/example_21.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;7.21: </span><span  
class="content">Time-series of RedHat stock price since IPO.</span></div><!--tex4ht:label?: x1-149002r21 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-149003"></a>
   <h3 class="sectionHead"><span class="titlemark">7.22    </span> <a 
 id="x1-1500007.22"></a>World-wide seismicity the last 7 days</h3>
<a 
 id="dx1-150001"></a>
<!--l. 796--><p class="noindent" >The next example uses the command-line tool <span 
class="ptmbo8t-">wget</span><a 
 id="dx1-150002"></a> to obtain a data file from a specified
URL<span class="footnote-mark"><a 
href="#fn27x7" id="fn27x7-bk"><sup class="textsuperscript">27</sup></a></span><a 
 id="x1-150003f27"></a>.
In the example script this line is commented out so the example will run even if you do not have
<span 
class="ptmbo8t-">wget</span><a 
 id="dx1-150005"></a> (we use the supplied <span class="underline">neic_quakes.d</span> which normally would be created by <span 
class="ptmbo8t-">wget</span><a 
 id="dx1-150006"></a>); remove the
comment to get the actual current seismicity plot using the live data. The main purpose of this script
is not to show how to plot a map background and a few circles, but rather demonstrate how a map
legend may be composed using the new tool <a 
href="../html/man/pslegend.html" ><span 
class="phvb8t-">pslegend</span></a><a 
 id="dx1-150007"></a>. Some scripting is used to pull out information
from the data file that is later used in the legend. The legend will normally have the email address of
the script owner; here that command is commented out and the user is hardwired to &#8220;GMT guru&#8221;.
The USGS logo, taken from their web page and converted to a Sun raster file, is used to spice up the
legend.
</p><!--l. 810--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;EXAMPLE</span><span 
class="pcrr8t-x-x-70">&#x00A0;22</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Automatic</span><span 
class="pcrr8t-x-x-70">&#x00A0;map</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;last</span><span 
class="pcrr8t-x-x-70">&#x00A0;7</span><span 
class="pcrr8t-x-x-70">&#x00A0;days</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;world-wide</span><span 
class="pcrr8t-x-x-70">&#x00A0;seismicity</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmtset,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pscoast,</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pslegend</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;cat,</span><span 
class="pcrr8t-x-x-70">&#x00A0;sed,</span><span 
class="pcrr8t-x-x-70">&#x00A0;awk,</span><span 
class="pcrr8t-x-x-70">&#x00A0;wget|curl</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ps=../example_22.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;ANNOT_FONT_SIZE_PRIMARY</span><span 
class="pcrr8t-x-x-70">&#x00A0;10p</span><span 
class="pcrr8t-x-x-70">&#x00A0;HEADER_FONT_SIZE</span><span 
class="pcrr8t-x-x-70">&#x00A0;18p</span><span 
class="pcrr8t-x-x-70">&#x00A0;PLOT_DEGREE_FORMAT</span><span 
class="pcrr8t-x-x-70">&#x00A0;ddd:mm:ssF</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Get</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;data</span><span 
class="pcrr8t-x-x-70">&#x00A0;(-q</span><span 
class="pcrr8t-x-x-70">&#x00A0;quietly)</span><span 
class="pcrr8t-x-x-70">&#x00A0;from</span><span 
class="pcrr8t-x-x-70">&#x00A0;USGS</span><span 
class="pcrr8t-x-x-70">&#x00A0;using</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;wget</span><span 
class="pcrr8t-x-x-70">&#x00A0;(comment</span><span 
class="pcrr8t-x-x-70">&#x00A0;out</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;case</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;your</span><span 
class="pcrr8t-x-x-70">&#x00A0;system</span><span 
class="pcrr8t-x-x-70">&#x00A0;does</span><span 
class="pcrr8t-x-x-70">&#x00A0;not</span><span 
class="pcrr8t-x-x-70">&#x00A0;have</span><span 
class="pcrr8t-x-x-70">&#x00A0;wget</span><span 
class="pcrr8t-x-x-70">&#x00A0;or</span><span 
class="pcrr8t-x-x-70">&#x00A0;curl)</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#wget</span><span 
class="pcrr8t-x-x-70">&#x00A0;http://neic.usgs.gov/neis/gis/bulletin.asc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-q</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;neic_quakes.d</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#curl</span><span 
class="pcrr8t-x-x-70">&#x00A0;http://neic.usgs.gov/neis/gis/bulletin.asc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-s</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;neic_quakes.d</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Count</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;number</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;events</span><span 
class="pcrr8t-x-x-70">&#x00A0;(to</span><span 
class="pcrr8t-x-x-70">&#x00A0;be</span><span 
class="pcrr8t-x-x-70">&#x00A0;used</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;title</span><span 
class="pcrr8t-x-x-70">&#x00A0;later.</span><span 
class="pcrr8t-x-x-70">&#x00A0;one</span><span 
class="pcrr8t-x-x-70">&#x00A0;less</span><span 
class="pcrr8t-x-x-70">&#x00A0;due</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;header)</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">n=&#8216;cat</span><span 
class="pcrr8t-x-x-70">&#x00A0;neic_quakes.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;wc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-l&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">n=&#8216;expr</span><span 
class="pcrr8t-x-x-70">&#x00A0;$n</span><span 
class="pcrr8t-x-x-70">&#x00A0;-</span><span 
class="pcrr8t-x-x-70">&#x00A0;1&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Pull</span><span 
class="pcrr8t-x-x-70">&#x00A0;out</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;first</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;last</span><span 
class="pcrr8t-x-x-70">&#x00A0;timestamp</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;use</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;legend</span><span 
class="pcrr8t-x-x-70">&#x00A0;title</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">first=&#8216;sed</span><span 
class="pcrr8t-x-x-70">&#x00A0;-n</span><span 
class="pcrr8t-x-x-70">&#x00A0;2p</span><span 
class="pcrr8t-x-x-70">&#x00A0;neic_quakes.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;$AWK</span><span 
class="pcrr8t-x-x-70">&#x00A0;-F,</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;{printf</span><span 
class="pcrr8t-x-x-70">&#x00A0;~%s</span><span 
class="pcrr8t-x-x-70">&#x00A0;%s\n~,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$1,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$2}&#8217;&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">last=&#8216;sed</span><span 
class="pcrr8t-x-x-70">&#x00A0;-n</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;$p&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;neic_quakes.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;$AWK</span><span 
class="pcrr8t-x-x-70">&#x00A0;-F,</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;{printf</span><span 
class="pcrr8t-x-x-70">&#x00A0;~%s</span><span 
class="pcrr8t-x-x-70">&#x00A0;%s\n~,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$1,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$2}&#8217;&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Assign</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;string</span><span 
class="pcrr8t-x-x-70">&#x00A0;that</span><span 
class="pcrr8t-x-x-70">&#x00A0;contains</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;current</span><span 
class="pcrr8t-x-x-70">&#x00A0;user</span><span 
class="pcrr8t-x-x-70">&#x00A0;@</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;current</span><span 
class="pcrr8t-x-x-70">&#x00A0;computer</span><span 
class="pcrr8t-x-x-70">&#x00A0;node.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Note</span><span 
class="pcrr8t-x-x-70">&#x00A0;that</span><span 
class="pcrr8t-x-x-70">&#x00A0;two</span><span 
class="pcrr8t-x-x-70">&#x00A0;@@</span><span 
class="pcrr8t-x-x-70">&#x00A0;is</span><span 
class="pcrr8t-x-x-70">&#x00A0;needed</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;print</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;single</span><span 
class="pcrr8t-x-x-70">&#x00A0;@</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext:</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#set</span><span 
class="pcrr8t-x-x-70">&#x00A0;me</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;~$user@@&#8216;hostname&#8216;~</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">me=~GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;guru</span><span 
class="pcrr8t-x-x-70">&#x00A0;@@</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMTbox~</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Create</span><span 
class="pcrr8t-x-x-70">&#x00A0;standard</span><span 
class="pcrr8t-x-x-70">&#x00A0;seismicity</span><span 
class="pcrr8t-x-x-70">&#x00A0;color</span><span 
class="pcrr8t-x-x-70">&#x00A0;table</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">cat</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;neis.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;&#x003C;</span><span 
class="pcrr8t-x-x-70">&#x00A0;END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;red</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;100</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;red</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">100</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;green</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;300</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;green</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">300</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;blue</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;10000</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;blue</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Start</span><span 
class="pcrr8t-x-x-70">&#x00A0;plotting.</span><span 
class="pcrr8t-x-x-70">&#x00A0;First</span><span 
class="pcrr8t-x-x-70">&#x00A0;lay</span><span 
class="pcrr8t-x-x-70">&#x00A0;down</span><span 
class="pcrr8t-x-x-70">&#x00A0;map,</span><span 
class="pcrr8t-x-x-70">&#x00A0;then</span><span 
class="pcrr8t-x-x-70">&#x00A0;plot</span><span 
class="pcrr8t-x-x-70">&#x00A0;quakes</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span><span 
class="pcrr8t-x-x-70">&#x00A0;size</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;magintude/50~:</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rg</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JK180/9i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B45g30:.~World-wide</span><span 
class="pcrr8t-x-x-70">&#x00A0;earthquake</span><span 
class="pcrr8t-x-x-70">&#x00A0;activity~:</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gbrown</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Slightblue</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A1000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U/-0.75i/-2.5i/~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;22</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y2.75i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">$AWK</span><span 
class="pcrr8t-x-x-70">&#x00A0;-F,</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;{</span><span 
class="pcrr8t-x-x-70">&#x00A0;print</span><span 
class="pcrr8t-x-x-70">&#x00A0;$4,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$3,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$6,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$5*0.02}&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;neic_quakes.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JK</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cneis.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sci</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthin</span><span 
class="pcrr8t-x-x-70">&#x00A0;-H</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Create</span><span 
class="pcrr8t-x-x-70">&#x00A0;legend</span><span 
class="pcrr8t-x-x-70">&#x00A0;input</span><span 
class="pcrr8t-x-x-70">&#x00A0;file</span><span 
class="pcrr8t-x-x-70">&#x00A0;for</span><span 
class="pcrr8t-x-x-70">&#x00A0;NEIS</span><span 
class="pcrr8t-x-x-70">&#x00A0;quake</span><span 
class="pcrr8t-x-x-70">&#x00A0;plot</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">cat</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;neis.legend</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;&#x003C;</span><span 
class="pcrr8t-x-x-70">&#x00A0;END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">H</span><span 
class="pcrr8t-x-x-70">&#x00A0;16</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;$n</span><span 
class="pcrr8t-x-x-70">&#x00A0;events</span><span 
class="pcrr8t-x-x-70">&#x00A0;during</span><span 
class="pcrr8t-x-x-70">&#x00A0;$first</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;$last</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">D</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1p</span>
                                                                                 

                                                                                 
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">N</span><span 
class="pcrr8t-x-x-70">&#x00A0;3</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">V</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1p</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">S</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;c</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;red</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.25p</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.2i</span><span 
class="pcrr8t-x-x-70">&#x00A0;Shallow</span><span 
class="pcrr8t-x-x-70">&#x00A0;depth</span><span 
class="pcrr8t-x-x-70">&#x00A0;(0-100</span><span 
class="pcrr8t-x-x-70">&#x00A0;km)</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">S</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;c</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;green</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.25p</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.2i</span><span 
class="pcrr8t-x-x-70">&#x00A0;Intermediate</span><span 
class="pcrr8t-x-x-70">&#x00A0;depth</span><span 
class="pcrr8t-x-x-70">&#x00A0;(100-300</span><span 
class="pcrr8t-x-x-70">&#x00A0;km)</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">S</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;c</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;blue</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.25p</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.2i</span><span 
class="pcrr8t-x-x-70">&#x00A0;Very</span><span 
class="pcrr8t-x-x-70">&#x00A0;deep</span><span 
class="pcrr8t-x-x-70">&#x00A0;(&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;300</span><span 
class="pcrr8t-x-x-70">&#x00A0;km)</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">V</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1p</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">D</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1p</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">N</span><span 
class="pcrr8t-x-x-70">&#x00A0;7</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">V</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1p</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">S</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;c</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.06i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.25p</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.3i</span><span 
class="pcrr8t-x-x-70">&#x00A0;M</span><span 
class="pcrr8t-x-x-70">&#x00A0;3</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">S</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;c</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.08i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.25p</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.3i</span><span 
class="pcrr8t-x-x-70">&#x00A0;M</span><span 
class="pcrr8t-x-x-70">&#x00A0;4</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">S</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;c</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.10i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.25p</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.3i</span><span 
class="pcrr8t-x-x-70">&#x00A0;M</span><span 
class="pcrr8t-x-x-70">&#x00A0;5</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">S</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;c</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.12i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.25p</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.3i</span><span 
class="pcrr8t-x-x-70">&#x00A0;M</span><span 
class="pcrr8t-x-x-70">&#x00A0;6</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">S</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;c</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.14i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.25p</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.3i</span><span 
class="pcrr8t-x-x-70">&#x00A0;M</span><span 
class="pcrr8t-x-x-70">&#x00A0;7</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">S</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;c</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.16i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.25p</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.3i</span><span 
class="pcrr8t-x-x-70">&#x00A0;M</span><span 
class="pcrr8t-x-x-70">&#x00A0;8</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">S</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;c</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.18i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.25p</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.3i</span><span 
class="pcrr8t-x-x-70">&#x00A0;M</span><span 
class="pcrr8t-x-x-70">&#x00A0;9</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">V</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1p</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">D</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1p</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">N</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Put</span><span 
class="pcrr8t-x-x-70">&#x00A0;together</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;reasonable</span><span 
class="pcrr8t-x-x-70">&#x00A0;legend</span><span 
class="pcrr8t-x-x-70">&#x00A0;text,</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;add</span><span 
class="pcrr8t-x-x-70">&#x00A0;logo</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;user&#8217;s</span><span 
class="pcrr8t-x-x-70">&#x00A0;name:</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">cat</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;&#x003C;</span><span 
class="pcrr8t-x-x-70">&#x00A0;END</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;neis.legend</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">T</span><span 
class="pcrr8t-x-x-70">&#x00A0;USGS/NEIS</span><span 
class="pcrr8t-x-x-70">&#x00A0;most</span><span 
class="pcrr8t-x-x-70">&#x00A0;recent</span><span 
class="pcrr8t-x-x-70">&#x00A0;earthquakes</span><span 
class="pcrr8t-x-x-70">&#x00A0;for</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;last</span><span 
class="pcrr8t-x-x-70">&#x00A0;seven</span><span 
class="pcrr8t-x-x-70">&#x00A0;days.</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;The</span><span 
class="pcrr8t-x-x-70">&#x00A0;data</span><span 
class="pcrr8t-x-x-70">&#x00A0;were</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">T</span><span 
class="pcrr8t-x-x-70">&#x00A0;obtained</span><span 
class="pcrr8t-x-x-70">&#x00A0;automatically</span><span 
class="pcrr8t-x-x-70">&#x00A0;from</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;USGS</span><span 
class="pcrr8t-x-x-70">&#x00A0;Earthquake</span><span 
class="pcrr8t-x-x-70">&#x00A0;Hazards</span><span 
class="pcrr8t-x-x-70">&#x00A0;Program</span><span 
class="pcrr8t-x-x-70">&#x00A0;page</span><span 
class="pcrr8t-x-x-70">&#x00A0;at</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">T</span><span 
class="pcrr8t-x-x-70">&#x00A0;@_http://neic/usgs.gov</span><span 
class="pcrr8t-x-x-70">&#x00A0;@_.</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Interested</span><span 
class="pcrr8t-x-x-70">&#x00A0;users</span><span 
class="pcrr8t-x-x-70">&#x00A0;may</span><span 
class="pcrr8t-x-x-70">&#x00A0;also</span><span 
class="pcrr8t-x-x-70">&#x00A0;receive</span><span 
class="pcrr8t-x-x-70">&#x00A0;email</span><span 
class="pcrr8t-x-x-70">&#x00A0;alerts</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">T</span><span 
class="pcrr8t-x-x-70">&#x00A0;from</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;USGS.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">T</span><span 
class="pcrr8t-x-x-70">&#x00A0;This</span><span 
class="pcrr8t-x-x-70">&#x00A0;script</span><span 
class="pcrr8t-x-x-70">&#x00A0;can</span><span 
class="pcrr8t-x-x-70">&#x00A0;be</span><span 
class="pcrr8t-x-x-70">&#x00A0;called</span><span 
class="pcrr8t-x-x-70">&#x00A0;daily</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;update</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;latest</span><span 
class="pcrr8t-x-x-70">&#x00A0;information.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">G</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.4i</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Add</span><span 
class="pcrr8t-x-x-70">&#x00A0;USGS</span><span 
class="pcrr8t-x-x-70">&#x00A0;logo</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">I</span><span 
class="pcrr8t-x-x-70">&#x00A0;USGS.ras</span><span 
class="pcrr8t-x-x-70">&#x00A0;1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;RT</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">G</span><span 
class="pcrr8t-x-x-70">&#x00A0;-0.3i</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">L</span><span 
class="pcrr8t-x-x-70">&#x00A0;12</span><span 
class="pcrr8t-x-x-70">&#x00A0;6</span><span 
class="pcrr8t-x-x-70">&#x00A0;LB</span><span 
class="pcrr8t-x-x-70">&#x00A0;$me</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;OK,</span><span 
class="pcrr8t-x-x-70">&#x00A0;now</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;can</span><span 
class="pcrr8t-x-x-70">&#x00A0;actually</span><span 
class="pcrr8t-x-x-70">&#x00A0;run</span><span 
class="pcrr8t-x-x-70">&#x00A0;pslegend.</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;We</span><span 
class="pcrr8t-x-x-70">&#x00A0;center</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;legend</span><span 
class="pcrr8t-x-x-70">&#x00A0;below</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;map.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Trial</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;error</span><span 
class="pcrr8t-x-x-70">&#x00A0;shows</span><span 
class="pcrr8t-x-x-70">&#x00A0;that</span><span 
class="pcrr8t-x-x-70">&#x00A0;1.7i</span><span 
class="pcrr8t-x-x-70">&#x00A0;is</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;good</span><span 
class="pcrr8t-x-x-70">&#x00A0;legend</span><span 
class="pcrr8t-x-x-70">&#x00A0;height:</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pslegend</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dx4.5i/-0.4i/7i/1.7i/TC</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-F</span><span 
class="pcrr8t-x-x-70">&#x00A0;neis.legend</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightyellow</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Clean</span><span 
class="pcrr8t-x-x-70">&#x00A0;up</span><span 
class="pcrr8t-x-x-70">&#x00A0;after</span><span 
class="pcrr8t-x-x-70">&#x00A0;ourselves:</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;neis.*</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt*</span>
   </div>__________________________________________________________________________________________________
<hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-150008r22"></a>
                                                                                 

                                                                                 
<!--l. 811--><p class="noindent" ><img 
src="images/example_22.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;7.22: </span><span  
class="content">World-wide seismicity the last 7 days.</span></div><!--tex4ht:label?: x1-150008r22 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 813--><p class="indent" >   The script produces the plot in Figure&#x00A0;<a 
href="#x1-150008r22">7.22<!--tex4ht:ref: fig:GMT_example_22 --></a>, giving the URL where these and similar data can be
obtained.
<a 
 id="dx1-150009"></a>
</p>
   <h3 class="sectionHead"><span class="titlemark">7.23    </span> <a 
 id="x1-1510007.23"></a>All great-circle paths lead to Rome</h3>
<a 
 id="dx1-151001"></a>
<!--l. 822--><p class="noindent" >While motorists recently have started to question the old saying &#8220;all roads lead to Rome&#8221;, aircraft
pilots have known from the start that only one great-circle path connects the points of departure and
arrival<span class="footnote-mark"><a 
href="#fn28x7" id="fn28x7-bk"><sup class="textsuperscript">28</sup></a></span><a 
 id="x1-151002f28"></a>.
This provides the inspiration for our next example which uses <a 
href="../html/man/grdmath.html" ><span 
class="phvb8t-">grdmath</span></a><a 
 id="dx1-151003"></a> to calculate distances from Rome to
anywhere on Earth and <a 
href="../html/man/grdcontour.html" ><span 
class="phvb8t-">grdcontour</span></a><a 
 id="dx1-151004"></a> to contour these distances. We pick five cities that we connect to Rome with
great circle arcs, and label these cities with their names and distances (in km) from Rome, all laid down on top of
a beautiful world map. Note that we specify that contour labels only be placed along the straight
map-line connecting Rome to its antipode, and request curved labels that follows the shape of the
contours.
</p><!--l. 833--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;EXAMPLE</span><span 
class="pcrr8t-x-x-70">&#x00A0;23</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Plot</span><span 
class="pcrr8t-x-x-70">&#x00A0;distances</span><span 
class="pcrr8t-x-x-70">&#x00A0;from</span><span 
class="pcrr8t-x-x-70">&#x00A0;Rome</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;draw</span><span 
class="pcrr8t-x-x-70">&#x00A0;shortest</span><span 
class="pcrr8t-x-x-70">&#x00A0;paths</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdmath,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdcontour,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pscoast,</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdtrack</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;echo,</span><span 
class="pcrr8t-x-x-70">&#x00A0;cat,</span><span 
class="pcrr8t-x-x-70">&#x00A0;awk</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ps=../example_23.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Position</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;name</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;central</span><span 
class="pcrr8t-x-x-70">&#x00A0;point:</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">lon=12.50</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">lat=41.99</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">name=~Rome~</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Calculate</span><span 
class="pcrr8t-x-x-70">&#x00A0;distances</span><span 
class="pcrr8t-x-x-70">&#x00A0;(km)</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;all</span><span 
class="pcrr8t-x-x-70">&#x00A0;points</span><span 
class="pcrr8t-x-x-70">&#x00A0;on</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;global</span><span 
class="pcrr8t-x-x-70">&#x00A0;1x1</span><span 
class="pcrr8t-x-x-70">&#x00A0;grid</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rg</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I1</span><span 
class="pcrr8t-x-x-70">&#x00A0;$lon</span><span 
class="pcrr8t-x-x-70">&#x00A0;$lat</span><span 
class="pcrr8t-x-x-70">&#x00A0;SDIST</span><span 
class="pcrr8t-x-x-70">&#x00A0;111.13</span><span 
class="pcrr8t-x-x-70">&#x00A0;MUL</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;dist.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Location</span><span 
class="pcrr8t-x-x-70">&#x00A0;info</span><span 
class="pcrr8t-x-x-70">&#x00A0;for</span><span 
class="pcrr8t-x-x-70">&#x00A0;5</span><span 
class="pcrr8t-x-x-70">&#x00A0;other</span><span 
class="pcrr8t-x-x-70">&#x00A0;cities</span><span 
class="pcrr8t-x-x-70">&#x00A0;+</span><span 
class="pcrr8t-x-x-70">&#x00A0;label</span><span 
class="pcrr8t-x-x-70">&#x00A0;justification</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">cat</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;&#x003C;</span><span 
class="pcrr8t-x-x-70">&#x00A0;END</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;cities.d</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">105.87</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;21.02</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;HANOI</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;LM</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">282.95</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-12.1</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;LIMA</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;LM</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">178.42</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-18.13</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;SUVA</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;LM</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">237.67</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;47.58</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;SEATTLE</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;RM</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">28.20</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-25.75</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;PRETORIA</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;LM</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rg</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JH90/9i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgreen</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sblue</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;23</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A1000</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B0g30:.~Distances</span><span 
class="pcrr8t-x-x-70">&#x00A0;from</span><span 
class="pcrr8t-x-x-70">&#x00A0;$name</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;World~:</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdcontour</span><span 
class="pcrr8t-x-x-70">&#x00A0;dist.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A1000+v+ukm+kwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glz-/z+</span><span 
class="pcrr8t-x-x-70">&#x00A0;-S8</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C500</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wathin,white</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wcthinnest,white,-</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;For</span><span 
class="pcrr8t-x-x-70">&#x00A0;each</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;cities,</span><span 
class="pcrr8t-x-x-70">&#x00A0;plot</span><span 
class="pcrr8t-x-x-70">&#x00A0;great</span><span 
class="pcrr8t-x-x-70">&#x00A0;circle</span><span 
class="pcrr8t-x-x-70">&#x00A0;arc</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;Rome</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">while</span><span 
class="pcrr8t-x-x-70">&#x00A0;read</span><span 
class="pcrr8t-x-x-70">&#x00A0;clon</span><span 
class="pcrr8t-x-x-70">&#x00A0;clat</span><span 
class="pcrr8t-x-x-70">&#x00A0;city;</span><span 
class="pcrr8t-x-x-70">&#x00A0;do</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;(echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;$lon</span><span 
class="pcrr8t-x-x-70">&#x00A0;$lat;</span><span 
class="pcrr8t-x-x-70">&#x00A0;echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;$clon</span><span 
class="pcrr8t-x-x-70">&#x00A0;$clat)</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthickest/red</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">done</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;</span><span 
class="pcrr8t-x-x-70">&#x00A0;cities.d</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Plot</span><span 
class="pcrr8t-x-x-70">&#x00A0;red</span><span 
class="pcrr8t-x-x-70">&#x00A0;squares</span><span 
class="pcrr8t-x-x-70">&#x00A0;at</span><span 
class="pcrr8t-x-x-70">&#x00A0;cities</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;plot</span><span 
class="pcrr8t-x-x-70">&#x00A0;names:</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ss0.2</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gred</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;cities.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">$AWK</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;{print</span><span 
class="pcrr8t-x-x-70">&#x00A0;$1,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$2,</span><span 
class="pcrr8t-x-x-70">&#x00A0;12,</span><span 
class="pcrr8t-x-x-70">&#x00A0;0,</span><span 
class="pcrr8t-x-x-70">&#x00A0;9,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$4,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$3}&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;cities.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dj0.15/0</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gred</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Place</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;yellow</span><span 
class="pcrr8t-x-x-70">&#x00A0;star</span><span 
class="pcrr8t-x-x-70">&#x00A0;at</span><span 
class="pcrr8t-x-x-70">&#x00A0;Rome</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~$lon</span><span 
class="pcrr8t-x-x-70">&#x00A0;$lat~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sa0.2i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gyellow</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthin</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Sample</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;distance</span><span 
class="pcrr8t-x-x-70">&#x00A0;grid</span><span 
class="pcrr8t-x-x-70">&#x00A0;at</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;cities</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;use</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;distance</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;km</span><span 
class="pcrr8t-x-x-70">&#x00A0;for</span><span 
class="pcrr8t-x-x-70">&#x00A0;labels</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
                                                                                 

                                                                                 
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdtrack</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gdist.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;cities.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;$AWK</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;{printf</span><span 
class="pcrr8t-x-x-70">&#x00A0;~%s</span><span 
class="pcrr8t-x-x-70">&#x00A0;%s</span><span 
class="pcrr8t-x-x-70">&#x00A0;12</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;CT</span><span 
class="pcrr8t-x-x-70">&#x00A0;%d\n~,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$1,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$2,</span><span 
class="pcrr8t-x-x-70">&#x00A0;int($NF+0.5)}&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D0/-0.2i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wwhite,o</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C0.02i/0.02i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Clean</span><span 
class="pcrr8t-x-x-70">&#x00A0;up</span><span 
class="pcrr8t-x-x-70">&#x00A0;after</span><span 
class="pcrr8t-x-x-70">&#x00A0;ourselves:</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;cities.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;dist.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt*</span>
   </div>__________________________________________________________________________________________________
<hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-151005r23"></a>
                                                                                 

                                                                                 
<!--l. 834--><p class="noindent" ><img 
src="images/example_23.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;7.23: </span><span  
class="content">All great-circle paths lead to Rome.</span></div><!--tex4ht:label?: x1-151005r23 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 836--><p class="indent" >   The script produces the plot in Figure&#x00A0;<a 
href="#x1-151005r23">7.23<!--tex4ht:ref: fig:GMT_example_23 --></a>; note how interesting the path to Seattle appears in this particular
projection (Hammer). We also note that Rome&#8217;s antipode lies somewhere near the Chatham plateau (antipodes will
be revisited in Section&#x00A0;<a 
href="#x1-1530007.25">7.25<!--tex4ht:ref: sec:example_25 --></a>).
<a 
 id="dx1-151006"></a>
</p>
   <h3 class="sectionHead"><span class="titlemark">7.24    </span> <a 
 id="x1-1520007.24"></a>Data selection based on geospatial criteria</h3>
<a 
 id="dx1-152001"></a>
<!--l. 846--><p class="noindent" >Although we are not seismologists, we have yet another example involving seismicity. We use seismicity data for
the Australia/New Zealand region to demonstrate how we can extract subsets of data using geospatial criteria. In
particular, we wish to plot the epicenters given in the file <span class="underline">oz_quakes.d</span> as red or green circles. Green circles should
only be used for epicenters that satisfy the following three criteria:
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-152003x1">They are located in the ocean and not on land
   </li>
   <li 
  class="enumerate" id="x1-152005x2">They are within 3000 km of Hobart
   </li>
   <li 
  class="enumerate" id="x1-152007x3">They are more than 1000 km away from the International Dateline</li></ol>
<!--l. 856--><p class="noindent" >All remaining earthquakes should be plotted in red. Rather that doing the selection process twice we simply plot all
quakes as red circles and then replot those that pass our criteria. Most of the work here is done by <a 
href="../html/man/gmtselect.html" ><span 
class="phvb8t-">gmtselect</span></a><a 
 id="dx1-152008"></a>; the
rest is carried out by the usual <a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-152009"></a> and <a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-152010"></a> workhorses. Note for our purposes the Dateline is just a line
along the 180<span 
class="ptmr8c-">°</span>&#x00A0;meridian.
</p><!--l. 862--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;EXAMPLE</span><span 
class="pcrr8t-x-x-70">&#x00A0;24</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Extract</span><span 
class="pcrr8t-x-x-70">&#x00A0;subsets</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;data</span><span 
class="pcrr8t-x-x-70">&#x00A0;based</span><span 
class="pcrr8t-x-x-70">&#x00A0;on</span><span 
class="pcrr8t-x-x-70">&#x00A0;geospatial</span><span 
class="pcrr8t-x-x-70">&#x00A0;criteria</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmtselect,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pscoast,</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy,</span><span 
class="pcrr8t-x-x-70">&#x00A0;minmax</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;echo,</span><span 
class="pcrr8t-x-x-70">&#x00A0;cat,</span><span 
class="pcrr8t-x-x-70">&#x00A0;awk</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Highlight</span><span 
class="pcrr8t-x-x-70">&#x00A0;oceanic</span><span 
class="pcrr8t-x-x-70">&#x00A0;earthquakes</span><span 
class="pcrr8t-x-x-70">&#x00A0;within</span><span 
class="pcrr8t-x-x-70">&#x00A0;3000</span><span 
class="pcrr8t-x-x-70">&#x00A0;km</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;Hobart</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;1000</span><span 
class="pcrr8t-x-x-70">&#x00A0;km</span><span 
class="pcrr8t-x-x-70">&#x00A0;from</span><span 
class="pcrr8t-x-x-70">&#x00A0;dateline</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ps=../example_24.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~147:13</span><span 
class="pcrr8t-x-x-70">&#x00A0;-42:48</span><span 
class="pcrr8t-x-x-70">&#x00A0;3000</span><span 
class="pcrr8t-x-x-70">&#x00A0;Hobart~</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;point.d</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">cat</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;&#x003C;</span><span 
class="pcrr8t-x-x-70">&#x00A0;END</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;dateline.d</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Our</span><span 
class="pcrr8t-x-x-70">&#x00A0;proxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;for</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;dateline</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">180</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">180</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-90</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">R=&#8216;minmax</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I10</span><span 
class="pcrr8t-x-x-70">&#x00A0;oz_quakes.d&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;$R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JM9i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gtan</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sdarkblue</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthin,white</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dl</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A500</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ba20f10g10WeSn</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;24</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;oz_quakes.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sc0.05i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gred</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtselect</span><span 
class="pcrr8t-x-x-70">&#x00A0;oz_quakes.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;-L1000/dateline.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Nk/s</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C3000/point.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;-fg</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Il</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JM</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sc0.05i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ggreen</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">$AWK</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;{print</span><span 
class="pcrr8t-x-x-70">&#x00A0;$1,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$2,</span><span 
class="pcrr8t-x-x-70">&#x00A0;0,</span><span 
class="pcrr8t-x-x-70">&#x00A0;2*$3,</span><span 
class="pcrr8t-x-x-70">&#x00A0;2*$3}&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;point.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-SE</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wfat,white</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">$AWK</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;{print</span><span 
class="pcrr8t-x-x-70">&#x00A0;$1,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$2,</span><span 
class="pcrr8t-x-x-70">&#x00A0;14,</span><span 
class="pcrr8t-x-x-70">&#x00A0;0,</span><span 
class="pcrr8t-x-x-70">&#x00A0;1,</span><span 
class="pcrr8t-x-x-70">&#x00A0;~LT~,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$4}&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;point.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D0.1i/-0.1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;point.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wfat,white</span><span 
class="pcrr8t-x-x-70">&#x00A0;-S+0.2i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-m</span><span 
class="pcrr8t-x-x-70">&#x00A0;dateline.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wfat,white</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;point.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;dateline.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt*</span>
   </div>__________________________________________________________________________________________________
<hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-152011r24"></a>
                                                                                 

                                                                                 
<!--l. 863--><p class="noindent" ><img 
src="images/example_24.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;7.24: </span><span  
class="content">Data selection based on geospatial criteria.</span></div><!--tex4ht:label?: x1-152011r24 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 865--><p class="indent" >   The script produces the plot in Figure&#x00A0;<a 
href="#x1-152011r24">7.24<!--tex4ht:ref: fig:GMT_example_24 --></a>. Note that the horizontal distance from the dateline seems to
increase as we go south; however that is just the projected distance (Mercator distortion) and not the actual distance
which remains constant at 1000 km.
<a 
 id="dx1-152012"></a>
</p>
   <h3 class="sectionHead"><span class="titlemark">7.25    </span> <a 
 id="x1-1530007.25"></a>Global distribution of antipodes</h3>
<a 
 id="dx1-153001"></a>
<!--l. 876--><p class="noindent" >As promised in Section&#x00A0;<a 
href="#x1-1510007.23">7.23<!--tex4ht:ref: sec:example_23 --></a>, we will study antipodes. The antipode of a point at
<!--l. 877--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>&#x03D5;</mi><mo 
class="MathClass-punc">,</mo><mi 
>&#x03BB;</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></math> is the
point at <!--l. 877--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mrow ><mo 
class="MathClass-open">(</mo><mrow><mo 
class="MathClass-bin">-</mo><mi 
>&#x03D5;</mi><mo 
class="MathClass-punc">,</mo><mi 
>&#x03BB;</mi> <mo 
class="MathClass-bin">+</mo><mn>1</mn><mn>8</mn><mn>0</mn></mrow><mo 
class="MathClass-close">)</mo></mrow></math>.
We seek an answer to the question that has plagued so many for so long: Given the distribution of
land and ocean, how often is the antipode of a point on land also on land? And what about marine
antipodes? We use <a 
href="../html/man/grdlandmask.html" ><span 
class="phvb8t-">grdlandmask</span></a><a 
 id="dx1-153002"></a> and <a 
href="../html/man/grdmath.html" ><span 
class="phvb8t-">grdmath</span></a><a 
 id="dx1-153003"></a> to map these distributions and calculate the area of
the Earth (in percent) that goes with each of the three possibilities. To make sense of our <a 
href="../html/man/grdmath.html" ><span 
class="phvb8t-">grdmath</span></a><a 
 id="dx1-153004"></a>
equations below, note that we first calculate a grid that is +1 when a point and its antipode is on land,
-1 if both are in the ocean, and 0 elsewhere. We then seek to calculate the area distribution of dry
antipodes by only pulling out the nodes that equal +1. As each point represent an area approximated by
<!--l. 886--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>&#x0394;</mi><mi 
>&#x03D5;</mi> <mo 
class="MathClass-bin">&#x00D7;</mo><mi 
>&#x0394;</mi><mi 
>&#x03BB;</mi></math> where the
<!--l. 887--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>&#x0394;</mi><mi 
>&#x03BB;</mi></math> term&#8217;s actual
dimension depends on <!--l. 887--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-op">cos</mo><!--nolimits--><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>&#x03D5;</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></math>,
we need to allow for that shrinkage, normalize our sum to that of the whole area of the Earth, and finally convert that ratio to
percent. Since the <!--l. 889--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>&#x0394;</mi><mi 
>&#x03BB;</mi></math>,
<!--l. 889--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>&#x0394;</mi><mi 
>&#x03D5;</mi></math> terms
appear twice in these expressions they cancel out, leaving the somewhat intractable expressions below where the sum of
<!--l. 891--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-op">cos</mo><!--nolimits--><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>&#x03D5;</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></math> for all
<!--l. 891--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>&#x03D5;</mi></math> is known to
equal <!--l. 891--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mn>2</mn><msub><mrow 
><mi 
>N</mi></mrow><mrow 
><mi 
>y</mi></mrow></msub 
><mo 
class="MathClass-bin">&#x2215;</mo><mi 
>&#x03C0;</mi></math>:
</p><!--l. 893--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;EXAMPLE</span><span 
class="pcrr8t-x-x-70">&#x00A0;25</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Display</span><span 
class="pcrr8t-x-x-70">&#x00A0;distribution</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;antipode</span><span 
class="pcrr8t-x-x-70">&#x00A0;types</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmtset,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdlandmask,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdmath,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grd2xyz,</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmtmath,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdimage,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pscoast,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pslegend</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;cat</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Create</span><span 
class="pcrr8t-x-x-70">&#x00A0;D</span><span 
class="pcrr8t-x-x-70">&#x00A0;minutes</span><span 
class="pcrr8t-x-x-70">&#x00A0;global</span><span 
class="pcrr8t-x-x-70">&#x00A0;grid</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span><span 
class="pcrr8t-x-x-70">&#x00A0;-1</span><span 
class="pcrr8t-x-x-70">&#x00A0;over</span><span 
class="pcrr8t-x-x-70">&#x00A0;oceans</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;+1</span><span 
class="pcrr8t-x-x-70">&#x00A0;over</span><span 
class="pcrr8t-x-x-70">&#x00A0;land</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ps=../example_25.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">D=30</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdlandmask</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rg</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I${D}m</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A500</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N-1/1/1/1/1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-F</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwetdry.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Manipulate</span><span 
class="pcrr8t-x-x-70">&#x00A0;so</span><span 
class="pcrr8t-x-x-70">&#x00A0;-1</span><span 
class="pcrr8t-x-x-70">&#x00A0;means</span><span 
class="pcrr8t-x-x-70">&#x00A0;ocean/ocean</span><span 
class="pcrr8t-x-x-70">&#x00A0;antipode,</span><span 
class="pcrr8t-x-x-70">&#x00A0;+1</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;land/land,</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;elsewhere</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;wetdry.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;DUP</span><span 
class="pcrr8t-x-x-70">&#x00A0;180</span><span 
class="pcrr8t-x-x-70">&#x00A0;ROTX</span><span 
class="pcrr8t-x-x-70">&#x00A0;FLIPUD</span><span 
class="pcrr8t-x-x-70">&#x00A0;ADD</span><span 
class="pcrr8t-x-x-70">&#x00A0;2</span><span 
class="pcrr8t-x-x-70">&#x00A0;DIV</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;key.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Calculate</span><span 
class="pcrr8t-x-x-70">&#x00A0;percentage</span><span 
class="pcrr8t-x-x-70">&#x00A0;area</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;each</span><span 
class="pcrr8t-x-x-70">&#x00A0;type</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;antipode</span><span 
class="pcrr8t-x-x-70">&#x00A0;match.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rg</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I${D}m</span><span 
class="pcrr8t-x-x-70">&#x00A0;-F</span><span 
class="pcrr8t-x-x-70">&#x00A0;Y</span><span 
class="pcrr8t-x-x-70">&#x00A0;COSD</span><span 
class="pcrr8t-x-x-70">&#x00A0;60</span><span 
class="pcrr8t-x-x-70">&#x00A0;$D</span><span 
class="pcrr8t-x-x-70">&#x00A0;DIV</span><span 
class="pcrr8t-x-x-70">&#x00A0;360</span><span 
class="pcrr8t-x-x-70">&#x00A0;MUL</span><span 
class="pcrr8t-x-x-70">&#x00A0;DUP</span><span 
class="pcrr8t-x-x-70">&#x00A0;MUL</span><span 
class="pcrr8t-x-x-70">&#x00A0;PI</span><span 
class="pcrr8t-x-x-70">&#x00A0;DIV</span><span 
class="pcrr8t-x-x-70">&#x00A0;DIV</span><span 
class="pcrr8t-x-x-70">&#x00A0;100</span><span 
class="pcrr8t-x-x-70">&#x00A0;MUL</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;scale.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;key.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-1</span><span 
class="pcrr8t-x-x-70">&#x00A0;EQ</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;NAN</span><span 
class="pcrr8t-x-x-70">&#x00A0;scale.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;MUL</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;tmp.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grd2xyz</span><span 
class="pcrr8t-x-x-70">&#x00A0;tmp.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-S</span><span 
class="pcrr8t-x-x-70">&#x00A0;-ZTLf</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;key.b</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ocean=&#8216;gmtmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;-bi1s</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ca</span><span 
class="pcrr8t-x-x-70">&#x00A0;-S</span><span 
class="pcrr8t-x-x-70">&#x00A0;key.b</span><span 
class="pcrr8t-x-x-70">&#x00A0;SUM</span><span 
class="pcrr8t-x-x-70">&#x00A0;UPPER</span><span 
class="pcrr8t-x-x-70">&#x00A0;RINT</span><span 
class="pcrr8t-x-x-70">&#x00A0;=&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;key.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;EQ</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;NAN</span><span 
class="pcrr8t-x-x-70">&#x00A0;scale.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;MUL</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;tmp.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grd2xyz</span><span 
class="pcrr8t-x-x-70">&#x00A0;tmp.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-S</span><span 
class="pcrr8t-x-x-70">&#x00A0;-ZTLf</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;key.b</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">land=&#8216;gmtmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;-bi1s</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ca</span><span 
class="pcrr8t-x-x-70">&#x00A0;-S</span><span 
class="pcrr8t-x-x-70">&#x00A0;key.b</span><span 
class="pcrr8t-x-x-70">&#x00A0;SUM</span><span 
class="pcrr8t-x-x-70">&#x00A0;UPPER</span><span 
class="pcrr8t-x-x-70">&#x00A0;RINT</span><span 
class="pcrr8t-x-x-70">&#x00A0;=&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;key.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;EQ</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;NAN</span><span 
class="pcrr8t-x-x-70">&#x00A0;scale.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;MUL</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;tmp.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grd2xyz</span><span 
class="pcrr8t-x-x-70">&#x00A0;tmp.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-S</span><span 
class="pcrr8t-x-x-70">&#x00A0;-ZTLf</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;key.b</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">mixed=&#8216;gmtmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;-bi1s</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ca</span><span 
class="pcrr8t-x-x-70">&#x00A0;-S</span><span 
class="pcrr8t-x-x-70">&#x00A0;key.b</span><span 
class="pcrr8t-x-x-70">&#x00A0;SUM</span><span 
class="pcrr8t-x-x-70">&#x00A0;UPPER</span><span 
class="pcrr8t-x-x-70">&#x00A0;RINT</span><span 
class="pcrr8t-x-x-70">&#x00A0;=&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Generate</span><span 
class="pcrr8t-x-x-70">&#x00A0;corresponding</span><span 
class="pcrr8t-x-x-70">&#x00A0;color</span><span 
class="pcrr8t-x-x-70">&#x00A0;table</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">cat</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;&#x003C;</span><span 
class="pcrr8t-x-x-70">&#x00A0;END</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;key.cpt</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-1.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;blue</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-0.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;blue</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-0.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;gray</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;gray</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">0.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;red</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;1.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;red</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Create</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;final</span><span 
class="pcrr8t-x-x-70">&#x00A0;plot</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;overlay</span><span 
class="pcrr8t-x-x-70">&#x00A0;coastlines</span>
                                                                                 

                                                                                 
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;ANNOT_FONT_SIZE_PRIMARY</span><span 
class="pcrr8t-x-x-70">&#x00A0;+10p</span><span 
class="pcrr8t-x-x-70">&#x00A0;PLOT_DEGREE_FORMAT</span><span 
class="pcrr8t-x-x-70">&#x00A0;dddF</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdimage</span><span 
class="pcrr8t-x-x-70">&#x00A0;key.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sn</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JKs180/9i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B60/30:.~Antipodal</span><span 
class="pcrr8t-x-x-70">&#x00A0;comparisons~:WsNE</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ckey.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y1.2i</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U/-0.75i/-0.95i/~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;25</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A500</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Place</span><span 
class="pcrr8t-x-x-70">&#x00A0;an</span><span 
class="pcrr8t-x-x-70">&#x00A0;explanatory</span><span 
class="pcrr8t-x-x-70">&#x00A0;legend</span><span 
class="pcrr8t-x-x-70">&#x00A0;below</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pslegend</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R0/9/0/0.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx1i/-1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dx4.5/0/6i/0.3i/TC</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y-0.2i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Fthick</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;&#x003C;</span><span 
class="pcrr8t-x-x-70">&#x00A0;END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">N</span><span 
class="pcrr8t-x-x-70">&#x00A0;3</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">S</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.15i</span><span 
class="pcrr8t-x-x-70">&#x00A0;s</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.2i</span><span 
class="pcrr8t-x-x-70">&#x00A0;red</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.25p</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.3i</span><span 
class="pcrr8t-x-x-70">&#x00A0;Terrestrial</span><span 
class="pcrr8t-x-x-70">&#x00A0;Antipodes</span><span 
class="pcrr8t-x-x-70">&#x00A0;[$land</span><span 
class="pcrr8t-x-x-70">&#x00A0;%]</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">S</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.15i</span><span 
class="pcrr8t-x-x-70">&#x00A0;s</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.2i</span><span 
class="pcrr8t-x-x-70">&#x00A0;blue</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.25p</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.3i</span><span 
class="pcrr8t-x-x-70">&#x00A0;Oceanic</span><span 
class="pcrr8t-x-x-70">&#x00A0;Antipodes</span><span 
class="pcrr8t-x-x-70">&#x00A0;[$ocean</span><span 
class="pcrr8t-x-x-70">&#x00A0;%]</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">S</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.15i</span><span 
class="pcrr8t-x-x-70">&#x00A0;s</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.2i</span><span 
class="pcrr8t-x-x-70">&#x00A0;gray</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.25p</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.3i</span><span 
class="pcrr8t-x-x-70">&#x00A0;Mixed</span><span 
class="pcrr8t-x-x-70">&#x00A0;Antipodes</span><span 
class="pcrr8t-x-x-70">&#x00A0;[$mixed</span><span 
class="pcrr8t-x-x-70">&#x00A0;%]</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;*.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;key.*</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt*</span>
   </div>__________________________________________________________________________________________________
<!--l. 895--><p class="indent" >   In the end we obtain a funny-looking map depicting the antipodal distribution as well as displaying in legend form
the requested percentages (Figure&#x00A0;<a 
href="#x1-153006r25">7.25<!--tex4ht:ref: fig:GMT_example_25 --></a>). Note that the script is set to evaluate a global 30 minute grid for expediency
(<!--l. 897--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>D</mi> <mo 
class="MathClass-rel">=</mo> <mn>3</mn><mn>0</mn></math>), hence several
smaller land masses that do have terrestrial antipodes do not show up. If you want a more accurate map you can set the
parameter <!--l. 899--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>D</mi></math> to
a smaller increment (try 5 and wait a few minutes).
</p><!--l. 902--><p class="indent" >   The call to <a 
href="../html/man/grdimage.html" ><span 
class="phvb8t-">grdimage</span></a><a 
 id="dx1-153005"></a> includes the <span 
class="pcrb8t-">&#8211;Sn </span>to suspend interpolation and only return the value of the nearest
neighbor. This option is particularly practical for plotting categorical data, like these, that should not be
interpolated.
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-153006r25"></a>
                                                                                 

                                                                                 

<!--l. 906--><p class="noindent" ><img 
src="images/example_25.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;7.25: </span><span  
class="content">Global distribution of antipodes.</span></div><!--tex4ht:label?: x1-153006r25 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-153007"></a>
   <h3 class="sectionHead"><span class="titlemark">7.26    </span> <a 
 id="x1-1540007.26"></a>General vertical perspective projection</h3>
<a 
 id="dx1-154001"></a>
<!--l. 913--><p class="noindent" >Next, we present a recent extension to the <span 
class="pcrb8t-">-JG </span>projection option which allows the user to specify a
particular altitude (this was always at infinity before), as well as several further parameters to limit the
view from the chosen vantage point. In this example we show a view of the eastern continental US
from a height of 160 km. Below we add a view with a specific tilt of 55<span 
class="ptmr8c-">°</span>&#x00A0;and azimuth 210<span 
class="ptmr8c-">°</span>; here
we have chosen a boresight twist of 45<span 
class="ptmr8c-">°</span>. We view the land from New York towards Washington,
D.C.
</p><!--l. 920--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;EXAMPLE</span><span 
class="pcrr8t-x-x-70">&#x00A0;26</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Demonstrate</span><span 
class="pcrr8t-x-x-70">&#x00A0;general</span><span 
class="pcrr8t-x-x-70">&#x00A0;vertical</span><span 
class="pcrr8t-x-x-70">&#x00A0;perspective</span><span 
class="pcrr8t-x-x-70">&#x00A0;projection</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;pscoast</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;rm</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ps=../example_26.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;first</span><span 
class="pcrr8t-x-x-70">&#x00A0;do</span><span 
class="pcrr8t-x-x-70">&#x00A0;an</span><span 
class="pcrr8t-x-x-70">&#x00A0;overhead</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;east</span><span 
class="pcrr8t-x-x-70">&#x00A0;coast</span><span 
class="pcrr8t-x-x-70">&#x00A0;from</span><span 
class="pcrr8t-x-x-70">&#x00A0;160</span><span 
class="pcrr8t-x-x-70">&#x00A0;km</span><span 
class="pcrr8t-x-x-70">&#x00A0;altitude</span><span 
class="pcrr8t-x-x-70">&#x00A0;point</span><span 
class="pcrr8t-x-x-70">&#x00A0;straight</span><span 
class="pcrr8t-x-x-70">&#x00A0;down</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">latitude=41.5</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">longitude=-74.0</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">altitude=160.0</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">tilt=0</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">azimuth=0</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">twist=0</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">Width=0.0</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">Height=0.0</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">PROJ=-JG${longitude}/${latitude}/${altitude}/${azimuth}/${tilt}/${twist}/${Width}/${Height}/4i</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rg</span><span 
class="pcrr8t-x-x-70">&#x00A0;$PROJ</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B5g5/5g5</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightbrown</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Slightblue</span><span 
class="pcrr8t-x-x-70">&#x00A0;-W0.25p</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dl</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N1/1p,red</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N2,0.5p</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;now</span><span 
class="pcrr8t-x-x-70">&#x00A0;point</span><span 
class="pcrr8t-x-x-70">&#x00A0;from</span><span 
class="pcrr8t-x-x-70">&#x00A0;an</span><span 
class="pcrr8t-x-x-70">&#x00A0;altitude</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;160</span><span 
class="pcrr8t-x-x-70">&#x00A0;km</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;specific</span><span 
class="pcrr8t-x-x-70">&#x00A0;tilt</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;azimuth</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;wider</span><span 
class="pcrr8t-x-x-70">&#x00A0;restricted</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;view</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;boresight</span><span 
class="pcrr8t-x-x-70">&#x00A0;twist</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;45</span><span 
class="pcrr8t-x-x-70">&#x00A0;degrees</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">tilt=55</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">azimuth=210</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">twist=45</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">Width=30.0</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">Height=30.0</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">PROJ=-JG${longitude}/${latitude}/${altitude}/${azimuth}/${tilt}/${twist}/${Width}/${Height}/5i</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;$PROJ</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B5g5/5g5</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightbrown</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Slightblue</span><span 
class="pcrr8t-x-x-70">&#x00A0;-W0.25p</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ia/blue</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Di</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Na</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y-4i</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U/-1.75i/-0.75i/~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;26</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt*</span>
   </div>__________________________________________________________________________________________________
<!--l. 922--><p class="indent" >   At this point the full projection has not been properly optimized and the map annotations will need
additional work. Also, note that the projection is only implemented in <a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-154002"></a> and <a 
href="../html/man/grdimage.html" ><span 
class="phvb8t-">grdimage</span></a><a 
 id="dx1-154003"></a>. We hope
to refine this further and extend the availability of the full projection to all of the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;mapping
programs.
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-154004r26"></a>
                                                                                 

                                                                                 
<!--l. 927--><p class="noindent" ><img 
src="images/example_26.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;7.26: </span><span  
class="content">General vertical perspective projection.</span></div><!--tex4ht:label?: x1-154004r26 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-154005"></a>
   <h3 class="sectionHead"><span class="titlemark">7.27    </span> <a 
 id="x1-1550007.27"></a>Plotting Sandwell/Smith Mercator img grids</h3>
<a 
 id="dx1-155001"></a>
<!--l. 934--><p class="noindent" >Next, we show how to plot a data grid that is distributed in projected form. The gravity and predicted bathymetry
grids produced by David Sandwell and Walter H. F. Smith are not geographical grids but instead given on a
spherical Mercator grid. The <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;supplement imgsrc has tools to extract subsets of these large grids. If you need
to make a non-Mercator map then you must extract a geographic grid using <a 
href="../html/man/img2grd.html" ><span 
class="phvb8t-">img2grd</span></a><a 
 id="dx1-155002"></a> and then plot
it using your desired map projection. However, if you want to make a Mercator map then you can
save time and preserve data quality by avoiding to re-project the data set twice since it is already
in a Mercator projection. This example shows how this is accomplished. We use the <span 
class="pcrb8t-">-M </span>option in
<a 
href="../html/man/img2grd.html" ><span 
class="phvb8t-">img2grd</span></a><a 
 id="dx1-155003"></a><span class="footnote-mark"><a 
href="#fn29x7" id="fn29x7-bk"><sup class="textsuperscript">29</sup></a></span><a 
 id="x1-155004f29"></a>
to pull out the grid in Mercator units (i.e., do <span 
class="ptmri8t-">not </span>invert the Mercator projection) and then simply plot the grid
using a linear projection with a suitable scale (here 0.25 inches per degrees of longitude). To overlay
basemaps and features that has geographic longitude/latitude coordinates we must remember two key
issues:
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-155007x1">This is a <span 
class="ptmri8t-">spherical </span>Mercator grid so we must use <span 
class="ptmb8t-">&#8211;ELLIPSOID</span>=Sphere with all commands that involve
   projections (or use <a 
href="../html/man/gmtset.html" ><span 
class="phvb8t-">gmtset</span></a><a 
 id="dx1-155008"></a> to change the setting).
   </li>
   <li 
  class="enumerate" id="x1-155010x2">Select Mercator projection and use the same scale that was used with the linear projection.</li></ol>
<!--l. 953--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;EXAMPLE</span><span 
class="pcrr8t-x-x-70">&#x00A0;27</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Illustrates</span><span 
class="pcrr8t-x-x-70">&#x00A0;how</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;plot</span><span 
class="pcrr8t-x-x-70">&#x00A0;Mercator</span><span 
class="pcrr8t-x-x-70">&#x00A0;img</span><span 
class="pcrr8t-x-x-70">&#x00A0;grids</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;makecpt,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdgradient,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdimage,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdinfo,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pscoast</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;supplement:</span><span 
class="pcrr8t-x-x-70">&#x00A0;img2grd</span><span 
class="pcrr8t-x-x-70">&#x00A0;(to</span><span 
class="pcrr8t-x-x-70">&#x00A0;read</span><span 
class="pcrr8t-x-x-70">&#x00A0;Sandwell/Smith</span><span 
class="pcrr8t-x-x-70">&#x00A0;img</span><span 
class="pcrr8t-x-x-70">&#x00A0;files)</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;rm,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grep,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$AWK</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ps=../example_27.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;First</span><span 
class="pcrr8t-x-x-70">&#x00A0;extract</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;chunk</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;faa</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;retain</span><span 
class="pcrr8t-x-x-70">&#x00A0;short</span><span 
class="pcrr8t-x-x-70">&#x00A0;int</span><span 
class="pcrr8t-x-x-70">&#x00A0;precision</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;save</span><span 
class="pcrr8t-x-x-70">&#x00A0;disk</span><span 
class="pcrr8t-x-x-70">&#x00A0;space.</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Gravity</span><span 
class="pcrr8t-x-x-70">&#x00A0;is</span><span 
class="pcrr8t-x-x-70">&#x00A0;thus</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.1</span><span 
class="pcrr8t-x-x-70">&#x00A0;mGal</span><span 
class="pcrr8t-x-x-70">&#x00A0;increments.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Next</span><span 
class="pcrr8t-x-x-70">&#x00A0;get</span><span 
class="pcrr8t-x-x-70">&#x00A0;gradients.</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;The</span><span 
class="pcrr8t-x-x-70">&#x00A0;grid&#8217;s</span><span 
class="pcrr8t-x-x-70">&#x00A0;region</span><span 
class="pcrr8t-x-x-70">&#x00A0;is</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Mercator</span><span 
class="pcrr8t-x-x-70">&#x00A0;x/y</span><span 
class="pcrr8t-x-x-70">&#x00A0;units</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#img2grd</span><span 
class="pcrr8t-x-x-70">&#x00A0;grav.15.2.img</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R145/170/-50/-25</span><span 
class="pcrr8t-x-x-70">&#x00A0;-M</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gtasman_grav.nc=ns</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdgradient</span><span 
class="pcrr8t-x-x-70">&#x00A0;tasman_grav.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Nt1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A45</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gtasman_grav_i.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Make</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;suitable</span><span 
class="pcrr8t-x-x-70">&#x00A0;cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;file</span><span 
class="pcrr8t-x-x-70">&#x00A0;for</span><span 
class="pcrr8t-x-x-70">&#x00A0;mGal</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">makecpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T-120/120/10</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Z</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Crainbow</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;grav.cpt</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Since</span><span 
class="pcrr8t-x-x-70">&#x00A0;this</span><span 
class="pcrr8t-x-x-70">&#x00A0;is</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;Mercator</span><span 
class="pcrr8t-x-x-70">&#x00A0;grid</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;use</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;linear</span><span 
class="pcrr8t-x-x-70">&#x00A0;projection</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdimage</span><span 
class="pcrr8t-x-x-70">&#x00A0;tasman_grav.nc=ns/0.1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Itasman_grav_i.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx0.25i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cgrav.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;27</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Then</span><span 
class="pcrr8t-x-x-70">&#x00A0;use</span><span 
class="pcrr8t-x-x-70">&#x00A0;pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;plot</span><span 
class="pcrr8t-x-x-70">&#x00A0;land;</span><span 
class="pcrr8t-x-x-70">&#x00A0;get</span><span 
class="pcrr8t-x-x-70">&#x00A0;original</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;from</span><span 
class="pcrr8t-x-x-70">&#x00A0;grid</span><span 
class="pcrr8t-x-x-70">&#x00A0;remark</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;use</span><span 
class="pcrr8t-x-x-70">&#x00A0;Mercator</span><span 
class="pcrr8t-x-x-70">&#x00A0;projection</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span><span 
class="pcrr8t-x-x-70">&#x00A0;same</span><span 
class="pcrr8t-x-x-70">&#x00A0;scale</span><span 
class="pcrr8t-x-x-70">&#x00A0;as</span><span 
class="pcrr8t-x-x-70">&#x00A0;above</span><span 
class="pcrr8t-x-x-70">&#x00A0;on</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;spherical</span><span 
class="pcrr8t-x-x-70">&#x00A0;Earth</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">R=&#8216;grdinfo</span><span 
class="pcrr8t-x-x-70">&#x00A0;tasman_grav.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;grep</span><span 
class="pcrr8t-x-x-70">&#x00A0;Remark</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;$AWK</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;{print</span><span 
class="pcrr8t-x-x-70">&#x00A0;$NF}&#8217;&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;$R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jm0.25i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ba10f5WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;--ELLIPSOID=Sphere</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dh+</span><span 
class="pcrr8t-x-x-70">&#x00A0;--PLOT_DEGREE_FORMAT=dddF</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Put</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;color</span><span 
class="pcrr8t-x-x-70">&#x00A0;legend</span><span 
class="pcrr8t-x-x-70">&#x00A0;on</span><span 
class="pcrr8t-x-x-70">&#x00A0;top</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;land</span><span 
class="pcrr8t-x-x-70">&#x00A0;mask</span><span 
class="pcrr8t-x-x-70">&#x00A0;justified</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span><span 
class="pcrr8t-x-x-70">&#x00A0;147E,31S</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;147E</span><span 
class="pcrr8t-x-x-70">&#x00A0;31S</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;mapproject</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Di</span><span 
class="pcrr8t-x-x-70">&#x00A0;--ELLIPSOID=Sphere</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;tmp</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;147E</span><span 
class="pcrr8t-x-x-70">&#x00A0;31S</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;2.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sr</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D0.25i/0.05i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;-W1p</span><span 
class="pcrr8t-x-x-70">&#x00A0;--ELLIPSOID=Sphere</span><span 
class="pcrr8t-x-x-70">&#x00A0;--MEASURE_UNIT=inch</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pos=&#8216;$AWK</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;{printf</span><span 
class="pcrr8t-x-x-70">&#x00A0;~%si/%si\n~,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$1,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$2}&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;tmp&#8216;</span>
                                                                                 

                                                                                 
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psscale</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D$pos/2i/0.15i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cgrav.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B50f10/:mGal:</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Clean</span><span 
class="pcrr8t-x-x-70">&#x00A0;up</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;grav.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;*_i.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt*</span><span 
class="pcrr8t-x-x-70">&#x00A0;tmp</span>
   </div>__________________________________________________________________________________________________
<!--l. 955--><p class="indent" >   This map of the Tasman Sea shows the marine gravity anomalies with land painted black. A color scale bar was
then added to complete the illustration.
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-155011r27"></a>
                                                                                 

                                                                                 
<!--l. 958--><p class="noindent" ><img 
src="images/example_27.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;7.27: </span><span  
class="content">Plotting Sandwell/Smith Mercator img grids.</span></div><!--tex4ht:label?: x1-155011r27 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-155012"></a>
   <h3 class="sectionHead"><span class="titlemark">7.28    </span> <a 
 id="x1-1560007.28"></a>Mixing UTM and geographic data sets</h3>
<a 
 id="dx1-156001"></a>
<!--l. 966--><p class="noindent" >Next, we present a similar case: We wish to plot a data set given in UTM coordinates and want it to be
properly registered with overlying geographic data, such as coastlines or data points. The mistake many
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;rookies make is to specify the UTM projection with their UTM data. However, that data have already
been projected and is now in linear meters. The only sensible way to plot such data is with a linear
projection, yielding a UTM map. In this step one can choose to annotate or tick the map in UTM
meters as well. To plot geographic (lon/lat) data on the same map there are a few things you must
consider:
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-156003x1">You need to know the lower left and upper right UTM coordinates of your map. Given the UTM zone
   you can use <a 
href="../html/man/mapproject.html" ><span 
class="phvb8t-">mapproject</span></a><a 
 id="dx1-156004"></a> to recover the lon/lat of those two points. Conversely, if you instead know
   the lon/lat corners then you need to convert those to UTM coordinates. You now have the ability to
   specify two domains with the <span 
class="pcrb8t-">-R </span>setting: The linear UTM meter domain when plotting UTM data and
   the geographic domain (remember to use the rectangular variant of <span 
class="pcrb8t-">-R </span>that ends with the modifier <span 
class="ptmb8t-">r</span>)
   when plotting lon/lat data.
   </li>
   <li 
  class="enumerate" id="x1-156006x2">Make sure you use the same scale (and not width) with both the linear and UTM projection.</li></ol>
<!--l. 983--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;EXAMPLE</span><span 
class="pcrr8t-x-x-70">&#x00A0;28</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Illustrates</span><span 
class="pcrr8t-x-x-70">&#x00A0;how</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;mix</span><span 
class="pcrr8t-x-x-70">&#x00A0;UTM</span><span 
class="pcrr8t-x-x-70">&#x00A0;data</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;UTM</span><span 
class="pcrr8t-x-x-70">&#x00A0;projection</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;makecpt,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdgradient,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdimage,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdinfo,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pscoast,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext,</span><span 
class="pcrr8t-x-x-70">&#x00A0;mapproject</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;rm,</span><span 
class="pcrr8t-x-x-70">&#x00A0;cut,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grep,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$AWK</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ps=../example_28.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Get</span><span 
class="pcrr8t-x-x-70">&#x00A0;intensity</span><span 
class="pcrr8t-x-x-70">&#x00A0;grid</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;set</span><span 
class="pcrr8t-x-x-70">&#x00A0;up</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;color</span><span 
class="pcrr8t-x-x-70">&#x00A0;table</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdgradient</span><span 
class="pcrr8t-x-x-70">&#x00A0;Kilauea.utm.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Nt1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A45</span><span 
class="pcrr8t-x-x-70">&#x00A0;-GKilauea.utm_i.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">makecpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ccopper</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T0/1500/100</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Z</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Kilauea.cpt</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Save</span><span 
class="pcrr8t-x-x-70">&#x00A0;min/max</span><span 
class="pcrr8t-x-x-70">&#x00A0;UTM</span><span 
class="pcrr8t-x-x-70">&#x00A0;coordinates</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span><span 
class="pcrr8t-x-x-70">&#x00A0;enough</span><span 
class="pcrr8t-x-x-70">&#x00A0;precision</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdinfo</span><span 
class="pcrr8t-x-x-70">&#x00A0;Kilauea.utm.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;--D_FORMAT=%.10g</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;tmp.txt</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Use</span><span 
class="pcrr8t-x-x-70">&#x00A0;inverse</span><span 
class="pcrr8t-x-x-70">&#x00A0;UTM</span><span 
class="pcrr8t-x-x-70">&#x00A0;projection</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;determine</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;lon/lat</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;lower</span><span 
class="pcrr8t-x-x-70">&#x00A0;left</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;upper</span><span 
class="pcrr8t-x-x-70">&#x00A0;right</span><span 
class="pcrr8t-x-x-70">&#x00A0;corners</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">LL=&#8216;cut</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f2,4</span><span 
class="pcrr8t-x-x-70">&#x00A0;tmp.txt</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;mapproject</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ju5Q/1:1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-F</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I</span><span 
class="pcrr8t-x-x-70">&#x00A0;--OUTPUT_DEGREE_FORMAT=ddd:mm:ss.x</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$AWK</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;{printf</span><span 
class="pcrr8t-x-x-70">&#x00A0;~%s/%s\n~,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$1,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$2}&#8217;&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">UR=&#8216;cut</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f3,5</span><span 
class="pcrr8t-x-x-70">&#x00A0;tmp.txt</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;mapproject</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ju5Q/1:1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-F</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I</span><span 
class="pcrr8t-x-x-70">&#x00A0;--OUTPUT_DEGREE_FORMAT=ddd:mm:ss.x</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$AWK</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;{printf</span><span 
class="pcrr8t-x-x-70">&#x00A0;~%s/%s\n~,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$1,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$2}&#8217;&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Lay</span><span 
class="pcrr8t-x-x-70">&#x00A0;down</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;UTM</span><span 
class="pcrr8t-x-x-70">&#x00A0;topo</span><span 
class="pcrr8t-x-x-70">&#x00A0;grid</span><span 
class="pcrr8t-x-x-70">&#x00A0;using</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;1:17,000</span><span 
class="pcrr8t-x-x-70">&#x00A0;scale</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdimage</span><span 
class="pcrr8t-x-x-70">&#x00A0;Kilauea.utm.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-IKilauea.utm_i.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-CKilauea.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx1:170000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B5000g5000WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;28</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;--D_FORMAT=%.10g</span><span 
class="pcrr8t-x-x-70">&#x00A0;--ANNOT_FONT_SIZE_PRIMARY=9</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;--GRID_CROSS_SIZE_PRIMARY=0.1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Overlay</span><span 
class="pcrr8t-x-x-70">&#x00A0;geographic</span><span 
class="pcrr8t-x-x-70">&#x00A0;data</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;coregister</span><span 
class="pcrr8t-x-x-70">&#x00A0;by</span><span 
class="pcrr8t-x-x-70">&#x00A0;using</span><span 
class="pcrr8t-x-x-70">&#x00A0;correct</span><span 
class="pcrr8t-x-x-70">&#x00A0;region</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;projection</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;same</span><span 
class="pcrr8t-x-x-70">&#x00A0;scale</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R$LL/${UR}r</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ju5Q/1:170000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Df+</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Slightblue</span><span 
class="pcrr8t-x-x-70">&#x00A0;-W0.5p</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B5mg5mNE</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;--ANNOT_FONT_SIZE_PRIMARY=12</span><span 
class="pcrr8t-x-x-70">&#x00A0;--PLOT_DEGREE_FORMAT=ddd:mmF</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psbasemap</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;--ANNOT_FONT_SIZE_PRIMARY=9</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Lf155:07:30W/19:15:40N/19:23N/5k+l1:17,000+u</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;--LABEL_FONT_SIZE=10</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;155:16:20W</span><span 
class="pcrr8t-x-x-70">&#x00A0;19:26:20N</span><span 
class="pcrr8t-x-x-70">&#x00A0;12</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;CB</span><span 
class="pcrr8t-x-x-70">&#x00A0;KILAUEA</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Clean</span><span 
class="pcrr8t-x-x-70">&#x00A0;up</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;Kilauea.utm_i.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;Kilauea.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;tmp.txt</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt*</span>
   </div>__________________________________________________________________________________________________
<!--l. 985--><p class="indent" >   Our script illustrates how we would plot a UTM grid of elevations near Kilauea volcano on the Big Island of
Hawaii. Given we are in UTM zone 5Q, the script determines the geographic coordinates of the lower left and
upper right corner of the UTM grid, then uses that region when overlaying the coastline and light blue ocean. We
place a scale bar and label Kilauea crater to complete the figure.
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-156007r28"></a>
                                                                                 

                                                                                 
<!--l. 991--><p class="noindent" ><img 
src="images/example_28.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;7.28: </span><span  
class="content">Mixing UTM and geographic data sets requires knowledge of the map region domain in both
UTM and lon/lat coordinates and consistent use of the same map scale.</span></div><!--tex4ht:label?: x1-156007r28 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-156008"></a>
   <h3 class="sectionHead"><span class="titlemark">7.29    </span> <a 
 id="x1-1570007.29"></a>Gridding spherical surface data using splines</h3>
<a 
 id="dx1-157001"></a>
<!--l. 998--><p class="noindent" >Next, we demonstrate how gridding on a spherical surface can be accomplished using Green&#8217;s functions of surface
splines, with or without tension. Global gridding does not work particularly well in Cartesian coordinates hence the
chosen approach. We use <a 
href="../html/man/greenspline.html" ><span 
class="phvb8t-">greenspline</span></a><a 
 id="dx1-157002"></a> to produce a crude topography grid for Mars based on radii estimates from
the Mariner 9 and Viking Orbiter spacecrafts. This data comes from <span 
class="ptmri8t-">Smith and Zuber </span>[Science, 1996] and is
used here as a small (<span 
class="ptmri8t-">N </span>= 370) data set we can use to demonstrate spherical surface gridding. Since
<a 
href="../html/man/greenspline.html" ><span 
class="phvb8t-">greenspline</span></a><a 
 id="dx1-157003"></a> must solve a <span 
class="ptmri8t-">N </span>by <span 
class="ptmri8t-">N </span>matrix system your system memory may impose limits on how large
data sets you can handle; also note that the spherical surface spline in tension is particularly slow to
compute.
</p><!--l. 1007--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;EXAMPLE</span><span 
class="pcrr8t-x-x-70">&#x00A0;29</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Illustrates</span><span 
class="pcrr8t-x-x-70">&#x00A0;spherical</span><span 
class="pcrr8t-x-x-70">&#x00A0;surface</span><span 
class="pcrr8t-x-x-70">&#x00A0;gridding</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span><span 
class="pcrr8t-x-x-70">&#x00A0;Green&#8217;s</span><span 
class="pcrr8t-x-x-70">&#x00A0;function</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;splines</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;makecpt,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdcontour,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdgradient,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdimage,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;greenspline,</span><span 
class="pcrr8t-x-x-70">&#x00A0;psscale,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;rm,</span><span 
class="pcrr8t-x-x-70">&#x00A0;echo</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ps=../example_29.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;This</span><span 
class="pcrr8t-x-x-70">&#x00A0;example</span><span 
class="pcrr8t-x-x-70">&#x00A0;uses</span><span 
class="pcrr8t-x-x-70">&#x00A0;370</span><span 
class="pcrr8t-x-x-70">&#x00A0;radio</span><span 
class="pcrr8t-x-x-70">&#x00A0;occultation</span><span 
class="pcrr8t-x-x-70">&#x00A0;data</span><span 
class="pcrr8t-x-x-70">&#x00A0;for</span><span 
class="pcrr8t-x-x-70">&#x00A0;Mars</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;grid</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;topography.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Data</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;information</span><span 
class="pcrr8t-x-x-70">&#x00A0;from</span><span 
class="pcrr8t-x-x-70">&#x00A0;Smith,</span><span 
class="pcrr8t-x-x-70">&#x00A0;D.</span><span 
class="pcrr8t-x-x-70">&#x00A0;E.,</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;M.</span><span 
class="pcrr8t-x-x-70">&#x00A0;T.</span><span 
class="pcrr8t-x-x-70">&#x00A0;Zuber</span><span 
class="pcrr8t-x-x-70">&#x00A0;(1996),</span><span 
class="pcrr8t-x-x-70">&#x00A0;The</span><span 
class="pcrr8t-x-x-70">&#x00A0;shape</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Mars</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;topographic</span><span 
class="pcrr8t-x-x-70">&#x00A0;signature</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;hemispheric</span><span 
class="pcrr8t-x-x-70">&#x00A0;dichotomy,</span><span 
class="pcrr8t-x-x-70">&#x00A0;Science,</span><span 
class="pcrr8t-x-x-70">&#x00A0;271,</span><span 
class="pcrr8t-x-x-70">&#x00A0;184â&#x0102;&#x0218;187.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Make</span><span 
class="pcrr8t-x-x-70">&#x00A0;Mars</span><span 
class="pcrr8t-x-x-70">&#x00A0;ellipsoid</span><span 
class="pcrr8t-x-x-70">&#x00A0;given</span><span 
class="pcrr8t-x-x-70">&#x00A0;their</span><span 
class="pcrr8t-x-x-70">&#x00A0;three</span><span 
class="pcrr8t-x-x-70">&#x00A0;best-fitting</span><span 
class="pcrr8t-x-x-70">&#x00A0;axes:</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">a=3399.472</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">b=3394.329</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">c=3376.502</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rg</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I4</span><span 
class="pcrr8t-x-x-70">&#x00A0;-F</span><span 
class="pcrr8t-x-x-70">&#x00A0;X</span><span 
class="pcrr8t-x-x-70">&#x00A0;COSD</span><span 
class="pcrr8t-x-x-70">&#x00A0;$a</span><span 
class="pcrr8t-x-x-70">&#x00A0;DIV</span><span 
class="pcrr8t-x-x-70">&#x00A0;DUP</span><span 
class="pcrr8t-x-x-70">&#x00A0;MUL</span><span 
class="pcrr8t-x-x-70">&#x00A0;X</span><span 
class="pcrr8t-x-x-70">&#x00A0;SIND</span><span 
class="pcrr8t-x-x-70">&#x00A0;$b</span><span 
class="pcrr8t-x-x-70">&#x00A0;DIV</span><span 
class="pcrr8t-x-x-70">&#x00A0;DUP</span><span 
class="pcrr8t-x-x-70">&#x00A0;MUL</span><span 
class="pcrr8t-x-x-70">&#x00A0;ADD</span><span 
class="pcrr8t-x-x-70">&#x00A0;Y</span><span 
class="pcrr8t-x-x-70">&#x00A0;COSD</span><span 
class="pcrr8t-x-x-70">&#x00A0;DUP</span><span 
class="pcrr8t-x-x-70">&#x00A0;MUL</span><span 
class="pcrr8t-x-x-70">&#x00A0;MUL</span><span 
class="pcrr8t-x-x-70">&#x00A0;Y</span><span 
class="pcrr8t-x-x-70">&#x00A0;SIND</span><span 
class="pcrr8t-x-x-70">&#x00A0;$c</span><span 
class="pcrr8t-x-x-70">&#x00A0;DIV</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;DUP</span><span 
class="pcrr8t-x-x-70">&#x00A0;MUL</span><span 
class="pcrr8t-x-x-70">&#x00A0;ADD</span><span 
class="pcrr8t-x-x-70">&#x00A0;SQRT</span><span 
class="pcrr8t-x-x-70">&#x00A0;INV</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;ellipsoid.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Do</span><span 
class="pcrr8t-x-x-70">&#x00A0;both</span><span 
class="pcrr8t-x-x-70">&#x00A0;Parker</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;Wessel/Becker</span><span 
class="pcrr8t-x-x-70">&#x00A0;solutions</span><span 
class="pcrr8t-x-x-70">&#x00A0;(tension</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.9975)</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">greenspline</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rellipsoid.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;mars370.in</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D4</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sp</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gmars.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">greenspline</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rellipsoid.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;mars370.in</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D4</span><span 
class="pcrr8t-x-x-70">&#x00A0;-SQ0.9975/5001</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gmars2.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Scale</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;km</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;remove</span><span 
class="pcrr8t-x-x-70">&#x00A0;ellipsoid</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;mars.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;1000</span><span 
class="pcrr8t-x-x-70">&#x00A0;DIV</span><span 
class="pcrr8t-x-x-70">&#x00A0;ellipsoid.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;SUB</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;mars.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;mars2.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;1000</span><span 
class="pcrr8t-x-x-70">&#x00A0;DIV</span><span 
class="pcrr8t-x-x-70">&#x00A0;ellipsoid.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;SUB</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;mars2.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">makecpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Crainbow</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T-7/15/1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Z</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;mars.cpt</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdgradient</span><span 
class="pcrr8t-x-x-70">&#x00A0;mars2.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-M</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ne0.75</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A45</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gmars2_i.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdimage</span><span 
class="pcrr8t-x-x-70">&#x00A0;mars2.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Imars2_i.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cmars.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B30g30Wsne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JH0/6i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ei</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;29</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;--ANNOT_FONT_SIZE_PRIMARY=12</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdcontour</span><span 
class="pcrr8t-x-x-70">&#x00A0;mars2.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A5</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glz+/z-</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rg</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sc0.045i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;mars370.in</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~0</span><span 
class="pcrr8t-x-x-70">&#x00A0;90</span><span 
class="pcrr8t-x-x-70">&#x00A0;14</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;LB</span><span 
class="pcrr8t-x-x-70">&#x00A0;b)~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D-3i/-0.2i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdgradient</span><span 
class="pcrr8t-x-x-70">&#x00A0;mars.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-M</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ne0.75</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A45</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gmars_i.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdimage</span><span 
class="pcrr8t-x-x-70">&#x00A0;mars.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Imars_i.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cmars.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B30g30Wsne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y3.6i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ei</span><span 
class="pcrr8t-x-x-70">&#x00A0;--ANNOT_FONT_SIZE_PRIMARY=12</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdcontour</span><span 
class="pcrr8t-x-x-70">&#x00A0;mars.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A5</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glz+/z-</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rg</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sc0.045i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;mars370.in</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psscale</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cmars.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D3i/-0.1i/5i/0.1ih</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I</span><span 
class="pcrr8t-x-x-70">&#x00A0;--ANNOT_FONT_SIZE_PRIMARY=12</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B2f1/:km:</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~0</span><span 
class="pcrr8t-x-x-70">&#x00A0;90</span><span 
class="pcrr8t-x-x-70">&#x00A0;14</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;LB</span><span 
class="pcrr8t-x-x-70">&#x00A0;a)~</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D-3i/-0.2i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Clean</span><span 
class="pcrr8t-x-x-70">&#x00A0;up</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;*.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;mars.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt*</span>
   </div>__________________________________________________________________________________________________
<!--l. 1009--><p class="indent" >   Our script must first estimate the ellipsoidal shape of Mars from the parameters given by <span 
class="ptmri8t-">Smith and Zuber </span>so
that we can remove this reference surface from the gridded radii. We run the gridding twice: First with no tension
using <span 
class="ptmri8t-">Parker</span>&#8217;s [1990] method and then with tension using the <span 
class="ptmri8t-">Wessel and Becker </span>[2008] method.
The grids are then imaged with <a 
href="../html/man/grdimage.html" ><span 
class="phvb8t-">grdimage</span></a><a 
 id="dx1-157004"></a> and <a 
href="../html/man/grdcontour.html" ><span 
class="phvb8t-">grdcontour</span></a><a 
 id="dx1-157005"></a> and a color scale is placed between
them.
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-157006r29"></a>
                                                                                 

                                                                                 
<!--l. 1015--><p class="noindent" ><img 
src="images/example_29.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;7.29: </span><span  
class="content">Gridding of spherical surface data using Green&#8217;s function splines.</span></div><!--tex4ht:label?: x1-157006r29 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-157007"></a>
   <h3 class="sectionHead"><span class="titlemark">7.30    </span> <a 
 id="x1-1580007.30"></a>Trigonometric functions plotted in graph mode</h3>
<a 
 id="dx1-158001"></a>
<!--l. 1022--><p class="noindent" >Finally, we end with a simple mathematical illustration of sine and cosine, highlighting the it graph mode for linear
projections and the new curved vectors for angles.
</p><!--l. 1025--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;EXAMPLE</span><span 
class="pcrr8t-x-x-70">&#x00A0;30</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Show</span><span 
class="pcrr8t-x-x-70">&#x00A0;graph</span><span 
class="pcrr8t-x-x-70">&#x00A0;mode</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;math</span><span 
class="pcrr8t-x-x-70">&#x00A0;angles</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmtmath,</span><span 
class="pcrr8t-x-x-70">&#x00A0;psbasemap,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;echo,</span><span 
class="pcrr8t-x-x-70">&#x00A0;rm</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Draw</span><span 
class="pcrr8t-x-x-70">&#x00A0;generic</span><span 
class="pcrr8t-x-x-70">&#x00A0;x-y</span><span 
class="pcrr8t-x-x-70">&#x00A0;axes</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span><span 
class="pcrr8t-x-x-70">&#x00A0;arrows</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ps=../example_30.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psbasemap</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R0/360/-1.25/1.75</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX8i/6i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B90f30:,-\\312:/1g10:.~Two</span><span 
class="pcrr8t-x-x-70">&#x00A0;Trigonometric</span><span 
class="pcrr8t-x-x-70">&#x00A0;Functions~:WS</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-U~Example</span><span 
class="pcrr8t-x-x-70">&#x00A0;30</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;Cookbook~</span><span 
class="pcrr8t-x-x-70">&#x00A0;--BASEMAP_TYPE=graph</span><span 
class="pcrr8t-x-x-70">&#x00A0;--VECTOR_SHAPE=0.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Draw</span><span 
class="pcrr8t-x-x-70">&#x00A0;sine</span><span 
class="pcrr8t-x-x-70">&#x00A0;an</span><span 
class="pcrr8t-x-x-70">&#x00A0;cosine</span><span 
class="pcrr8t-x-x-70">&#x00A0;curves</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T0/360/0.1</span><span 
class="pcrr8t-x-x-70">&#x00A0;T</span><span 
class="pcrr8t-x-x-70">&#x00A0;COSD</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-W2p</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T0/360/0.1</span><span 
class="pcrr8t-x-x-70">&#x00A0;T</span><span 
class="pcrr8t-x-x-70">&#x00A0;SIND</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-W2p,.</span><span 
class="pcrr8t-x-x-70">&#x00A0;--PS_LINE_CAP=round</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Indicate</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;x-angle</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;120</span><span 
class="pcrr8t-x-x-70">&#x00A0;degrees</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-W0.5p,-</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;&#x003C;</span><span 
class="pcrr8t-x-x-70">&#x00A0;EOF</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">120</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-1.25</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">120</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;1.25</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">EOF</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dj0.05i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;&#x003C;</span><span 
class="pcrr8t-x-x-70">&#x00A0;EOF</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">360</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;18</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;4</span><span 
class="pcrr8t-x-x-70">&#x00A0;RB</span><span 
class="pcrr8t-x-x-70">&#x00A0;x</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;cos(@%12%a@%%)</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">360</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;18</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;4</span><span 
class="pcrr8t-x-x-70">&#x00A0;RB</span><span 
class="pcrr8t-x-x-70">&#x00A0;y</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;sin(@%12%a@%%)</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">120</span><span 
class="pcrr8t-x-x-70">&#x00A0;-1.25</span><span 
class="pcrr8t-x-x-70">&#x00A0;14</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;4</span><span 
class="pcrr8t-x-x-70">&#x00A0;LB</span><span 
class="pcrr8t-x-x-70">&#x00A0;120\\312</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">370</span><span 
class="pcrr8t-x-x-70">&#x00A0;-1.35</span><span 
class="pcrr8t-x-x-70">&#x00A0;24</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;12</span><span 
class="pcrr8t-x-x-70">&#x00A0;LT</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-5</span><span 
class="pcrr8t-x-x-70">&#x00A0;1.85</span><span 
class="pcrr8t-x-x-70">&#x00A0;24</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;4</span><span 
class="pcrr8t-x-x-70">&#x00A0;RT</span><span 
class="pcrr8t-x-x-70">&#x00A0;x,y</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">EOF</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Draw</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;circle</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;indicate</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;0-70</span><span 
class="pcrr8t-x-x-70">&#x00A0;degree</span><span 
class="pcrr8t-x-x-70">&#x00A0;angle</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R-1/1/-1/1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx1.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X3.625i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y2.75i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sc2i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-W1p</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-m</span><span 
class="pcrr8t-x-x-70">&#x00A0;-W1p</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;&#x003C;</span><span 
class="pcrr8t-x-x-70">&#x00A0;EOF</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;x-gridline</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-W0.25p</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-1</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">1</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;y-gridline</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-W0.25p</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-1</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;angle</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">1</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;angle</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;120</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-0.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.866025</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;x-projection</span><span 
class="pcrr8t-x-x-70">&#x00A0;-W2p</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-0.3333</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;y-projection</span><span 
class="pcrr8t-x-x-70">&#x00A0;-W2p</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-0.3333</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.57735</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-0.3333</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">EOF</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dj0.05i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;&#x003C;</span><span 
class="pcrr8t-x-x-70">&#x00A0;EOF</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-0.16666</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;12</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;4</span><span 
class="pcrr8t-x-x-70">&#x00A0;CT</span><span 
class="pcrr8t-x-x-70">&#x00A0;x</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-0.3333</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.2888675</span><span 
class="pcrr8t-x-x-70">&#x00A0;12</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;4</span><span 
class="pcrr8t-x-x-70">&#x00A0;RM</span><span 
class="pcrr8t-x-x-70">&#x00A0;y</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">0.22</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.27</span><span 
class="pcrr8t-x-x-70">&#x00A0;12</span><span 
class="pcrr8t-x-x-70">&#x00A0;-30</span><span 
class="pcrr8t-x-x-70">&#x00A0;12</span><span 
class="pcrr8t-x-x-70">&#x00A0;CB</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">-0.33333</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.6</span><span 
class="pcrr8t-x-x-70">&#x00A0;12</span><span 
class="pcrr8t-x-x-70">&#x00A0;30</span><span 
class="pcrr8t-x-x-70">&#x00A0;4</span><span 
class="pcrr8t-x-x-70">&#x00A0;LB</span><span 
class="pcrr8t-x-x-70">&#x00A0;120\\312</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">EOF</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;120</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sml1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-W1p</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
                                                                                 

                                                                                 
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt*</span>
   </div>__________________________________________________________________________________________________
<!--l. 1027--><p class="indent" >   The script simply draws a graph basemap, computes sine and cosine and plots them as lines, then indicates on a
circle that these quantities are simply the projections of an unit vector on the x- and y-axis, at the given
angle.
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-158002r30"></a>
                                                                                 

                                                                                 
<!--l. 1031--><p class="noindent" ><img 
src="images/example_30.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;7.30: </span><span  
class="content">Trigonometric functions plotted in graph mode.</span></div><!--tex4ht:label?: x1-158002r30 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-158003"></a>
                                                                                 

                                                                                 
                                                                                 

                                                                                 
                                                                                 

                                                                                 
   <h2 class="chapterHead"><span class="titlemark">Chapter&#x00A0;8</span><br /><a 
 id="x1-1590008"></a>Creating GMT Animations</h2>
<!--l. 13--><p class="noindent" >Unlike the previous chapter, in this chapter we will explore what is involved in creating animations (i.e.,
movies). Of course, an animation is nothing more than a series of individual images played back in an
orderly fashion. Here, these images will have been created with <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>. To ensure a smooth transition
from frame to frame we will be following some general guidelines when writing our scripts. Since
there is no &#8220;movie&#8221; mode in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;we must take care of all the book-keeping in our script. Thus,
animations may require a bit of planning and may use more advanced scripting than the previous static
examples. Note: This is a new chapter introduced with the 4.4.0 version and should be considered work in
progress.
</p><!--l. 25--><p class="indent" >   Most, if not all, animation scripts must deal with several specific phases of movie making:
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-159002x1">Define parameters that determine the dimension of the final movie.
   </li>
   <li 
  class="enumerate" id="x1-159004x2">Pre-calculate all variables, data tables, grids, or background map layers that are <span 
class="ptmri8t-">independent </span>of your
   time variable.
   </li>
   <li 
  class="enumerate" id="x1-159006x3">Have a frame-number loop where each frame is created as a <span 
class="ptmri8t-">PostScript</span>&#x00A0;plot, then rasterized to a TIFF
   file of chosen dimension.
   </li>
   <li 
  class="enumerate" id="x1-159008x4">Convert the individual frames to a single movie of suitable format.
   </li>
   <li 
  class="enumerate" id="x1-159010x5">Clean up temporary files and eventually the individual frames.</li></ol>
<!--l. 37--><p class="indent" >   We will discuss these phases in more detail before showing our first example.
   </p><dl class="description"><dt class="description">
<span 
class="ptmb8t-">1.</span> </dt><dd 
class="description">There  are  several  coordinates  that  you  need  to  consider  when  planning  your  movie.  The  first  is
   the coordinates of your data, i.e., the <span 
class="ptmri8t-">user coordinates</span>. As with all <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;plots you will transform
   those to the second set of <span 
class="ptmri8t-">plot coordinates </span>in inches (or cm) by applying a suitable region and map
   projection. As before, you normally do this with a particular paper size in mind. When printed you get
   a high-resolution plot in monochrome or color. However, movies are not device-independent and you
   must finally consider the third set of <span 
class="ptmri8t-">pixel coordinates </span>which specifies the resolution of the final movie.
   We control the frame size by selecting a suitable <span 
class="ptmri8t-">dpi </span>setting that will scale your physical dimensions to
   the desired frame size in pixels. If you decide up front on a particular resolution (e.g., 480 by 320 pixels)
   then you should specify a paper size and <span 
class="ptmri8t-">dpi </span>so that their product yields the desired pixel dimensions.
   For  instance,  here  it  might  make  sense  to  plan  your  plotting  on  a  4.8  by  3.2  inch  &#8220;paper&#8221;  and  use
   100 <span 
class="ptmri8t-">dpi </span>to convert it to pixels, but you are free to use any combination that multiplies to the desired
   dimensions. After deciding on frame size you need to consider how many frames your movie should
   have. This depends on lots of things such as how patient you are, how many frames per second you
   need and the time range of your animation. We recommend you use variables to specify the items that
   go into computing the number of frames so that you can easily test your script with a few frames before
   changing settings and running the full Hollywood production overnight.
   </dd><dt class="description">
<span 
class="ptmb8t-">2.</span> </dt><dd 
class="description">Depending on what you want to display, there are usually many elements that do not change between
   frames. Examples include a coastline base map for background, an overlay of text legends, perhaps
   some variables that hold information that will be used during the movie, and possibly subsets of larger
   data sets. Since movie-making can take a long time if you are ambitious, it is best to compute or plot
   all the elements that can be done outside your main frame-loop rather than waste time doing the same
   thing over and over again. You are then ready for the main loop.
   </dd><dt class="description">
<span 
class="ptmb8t-">3.</span> </dt><dd 
class="description">Initialize a frame counter to 0 and have a loop that continues until your frame counter equals the desired
                                                                                 

                                                                                 
   number of frames. You must use your frame counter to create a unique file name for each frame image
   so that the series of images can be lexically arranged. We recommend using the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;shell function
   <span 
class="ptmbo8t-">gmt_set_framename</span><a 
 id="dx1-159011"></a> to format the frame counter with an adequate number of leading zeros; see our
   examples for details. The bulk of your main loop involves create the single <span 
class="ptmri8t-">PostScript</span>&#x00A0;plot for this
   particular frame (time). This can be trivial or a serious scripting exercise depending on what you want to
   show. We will give a few examples with increasing complexity. Once the <span 
class="ptmri8t-">PostScript</span>&#x00A0;plot is created you
   need to rasterize it; we recommend you use <a 
href="../html/man/ps2raster.html" ><span 
class="phvb8t-">ps2raster</span></a><a 
 id="dx1-159012"></a> to generate a TIFF image at the agreed-upon
   resolution. We also recommend that you place all frame images in a sub-directory. You may increment
   your frame counter using <span 
class="ptmbo8t-">gmt_set_framenext</span><a 
 id="dx1-159013"></a>.
   </dd><dt class="description">
<span 
class="ptmb8t-">4.</span> </dt><dd 
class="description">Once  you  have  all  your  frames  you  are  ready  to  combine  them  into  an  animation.  There  are  two
   general  approaches.  (a)  If  your  image  sequence  is  not  too  long  then  you  can  convert  the  images
   into  a  single  animated  GIF  file.  This  file  can  be  included  in  PowerPoint  presentations  or  placed
   on  a  web  page  and  will  play  back  as  a  movie  by  pausing  the  specified  amount  between  frames,
   optionally  repeating  the  entire  sequence  one  or  more  times.  (b)  For  more  elaborate  projects  you
   will  need  to  convert  the  frames  into  a  proper  movie  format  such  as  MPEG-4.  There  are  both  free
   and  commercial  tools  that  can  help  with  this  conversion  and  they  tend  to  be  platform-specific.
   For  moderate  projects  you  can  use  <span 
class="ptmbo8t-">convert</span><a 
 id="dx1-159014"></a>  to  build  a  MP4  file,  but  longer  movies  will  require  a
   more  flexible  tools,  such  as  <span 
class="ptmbo8t-">ffmpeg</span><a 
 id="dx1-159015"></a>.  These  solutions  are  preferred  as  they  can  be  scripted  and  be
   included in your animation script. Most commercial movie tools such as iMovie or MovieMaker can
   ingest still images and let you specify the frame duration. Under OS X we prefer to use QuickTime
   7.<span class="footnote-mark"><a 
href="#fn30x8" id="fn30x8-bk"><sup class="textsuperscript">30</sup></a></span><a 
 id="x1-159016f30"></a>
   Free tools exist to call the Quicktime library functions from the command line as we prefer to do in
   our scripts. You will find yourself experimenting with compression settings and movie formats so that
   the final movie has the resolution and portability you require.
   </dd><dt class="description">
<span 
class="ptmb8t-">5.</span> </dt><dd 
class="description">Finally, when all is done you should delete any temporary files created. However, since creating the
   frames may take a lot of time it is best to not automatically delete the frame sub directory. That way
   you can redo the frames-to-movie conversion with different settings until you are satisfied.</dd></dl>
<!--l. 108--><p class="indent" >   Note that in our examples below the animation scripts only produce a <span 
class="ptmri8t-">PostScript</span>&#x00A0;plot of the first frame, then
exits. This is to allow our install script to just produce the frame for inclusion in our documentation, and to avoid a
lengthy movie production when installing <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x1E6A;o actually build these animation examples you must run the
scripts with an argument (any argument, it does not matter).
</p>
   <h3 class="sectionHead"><span class="titlemark">8.1    </span> <a 
 id="x1-1600008.1"></a>Animation of the sine function</h3>
<a 
 id="dx1-160001"></a>
<!--l. 117--><p class="noindent" >Our first animation is not very ambitious: We wish to plot the sine function from 0&#8211;360<span 
class="ptmr8c-">°</span>&#x00A0;and take snap shots every
20<span 
class="ptmr8c-">°</span>. To get a smooth curve we must sample the function much more frequently; we settle on 10 times more
frequently than the frame spacing. We place a bright red circle at the leading edge of the curve, and as we move
forward in time (here, angles) we dim the older circles to a dark red color. We add a label that indicates the current
angle value. Once the 18 frames are completed we convert them to a single animated GIF file and write a plain
HTML wrapper with a simple legend. Opening the HTML page <span class="underline">anim01.html</span> in the browser will display the
animation.
</p><!--l. 128--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;ANIMATION</span><span 
class="pcrr8t-x-x-70">&#x00A0;01</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Make</span><span 
class="pcrr8t-x-x-70">&#x00A0;web</span><span 
class="pcrr8t-x-x-70">&#x00A0;page</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span><span 
class="pcrr8t-x-x-70">&#x00A0;simple</span><span 
class="pcrr8t-x-x-70">&#x00A0;animated</span><span 
class="pcrr8t-x-x-70">&#x00A0;GIF</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;sine</span><span 
class="pcrr8t-x-x-70">&#x00A0;function</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmtset,</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmtmath,</span><span 
class="pcrr8t-x-x-70">&#x00A0;psbasemap,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext,</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy,</span><span 
class="pcrr8t-x-x-70">&#x00A0;ps2raster</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;awk,</span><span 
class="pcrr8t-x-x-70">&#x00A0;mkdir,</span><span 
class="pcrr8t-x-x-70">&#x00A0;rm,</span><span 
class="pcrr8t-x-x-70">&#x00A0;mv,</span><span 
class="pcrr8t-x-x-70">&#x00A0;echo,</span><span 
class="pcrr8t-x-x-70">&#x00A0;convert,</span><span 
class="pcrr8t-x-x-70">&#x00A0;cat</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Note:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Run</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span><span 
class="pcrr8t-x-x-70">&#x00A0;any</span><span 
class="pcrr8t-x-x-70">&#x00A0;argument</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;build</span><span 
class="pcrr8t-x-x-70">&#x00A0;movie;</span><span 
class="pcrr8t-x-x-70">&#x00A0;otherwise</span><span 
class="pcrr8t-x-x-70">&#x00A0;1st</span><span 
class="pcrr8t-x-x-70">&#x00A0;frame</span><span 
class="pcrr8t-x-x-70">&#x00A0;is</span><span 
class="pcrr8t-x-x-70">&#x00A0;plotted</span><span 
class="pcrr8t-x-x-70">&#x00A0;only.</span>
                                                                                 

                                                                                 
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;1.</span><span 
class="pcrr8t-x-x-70">&#x00A0;Initialization</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;1a)</span><span 
class="pcrr8t-x-x-70">&#x00A0;Assign</span><span 
class="pcrr8t-x-x-70">&#x00A0;movie</span><span 
class="pcrr8t-x-x-70">&#x00A0;parameters</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">width=4i</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">height=2i</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">dpi=125</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">n_frames=18</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">name=&#8216;basename</span><span 
class="pcrr8t-x-x-70">&#x00A0;$0</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;.sh&#8217;&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;1b)</span><span 
class="pcrr8t-x-x-70">&#x00A0;Do</span><span 
class="pcrr8t-x-x-70">&#x00A0;frame-independent</span><span 
class="pcrr8t-x-x-70">&#x00A0;calculations</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;setup</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">angle_step=&#8216;gmtmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Q</span><span 
class="pcrr8t-x-x-70">&#x00A0;360</span><span 
class="pcrr8t-x-x-70">&#x00A0;$n_frames</span><span 
class="pcrr8t-x-x-70">&#x00A0;DIV</span><span 
class="pcrr8t-x-x-70">&#x00A0;=&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">angle_inc=&#8216;gmtmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Q</span><span 
class="pcrr8t-x-x-70">&#x00A0;$angle_step</span><span 
class="pcrr8t-x-x-70">&#x00A0;10</span><span 
class="pcrr8t-x-x-70">&#x00A0;DIV</span><span 
class="pcrr8t-x-x-70">&#x00A0;=&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;DOTS_PR_INCH</span><span 
class="pcrr8t-x-x-70">&#x00A0;$dpi</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psbasemap</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R0/360/-1.2/1.6</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JX3.5i/1.65i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X0.35i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y0.25i</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ba90g90f30:,-\\312:/a0.5f0.1g1WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgreen</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;--PAPER_MEDIA=Custom_${width}x${height}</span><span 
class="pcrr8t-x-x-70">&#x00A0;--ANNOT_FONT_SIZE=+9p</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.map.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;2.</span><span 
class="pcrr8t-x-x-70">&#x00A0;Main</span><span 
class="pcrr8t-x-x-70">&#x00A0;frame</span><span 
class="pcrr8t-x-x-70">&#x00A0;loop</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">mkdir</span><span 
class="pcrr8t-x-x-70">&#x00A0;-p</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">frame=0</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">while</span><span 
class="pcrr8t-x-x-70">&#x00A0;[</span><span 
class="pcrr8t-x-x-70">&#x00A0;$frame</span><span 
class="pcrr8t-x-x-70">&#x00A0;-le</span><span 
class="pcrr8t-x-x-70">&#x00A0;$n_frames</span><span 
class="pcrr8t-x-x-70">&#x00A0;];</span><span 
class="pcrr8t-x-x-70">&#x00A0;do</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Create</span><span 
class="pcrr8t-x-x-70">&#x00A0;file</span><span 
class="pcrr8t-x-x-70">&#x00A0;name</span><span 
class="pcrr8t-x-x-70">&#x00A0;using</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;name_##.tif</span><span 
class="pcrr8t-x-x-70">&#x00A0;format</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;file=&#8216;gmt_set_framename</span><span 
class="pcrr8t-x-x-70">&#x00A0;$name</span><span 
class="pcrr8t-x-x-70">&#x00A0;$frame&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;cp</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.map.ps</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;angle=&#8216;gmtmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Q</span><span 
class="pcrr8t-x-x-70">&#x00A0;$frame</span><span 
class="pcrr8t-x-x-70">&#x00A0;$angle_step</span><span 
class="pcrr8t-x-x-70">&#x00A0;MUL</span><span 
class="pcrr8t-x-x-70">&#x00A0;=&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;if</span><span 
class="pcrr8t-x-x-70">&#x00A0;[</span><span 
class="pcrr8t-x-x-70">&#x00A0;$frame</span><span 
class="pcrr8t-x-x-70">&#x00A0;-gt</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;];</span><span 
class="pcrr8t-x-x-70">&#x00A0;then</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;#</span><span 
class="pcrr8t-x-x-70">&#x00A0;First</span><span 
class="pcrr8t-x-x-70">&#x00A0;plot</span><span 
class="pcrr8t-x-x-70">&#x00A0;has</span><span 
class="pcrr8t-x-x-70">&#x00A0;no</span><span 
class="pcrr8t-x-x-70">&#x00A0;curves</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Plot</span><span 
class="pcrr8t-x-x-70">&#x00A0;smooth</span><span 
class="pcrr8t-x-x-70">&#x00A0;blue</span><span 
class="pcrr8t-x-x-70">&#x00A0;curve</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;dark</span><span 
class="pcrr8t-x-x-70">&#x00A0;red</span><span 
class="pcrr8t-x-x-70">&#x00A0;dots</span><span 
class="pcrr8t-x-x-70">&#x00A0;at</span><span 
class="pcrr8t-x-x-70">&#x00A0;all</span><span 
class="pcrr8t-x-x-70">&#x00A0;angle</span><span 
class="pcrr8t-x-x-70">&#x00A0;steps</span><span 
class="pcrr8t-x-x-70">&#x00A0;so</span><span 
class="pcrr8t-x-x-70">&#x00A0;far</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmtmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T0/$angle/$angle_inc</span><span 
class="pcrr8t-x-x-70">&#x00A0;T</span><span 
class="pcrr8t-x-x-70">&#x00A0;SIND</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.sin.d</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-W1p,blue</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.sin.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmtmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T0/$angle/$angle_step</span><span 
class="pcrr8t-x-x-70">&#x00A0;T</span><span 
class="pcrr8t-x-x-70">&#x00A0;SIND</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.sin.d</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sc0.1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gdarkred</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.sin.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;fi</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Plot</span><span 
class="pcrr8t-x-x-70">&#x00A0;red</span><span 
class="pcrr8t-x-x-70">&#x00A0;dot</span><span 
class="pcrr8t-x-x-70">&#x00A0;at</span><span 
class="pcrr8t-x-x-70">&#x00A0;current</span><span 
class="pcrr8t-x-x-70">&#x00A0;angle</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;annotate</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;sin=&#8216;gmtmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Q</span><span 
class="pcrr8t-x-x-70">&#x00A0;$angle</span><span 
class="pcrr8t-x-x-70">&#x00A0;SIND</span><span 
class="pcrr8t-x-x-70">&#x00A0;=&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;$angle</span><span 
class="pcrr8t-x-x-70">&#x00A0;$sin</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sc0.1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gred</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;$angle</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;awk</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;{printf</span><span 
class="pcrr8t-x-x-70">&#x00A0;~0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1.6</span><span 
class="pcrr8t-x-x-70">&#x00A0;14</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;LT</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;%3.3d\n~,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$1}&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dj0.1i/0.05i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;if</span><span 
class="pcrr8t-x-x-70">&#x00A0;[</span><span 
class="pcrr8t-x-x-70">&#x00A0;$#</span><span 
class="pcrr8t-x-x-70">&#x00A0;-eq</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;];</span><span 
class="pcrr8t-x-x-70">&#x00A0;then</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;mv</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.ps</span><span 
class="pcrr8t-x-x-70">&#x00A0;../$name.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmt_cleanup</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmt_abort</span><span 
class="pcrr8t-x-x-70">&#x00A0;~$0:</span><span 
class="pcrr8t-x-x-70">&#x00A0;First</span><span 
class="pcrr8t-x-x-70">&#x00A0;frame</span><span 
class="pcrr8t-x-x-70">&#x00A0;plotted</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;$name.ps~</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;fi</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;RIP</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;TIFF</span><span 
class="pcrr8t-x-x-70">&#x00A0;at</span><span 
class="pcrr8t-x-x-70">&#x00A0;specified</span><span 
class="pcrr8t-x-x-70">&#x00A0;dpi</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;ps2raster</span><span 
class="pcrr8t-x-x-70">&#x00A0;-E$dpi</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Tt</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;mv</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.tif</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$/$file.tif</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~Frame</span><span 
class="pcrr8t-x-x-70">&#x00A0;$file</span><span 
class="pcrr8t-x-x-70">&#x00A0;completed~</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;frame=&#8216;gmt_set_framenext</span><span 
class="pcrr8t-x-x-70">&#x00A0;$frame&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">done</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;3.</span><span 
class="pcrr8t-x-x-70">&#x00A0;Create</span><span 
class="pcrr8t-x-x-70">&#x00A0;animated</span><span 
class="pcrr8t-x-x-70">&#x00A0;GIF</span><span 
class="pcrr8t-x-x-70">&#x00A0;file</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;HTML</span><span 
class="pcrr8t-x-x-70">&#x00A0;for</span><span 
class="pcrr8t-x-x-70">&#x00A0;web</span><span 
class="pcrr8t-x-x-70">&#x00A0;page</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">convert</span><span 
class="pcrr8t-x-x-70">&#x00A0;-delay</span><span 
class="pcrr8t-x-x-70">&#x00A0;20</span><span 
class="pcrr8t-x-x-70">&#x00A0;-loop</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$/*.tif</span><span 
class="pcrr8t-x-x-70">&#x00A0;$name.gif</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">cat</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;&#x003C;</span><span 
class="pcrr8t-x-x-70">&#x00A0;END</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$name.html</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;HTML&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;TITLE&#x003E;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;Trigonometry:</span><span 
class="pcrr8t-x-x-70">&#x00A0;The</span><span 
class="pcrr8t-x-x-70">&#x00A0;sine</span><span 
class="pcrr8t-x-x-70">&#x00A0;movie&#x003C;/TITLE&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;BODY</span><span 
class="pcrr8t-x-x-70">&#x00A0;bgcolor=~#ffffff~&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;CENTER&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;H1&#x003E;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;Trigonometry:</span><span 
class="pcrr8t-x-x-70">&#x00A0;The</span><span 
class="pcrr8t-x-x-70">&#x00A0;sine</span><span 
class="pcrr8t-x-x-70">&#x00A0;movie&#x003C;/H1&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;IMG</span><span 
class="pcrr8t-x-x-70">&#x00A0;src=~$name.gif~&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;/CENTER&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;HR&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">We</span><span 
class="pcrr8t-x-x-70">&#x00A0;demonstrate</span><span 
class="pcrr8t-x-x-70">&#x00A0;how</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;sine</span><span 
class="pcrr8t-x-x-70">&#x00A0;function</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;I&#x003E;y</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;sin(a)&#x003C;/I&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;varies</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;I&#x003E;a&#x003C;/I&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;over</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">the</span><span 
class="pcrr8t-x-x-70">&#x00A0;full</span><span 
class="pcrr8t-x-x-70">&#x00A0;360-degree</span><span 
class="pcrr8t-x-x-70">&#x00A0;interval.</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;We</span><span 
class="pcrr8t-x-x-70">&#x00A0;plot</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;bright</span><span 
class="pcrr8t-x-x-70">&#x00A0;red</span><span 
class="pcrr8t-x-x-70">&#x00A0;circle</span><span 
class="pcrr8t-x-x-70">&#x00A0;at</span><span 
class="pcrr8t-x-x-70">&#x00A0;each</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">new</span><span 
class="pcrr8t-x-x-70">&#x00A0;angle,</span><span 
class="pcrr8t-x-x-70">&#x00A0;letting</span><span 
class="pcrr8t-x-x-70">&#x00A0;previous</span><span 
class="pcrr8t-x-x-70">&#x00A0;circles</span><span 
class="pcrr8t-x-x-70">&#x00A0;turn</span><span 
class="pcrr8t-x-x-70">&#x00A0;dark</span><span 
class="pcrr8t-x-x-70">&#x00A0;red.</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;The</span><span 
class="pcrr8t-x-x-70">&#x00A0;underlying</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">sine</span><span 
class="pcrr8t-x-x-70">&#x00A0;curve</span><span 
class="pcrr8t-x-x-70">&#x00A0;is</span><span 
class="pcrr8t-x-x-70">&#x00A0;sampled</span><span 
class="pcrr8t-x-x-70">&#x00A0;at</span><span 
class="pcrr8t-x-x-70">&#x00A0;10</span><span 
class="pcrr8t-x-x-70">&#x00A0;times</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;frame</span><span 
class="pcrr8t-x-x-70">&#x00A0;sampling</span><span 
class="pcrr8t-x-x-70">&#x00A0;rate</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;order</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;reproduce</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">a</span><span 
class="pcrr8t-x-x-70">&#x00A0;smooth</span><span 
class="pcrr8t-x-x-70">&#x00A0;curve.</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Our</span><span 
class="pcrr8t-x-x-70">&#x00A0;animation</span><span 
class="pcrr8t-x-x-70">&#x00A0;uses</span><span 
class="pcrr8t-x-x-70">&#x00A0;Imagemagick&#8217;s</span><span 
class="pcrr8t-x-x-70">&#x00A0;convert</span><span 
class="pcrr8t-x-x-70">&#x00A0;tool</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;make</span><span 
class="pcrr8t-x-x-70">&#x00A0;an</span><span 
class="pcrr8t-x-x-70">&#x00A0;animated</span><span 
class="pcrr8t-x-x-70">&#x00A0;GIF</span><span 
class="pcrr8t-x-x-70">&#x00A0;file</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">with</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.2</span><span 
class="pcrr8t-x-x-70">&#x00A0;second</span><span 
class="pcrr8t-x-x-70">&#x00A0;pause</span><span 
class="pcrr8t-x-x-70">&#x00A0;between</span><span 
class="pcrr8t-x-x-70">&#x00A0;frames,</span><span 
class="pcrr8t-x-x-70">&#x00A0;set</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;repeat</span><span 
class="pcrr8t-x-x-70">&#x00A0;forever.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;HR&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;I&#x003E;$name.sh:</span><span 
class="pcrr8t-x-x-70">&#x00A0;Created</span><span 
class="pcrr8t-x-x-70">&#x00A0;by</span><span 
class="pcrr8t-x-x-70">&#x00A0;$USER</span><span 
class="pcrr8t-x-x-70">&#x00A0;on</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8216;date&#8216;&#x003C;/I&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;/BODY&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;/HTML&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;4.</span><span 
class="pcrr8t-x-x-70">&#x00A0;Clean</span><span 
class="pcrr8t-x-x-70">&#x00A0;up</span><span 
class="pcrr8t-x-x-70">&#x00A0;temporary</span><span 
class="pcrr8t-x-x-70">&#x00A0;files</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;DOTS_PR_INCH</span><span 
class="pcrr8t-x-x-70">&#x00A0;300</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmt_cleanup</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt</span>
   </div>__________________________________________________________________________________________________
<!--l. 130--><p class="indent" >   Make sure you understand the purpose of all the steps in our script. In this case we did some trial-and-error to
determine the exact values to use for the map projection, the region, the spacing around the frame, etc. so that the
final result gave a reasonable layout. Do this planning on a single <span 
class="ptmri8t-">PostScript</span>&#x00A0;plot before running a lengthy
animation script.
</p>
                                                                                 

                                                                                 
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-160002r1"></a>
                                                                                 

                                                                                 
<!--l. 136--><p class="noindent" ><img 
src="images/anim_01.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;8.1: </span><span  
class="content">Animation of a simple sine function.</span></div><!--tex4ht:label?: x1-160002r1 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-160003"></a>
   <h3 class="sectionHead"><span class="titlemark">8.2    </span> <a 
 id="x1-1610008.2"></a>Examining DEMs using variable illumination</h3>
<a 
 id="dx1-161001"></a>
<!--l. 143--><p class="noindent" >Our next animation uses a gridded topography for parts of Colorado (US); the file is distributed with the tutorial
examples. Here, we want to use <a 
href="../html/man/grdimage.html" ><span 
class="phvb8t-">grdimage</span></a><a 
 id="dx1-161002"></a> to generate a shaded-relief image sequence in which we sweep the
illumination azimuth around the entire horizon. The resulting animation illustrates how changing the illumination
azimuth can bring out subtle features (or artifacts) in the gridded data. The red arrow points in the direction of the
illumination.
</p><!--l. 151--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;ANIMATION</span><span 
class="pcrr8t-x-x-70">&#x00A0;02</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Make</span><span 
class="pcrr8t-x-x-70">&#x00A0;web</span><span 
class="pcrr8t-x-x-70">&#x00A0;page</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span><span 
class="pcrr8t-x-x-70">&#x00A0;simple</span><span 
class="pcrr8t-x-x-70">&#x00A0;animated</span><span 
class="pcrr8t-x-x-70">&#x00A0;GIF</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;DEM</span><span 
class="pcrr8t-x-x-70">&#x00A0;grid</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmtset,</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmtmath,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdgradient,</span><span 
class="pcrr8t-x-x-70">&#x00A0;makecpt,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdimage</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy,</span><span 
class="pcrr8t-x-x-70">&#x00A0;ps2raster</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;awk,</span><span 
class="pcrr8t-x-x-70">&#x00A0;mkdir,</span><span 
class="pcrr8t-x-x-70">&#x00A0;rm,</span><span 
class="pcrr8t-x-x-70">&#x00A0;mv,</span><span 
class="pcrr8t-x-x-70">&#x00A0;echo,</span><span 
class="pcrr8t-x-x-70">&#x00A0;convert,</span><span 
class="pcrr8t-x-x-70">&#x00A0;cat</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Note:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Run</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span><span 
class="pcrr8t-x-x-70">&#x00A0;any</span><span 
class="pcrr8t-x-x-70">&#x00A0;argument</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;build</span><span 
class="pcrr8t-x-x-70">&#x00A0;movie;</span><span 
class="pcrr8t-x-x-70">&#x00A0;otherwise</span><span 
class="pcrr8t-x-x-70">&#x00A0;1st</span><span 
class="pcrr8t-x-x-70">&#x00A0;frame</span><span 
class="pcrr8t-x-x-70">&#x00A0;is</span><span 
class="pcrr8t-x-x-70">&#x00A0;plotted</span><span 
class="pcrr8t-x-x-70">&#x00A0;only.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;1.</span><span 
class="pcrr8t-x-x-70">&#x00A0;Initialization</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;1a)</span><span 
class="pcrr8t-x-x-70">&#x00A0;Assign</span><span 
class="pcrr8t-x-x-70">&#x00A0;movie</span><span 
class="pcrr8t-x-x-70">&#x00A0;parameters</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">width=3.5i</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">height=4.15i</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">dpi=72</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">n_frames=36</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">TDIR=../../tutorial</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">name=&#8216;basename</span><span 
class="pcrr8t-x-x-70">&#x00A0;$0</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;.sh&#8217;&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;1b)</span><span 
class="pcrr8t-x-x-70">&#x00A0;setup</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">del_angle=&#8216;gmtmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Q</span><span 
class="pcrr8t-x-x-70">&#x00A0;360</span><span 
class="pcrr8t-x-x-70">&#x00A0;$n_frames</span><span 
class="pcrr8t-x-x-70">&#x00A0;DIV</span><span 
class="pcrr8t-x-x-70">&#x00A0;=&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">makecpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Crainbow</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T500/4500/500</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Z</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.cpt</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;DOTS_PR_INCH</span><span 
class="pcrr8t-x-x-70">&#x00A0;$dpi</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">R=&#8216;gmt_get_gridregion</span><span 
class="pcrr8t-x-x-70">&#x00A0;$TDIR/us.nc&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;2.</span><span 
class="pcrr8t-x-x-70">&#x00A0;Main</span><span 
class="pcrr8t-x-x-70">&#x00A0;loop</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">mkdir</span><span 
class="pcrr8t-x-x-70">&#x00A0;-p</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">frame=0</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">while</span><span 
class="pcrr8t-x-x-70">&#x00A0;[</span><span 
class="pcrr8t-x-x-70">&#x00A0;$frame</span><span 
class="pcrr8t-x-x-70">&#x00A0;-lt</span><span 
class="pcrr8t-x-x-70">&#x00A0;$n_frames</span><span 
class="pcrr8t-x-x-70">&#x00A0;];</span><span 
class="pcrr8t-x-x-70">&#x00A0;do</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Create</span><span 
class="pcrr8t-x-x-70">&#x00A0;file</span><span 
class="pcrr8t-x-x-70">&#x00A0;name</span><span 
class="pcrr8t-x-x-70">&#x00A0;using</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;name_##.tif</span><span 
class="pcrr8t-x-x-70">&#x00A0;format</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;file=&#8216;gmt_set_framename</span><span 
class="pcrr8t-x-x-70">&#x00A0;$name</span><span 
class="pcrr8t-x-x-70">&#x00A0;$frame&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;angle=&#8216;gmtmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Q</span><span 
class="pcrr8t-x-x-70">&#x00A0;$frame</span><span 
class="pcrr8t-x-x-70">&#x00A0;$del_angle</span><span 
class="pcrr8t-x-x-70">&#x00A0;MUL</span><span 
class="pcrr8t-x-x-70">&#x00A0;=&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;dir=&#8216;gmtmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Q</span><span 
class="pcrr8t-x-x-70">&#x00A0;$angle</span><span 
class="pcrr8t-x-x-70">&#x00A0;180</span><span 
class="pcrr8t-x-x-70">&#x00A0;ADD</span><span 
class="pcrr8t-x-x-70">&#x00A0;=&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdgradient</span><span 
class="pcrr8t-x-x-70">&#x00A0;$TDIR/us.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A$angle</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Nt2</span><span 
class="pcrr8t-x-x-70">&#x00A0;-M</span><span 
class="pcrr8t-x-x-70">&#x00A0;-G$$.us_int.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdimage</span><span 
class="pcrr8t-x-x-70">&#x00A0;$TDIR/us.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I$$.us_int.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JM3i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C$$.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B1WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X0.35i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y0.3i</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;--PAPER_MEDIA=Custom_${width}x${height}</span><span 
class="pcrr8t-x-x-70">&#x00A0;--ANNOT_FONT_SIZE=+9p</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;256.25</span><span 
class="pcrr8t-x-x-70">&#x00A0;35.6</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R$R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sc0.8i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthin</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;256.25</span><span 
class="pcrr8t-x-x-70">&#x00A0;35.6</span><span 
class="pcrr8t-x-x-70">&#x00A0;$dir</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.37</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R$R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sv0.02i/0.05i/0.05i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gred</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthin</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;if</span><span 
class="pcrr8t-x-x-70">&#x00A0;[</span><span 
class="pcrr8t-x-x-70">&#x00A0;$#</span><span 
class="pcrr8t-x-x-70">&#x00A0;-eq</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;];</span><span 
class="pcrr8t-x-x-70">&#x00A0;then</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;mv</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.ps</span><span 
class="pcrr8t-x-x-70">&#x00A0;../$name.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmt_cleanup</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmt_abort</span><span 
class="pcrr8t-x-x-70">&#x00A0;~$0:</span><span 
class="pcrr8t-x-x-70">&#x00A0;First</span><span 
class="pcrr8t-x-x-70">&#x00A0;frame</span><span 
class="pcrr8t-x-x-70">&#x00A0;plotted</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;$name.ps~</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;fi</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;RIP</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;TIFF</span><span 
class="pcrr8t-x-x-70">&#x00A0;at</span><span 
class="pcrr8t-x-x-70">&#x00A0;specified</span><span 
class="pcrr8t-x-x-70">&#x00A0;dpi</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;ps2raster</span><span 
class="pcrr8t-x-x-70">&#x00A0;-E$dpi</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Tt</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;mv</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.tif</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$/$file.tif</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~Frame</span><span 
class="pcrr8t-x-x-70">&#x00A0;$file</span><span 
class="pcrr8t-x-x-70">&#x00A0;completed~</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;frame=&#8216;gmt_set_framenext</span><span 
class="pcrr8t-x-x-70">&#x00A0;$frame&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">done</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;3.</span><span 
class="pcrr8t-x-x-70">&#x00A0;Create</span><span 
class="pcrr8t-x-x-70">&#x00A0;animated</span><span 
class="pcrr8t-x-x-70">&#x00A0;GIF</span><span 
class="pcrr8t-x-x-70">&#x00A0;file</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;HTML</span><span 
class="pcrr8t-x-x-70">&#x00A0;for</span><span 
class="pcrr8t-x-x-70">&#x00A0;web</span><span 
class="pcrr8t-x-x-70">&#x00A0;page</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">convert</span><span 
class="pcrr8t-x-x-70">&#x00A0;-delay</span><span 
class="pcrr8t-x-x-70">&#x00A0;10</span><span 
class="pcrr8t-x-x-70">&#x00A0;-loop</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$/*.tif</span><span 
class="pcrr8t-x-x-70">&#x00A0;$name.gif</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">cat</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;&#x003C;</span><span 
class="pcrr8t-x-x-70">&#x00A0;END</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$name.html</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;HTML&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;TITLE&#x003E;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;shading:</span><span 
class="pcrr8t-x-x-70">&#x00A0;A</span><span 
class="pcrr8t-x-x-70">&#x00A0;tool</span><span 
class="pcrr8t-x-x-70">&#x00A0;for</span><span 
class="pcrr8t-x-x-70">&#x00A0;feature</span><span 
class="pcrr8t-x-x-70">&#x00A0;detection&#x003C;/TITLE&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;BODY</span><span 
class="pcrr8t-x-x-70">&#x00A0;bgcolor=~#ffffff~&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;CENTER&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;H1&#x003E;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;shading:</span><span 
class="pcrr8t-x-x-70">&#x00A0;A</span><span 
class="pcrr8t-x-x-70">&#x00A0;tool</span><span 
class="pcrr8t-x-x-70">&#x00A0;for</span><span 
class="pcrr8t-x-x-70">&#x00A0;feature</span><span 
class="pcrr8t-x-x-70">&#x00A0;detection&#x003C;/H1&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;IMG</span><span 
class="pcrr8t-x-x-70">&#x00A0;src=~$name.gif~&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;/CENTER&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;HR&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">We</span><span 
class="pcrr8t-x-x-70">&#x00A0;make</span><span 
class="pcrr8t-x-x-70">&#x00A0;illuminated</span><span 
class="pcrr8t-x-x-70">&#x00A0;images</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;topography</span><span 
class="pcrr8t-x-x-70">&#x00A0;from</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;section</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;Colorado</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">vary</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;azimuth</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;illumination</span><span 
class="pcrr8t-x-x-70">&#x00A0;(see</span><span 
class="pcrr8t-x-x-70">&#x00A0;arrow).</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;As</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;light-source</span><span 
class="pcrr8t-x-x-70">&#x00A0;sweeps</span><span 
class="pcrr8t-x-x-70">&#x00A0;around</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">the</span><span 
class="pcrr8t-x-x-70">&#x00A0;area</span><span 
class="pcrr8t-x-x-70">&#x00A0;over</span><span 
class="pcrr8t-x-x-70">&#x00A0;360</span><span 
class="pcrr8t-x-x-70">&#x00A0;degrees</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;notice</span><span 
class="pcrr8t-x-x-70">&#x00A0;that</span><span 
class="pcrr8t-x-x-70">&#x00A0;different</span><span 
class="pcrr8t-x-x-70">&#x00A0;features</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;data</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">become</span><span 
class="pcrr8t-x-x-70">&#x00A0;hightlighted.</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;This</span><span 
class="pcrr8t-x-x-70">&#x00A0;is</span><span 
class="pcrr8t-x-x-70">&#x00A0;because</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;illumination</span><span 
class="pcrr8t-x-x-70">&#x00A0;is</span><span 
class="pcrr8t-x-x-70">&#x00A0;based</span><span 
class="pcrr8t-x-x-70">&#x00A0;on</span><span 
class="pcrr8t-x-x-70">&#x00A0;data</span>
                                                                                 

                                                                                 
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gradients</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;such</span><span 
class="pcrr8t-x-x-70">&#x00A0;derivatives</span><span 
class="pcrr8t-x-x-70">&#x00A0;will</span><span 
class="pcrr8t-x-x-70">&#x00A0;high-light</span><span 
class="pcrr8t-x-x-70">&#x00A0;short-wavelength</span><span 
class="pcrr8t-x-x-70">&#x00A0;signal.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">Again,</span><span 
class="pcrr8t-x-x-70">&#x00A0;our</span><span 
class="pcrr8t-x-x-70">&#x00A0;animation</span><span 
class="pcrr8t-x-x-70">&#x00A0;uses</span><span 
class="pcrr8t-x-x-70">&#x00A0;Imagemagick&#8217;s</span><span 
class="pcrr8t-x-x-70">&#x00A0;convert</span><span 
class="pcrr8t-x-x-70">&#x00A0;tool</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;make</span><span 
class="pcrr8t-x-x-70">&#x00A0;an</span><span 
class="pcrr8t-x-x-70">&#x00A0;animated</span><span 
class="pcrr8t-x-x-70">&#x00A0;GIF</span><span 
class="pcrr8t-x-x-70">&#x00A0;file</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">with</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.1</span><span 
class="pcrr8t-x-x-70">&#x00A0;second</span><span 
class="pcrr8t-x-x-70">&#x00A0;pause</span><span 
class="pcrr8t-x-x-70">&#x00A0;between</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;36</span><span 
class="pcrr8t-x-x-70">&#x00A0;frames.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;HR&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;I&#x003E;$name.sh:</span><span 
class="pcrr8t-x-x-70">&#x00A0;Created</span><span 
class="pcrr8t-x-x-70">&#x00A0;by</span><span 
class="pcrr8t-x-x-70">&#x00A0;$USER</span><span 
class="pcrr8t-x-x-70">&#x00A0;on</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8216;date&#8216;&#x003C;/I&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;/BODY&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;/HTML&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;4.</span><span 
class="pcrr8t-x-x-70">&#x00A0;Clean</span><span 
class="pcrr8t-x-x-70">&#x00A0;up</span><span 
class="pcrr8t-x-x-70">&#x00A0;temporary</span><span 
class="pcrr8t-x-x-70">&#x00A0;files</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;DOTS_PR_INCH</span><span 
class="pcrr8t-x-x-70">&#x00A0;300</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmt_cleanup</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt</span>
   </div>__________________________________________________________________________________________________
<!--l. 153--><p class="indent" >   As you can see, these sorts of animations are not terribly difficult to put together, especially since our vantage
point is fixed. In the next example we will move the &#8220;camera&#8221; around and must therefore deal with how to frame
perspective views.
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-161003r2"></a>
                                                                                 

                                                                                 
<!--l. 158--><p class="noindent" ><img 
src="images/anim_02.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;8.2: </span><span  
class="content">Animation of a DEM using variable illumination.</span></div><!--tex4ht:label?: x1-161003r2 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-161004"></a>
   <h3 class="sectionHead"><span class="titlemark">8.3    </span> <a 
 id="x1-1620008.3"></a>Orbiting a static map</h3>
<a 
 id="dx1-162001"></a>
<!--l. 165--><p class="noindent" >Our third animation keeps a fixed gridded data set but moves the camera angle around the full 360<span 
class="ptmr8c-">°</span>. We use
<a 
href="../html/man/grdview.html" ><span 
class="phvb8t-">grdview</span></a><a 
 id="dx1-162002"></a> to generate a shaded-relief image sequence using the new enhanced <span 
class="pcrb8t-">-E </span>option. No additional information
is plotted on the image. As before we produce an animated GIF image and a simple HTML wrapper for
it.
</p><!--l. 171--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;ANIMATION</span><span 
class="pcrr8t-x-x-70">&#x00A0;03</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Make</span><span 
class="pcrr8t-x-x-70">&#x00A0;web</span><span 
class="pcrr8t-x-x-70">&#x00A0;page</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span><span 
class="pcrr8t-x-x-70">&#x00A0;simple</span><span 
class="pcrr8t-x-x-70">&#x00A0;animated</span><span 
class="pcrr8t-x-x-70">&#x00A0;GIF</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;Iceland</span><span 
class="pcrr8t-x-x-70">&#x00A0;topo</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmtset,</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmtmath,</span><span 
class="pcrr8t-x-x-70">&#x00A0;psbasemap,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext,</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy,</span><span 
class="pcrr8t-x-x-70">&#x00A0;ps2raster</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;awk,</span><span 
class="pcrr8t-x-x-70">&#x00A0;mkdir,</span><span 
class="pcrr8t-x-x-70">&#x00A0;rm,</span><span 
class="pcrr8t-x-x-70">&#x00A0;mv,</span><span 
class="pcrr8t-x-x-70">&#x00A0;echo,</span><span 
class="pcrr8t-x-x-70">&#x00A0;convert,</span><span 
class="pcrr8t-x-x-70">&#x00A0;cat</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Note:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Run</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span><span 
class="pcrr8t-x-x-70">&#x00A0;any</span><span 
class="pcrr8t-x-x-70">&#x00A0;argument</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;build</span><span 
class="pcrr8t-x-x-70">&#x00A0;movie;</span><span 
class="pcrr8t-x-x-70">&#x00A0;otherwise</span><span 
class="pcrr8t-x-x-70">&#x00A0;1st</span><span 
class="pcrr8t-x-x-70">&#x00A0;frame</span><span 
class="pcrr8t-x-x-70">&#x00A0;is</span><span 
class="pcrr8t-x-x-70">&#x00A0;plotted</span><span 
class="pcrr8t-x-x-70">&#x00A0;only.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;1.</span><span 
class="pcrr8t-x-x-70">&#x00A0;Initialization</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;1a)</span><span 
class="pcrr8t-x-x-70">&#x00A0;Assign</span><span 
class="pcrr8t-x-x-70">&#x00A0;movie</span><span 
class="pcrr8t-x-x-70">&#x00A0;parameters</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">lon=-20</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">lat=65</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">dpi=100</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">x0=1.5</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">y0=0.75</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">px=4</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">py=2.5</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">el=35</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">az=0</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">name=&#8216;basename</span><span 
class="pcrr8t-x-x-70">&#x00A0;$0</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;.sh&#8217;&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">mkdir</span><span 
class="pcrr8t-x-x-70">&#x00A0;-p</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;DOTS_PR_INCH</span><span 
class="pcrr8t-x-x-70">&#x00A0;$dpi</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">frame=0</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdclip</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sb0/-1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-G$$_above.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;Iceland.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdgradient</span><span 
class="pcrr8t-x-x-70">&#x00A0;-M</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A45</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Nt1</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$_above.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-G$$.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">makecpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Crelief</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Z</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.cpt</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">while</span><span 
class="pcrr8t-x-x-70">&#x00A0;[</span><span 
class="pcrr8t-x-x-70">&#x00A0;$az</span><span 
class="pcrr8t-x-x-70">&#x00A0;-lt</span><span 
class="pcrr8t-x-x-70">&#x00A0;360</span><span 
class="pcrr8t-x-x-70">&#x00A0;];</span><span 
class="pcrr8t-x-x-70">&#x00A0;do</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;file=&#8216;gmt_set_framename</span><span 
class="pcrr8t-x-x-70">&#x00A0;$name</span><span 
class="pcrr8t-x-x-70">&#x00A0;$frame&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;if</span><span 
class="pcrr8t-x-x-70">&#x00A0;[</span><span 
class="pcrr8t-x-x-70">&#x00A0;$#</span><span 
class="pcrr8t-x-x-70">&#x00A0;-eq</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;];</span><span 
class="pcrr8t-x-x-70">&#x00A0;then</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;#</span><span 
class="pcrr8t-x-x-70">&#x00A0;If</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;single</span><span 
class="pcrr8t-x-x-70">&#x00A0;frame</span><span 
class="pcrr8t-x-x-70">&#x00A0;is</span><span 
class="pcrr8t-x-x-70">&#x00A0;requested</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;pick</span><span 
class="pcrr8t-x-x-70">&#x00A0;this</span><span 
class="pcrr8t-x-x-70">&#x00A0;view</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;az=135</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;fi</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdview</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$_above.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JM2.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C$$.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Qi$dpi</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B5g10/5g5</span><span 
class="pcrr8t-x-x-70">&#x00A0;-E$az/${el}+w$lon/${lat}+v$x0/$y0</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X0.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y0.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;--PAPER_MEDIA=Custom_${px}ix${py}i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;if</span><span 
class="pcrr8t-x-x-70">&#x00A0;[</span><span 
class="pcrr8t-x-x-70">&#x00A0;$#</span><span 
class="pcrr8t-x-x-70">&#x00A0;-eq</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;];</span><span 
class="pcrr8t-x-x-70">&#x00A0;then</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;mv</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.ps</span><span 
class="pcrr8t-x-x-70">&#x00A0;../$name.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmt_cleanup</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmt_abort</span><span 
class="pcrr8t-x-x-70">&#x00A0;~$0:</span><span 
class="pcrr8t-x-x-70">&#x00A0;First</span><span 
class="pcrr8t-x-x-70">&#x00A0;frame</span><span 
class="pcrr8t-x-x-70">&#x00A0;plotted</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;$name.ps~</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;fi</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;ps2raster</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.ps</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Tt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-E$dpi</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;mv</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.tif</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$/$file.tif</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;az=&#8216;expr</span><span 
class="pcrr8t-x-x-70">&#x00A0;$az</span><span 
class="pcrr8t-x-x-70">&#x00A0;+</span><span 
class="pcrr8t-x-x-70">&#x00A0;5&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~Frame</span><span 
class="pcrr8t-x-x-70">&#x00A0;$file</span><span 
class="pcrr8t-x-x-70">&#x00A0;completed~</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;frame=&#8216;gmt_set_framenext</span><span 
class="pcrr8t-x-x-70">&#x00A0;$frame&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">done</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">convert</span><span 
class="pcrr8t-x-x-70">&#x00A0;-delay</span><span 
class="pcrr8t-x-x-70">&#x00A0;10</span><span 
class="pcrr8t-x-x-70">&#x00A0;-loop</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$/*.tif</span><span 
class="pcrr8t-x-x-70">&#x00A0;$name.gif</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">cat</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;&#x003C;</span><span 
class="pcrr8t-x-x-70">&#x00A0;END</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$name.html</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;HTML&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;TITLE&#x003E;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;3-D</span><span 
class="pcrr8t-x-x-70">&#x00A0;perspective</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;Iceland&#x003C;/TITLE&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;BODY</span><span 
class="pcrr8t-x-x-70">&#x00A0;bgcolor=~#ffffff~&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;CENTER&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;H1&#x003E;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;3-D</span><span 
class="pcrr8t-x-x-70">&#x00A0;perspective</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;Iceland&#x003C;/H1&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;IMG</span><span 
class="pcrr8t-x-x-70">&#x00A0;src=~$name.gif~</span><span 
class="pcrr8t-x-x-70">&#x00A0;border=1&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;/CENTER&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;HR&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">Here</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;show</span><span 
class="pcrr8t-x-x-70">&#x00A0;ETOPO2</span><span 
class="pcrr8t-x-x-70">&#x00A0;topography</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;Iceland</span><span 
class="pcrr8t-x-x-70">&#x00A0;as</span><span 
class="pcrr8t-x-x-70">&#x00A0;we</span><span 
class="pcrr8t-x-x-70">&#x00A0;move</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;view</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">point</span><span 
class="pcrr8t-x-x-70">&#x00A0;around</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;island.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;I&#x003E;$name.sh:</span><span 
class="pcrr8t-x-x-70">&#x00A0;Created</span><span 
class="pcrr8t-x-x-70">&#x00A0;by</span><span 
class="pcrr8t-x-x-70">&#x00A0;$USER</span><span 
class="pcrr8t-x-x-70">&#x00A0;on</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8216;date&#8216;&#x003C;/I&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;/BODY&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x003C;/HTML&#x003E;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;4.</span><span 
class="pcrr8t-x-x-70">&#x00A0;Clean</span><span 
class="pcrr8t-x-x-70">&#x00A0;up</span><span 
class="pcrr8t-x-x-70">&#x00A0;temporary</span><span 
class="pcrr8t-x-x-70">&#x00A0;files</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;DOTS_PR_INCH</span><span 
class="pcrr8t-x-x-70">&#x00A0;300</span>
                                                                                 

                                                                                 
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmt_cleanup</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt</span>
   </div>__________________________________________________________________________________________________
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-162003r3"></a>
                                                                                 

                                                                                 
<!--l. 173--><p class="noindent" ><img 
src="images/anim_03.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;8.3: </span><span  
class="content">Orbiting a static map.</span></div><!--tex4ht:label?: x1-162003r3 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-162004"></a>
   <h3 class="sectionHead"><span class="titlemark">8.4    </span> <a 
 id="x1-1630008.4"></a>Flying over topography</h3>
<a 
 id="dx1-163001"></a>
<!--l. 180--><p class="noindent" >Our next animation simulates what an imaginary satellite might see as it passes in a great circle from New York to
Miami at an altitude of 160 km. We use the general perspective view projection with <a 
href="../html/man/grdimage.html" ><span 
class="phvb8t-">grdimage</span></a><a 
 id="dx1-163002"></a> and use <a 
href="../html/man/project.html" ><span 
class="phvb8t-">project</span></a><a 
 id="dx1-163003"></a>
to create a great circle path between the two cities, sampled every 5 km. The main part of the script will make the
DVD-quality frames from different view points, draw the path on the ground, and add frame numbers to each frame. As
this animation generates 355 frames we can use 3rd party tools to turn the image sequence into a MPEG-4
movie<span class="footnote-mark"><a 
href="#fn31x8" id="fn31x8-bk"><sup class="textsuperscript">31</sup></a></span><a 
 id="x1-163004f31"></a>.
Note: At the moment, <a 
href="../html/man/grdview.html" ><span 
class="phvb8t-">grdview</span></a><a 
 id="dx1-163005"></a> cannot use general perspective view projection to allow &#8220;fly-through&#8221; animations
like Fledermaus; we expect to add this functionality in a future version.
</p><!--l. 192--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;ANIMATION</span><span 
class="pcrr8t-x-x-70">&#x00A0;04</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Make</span><span 
class="pcrr8t-x-x-70">&#x00A0;DVD-res</span><span 
class="pcrr8t-x-x-70">&#x00A0;MP4</span><span 
class="pcrr8t-x-x-70">&#x00A0;movie</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;NY</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;Miami</span><span 
class="pcrr8t-x-x-70">&#x00A0;flight</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmtset,</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmtmath,</span><span 
class="pcrr8t-x-x-70">&#x00A0;psbasemap,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext,</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy,</span><span 
class="pcrr8t-x-x-70">&#x00A0;ps2raster</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;awk,</span><span 
class="pcrr8t-x-x-70">&#x00A0;mkdir,</span><span 
class="pcrr8t-x-x-70">&#x00A0;rm,</span><span 
class="pcrr8t-x-x-70">&#x00A0;mv,</span><span 
class="pcrr8t-x-x-70">&#x00A0;echo,</span><span 
class="pcrr8t-x-x-70">&#x00A0;qt_export,</span><span 
class="pcrr8t-x-x-70">&#x00A0;cat</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Note:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Run</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span><span 
class="pcrr8t-x-x-70">&#x00A0;any</span><span 
class="pcrr8t-x-x-70">&#x00A0;argument</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;build</span><span 
class="pcrr8t-x-x-70">&#x00A0;movie;</span><span 
class="pcrr8t-x-x-70">&#x00A0;otherwise</span><span 
class="pcrr8t-x-x-70">&#x00A0;1st</span><span 
class="pcrr8t-x-x-70">&#x00A0;frame</span><span 
class="pcrr8t-x-x-70">&#x00A0;is</span><span 
class="pcrr8t-x-x-70">&#x00A0;plotted</span><span 
class="pcrr8t-x-x-70">&#x00A0;only.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;1.</span><span 
class="pcrr8t-x-x-70">&#x00A0;Initialization</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;1a)</span><span 
class="pcrr8t-x-x-70">&#x00A0;Assign</span><span 
class="pcrr8t-x-x-70">&#x00A0;movie</span><span 
class="pcrr8t-x-x-70">&#x00A0;parameters</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">REGION=-Rg</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">altitude=160.0</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">tilt=55</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">azimuth=210</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">twist=0</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">Width=36.0</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">Height=34.0</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">px=7.2</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">py=4.8</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">dpi=100</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">name=&#8216;basename</span><span 
class="pcrr8t-x-x-70">&#x00A0;$0</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;.sh&#8217;&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Set</span><span 
class="pcrr8t-x-x-70">&#x00A0;up</span><span 
class="pcrr8t-x-x-70">&#x00A0;flight</span><span 
class="pcrr8t-x-x-70">&#x00A0;path</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">project</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C-73.8333/40.75</span><span 
class="pcrr8t-x-x-70">&#x00A0;-E-80.133/25.75</span><span 
class="pcrr8t-x-x-70">&#x00A0;-G5</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Q</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.path.d</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">frame=0</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">mkdir</span><span 
class="pcrr8t-x-x-70">&#x00A0;-p</span><span 
class="pcrr8t-x-x-70">&#x00A0;frames</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdgradient</span><span 
class="pcrr8t-x-x-70">&#x00A0;USEast_Coast.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A90</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Nt1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-G$$_int.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">makecpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cglobe</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Z</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.cpt</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">while</span><span 
class="pcrr8t-x-x-70">&#x00A0;read</span><span 
class="pcrr8t-x-x-70">&#x00A0;lon</span><span 
class="pcrr8t-x-x-70">&#x00A0;lat</span><span 
class="pcrr8t-x-x-70">&#x00A0;dist;</span><span 
class="pcrr8t-x-x-70">&#x00A0;do</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;file=&#8216;gmt_set_framename</span><span 
class="pcrr8t-x-x-70">&#x00A0;$name</span><span 
class="pcrr8t-x-x-70">&#x00A0;$frame&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;ID=&#8216;echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;$frame</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;awk</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;{printf</span><span 
class="pcrr8t-x-x-70">&#x00A0;~%4.4d\n~,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$1}&#8217;&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdimage</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JG${lon}/${lat}/${altitude}/${azimuth}/${tilt}/${twist}/${Width}/${Height}/7i+</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$REGION</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Y0.1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-X0.1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;USEast_Coast.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I$$_int.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C$$.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;--PAPER_MEDIA=Custom_${px}ix${py}i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-W1p</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.path.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;4.6</span><span 
class="pcrr8t-x-x-70">&#x00A0;14</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;TL</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ID</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R0/$px/0/$py</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Jx1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;if</span><span 
class="pcrr8t-x-x-70">&#x00A0;[</span><span 
class="pcrr8t-x-x-70">&#x00A0;$#</span><span 
class="pcrr8t-x-x-70">&#x00A0;-eq</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;];</span><span 
class="pcrr8t-x-x-70">&#x00A0;then</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;mv</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.ps</span><span 
class="pcrr8t-x-x-70">&#x00A0;../$name.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmt_cleanup</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmt_abort</span><span 
class="pcrr8t-x-x-70">&#x00A0;~$0:</span><span 
class="pcrr8t-x-x-70">&#x00A0;First</span><span 
class="pcrr8t-x-x-70">&#x00A0;frame</span><span 
class="pcrr8t-x-x-70">&#x00A0;plotted</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;$name.ps~</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;fi</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;ps2raster</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.ps</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Tt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-E$dpi</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;mv</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.tif</span><span 
class="pcrr8t-x-x-70">&#x00A0;frames/$file.tif</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~Frame</span><span 
class="pcrr8t-x-x-70">&#x00A0;$file</span><span 
class="pcrr8t-x-x-70">&#x00A0;completed~</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;frame=&#8216;gmt_set_framenext</span><span 
class="pcrr8t-x-x-70">&#x00A0;$frame&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">done</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$.path.d</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">if</span><span 
class="pcrr8t-x-x-70">&#x00A0;[</span><span 
class="pcrr8t-x-x-70">&#x00A0;$#</span><span 
class="pcrr8t-x-x-70">&#x00A0;-eq</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;];</span><span 
class="pcrr8t-x-x-70">&#x00A0;then</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;~anim_04.sh:</span><span 
class="pcrr8t-x-x-70">&#x00A0;Made</span><span 
class="pcrr8t-x-x-70">&#x00A0;$frame</span><span 
class="pcrr8t-x-x-70">&#x00A0;frames</span><span 
class="pcrr8t-x-x-70">&#x00A0;at</span><span 
class="pcrr8t-x-x-70">&#x00A0;480x720</span><span 
class="pcrr8t-x-x-70">&#x00A0;pixels</span><span 
class="pcrr8t-x-x-70">&#x00A0;placed</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;subdirectory</span><span 
class="pcrr8t-x-x-70">&#x00A0;frames~</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;convert</span><span 
class="pcrr8t-x-x-70">&#x00A0;$$/anim_0_123456.tiff</span><span 
class="pcrr8t-x-x-70">&#x00A0;${name}_movie.m4v</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">fi</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;4.</span><span 
class="pcrr8t-x-x-70">&#x00A0;Clean</span><span 
class="pcrr8t-x-x-70">&#x00A0;up</span><span 
class="pcrr8t-x-x-70">&#x00A0;temporary</span><span 
class="pcrr8t-x-x-70">&#x00A0;files</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;DOTS_PR_INCH</span><span 
class="pcrr8t-x-x-70">&#x00A0;300</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmt_cleanup</span><span 
class="pcrr8t-x-x-70">&#x00A0;.gmt</span>
   </div>__________________________________________________________________________________________________
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-163006r4"></a>
                                                                                 

                                                                                 
<!--l. 194--><p class="noindent" ><img 
src="images/anim_04.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;8.4: </span><span  
class="content">Flying over topography.</span></div><!--tex4ht:label?: x1-163006r4 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-163007"></a>
                                                                                 

                                                                                 
                                                                                 

                                                                                 
                                                                                 

                                                                                 
   <h2 class="chapterHead"><span class="titlemark">Chapter&#x00A0;9</span><br /><a 
 id="x1-1640009"></a>Mailing lists, updates, and bug reports</h2>
<a 
 id="dx1-164001"></a>
<a 
 id="dx1-164002"></a>
<!--l. 15--><p class="noindent" >Most public-domain (and even commercial) software comes with bugs, and the speed with which such bugs are
detected and removed depends to a large degree on the willingness of the user community to report these to us in a
useful manner. When your car breaks down, simply telling the mechanic that it doesn&#8217;t work will hardly speed up
the repair or cut back costs! Therefore, we ask that if you detect a bug, first make sure that it in fact is a bug and not
a user error. Then, send us email about the problem. Be sure to include all the information necessary for us to
recreate the situation in which the bug occurred. This will include the full command line used and, if possible, the
data file used by the program. Send the bug-reports to <a 
href="mailto:gmt-help@lists.hawaii.edu" >gmt-help@lists.hawaii.edu</a>. We will try to fix bugs as
soon as our schedules permit and inform users about the bug and availability of updated code (See
Appendix&#x00A0;<a 
href="#x1-204000D">D<!--tex4ht:ref: app:D --></a>).
</p><!--l. 34--><p class="indent" >   Two electronic mailing lists are available to which users may subscribe. <a 
href="mailto:gmt-group@lists.hawaii.edu" >gmt-group@lists.hawaii.edu</a> and is
primarily a way for us to notify the users when bugs have been fixed or when new updates have been installed in
the ftp directory (See Appendix&#x00A0;<a 
href="#x1-204000D">D<!--tex4ht:ref: app:D --></a>). We also maintain another list (<a 
href="mailto:gmt-help@lists.hawaii.edu" >gmt-help@lists.hawaii.edu</a>) which interested
users may subscribe to. It basically provides a forum for <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;users to exchange ideas and ask questions about
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;usage, installation and portability, etc. Please use this utility rather than sending questions directly to
us personally. We hope you appreciate that we simply do not have time to be everybody&#8217;s personal
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;tutor.
</p><!--l. 48--><p class="indent" >   The electronic mailing lists are maintained automatically by a program. To subscribe to one or both of the lists,
send a message to <a 
href="mailto:listserv@lists.hawaii.edu" >listserv@lists.hawaii.edu</a> containing the command(s):
</p><!--l. 56--><p class="indent" >   subscribe gmt-group <!--l. 56--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003C;</mo></math>your
full name, not email address<!--l. 56--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003E;</mo></math>
<br 
class="newline" />
</p><!--l. 58--><p class="indent" >   subscribe gmt-help <!--l. 58--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003C;</mo></math>your
full name, not email address<!--l. 58--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003E;</mo></math>
<br 
class="newline" />
</p><!--l. 60--><p class="indent" >   (Do  not  type  the  angular  brackets
<!--l. 60--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003C;</mo></math><!--l. 60--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003E;</mo></math>).
You may also register electronically via the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;home web page (gmt.soest.hawaii.edu). For information on
what commands you may send, send a message containing the word help. You must interact with the listserver to
be added to or removed from the mailing lists! We strongly recommend that you at least subscribe to gmt-group
since this is how we can notify you of future updates and bug-fixes. Most new users will also benefit from
having the other forum (gmt-help) as they struggle to realign their sense of logic with that of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>.
While anybody may post messages to gmt-help, access to gmt-group is restricted to minimize net
traffic. Any message sent to gmt-group will be intercepted by the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;manager who will determine
if the message is important enough to cause thousands of mailtools to go BEEP. Communication
with other <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;users should go via gmt-help. Finally, all <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;information is provided online
at the main <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;home page in Hawaii, i.e., gmt.soest.hawaii.edu. Changes to <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;will also
be posted on this page. The main <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;page has links to the official <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;ftp sites around the
world.
                                                                                 

                                                                                 
                                                                                 

                                                                                 
                                                                                 

                                                                                 
<a 
 id="x1-164003r279"></a>
</p>
   <h2 class="appendixHead"><span class="titlemark">Appendix&#x00A0;A</span><br /><a 
 id="x1-165000A"></a><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;supplemental packages</h2>  <a 
 id="dx1-165001"></a>
<!--l. 15--><p class="noindent" >These packages are for the most part written and supported by us, but there are some exceptions. They provide
extensions to <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;that are needed for particular rather than general applications. The packages are provided with
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;and are installed by default unless they requires non-<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;libraries; see the main <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;configuration
process. Questions or bug reports for this software should be addressed to the person(s) listed in the <span class="underline">README</span> file
associated with the particular program. It is not guaranteed that these programs are fully ANSI-C, Y2K, or POSIX
compliant, or that they necessarily will install smoothly on all platforms, but most do. Note that the data sets some
of these programs work on are not distributed with these packages; they must be obtained separately. The
contents of the supplemental archive may change without notice; at this writing it contains these
directories:
</p>
   <h3 class="sectionHead"><span class="titlemark">A.1    </span> <a 
 id="x1-166000A.1"></a>dbase: gridded data extractor</h3>
<!--l. 35--><p class="noindent" >This package contains <a 
href="../html/man/grdraster.html" ><span 
class="phvb8t-">grdraster</span></a><a 
 id="dx1-166001"></a> which you can use to extract data from global gridded data sets
such as those available from NGDC. We have used it to prepare some of the grids in the examples
(Chapter&#x00A0;<a 
href="#x1-920006">6<!--tex4ht:ref: ch:6 --></a>). You can also customize it to read your own data sets. The package is maintained by the
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;developers.
</p><!--l. 41--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">A.2    </span> <a 
 id="x1-167000A.2"></a>gshhg: GSHHG data extractor</h3>
<!--l. 43--><p class="noindent" >This package contains <a 
href="../html/man/gshhg.html" ><span 
class="phvb8t-">gshhg</span></a><a 
 id="dx1-167001"></a> which you can use to extract shoreline polygons from the Global
Self-consistent Hierarchical High-resolution Geography (GSHHG) available separately from <a 
href="http://www.ngdc.noaa.gov/mgg/shorelines/gshhs.html" >NGDC</a> or
the <a 
href="http://www.soest.hawaii.edu/wessel/gshhs/" >GSHHG home page</a> (GSHHG contains both GSHHS and WDBII; GSHHS is the polygon data
base from which the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;coastlines derive while WDBII provides rivers and boundaries). It
also contains <a 
href="../html/man/gshhg_dp.html" ><span 
class="phvb8t-">gshhg_dp</span></a><a 
 id="dx1-167002"></a> for cleverly decimating a shoreline, and <a 
href="../html/man/gshhgtograss.html" ><span 
class="phvb8t-">gshhgtograss</span></a><a 
 id="dx1-167003"></a> to convert
shoreline segments to the GRASS database format; the latter program is maintained by Simon
Cox<span class="footnote-mark"><a 
href="#fn32x10" id="fn32x10-bk"><sup class="textsuperscript">32</sup></a></span><a 
 id="x1-167004f32"></a>.
The package is maintained by Paul Wessel.
</p><!--l. 54--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">A.3    </span> <a 
 id="x1-168000A.3"></a>imgsrc: gridded altimetry extractor</h3>
<!--l. 56--><p class="noindent" >This package consists of the program <a 
href="../html/man/img2mercgrd.html" ><span 
class="phvb8t-">img2mercgrd</span></a><a 
 id="dx1-168001"></a> to extract subsets of
the global gravity and predicted topography solutions derived from satellite
altimetry<span class="footnote-mark"><a 
href="#fn33x10" id="fn33x10-bk"><sup class="textsuperscript">33</sup></a></span><a 
 id="x1-168002f33"></a>. The package is
maintained by Walter Smith<span class="footnote-mark"><a 
href="#fn34x10" id="fn34x10-bk"><sup class="textsuperscript">34</sup></a></span><a 
 id="x1-168003f34"></a>.
</p><!--l. 62--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">A.4    </span> <a 
 id="x1-169000A.4"></a>meca: seismology and geodesy symbols</h3>
<!--l. 64--><p class="noindent" >This package contains the programs <a 
href="../html/man/pscoupe.html" ><span 
class="phvb8t-">pscoupe</span></a><a 
 id="dx1-169001"></a>, <a 
href="../html/man/psmeca.html" ><span 
class="phvb8t-">psmeca</span></a><a 
 id="dx1-169002"></a>, <a 
href="../html/man/pspolar.html" ><span 
class="phvb8t-">pspolar</span></a><a 
 id="dx1-169003"></a>, and <a 
href="../html/man/psvelo.html" ><span 
class="phvb8t-">psvelo</span></a><a 
 id="dx1-169004"></a> which are used by
seismologists and geodesists for plotting focal mechanisms (including cross-sections and polarities),
error ellipses, velocity arrows, rotational wedges, and more. The package is maintained by Kurt
Feigl<span class="footnote-mark"><a 
href="#fn35x10" id="fn35x10-bk"><sup class="textsuperscript">35</sup></a></span><a 
 id="x1-169005f35"></a> and
Genevieve Patau<span class="footnote-mark"><a 
href="#fn36x10" id="fn36x10-bk"><sup class="textsuperscript">36</sup></a></span><a 
 id="x1-169006f36"></a>.
                                                                                 

                                                                                 
</p><!--l. 72--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">A.5    </span> <a 
 id="x1-170000A.5"></a>mex: Matlab/Octave&#8211;<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;interface</h3>
<!--l. 74--><p class="noindent" >Here you will find the mex files <a 
href="../html/man/grdinfo.html" ><span 
class="phvb8t-">grdinfo</span></a><a 
 id="dx1-170001"></a>, <a 
href="../html/man/grdread.html" ><span 
class="phvb8t-">grdread</span></a><a 
 id="dx1-170002"></a>, and <a 
href="../html/man/grdwrite.html" ><span 
class="phvb8t-">grdwrite</span></a><a 
 id="dx1-170003"></a>, which can be used in Matlab or Octave to read
and write grid files. The package originated with David Sandwell, UCSD, and was subsequently modified by Paul
Wessel and Phil Sharfstein, UCSB. It is now maintained by Paul Wessel.
</p><!--l. 80--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">A.6    </span> <a 
 id="x1-171000A.6"></a>mgd77: MGD77 extractor and plotting tools</h3>
<!--l. 82--><p class="noindent" >This package currently holds the programs <a 
href="../html/man/mgd77convert.html" ><span 
class="phvb8t-">mgd77convert</span></a><a 
 id="dx1-171001"></a>, <a 
href="../html/man/mgd77header.html" ><span 
class="phvb8t-">mgd77header</span></a><a 
 id="dx1-171002"></a>, <a 
href="../html/man/mgd77info.html" ><span 
class="phvb8t-">mgd77info</span></a><a 
 id="dx1-171003"></a>, <a 
href="../html/man/mgd77list.html" ><span 
class="phvb8t-">mgd77list</span></a><a 
 id="dx1-171004"></a>,
<a 
href="../html/man/mgd77magref.html" ><span 
class="phvb8t-">mgd77magref</span></a><a 
 id="dx1-171005"></a>, <a 
href="../html/man/mgd77manage.html" ><span 
class="phvb8t-">mgd77manage</span></a><a 
 id="dx1-171006"></a>, <a 
href="../html/man/mgd77path.html" ><span 
class="phvb8t-">mgd77path</span></a><a 
 id="dx1-171007"></a>, <a 
href="../html/man/mgd77sniffer.html" ><span 
class="phvb8t-">mgd77sniffer</span></a><a 
 id="dx1-171008"></a>, and <a 
href="../html/man/mgd77track.html" ><span 
class="phvb8t-">mgd77track</span></a><a 
 id="dx1-171009"></a> which can be used to extract
information or data values from or plot marine geophysical data files in the ASCII MGD77 or netCDF MGD77+
formats<span class="footnote-mark"><a 
href="#fn37x10" id="fn37x10-bk"><sup class="textsuperscript">37</sup></a></span><a 
 id="x1-171010f37"></a>).
We expect this package eventually to replace the <span 
class="ptmb8t-">mgg </span>package. The package is maintained by Paul
Wessel.
</p><!--l. 89--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">A.7    </span> <a 
 id="x1-172000A.7"></a>mgg: GMT-MGD77 extractor and plotting tools</h3>
<!--l. 91--><p class="noindent" >This package holds the legacy programs <a 
href="../html/man/binlegs.html" ><span 
class="phvb8t-">binlegs</span></a><a 
 id="dx1-172001"></a>, <a 
href="../html/man/dat2gmt.html" ><span 
class="phvb8t-">dat2gmt</span></a><a 
 id="dx1-172002"></a>, <a 
href="../html/man/gmt2dat.html" ><span 
class="phvb8t-">gmt2dat</span></a><a 
 id="dx1-172003"></a>, <a 
href="../html/man/gmtinfo.html" ><span 
class="phvb8t-">gmtinfo</span></a><a 
 id="dx1-172004"></a>, <a 
href="../html/man/gmtlegs.html" ><span 
class="phvb8t-">gmtlegs</span></a><a 
 id="dx1-172005"></a>,
<a 
href="../html/man/gmtlist.html" ><span 
class="phvb8t-">gmtlist</span></a><a 
 id="dx1-172006"></a>, <a 
href="../html/man/gmtpath.html" ><span 
class="phvb8t-">gmtpath</span></a><a 
 id="dx1-172007"></a>, <a 
href="../html/man/gmttrack.html" ><span 
class="phvb8t-">gmttrack</span></a><a 
 id="dx1-172008"></a>, and <a 
href="../html/man/mgd77togmt.html" ><span 
class="phvb8t-">mgd77togmt</span></a><a 
 id="dx1-172009"></a>, which can be used to maintain, access, extract
data from, and plot marine geophysical data files converted from the MGD77 format to the .gmt
format<span class="footnote-mark"><a 
href="#fn38x10" id="fn38x10-bk"><sup class="textsuperscript">38</sup></a></span><a 
 id="x1-172010f38"></a>).
The package is maintained by the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;developers.
</p><!--l. 98--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">A.8    </span> <a 
 id="x1-173000A.8"></a>misc: Miscellaneous tools</h3>
<!--l. 100--><p class="noindent" >At the moment, this package contains the programs <a 
href="../html/man/dimfilter.html" ><span 
class="phvb8t-">dimfilter</span></a><a 
 id="dx1-173001"></a>, which is an extension of <a 
href="../html/man/grdfilter.html" ><span 
class="phvb8t-">grdfilter</span></a><a 
 id="dx1-173002"></a> in
that it allows for spatial directional filtering, <a 
href="../html/man/psmegaplot.html" ><span 
class="phvb8t-">psmegaplot</span></a><a 
 id="dx1-173003"></a> which you can use to make large posters
using a simple laserwriter, <a 
href="../html/man/makepattern.html" ><span 
class="phvb8t-">makepattern</span></a><a 
 id="dx1-173004"></a> which generates raster patterns from <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;3.0 icon files,
<a 
href="../html/man/gmt2kml.html" ><span 
class="phvb8t-">gmt2kml</span></a><a 
 id="dx1-173005"></a> which converts <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;table data to Google Earth&#8217;s KML format, <a 
href="../html/man/gmtdigitize.html" ><span 
class="phvb8t-">gmtdigitize</span></a><a 
 id="dx1-173006"></a> which provides
a GMT interface to a digitizing tablet via a serial port, <a 
href="../html/man/gmtstitch.html" ><span 
class="phvb8t-">gmtstitch</span></a><a 
 id="dx1-173007"></a> which can be used to assemble
pieces digitized lines into complete lines or polygons, <a 
href="../html/man/gmtdp.html" ><span 
class="phvb8t-">gmtdp</span></a><a 
 id="dx1-173008"></a> which performs line reduction using the
Douglas-Peucker algorithm, <a 
href="../html/man/kml2gmt.html" ><span 
class="phvb8t-">kml2gmt</span></a><a 
 id="dx1-173009"></a> which extracts <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;table data from Google Earth KML files,
and <a 
href="../html/man/nc2xy.html" ><span 
class="phvb8t-">nc2xy</span></a><a 
 id="dx1-173010"></a> which can extract data from column-oriented netCDF files. The package is maintained
by Paul Wessel. The increasingly popular utility <a 
href="../html/man/ps2raster.html" ><span 
class="phvb8t-">ps2raster</span></a><a 
 id="dx1-173011"></a>, which simplifies the rasterization of
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a><span 
class="ptmri8t-">PostScript</span>&#x00A0;to raster formats (see Appendix&#x00A0;<a 
href="#x1-195000C">C<!--tex4ht:ref: app:C --></a>), was moved to the general tools starting with
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.2.0.
</p><!--l. 116--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">A.9    </span> <a 
 id="x1-174000A.9"></a>segyprogs: plotting SEGY seismic data</h3>
                                                                                 

                                                                                 
<!--l. 118--><p class="noindent" >This package contains programs to plot SEGY seismic data files using the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;mapping transformations and
postscript library. <a 
href="../html/man/pssegy.html" ><span 
class="phvb8t-">pssegy</span></a><a 
 id="dx1-174001"></a> generates a 2-D plot (x:location and y:time/depth) while <a 
href="../html/man/pssegyz.html" ><span 
class="phvb8t-">pssegyz</span></a><a 
 id="dx1-174002"></a> generates a 3-D plot
(x and y: location coordinates, z: time/depth). Locations may be read from predefined or arbitrary portions of each
trace header. Finally, <a 
href="../html/man/segy2grd.html" ><span 
class="phvb8t-">segy2grd</span></a><a 
 id="dx1-174003"></a> can convert SEGY data to a <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;grid file. The package is maintained by Tim
Henstock<span class="footnote-mark"><a 
href="#fn39x10" id="fn39x10-bk"><sup class="textsuperscript">39</sup></a></span><a 
 id="x1-174004f39"></a>.
</p><!--l. 126--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">A.10    </span> <a 
 id="x1-175000A.10"></a>sph: spherical triangulation and gridding</h3>
<!--l. 128--><p class="noindent" >This package contains the main programs <a 
href="../html/man/sphtriangulate.html" ><span 
class="phvb8t-">sphtriangulate</span></a><a 
 id="dx1-175001"></a>, which you can use to generate data for Delaunay or
Voronoi diagrams, <a 
href="../html/man/sphdistance.html" ><span 
class="phvb8t-">sphdistance</span></a><a 
 id="dx1-175002"></a> which calculates distances from lines to grid nodes using Voronoi decomposition
of the data, and <a 
href="../html/man/sphinterpolate.html" ><span 
class="phvb8t-">sphinterpolate</span></a><a 
 id="dx1-175003"></a> which performs gridding under tension on a sphere. These programs passes
the heavy work onto the two Fortran-77 packages SSRFPACK and STRIPACK by Robert Renka;
here they have been translated to C with assistance from <span 
class="ptmbo8t-">f2c</span><a 
 id="dx1-175004"></a>. The package is maintained by Paul
Wessel.
</p><!--l. 138--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">A.11    </span> <a 
 id="x1-176000A.11"></a>spotter: backtracking and hotspotting</h3>
<!--l. 140--><p class="noindent" >This package contains the plate tectonic programs <a 
href="../html/man/backtracker.html" ><span 
class="phvb8t-">backtracker</span></a><a 
 id="dx1-176001"></a>, which you can use to move geologic
markers forward or backward in time, <a 
href="../html/man/grdrotater.html" ><span 
class="phvb8t-">grdrotater</span></a><a 
 id="dx1-176002"></a> which rotates entire grids using a finite rotation,
<a 
href="../html/man/hotspotter.html" ><span 
class="phvb8t-">hotspotter</span></a><a 
 id="dx1-176003"></a> which generates CVA grids based on seamount locations and a set of absolute plate
motion stage poles (<a 
href="../html/man/grdspotter.html" ><span 
class="phvb8t-">grdspotter</span></a><a 
 id="dx1-176004"></a> does the same using a bathymetry grid instead of seamount locations),
<a 
href="../html/man/originator.html" ><span 
class="phvb8t-">originator</span></a><a 
 id="dx1-176005"></a>, which associates seamounts with the most likely hotspot origins, and <a 
href="../html/man/rotconverter.html" ><span 
class="phvb8t-">rotconverter</span></a><a 
 id="dx1-176006"></a> which
does various operations involving finite rotations on a sphere. The package is maintained by Paul
Wessel.
</p><!--l. 150--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">A.12    </span> <a 
 id="x1-177000A.12"></a>x2sys: track crossover error estimation</h3>
<!--l. 152--><p class="noindent" >This package contains the tools <a 
href="../html/man/x2sys_datalist.html" ><span 
class="phvb8t-">x2sys_datalist</span></a><a 
 id="dx1-177001"></a>, which allows you to extract data from almost any binary or
ASCII data file, and <a 
href="../html/man/x2sys_cross.html" ><span 
class="phvb8t-">x2sys_cross</span></a><a 
 id="dx1-177002"></a> which determines crossover locations and errors generated by one or several
geospatial tracks. Newly added are the tools <a 
href="../html/man/x2sys_init.html" ><span 
class="phvb8t-">x2sys_init</span></a><a 
 id="dx1-177003"></a>, <a 
href="../html/man/x2sys_binlist.html" ><span 
class="phvb8t-">x2sys_binlist</span></a><a 
 id="dx1-177004"></a>, <a 
href="../html/man/x2sys_get.html" ><span 
class="phvb8t-">x2sys_get</span></a><a 
 id="dx1-177005"></a>, <a 
href="../html/man/x2sys_list.html" ><span 
class="phvb8t-">x2sys_list</span></a><a 
 id="dx1-177006"></a>, <a 
href="../html/man/x2sys_put.html" ><span 
class="phvb8t-">x2sys_put</span></a><a 
 id="dx1-177007"></a>,
<a 
href="../html/man/x2sys_report.html" ><span 
class="phvb8t-">x2sys_report</span></a><a 
 id="dx1-177008"></a>, <a 
href="../html/man/x2sys_solve.html" ><span 
class="phvb8t-">x2sys_solve</span></a><a 
 id="dx1-177009"></a> and <a 
href="../html/man/x2sys_merge.html" ><span 
class="phvb8t-">x2sys_merge</span></a><a 
 id="dx1-177010"></a> which extends the track-management system employed by the
mgg supplement to generic track data of any format. This package represents a new generation of tools
intended to replace the old &#8220;X_SYSTEM&#8221; crossover tools (below). The package is maintained by Paul
Wessel.
</p><!--l. 165--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">A.13    </span> <a 
 id="x1-178000A.13"></a>x_system: track crossover error estimation</h3>
<!--l. 167--><p class="noindent" >This package contains the tools <a 
href="../html/man/x_edit.html" ><span 
class="phvb8t-">x_edit</span></a><a 
 id="dx1-178001"></a>, <a 
href="../html/man/x_init.html" ><span 
class="phvb8t-">x_init</span></a><a 
 id="dx1-178002"></a>, <a 
href="../html/man/x_list.html" ><span 
class="phvb8t-">x_list</span></a><a 
 id="dx1-178003"></a>, <a 
href="../html/man/x_over.html" ><span 
class="phvb8t-">x_over</span></a><a 
 id="dx1-178004"></a>, <a 
href="../html/man/x_remove.html" ><span 
class="phvb8t-">x_remove</span></a><a 
 id="dx1-178005"></a>, <a 
href="../html/man/x_report.html" ><span 
class="phvb8t-">x_report</span></a><a 
 id="dx1-178006"></a>, <a 
href="../html/man/x_setup.html" ><span 
class="phvb8t-">x_setup</span></a><a 
 id="dx1-178007"></a>,
<a 
href="../html/man/x_solve_dc_drift.html" ><span 
class="phvb8t-">x_solve_dc_drift</span></a><a 
 id="dx1-178008"></a>, and <a 
href="../html/man/x_update.html" ><span 
class="phvb8t-">x_update</span></a><a 
 id="dx1-178009"></a>. Collectively, they make up the old &#8220;XSYSTEM&#8221; crossover tools. This
package with remain in the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;supplemental archive until <span 
class="ptmbo8t-">x2sys</span><a 
 id="dx1-178010"></a> is complete. The package is maintained by
Paul Wessel.
                                                                                 

                                                                                 
</p><!--l. 175--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">A.14    </span> <a 
 id="x1-179000A.14"></a>xgrid: visual editor for grid files</h3>
<!--l. 177--><p class="noindent" >The package contains an X11 editor (<a 
href="../html/man/xgridedit.html" ><span 
class="phvb8t-">xgridedit</span></a><a 
 id="dx1-179001"></a>) for visual editing of grid files. It was
originally developed by Hugh Fisher, CRES, in March 1992 but is now maintained by Lloyd
Parkes<span class="footnote-mark"><a 
href="#fn40x10" id="fn40x10-bk"><sup class="textsuperscript">40</sup></a></span><a 
 id="x1-179002f40"></a>.
                                                                                 

                                                                                 
                                                                                 

                                                                                 
                                                                                 

                                                                                 
<a 
 id="x1-179003r279"></a>
</p>
   <h2 class="appendixHead"><span class="titlemark">Appendix&#x00A0;B</span><br /><a 
 id="x1-180000B"></a><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;file formats</h2>
   <h3 class="sectionHead"><span class="titlemark">B.1    </span> <a 
 id="x1-181000B.1"></a>Table data</h3>
<a 
 id="dx1-181001"></a>
<!--l. 17--><p class="noindent" >These files have <span 
class="ptmri8t-">N </span>records which have <span 
class="ptmri8t-">M </span>fields each. Most programs can read multicolumn files, but
require that the <span 
class="ptmri8t-">x </span>[and <span 
class="ptmri8t-">y</span>] variable(s) be stored in the 1st [and 2nd] column (There are, however, some
exceptions to this rule, such as <a 
href="../html/man/filter1d.html" ><span 
class="phvb8t-">filter1d</span></a><a 
 id="dx1-181002"></a> and <a 
href="../html/man/sample1d.html" ><span 
class="phvb8t-">sample1d</span></a><a 
 id="dx1-181003"></a>). <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;can read both ASCII and binary table
data.
</p><!--l. 24--><p class="noindent" >
</p>
   <h4 class="subsectionHead"><span class="titlemark">B.1.1    </span> <a 
 id="x1-182000B.1.1"></a>ASCII tables</h4>
<a 
 id="dx1-182001"></a>
<a 
 id="dx1-182002"></a>
<a 
 id="dx1-182003"></a>
<!--l. 29--><p class="noindent" >
</p>
   <h5 class="subsubsectionHead"><a 
 id="x1-183000B.1.1"></a>Optional file header records</h5>
<!--l. 30--><p class="noindent" >The first data record may be preceded by 1 or more header records. When using such files, make sure to use the <span 
class="pcrb8t-">-H</span>
option and set the parameter <span 
class="ptmb8t-">N_HEADER_RECS </span>in the <span class="underline">.gmtdefaults4</span> file (System default is 1 header record if <span 
class="pcrb8t-">-H</span>
is set; you may also use <span 
class="pcrb8t-">-H</span><span 
class="ptmri8t-">nrecs </span>directly). Fields within a record must be separated by spaces, tabs, or commas.
Each field can be an integer or floating-point number or a geographic coordinate string using the
[+<!--l. 37--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>-]dd[:mm[:ss]][W<!--l. 37--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>S<!--l. 37--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>N<!--l. 37--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>E<!--l. 37--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>w<!--l. 37--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>s<!--l. 37--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>n<!--l. 37--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math>e]
format. Thus, 12:30:44.5W, 17.5S, 1:00:05, and 200:45E are all valid input strings.
</p><!--l. 40--><p class="noindent" >
</p>
   <h5 class="subsubsectionHead"><a 
 id="x1-184000B.1.1"></a>Optional segment header records</h5>
<!--l. 41--><p class="noindent" >When dealing with time- or (<span 
class="ptmri8t-">x,y</span>)-series it is usually convenient to have each profile in separate files. However, this
may sometimes prove impractical due to large numbers of profiles. An example is files of digitized lineations
where the number of individual features may range into the thousands. One file per feature would in this case be
unreasonable and furthermore clog up the directory. <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;provides a mechanism for keeping more
than one profile in a file. Such files are called <span 
class="ptmri8t-">multiple segment files </span>and are identical to the ones
just outlined except that they have subheaders interspersed with data records that signal the start of
a segment. The subheaders may be of any format, but all must have the same character in the first
column. When using such files, you must specify the <span 
class="pcrb8t-">-m </span>option. The unique character is by default
&#8217;<!--l. 55--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003E;</mo></math>&#8217;, but
you can override that by appending your chosen character to the M option. E.g., <span 
class="pcrb8t-">-mH </span>will look for subheaders
starting with H, whereas <span 
class="pcrb8t-">-m&#8217;*&#8217; </span>will check for asterisks (The quotes are necessary since * has special meaning to
<span 
class="ptmri8t-">UNIX</span>). Some programs such as <a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-184001"></a> will examine the subheaders to see if they contain <span 
class="pcrb8t-">-W </span>and <span 
class="pcrb8t-">-G </span>options for
specifying pen and fill attributes for individual segments, <span 
class="pcrb8t-">-Z </span>to change color via a cpt-file, or <span 
class="pcrb8t-">-L </span>for label
specifications. These settings (and occasionally others) will override the corresponding command line
options.
                                                                                 

                                                                                 
</p><!--l. 65--><p class="noindent" >
</p>
   <h4 class="subsectionHead"><span class="titlemark">B.1.2    </span> <a 
 id="x1-185000B.1.2"></a>Binary tables</h4>
<a 
 id="dx1-185001"></a>
<a 
 id="dx1-185002"></a>
<a 
 id="dx1-185003"></a>
<a 
 id="dx1-185004"></a>
<a 
 id="dx1-185005"></a>
<a 
 id="dx1-185006"></a>
<!--l. 73--><p class="noindent" ><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;programs also support native binary tables to speed up input-output for i/o-intensive tasks like gridding and
preprocessing. Files may have no header (hence the <span 
class="pcrb8t-">-H </span>option cannot be used) and all data must either be single or
double precision (no mixing allowed). Multiple segment files are allowed (<span 
class="pcrb8t-">-m</span>) and the segment headers are
assumed to be records where all the fields equal NaN. Flags appended to <span 
class="pcrb8t-">-m </span>are ignored. The format and number of
fields are specified with the <span 
class="pcrb8t-">-b </span>option. Thus, for input you may set <span 
class="pcrb8t-">-bi</span>[<span 
class="ptmb8t-">s</span>][<span 
class="ptmri8t-">n</span>], where <span 
class="ptmb8t-">s </span>designates single precision
(default is <span 
class="ptmb8t-">d </span>for double) and <span 
class="ptmri8t-">n </span>is the number of fields. For output, use <span 
class="pcrb8t-">-bo</span>[<span 
class="ptmb8t-">s</span>] (the programs know how many
columns to write, unless you use <span 
class="pcrb8t-">-m </span>in which case we need to know the number of output columns up
front). If you need to swap the byte-order on either input or output you must use upper case <span 
class="ptmb8t-">S </span>or <span 
class="ptmb8t-">D</span>
instead.
</p><!--l. 89--><p class="noindent" >
</p>
   <h4 class="subsectionHead"><span class="titlemark">B.1.3    </span> <a 
 id="x1-186000B.1.3"></a>NetCDF tables</h4>
<a 
 id="dx1-186001"></a>
<a 
 id="dx1-186002"></a>
<a 
 id="dx1-186003"></a>
<a 
 id="dx1-186004"></a>
<!--l. 95--><p class="noindent" >More and more programs are now producing binary data in the netCDF format, and so <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;programs
started to support tabular netCDF data (files containing one or more 1-dimensional arrays) starting with
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;version 4.3.0. Because of the meta data contained in those files, reading them is much less complex
than reading native binary tables, and even than ASCII tables. <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;programs will read as many
1-dimensional columns as are needed by the program, starting with the first 1-dimensional it can find in the
file. To specifically specify which variables are to be read, append the suffix <span 
class="ptmb8t-">?</span><span 
class="ptmri8t-">var1</span><span 
class="ptmb8t-">/</span><span 
class="ptmri8t-">var2</span><span 
class="ptmb8t-">/</span><span 
class="ptmri8t-">... </span>to the
netCDF file name or add the option <span 
class="pcrb8t-">-bic</span><span 
class="ptmri8t-">var1</span><span 
class="ptmb8t-">/</span><span 
class="ptmri8t-">var2</span><span 
class="ptmb8t-">/</span><span 
class="ptmri8t-">...</span>, where <span 
class="ptmri8t-">var1</span>, <span 
class="ptmri8t-">var2</span>, etc.&#x00A0;are the names of the
variables to be processed. The latter option is particularly practical when more than one file is read: the
<span 
class="pcrb8t-">-bic </span>option will apply to all files. Currently, <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;only reads, but does not write, netCDF tabular
data.
</p><!--l. 106--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">B.2    </span> <a 
 id="x1-187000B.2"></a>Grid files</h3>
<!--l. 108--><p class="noindent" >
</p>
   <h4 class="subsectionHead"><span class="titlemark">B.2.1    </span> <a 
 id="x1-188000B.2.1"></a>NetCDF files</h4>
<a 
 id="dx1-188001"></a>
<a 
 id="dx1-188002"></a>
<a 
 id="dx1-188003"></a>
<!--l. 113--><p class="noindent" >By default, <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;stores 2-D grids as COARDS-compliant netCDF files. COARDS (which stands for Cooperative
Ocean/Atmosphere Research Data Service) is a convention used by many agencies distributing gridded data for
                                                                                 

                                                                                 
ocean and atmosphere research. Sticking to this convention allows <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;to read gridded data provided by other
institutes and other programs. Conversely, other general domain programs will be able to read grids created by
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>. COARDS is a subset of a more extensive convention for netCDF data called CF-1.0 (Climate and Forecast,
version 1.0). Hence, <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;grids are also automatically CF-1.0-compliant. However, since CF-1.0
has more general application than COARDS, not all CF-1.0 compliant netCDF files can be read by
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>.
</p><!--l. 124--><p class="indent" >   The netCDF grid file in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;has several attributes (See Table&#x00A0;<a 
href="#x1-188004r1">B.1<!--tex4ht:ref: tbl:netcdf-format --></a>) to describe the content. The routine that
deals with netCDF grid files is sufficiently flexible so that grid files slightly deviating from the standards used by
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;can also be read.
</p>
   <div class="table">
                                                                                 

                                                                                 
<!--l. 130--><p class="indent" >   <a 
 id="x1-188004r1"></a></p><hr class="float" /><div class="float" 
>
                                                                                 

                                                                                 
<div class="tabular"> <table id="TBL-22" class="tabular" 
cellspacing="0" cellpadding="0" rules="groups" 
><colgroup id="TBL-22-1g"><col 
id="TBL-22-1" /></colgroup><colgroup id="TBL-22-2g"><col 
id="TBL-22-2" /></colgroup><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-22-1-"><td  style="text-align:center; white-space:nowrap;" id="TBL-22-1-1"  
class="td11">   <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">Attribute</span></div>    </td><td  style="text-align:center; white-space:nowrap;" id="TBL-22-1-2"  
class="td11">                                                                                    <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">Description</span></div>
</td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-22-2-"><td colspan="2" style="text-align:center; white-space:nowrap;" id="TBL-22-2-1"  
class="td11">                                                                                         <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">Global attributes</span></div></td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-22-3-"><td  style="text-align:left; white-space:nowrap;" id="TBL-22-3-1"  
class="td11">Conventions </td><td  style="text-align:left; white-space:nowrap;" id="TBL-22-3-2"  
class="td11">COARDS, CF-1.0 (optional)                                                                                                                                                                                                                      </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-22-4-"><td  style="text-align:left; white-space:nowrap;" id="TBL-22-4-1"  
class="td11">title                        </td><td  style="text-align:left; white-space:nowrap;" id="TBL-22-4-2"  
class="td11">Title (optional)                                                                                                                                                                                                                                                                                                                                                                                                            </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-22-5-"><td  style="text-align:left; white-space:nowrap;" id="TBL-22-5-1"  
class="td11">source                    </td><td  style="text-align:left; white-space:nowrap;" id="TBL-22-5-2"  
class="td11">How file was created (optional)                                                                                                                                                                                                                                                                                                                                                                                 </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-22-6-"><td  style="text-align:left; white-space:nowrap;" id="TBL-22-6-1"  
class="td11">node_offset           </td><td  style="text-align:left; white-space:nowrap;" id="TBL-22-6-2"  
class="td11">0 for gridline node registration (default), 1 for pixel registration                                                                                                                                                                                                                                                                                                                              </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-22-7-"><td colspan="2" style="text-align:center; white-space:nowrap;" id="TBL-22-7-1"  
class="td11">                <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><!--l. 138--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi></math><span 
class="ptmri8t-">- and </span><!--l. 138--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>y</mi></math><span 
class="ptmri8t-">-variable attributes</span></div>
</td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-22-8-"><td  style="text-align:left; white-space:nowrap;" id="TBL-22-8-1"  
class="td11">long_name            </td><td  style="text-align:left; white-space:nowrap;" id="TBL-22-8-2"  
class="td11">Coordinate name (default: &#8220;Longitude&#8221; and &#8220;Latitude&#8221;)                                                                                                                                                                                                                                                                                                                                           </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-22-9-"><td  style="text-align:left; white-space:nowrap;" id="TBL-22-9-1"  
class="td11">units                      </td><td  style="text-align:left; white-space:nowrap;" id="TBL-22-9-2"  
class="td11">Unit of the coordinate (default: &#8220;degrees_east&#8221; and &#8220;degrees_north&#8221;)                                                                                                                                                                                                                                                                                                                      </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-22-10-"><td  style="text-align:left; white-space:nowrap;" id="TBL-22-10-1"  
class="td11">actual_range          </td><td  style="text-align:left; white-space:nowrap;" id="TBL-22-10-2"  
class="td11">Minimum and maximum <!--l. 141--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi></math> and <!--l. 141--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>y</mi></math> of region; if absent</td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-22-11-"><td  style="text-align:left; white-space:nowrap;" id="TBL-22-11-1"  
class="td11">(or valid_range)    </td><td  style="text-align:left; white-space:nowrap;" id="TBL-22-11-2"  
class="td11">the first and last <!--l. 142--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi></math>- and <!--l. 142--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>y</mi></math>-values are queried              </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-22-12-"><td colspan="2" style="text-align:center; white-space:nowrap;" id="TBL-22-12-1"  
class="td11">                                                     <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><!--l. 143--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi></math><span 
class="ptmri8t-">-variable attributes</span></div>
</td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-22-13-"><td  style="text-align:left; white-space:nowrap;" id="TBL-22-13-1"  
class="td11">long_name            </td><td  style="text-align:left; white-space:nowrap;" id="TBL-22-13-2"  
class="td11">Name of the variable (default: &#8220;z&#8221;)                                                                                                                                                                                                                                                                                                                                                                            </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-22-14-"><td  style="text-align:left; white-space:nowrap;" id="TBL-22-14-1"  
class="td11">units                      </td><td  style="text-align:left; white-space:nowrap;" id="TBL-22-14-2"  
class="td11">Unit of the variable (no default)                                                                                                                                                                                                                                                                                                                                                                                 </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-22-15-"><td  style="text-align:left; white-space:nowrap;" id="TBL-22-15-1"  
class="td11">scale_factor           </td><td  style="text-align:left; white-space:nowrap;" id="TBL-22-15-2"  
class="td11">Factor to multiply <!--l. 146--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi></math> with (default: 1)                                                                                                                                                                                                 </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-22-16-"><td  style="text-align:left; white-space:nowrap;" id="TBL-22-16-1"  
class="td11">add_offset             </td><td  style="text-align:left; white-space:nowrap;" id="TBL-22-16-2"  
class="td11">Offset to add to scaled <!--l. 147--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi></math> (default: 0)                                                                                                                                                                                                  </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-22-17-"><td  style="text-align:left; white-space:nowrap;" id="TBL-22-17-1"  
class="td11">actual_range          </td><td  style="text-align:left; white-space:nowrap;" id="TBL-22-17-2"  
class="td11">Minimum and maximum <!--l. 148--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi></math> (optional)                                                                                                                                                                                                </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-22-18-"><td  style="text-align:left; white-space:nowrap;" id="TBL-22-18-1"  
class="td11">_FillValue             </td><td  style="text-align:left; white-space:nowrap;" id="TBL-22-18-2"  
class="td11">Value associated with missing data points; if absent an                                                                                                                                                                                                                                                                                                                                             </td>
</tr><tr  
 style="vertical-align:baseline;" id="TBL-22-19-"><td  style="text-align:left; white-space:nowrap;" id="TBL-22-19-1"  
class="td11">(or missing_value)</td><td  style="text-align:left; white-space:nowrap;" id="TBL-22-19-2"  
class="td11">appropriate default value is assumed, depending on data type.                                                                                                                                                                                                                                                                                                                                 </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-22-20-"><td  style="text-align:left; white-space:nowrap;" id="TBL-22-20-1"  
class="td11">             </td></tr></table>
</div>
<br /><div class="caption" 
><span class="id">Table&#x00A0;B.1: </span><span  
class="content">Attributes of default <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;grid file in COARDS-compliant netCDF format.</span></div><!--tex4ht:label?: x1-188004r1 -->
                                                                                 

                                                                                 
   </div><hr class="endfloat" />
   </div>
<!--l. 156--><p class="indent" >   By default, the first 2-dimensional variable in a netCDF file will by read as the
<!--l. 156--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi></math> variable and the
coordinate axes <!--l. 157--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi></math> and
<!--l. 157--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>y</mi></math> will be determined from the
dimensions of the <!--l. 157--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi></math> variable.
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;will recognize whether the <!--l. 158--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>y</mi></math>
(latitude) variable increases or decreases. Both forms of data storage are handled appropriately.
</p><!--l. 161--><p class="indent" >   For more information on the use of COARDS-compliant netCDF files, and on how to load multi-dimensional
grids, read Section&#x00A0;<a 
href="#x1-800004.18">4.18<!--tex4ht:ref: sec:netcdf --></a>.
</p><!--l. 164--><p class="indent" >   <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;also allows other formats to be read. In addition to the default netCDF format it can use binary floating
points, short integers, bytes, and bits, as well as 8-bit Sun raster files (colormap ignored). Additional formats may
be used by supplying read/write functions and linking these with the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;libraries. The source file
<span class="underline">gmt_customio.c</span> has the information that programmers will need to augment <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;to read custom grid files. We
anticipate that the number of pre-programmed formats will increase as enterprising users implement what they
need. See Section&#x00A0;<a 
href="#x1-790004.17">4.17<!--tex4ht:ref: sec:grdformats --></a> for more information.
<a 
 id="dx1-188005"></a>
<a 
 id="dx1-188006"></a>
<a 
 id="dx1-188007"></a>
</p>
   <h4 class="subsectionHead"><span class="titlemark">B.2.2    </span> <a 
 id="x1-189000B.2.2"></a>Gridline and Pixel node registration</h4>
<a 
 id="dx1-189001"></a>
<!--l. 183--><p class="noindent" >Scanline format means that the data are stored in rows (<span 
class="ptmri8t-">y </span>= constant) going from the &#8220;top&#8221;
(<!--l. 184--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>y</mi> <mo 
class="MathClass-rel">=</mo> <msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>m</mi><mi 
>a</mi><mi 
>x</mi></mrow></msub 
></math> (north)) to the &#8220;bottom&#8221;
(<!--l. 185--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>y</mi> <mo 
class="MathClass-rel">=</mo> <msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>m</mi><mi 
>i</mi><mi 
>n</mi></mrow></msub 
></math> (south)). Data within each
row are ordered from &#8220;left&#8221; (<!--l. 186--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi> <mo 
class="MathClass-rel">=</mo> <msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>m</mi><mi 
>i</mi><mi 
>n</mi></mrow></msub 
></math>
(west)) to &#8220;right&#8221; (<!--l. 186--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi> <mo 
class="MathClass-rel">=</mo> <msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>m</mi><mi 
>a</mi><mi 
>x</mi></mrow></msub 
></math>
(east)). The <span 
class="ptmri8t-">node_offset </span>signals how the nodes are laid out. The grid is always defined as the intersections of all <span 
class="ptmri8t-">x </span>(
<!--l. 189--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mrow 
><mi 
>x</mi> <mo 
class="MathClass-rel">=</mo> <msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>m</mi><mi 
>i</mi><mi 
>n</mi></mrow></msub 
><mo 
class="MathClass-punc">,</mo><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>m</mi><mi 
>i</mi><mi 
>n</mi></mrow></msub 
><mo 
class="MathClass-bin">+</mo><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>i</mi><mi 
>n</mi><mi 
>c</mi></mrow></msub 
><mo 
class="MathClass-punc">,</mo><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>m</mi><mi 
>i</mi><mi 
>n</mi></mrow></msub 
><mo 
class="MathClass-bin">+</mo><mn>2</mn><mo 
class="MathClass-bin">&#x22C5;</mo><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>i</mi><mi 
>n</mi><mi 
>c</mi></mrow></msub 
><mo 
class="MathClass-punc">,</mo><mo 
class="MathClass-op">&#x2026;</mo><mo 
class="MathClass-punc">,</mo><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>m</mi><mi 
>a</mi><mi 
>x</mi></mrow></msub 
></mrow></math> ) and <span 
class="ptmri8t-">y </span>(
<!--l. 190--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mrow 
><mi 
>y</mi> <mo 
class="MathClass-rel">=</mo> <msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>m</mi><mi 
>i</mi><mi 
>n</mi></mrow></msub 
><mo 
class="MathClass-punc">,</mo><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>m</mi><mi 
>i</mi><mi 
>n</mi></mrow></msub 
><mo 
class="MathClass-bin">+</mo><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>i</mi><mi 
>n</mi><mi 
>c</mi></mrow></msub 
><mo 
class="MathClass-punc">,</mo><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>m</mi><mi 
>i</mi><mi 
>n</mi></mrow></msub 
><mo 
class="MathClass-bin">+</mo><mn>2</mn><mo 
class="MathClass-bin">&#x22C5;</mo><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>i</mi><mi 
>n</mi><mi 
>c</mi></mrow></msub 
><mo 
class="MathClass-punc">,</mo><mo 
class="MathClass-op">&#x2026;</mo><mo 
class="MathClass-punc">,</mo><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>m</mi><mi 
>a</mi><mi 
>x</mi></mrow></msub 
></mrow></math> ) lines.
The two scenarios differ in which area each data point represents. The default node registration in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;is gridline
node registration. Most programs can handle both types, and for some programs like <a 
href="../html/man/grdimage.html" ><span 
class="phvb8t-">grdimage</span></a><a 
 id="dx1-189002"></a> a pixel registered
file makes more sense. Utility programs like <a 
href="../html/man/grdsample.html" ><span 
class="phvb8t-">grdsample</span></a><a 
 id="dx1-189003"></a> and <a 
href="../html/man/grdproject.html" ><span 
class="phvb8t-">grdproject</span></a><a 
 id="dx1-189004"></a> will allow you to convert from one
format to the other; <a 
href="../html/man/grdedit.html" ><span 
class="phvb8t-">grdedit</span></a><a 
 id="dx1-189005"></a> can make changes to the grid header and convert a pixel- to a gridline-registred grid,
or <span 
class="ptmri8t-">vice versa</span>.
</p><!--l. 200--><p class="noindent" >
</p>
   <h5 class="subsubsectionHead"><a 
 id="x1-190000B.2.2"></a>Gridline registration</h5>
<a 
 id="dx1-190001"></a>
<!--l. 203--><p class="noindent" >In this registration, the nodes are centered on the grid line intersections and the data points represent the average value in a cell
of dimensions (<!--l. 205--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>i</mi><mi 
>n</mi><mi 
>c</mi></mrow></msub 
><mo 
class="MathClass-bin">&#x22C5;</mo><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>i</mi><mi 
>n</mi><mi 
>c</mi></mrow></msub 
></math>)
centered on the nodes (Figure&#x00A0;<a 
href="#x1-190002r1">B.1<!--tex4ht:ref: fig:GMT_App_B_1 --></a>). In the case of grid line registration the number of nodes are related to region
and grid spacing by <br 
class="newline" />
</p>
                                                                                 

                                                                                 
   <div class="par-math-display"><!--l. 210--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="block" ><mrow 
>
 <mtable  style="text-align:axis;"  
equalrows="false" columnlines="none none" equalcolumns="false" class="array"><mtr><mtd 
class="array"  columnalign="center"><mi 
>n</mi><mi 
>x</mi></mtd><mtd 
class="array"  columnalign="center"> <mo 
class="MathClass-rel">=</mo></mtd><mtd 
class="array"  columnalign="left"><mrow ><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>m</mi><mi 
>a</mi><mi 
>x</mi></mrow></msub 
><mo 
class="MathClass-bin">-</mo><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>m</mi><mi 
>i</mi><mi 
>n</mi></mrow></msub 
></mrow><mo 
class="MathClass-close">)</mo></mrow><mo 
class="MathClass-bin">&#x2215;</mo><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>i</mi><mi 
>n</mi><mi 
>c</mi></mrow></msub 
><mo 
class="MathClass-bin">+</mo><mn>1</mn></mtd>
</mtr><mtr><mtd 
class="array"  columnalign="center"><mi 
>n</mi><mi 
>y</mi></mtd><mtd 
class="array"  columnalign="center"> <mo 
class="MathClass-rel">=</mo></mtd><mtd 
class="array"  columnalign="left"><mrow ><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>m</mi><mi 
>a</mi><mi 
>x</mi></mrow></msub 
><mo 
class="MathClass-bin">-</mo><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>m</mi><mi 
>i</mi><mi 
>n</mi></mrow></msub 
></mrow><mo 
class="MathClass-close">)</mo></mrow><mo 
class="MathClass-bin">&#x2215;</mo><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>i</mi><mi 
>n</mi><mi 
>c</mi></mrow></msub 
><mo 
class="MathClass-bin">+</mo><mn>1</mn></mtd></mtr> <!--ccl--></mtable>
</mrow></math></div>
<!--l. 213--><p class="nopar" >
</p><!--l. 215--><p class="indent" >   which for the example in Figure&#x00A0;<a 
href="#x1-190002r1">B.1<!--tex4ht:ref: fig:GMT_App_B_1 --></a> yields <!--l. 215--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>n</mi><mi 
>x</mi> <mo 
class="MathClass-rel">=</mo> <mi 
>n</mi><mi 
>y</mi> <mo 
class="MathClass-rel">=</mo> <mn>4</mn></math>.
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-190002r1"></a>
                                                                                 

                                                                                 

<!--l. 217--><p class="noindent" ><img 
src="images/GMT_App_B_1.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;B.1: </span><span  
class="content">Gridline registration of data nodes.</span></div><!--tex4ht:label?: x1-190002r1 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-190003"></a>
   <h5 class="subsubsectionHead"><a 
 id="x1-191000B.2.2"></a>Pixel registration</h5>
<a 
 id="dx1-191001"></a>
<!--l. 224--><p class="noindent" >Here, the nodes are centered in the grid cells, i.e., the areas between grid lines, and the data points represent the
average values within each cell (Figure&#x00A0;<a 
href="#x1-191002r2">B.2<!--tex4ht:ref: fig:GMT_App_B_2 --></a>. In the case of pixel registration the number of nodes are related to
region and grid spacing by <br 
class="newline" />
</p>
   <div class="par-math-display"><!--l. 230--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="block" ><mrow 
>
 <mtable  style="text-align:axis;"  
equalrows="false" columnlines="none none" equalcolumns="false" class="array"><mtr><mtd 
class="array"  columnalign="center"><mi 
>n</mi><mi 
>x</mi></mtd><mtd 
class="array"  columnalign="center"> <mo 
class="MathClass-rel">=</mo></mtd><mtd 
class="array"  columnalign="left"><mrow ><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>m</mi><mi 
>a</mi><mi 
>x</mi></mrow></msub 
><mo 
class="MathClass-bin">-</mo><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>m</mi><mi 
>i</mi><mi 
>n</mi></mrow></msub 
></mrow><mo 
class="MathClass-close">)</mo></mrow><mo 
class="MathClass-bin">&#x2215;</mo><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>i</mi><mi 
>n</mi><mi 
>c</mi></mrow></msub 
></mtd>
</mtr><mtr><mtd 
class="array"  columnalign="center"><mi 
>n</mi><mi 
>y</mi></mtd><mtd 
class="array"  columnalign="center"> <mo 
class="MathClass-rel">=</mo></mtd><mtd 
class="array"  columnalign="left"><mrow ><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>m</mi><mi 
>a</mi><mi 
>x</mi></mrow></msub 
><mo 
class="MathClass-bin">-</mo><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>m</mi><mi 
>i</mi><mi 
>n</mi></mrow></msub 
></mrow><mo 
class="MathClass-close">)</mo></mrow><mo 
class="MathClass-bin">&#x2215;</mo><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>i</mi><mi 
>n</mi><mi 
>c</mi></mrow></msub 
></mtd></mtr> <!--ccl--></mtable>
</mrow></math></div>
<!--l. 233--><p class="nopar" >
</p><!--l. 235--><p class="indent" >   Thus, given the same region (<span 
class="pcrb8t-">-R</span>), the pixel node registered grids have one less column and one less row than the grid line registered
grids; here we find <!--l. 237--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>n</mi><mi 
>x</mi> <mo 
class="MathClass-rel">=</mo> <mi 
>n</mi><mi 
>y</mi> <mo 
class="MathClass-rel">=</mo> <mn>3</mn></math>.
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-191002r2"></a>
                                                                                 

                                                                                 

<!--l. 239--><p class="noindent" ><img 
src="images/GMT_App_B_2.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;B.2: </span><span  
class="content">Pixel registration of data nodes.</span></div><!--tex4ht:label?: x1-191002r2 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-191003"></a>
<a 
 id="dx1-191004"></a>
   <h4 class="subsectionHead"><span class="titlemark">B.2.3    </span> <a 
 id="x1-192000B.2.3"></a>Boundary Conditions for operations on grids</h4>
<a 
 id="dx1-192001"></a>
<!--l. 247--><p class="noindent" ><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;has the option to specify boundary conditions in some programs that operate on grids (<a 
href="../html/man/grdsample.html" ><span 
class="phvb8t-">grdsample</span></a><a 
 id="dx1-192002"></a> <span 
class="pcrb8t-">-L</span>;
<a 
href="../html/man/grdgradient.html" ><span 
class="phvb8t-">grdgradient</span></a><a 
 id="dx1-192003"></a> <span 
class="pcrb8t-">-L</span>; <a 
href="../html/man/grdtrack.html" ><span 
class="phvb8t-">grdtrack</span></a><a 
 id="dx1-192004"></a> <span 
class="pcrb8t-">-L</span>; <a 
href="../html/man/nearneighbor.html" ><span 
class="phvb8t-">nearneighbor</span></a><a 
 id="dx1-192005"></a> <span 
class="pcrb8t-">-L</span>; <a 
href="../html/man/grdview.html" ><span 
class="phvb8t-">grdview</span></a><a 
 id="dx1-192006"></a> <span 
class="pcrb8t-">-L</span>). The boundary conditions come into play
when interpolating or computing derivatives near the limits of the region covered by the grid. The <span 
class="ptmri8t-">default </span>boundary
conditions used are those which are &#8220;natural&#8221; for the boundary of a minimum curvature interpolating
surface. If the user knows that the data are periodic in <span 
class="ptmri8t-">x </span>(and/or <span 
class="ptmri8t-">y</span>), or that the data cover a sphere
with <span 
class="ptmri8t-">x</span>,<span 
class="ptmri8t-">y </span>representing <span 
class="ptmri8t-">longitude</span>,<span 
class="ptmri8t-">latitude</span>, then there are better choices for the boundary conditions.
Periodic conditions on <span 
class="ptmri8t-">x </span>(and/or <span 
class="ptmri8t-">y</span>) are chosen by specifying <span 
class="ptmri8t-">x </span>(and/or <span 
class="ptmri8t-">y</span>) as the boundary condition flags;
global spherical cases are specified using the <span 
class="ptmri8t-">g </span>(geographical) flag. Behavior of these conditions is as
follows:
<a 
 id="dx1-192007"></a>
   </p><dl class="description"><dt class="description">
<span 
class="ptmb8t-">Periodic</span> </dt><dd 
class="description">conditions on <!--l. 267--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi></math>
   indicate that the data are periodic in the distance (<!--l. 268--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>m</mi><mi 
>a</mi><mi 
>x</mi></mrow></msub 
><mo 
class="MathClass-bin">-</mo><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>m</mi><mi 
>i</mi><mi 
>n</mi></mrow></msub 
></math>)
   and thus repeat values after every <!--l. 269--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>N</mi> <mo 
class="MathClass-rel">=</mo> <mrow ><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>m</mi><mi 
>a</mi><mi 
>x</mi></mrow></msub 
><mo 
class="MathClass-bin">-</mo><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>m</mi><mi 
>i</mi><mi 
>n</mi></mrow></msub 
></mrow><mo 
class="MathClass-close">)</mo></mrow><mo 
class="MathClass-bin">&#x2215;</mo><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>i</mi><mi 
>n</mi><mi 
>c</mi></mrow></msub 
></math>.
   Note       that       this       implies       that       in       a       grid-registered       file       the       values       in
   the       first       and       last       columns       are       equal,       since       these       are       located       at
   <!--l. 271--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi> <mo 
class="MathClass-rel">=</mo> <msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>m</mi><mi 
>i</mi><mi 
>n</mi></mrow></msub 
></math>
   and <!--l. 272--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi> <mo 
class="MathClass-rel">=</mo> <msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>m</mi><mi 
>a</mi><mi 
>x</mi></mrow></msub 
></math>,
   and there are <!--l. 272--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>N</mi> <mo 
class="MathClass-bin">+</mo><mn>1</mn></math>
   columns   in   the   file.   This   is   not   the   case   in   a   pixel-registered   file,   where   there   are   only
   <!--l. 274--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>N</mi></math>
   and the first and last columns are located at <!--l. 275--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>m</mi><mi 
>i</mi><mi 
>n</mi></mrow></msub 
><mo 
class="MathClass-bin">+</mo><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>i</mi><mi 
>n</mi><mi 
>c</mi></mrow></msub 
><mo 
class="MathClass-bin">&#x2215;</mo><mn>2</mn></math>
   and <!--l. 275--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>m</mi><mi 
>a</mi><mi 
>x</mi></mrow></msub 
><mo 
class="MathClass-bin">-</mo><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>i</mi><mi 
>n</mi><mi 
>c</mi></mrow></msub 
><mo 
class="MathClass-bin">&#x2215;</mo><mn>2</mn></math>.
   If <!--l. 275--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>y</mi></math>
   is periodic all the same holds for <!--l. 276--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>y</mi></math>.
   </dd><dt class="description">
<span 
class="ptmb8t-">Geographical</span> </dt><dd 
class="description">conditions indicate the following: <a 
 id="dx1-192008"></a>
   <!--l. 281--><p class="noindent" >
      </p><ol  class="enumerate1" >
      <li 
  class="enumerate" id="x1-192010x1">If <!--l. 283--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mrow ><mo 
class="MathClass-open">(</mo><mrow><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>m</mi><mi 
>a</mi><mi 
>x</mi></mrow></msub 
><mo 
class="MathClass-bin">-</mo><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>m</mi><mi 
>i</mi><mi 
>n</mi></mrow></msub 
></mrow><mo 
class="MathClass-close">)</mo></mrow> <mo 
class="MathClass-rel">&#x2265;</mo> <mn>3</mn><mn>6</mn><mn>0</mn></math>
      and also 180 modulo <!--l. 283--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>i</mi><mi 
>n</mi><mi 
>c</mi></mrow></msub 
> <mo 
class="MathClass-rel">=</mo> <mn>0</mn></math>
      then a periodic condition is used on <!--l. 284--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi></math>
      with      a      period      of      360;      else      a      default      condition      is      used      on      the
      <!--l. 285--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi></math>
      boundaries.
      </li>
      <li 
  class="enumerate" id="x1-192012x2">If condition 1 is true and also <!--l. 287--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>m</mi><mi 
>a</mi><mi 
>x</mi></mrow></msub 
> <mo 
class="MathClass-rel">=</mo> <mn>9</mn><mn>0</mn></math>
      then a &#8220;north pole condition&#8221; is used at <!--l. 288--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>m</mi><mi 
>a</mi><mi 
>x</mi></mrow></msub 
></math>,
      else a default condition is used there.
      </li>
      <li 
  class="enumerate" id="x1-192014x3">If condition 1 is true and also <!--l. 291--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>m</mi><mi 
>i</mi><mi 
>n</mi></mrow></msub 
> <mo 
class="MathClass-rel">=</mo> <mo 
class="MathClass-bin">-</mo><mn>9</mn><mn>0</mn></math>
      then a &#8220;south pole condition&#8221; is used at <!--l. 292--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
><mi 
>y</mi></mrow><mrow 
><mi 
>m</mi><mi 
>i</mi><mi 
>n</mi></mrow></msub 
></math>,
      else a default condition is used there.
                                                                                 

                                                                                 
      </li></ol>
   <!--l. 297--><p class="noindent" >&#8220;Pole conditions&#8221; use a 180<span 
class="ptmr8c-">°</span>&#x00A0;phase-shift of the data, requiring 180 modulo
   <!--l. 298--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msub><mrow 
><mi 
>x</mi></mrow><mrow 
><mi 
>i</mi><mi 
>n</mi><mi 
>c</mi></mrow></msub 
> <mo 
class="MathClass-rel">=</mo> <mn>0</mn></math>.
   </p></dd><dt class="description">
<span 
class="ptmb8t-">Default</span> </dt><dd 
class="description">boundary conditions are <a 
 id="dx1-192015"></a>
<div class="par-math-display"><!--l. 303--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="block" ><mrow 
>
                                 <msup><mrow 
><mo 
class="MathClass-op">&#x2207;</mo></mrow><mrow 
><mn>2</mn></mrow></msup 
><mi 
>f</mi> <mo 
class="MathClass-rel">=</mo>  <mfrac><mrow 
><mi 
>&#x2202;</mi></mrow> 
<mrow 
><mi 
>&#x2202;</mi><mi 
>n</mi></mrow></mfrac><msup><mrow 
><mo 
class="MathClass-op">&#x2207;</mo></mrow><mrow 
><mn>2</mn></mrow></msup 
><mi 
>f</mi> <mo 
class="MathClass-rel">=</mo> <mn>0</mn>
</mrow></math></div>
   <!--l. 303--><p class="nopar" >
   </p><!--l. 305--><p class="noindent" >on the boundary, where <!--l. 305--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>f</mi><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi><mo 
class="MathClass-punc">,</mo><mi 
>y</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></math> is represented
   by the values in the grid file, and <!--l. 306--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>&#x2202;</mi><mo 
class="MathClass-bin">&#x2215;</mo><mi 
>&#x2202;</mi><mi 
>n</mi></math>
   is the derivative in the direction normal to a boundary, and
</p>
<div class="par-math-display"><!--l. 309--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="block" ><mrow 
>
                                  <msup><mrow 
><mo 
class="MathClass-op">&#x2207;</mo></mrow><mrow 
><mn>2</mn></mrow></msup 
> <mo 
class="MathClass-rel">=</mo> <mfenced separators="" 
open="("  close=")" ><mrow> <mfrac><mrow 
><msup><mrow 
><mi 
>&#x2202;</mi></mrow><mrow 
><mn>2</mn></mrow></msup 
></mrow>
<mrow 
><mi 
>&#x2202;</mi><msup><mrow 
><mi 
>x</mi></mrow><mrow 
><mn>2</mn></mrow></msup 
></mrow></mfrac> <mo 
class="MathClass-bin">+</mo> <mfrac><mrow 
><msup><mrow 
><mi 
>&#x2202;</mi></mrow><mrow 
><mn>2</mn></mrow></msup 
></mrow> 
<mrow 
><mi 
>&#x2202;</mi><msup><mrow 
><mi 
>y</mi></mrow><mrow 
><mn>2</mn></mrow></msup 
></mrow></mfrac></mrow></mfenced>
</mrow></math></div>
   <!--l. 309--><p class="nopar" >
   </p><!--l. 311--><p class="noindent" >is the two-dimensional Laplacian operator.
</p>
   </dd></dl>
<a 
 id="dx1-192016"></a>
<!--l. 316--><p class="noindent" >
</p>
   <h4 class="subsectionHead"><span class="titlemark">B.2.4    </span> <a 
 id="x1-193000B.2.4"></a>Native binary grid files</h4>
<a 
 id="dx1-193001"></a>
                                                                                 

                                                                                 
<!--l. 319--><p class="noindent" >The old style native grid file format that was common in earlier version of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;is still supported, although the
use of netCDF<a 
 id="dx1-193002"></a> files is strongly recommended. The file starts with a header of 892 bytes containing a number of
attributes defining the content. The <a 
href="../html/man/grdedit.html" ><span 
class="phvb8t-">grdedit</span></a><a 
 id="dx1-193003"></a> utility program will allow you to edit parts of the header of an existing
grid file. The attributes listed in Table&#x00A0;<a 
href="#x1-193004r2">B.2<!--tex4ht:ref: tbl:grdheader --></a> are contained within the header record in the order given (except the
<!--l. 324--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi></math>-array
which is not part of the header structure, but makes up the rest of the file). As this header was designed long before
64-bit architectures became available, the jump from the first three integers to the subsequent doubles in the
structure does not occur on a 16-byte alignment. While <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;handles the reading of these structures
correctly, enterprising programmers must take care to read this header correctly (see our code for
details).
</p>
   <div class="table">
                                                                                 

                                                                                 
<!--l. 332--><p class="indent" >   <a 
 id="x1-193004r2"></a></p><hr class="float" /><div class="float" 
>
                                                                                 

                                                                                 
<div class="tabular"> <table id="TBL-25" class="tabular" 
cellspacing="0" cellpadding="0" rules="groups" 
><colgroup id="TBL-25-1g"><col 
id="TBL-25-1" /></colgroup><colgroup id="TBL-25-2g"><col 
id="TBL-25-2" /></colgroup><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-25-1-"><td  style="text-align:center; white-space:nowrap;" id="TBL-25-1-1"  
class="td11">    <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">Parameter</span></div>    </td><td  style="text-align:center; white-space:nowrap;" id="TBL-25-1-2"  
class="td11">                                             <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">Description</span></div>
</td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-25-2-"><td  style="text-align:left; white-space:nowrap;" id="TBL-25-2-1"  
class="td11"><span 
class="ptmb8t-">int </span><span 
class="ptmri8t-">nx                           </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-25-2-2"  
class="td11">Number of nodes in the <!--l. 335--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi></math>-dimension         </td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-25-3-"><td  style="text-align:left; white-space:nowrap;" id="TBL-25-3-1"  
class="td11"><span 
class="ptmb8t-">int </span><span 
class="ptmri8t-">ny </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-25-3-2"  
class="td11">Number of nodes in the y-dimension</td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-25-4-"><td  style="text-align:left; white-space:nowrap;" id="TBL-25-4-1"  
class="td11"><span 
class="ptmb8t-">int </span><span 
class="ptmri8t-">node_offset            </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-25-4-2"  
class="td11">0 for grid line registration, 1 for pixel registration                                                                                                                                                             </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-25-5-"><td  style="text-align:left; white-space:nowrap;" id="TBL-25-5-1"  
class="td11"><span 
class="ptmb8t-">double </span><span 
class="ptmri8t-">x_min              </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-25-5-2"  
class="td11">Minimum <!--l. 338--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi></math>-value of region                       </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-25-6-"><td  style="text-align:left; white-space:nowrap;" id="TBL-25-6-1"  
class="td11"><span 
class="ptmb8t-">double </span><span 
class="ptmri8t-">x_max             </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-25-6-2"  
class="td11">Maximum <!--l. 339--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi></math>-value of region                       </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-25-7-"><td  style="text-align:left; white-space:nowrap;" id="TBL-25-7-1"  
class="td11"><span 
class="ptmb8t-">double </span><span 
class="ptmri8t-">y_min              </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-25-7-2"  
class="td11">Minimum <!--l. 340--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>y</mi></math>-value of region                       </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-25-8-"><td  style="text-align:left; white-space:nowrap;" id="TBL-25-8-1"  
class="td11"><span 
class="ptmb8t-">double </span><span 
class="ptmri8t-">y_max             </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-25-8-2"  
class="td11">Maximum <!--l. 341--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>y</mi></math>-value of region                       </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-25-9-"><td  style="text-align:left; white-space:nowrap;" id="TBL-25-9-1"  
class="td11"><span 
class="ptmb8t-">double </span><span 
class="ptmri8t-">z_min              </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-25-9-2"  
class="td11">Minimum <!--l. 342--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi></math>-value in data set                      </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-25-10-"><td  style="text-align:left; white-space:nowrap;" id="TBL-25-10-1"  
class="td11"><span 
class="ptmb8t-">double </span><span 
class="ptmri8t-">z_max             </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-25-10-2"  
class="td11">Maximum <!--l. 343--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi></math>-value in data set                     </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-25-11-"><td  style="text-align:left; white-space:nowrap;" id="TBL-25-11-1"  
class="td11"><span 
class="ptmb8t-">double </span><span 
class="ptmri8t-">x_inc               </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-25-11-2"  
class="td11">Node spacing in <!--l. 344--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi></math>-dimension                     </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-25-12-"><td  style="text-align:left; white-space:nowrap;" id="TBL-25-12-1"  
class="td11"><span 
class="ptmb8t-">double </span><span 
class="ptmri8t-">y_inc               </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-25-12-2"  
class="td11">Node spacing in <!--l. 345--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>y</mi></math>-dimension                     </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-25-13-"><td  style="text-align:left; white-space:nowrap;" id="TBL-25-13-1"  
class="td11"><span 
class="ptmb8t-">double </span><span 
class="ptmri8t-">z_scale_factor</span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-25-13-2"  
class="td11">Factor to multiply <!--l. 346--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi></math>-values after read        </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-25-14-"><td  style="text-align:left; white-space:nowrap;" id="TBL-25-14-1"  
class="td11"><span 
class="ptmb8t-">double </span><span 
class="ptmri8t-">z_add_offset   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-25-14-2"  
class="td11">Offset to add to scaled <!--l. 347--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi></math>-values                  </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-25-15-"><td  style="text-align:left; white-space:nowrap;" id="TBL-25-15-1"  
class="td11"><span 
class="ptmb8t-">char </span><span 
class="ptmri8t-">x_units</span>[80]         </td><td  style="text-align:left; white-space:nowrap;" id="TBL-25-15-2"  
class="td11">Units of the <!--l. 348--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi></math>-dimension                            </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-25-16-"><td  style="text-align:left; white-space:nowrap;" id="TBL-25-16-1"  
class="td11"><span 
class="ptmb8t-">char </span><span 
class="ptmri8t-">y_units</span>[80]         </td><td  style="text-align:left; white-space:nowrap;" id="TBL-25-16-2"  
class="td11">Units of the <!--l. 349--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>y</mi></math>-dimension                            </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-25-17-"><td  style="text-align:left; white-space:nowrap;" id="TBL-25-17-1"  
class="td11"><span 
class="ptmb8t-">char </span><span 
class="ptmri8t-">z_units</span>[80]         </td><td  style="text-align:left; white-space:nowrap;" id="TBL-25-17-2"  
class="td11">Units of the <!--l. 350--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi></math>-dimension                            </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-25-18-"><td  style="text-align:left; white-space:nowrap;" id="TBL-25-18-1"  
class="td11"><span 
class="ptmb8t-">char </span><span 
class="ptmri8t-">title</span>[80]              </td><td  style="text-align:left; white-space:nowrap;" id="TBL-25-18-2"  
class="td11">Descriptive title of the data set                                                                                                                                                                                           </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-25-19-"><td  style="text-align:left; white-space:nowrap;" id="TBL-25-19-1"  
class="td11"><span 
class="ptmb8t-">char </span><span 
class="ptmri8t-">command</span>[320]   </td><td  style="text-align:left; white-space:nowrap;" id="TBL-25-19-2"  
class="td11">Command line that produced the grid file                                                                                                                                                                          </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-25-20-"><td  style="text-align:left; white-space:nowrap;" id="TBL-25-20-1"  
class="td11"><span 
class="ptmb8t-">char </span><span 
class="ptmri8t-">remark</span>[160]       </td><td  style="text-align:left; white-space:nowrap;" id="TBL-25-20-2"  
class="td11">Any additional comments                                                                                                                                                                                                  </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-25-21-"><td  style="text-align:left; white-space:nowrap;" id="TBL-25-21-1"  
class="td11"><span 
class="ptmb8t-">TYPE </span><span 
class="ptmri8t-">z</span>[nx*ny]          </td><td  style="text-align:left; white-space:nowrap;" id="TBL-25-21-2"  
class="td11">1-D array with <!--l. 354--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi></math>-values in scanline format</td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-25-22-"><td  style="text-align:left; white-space:nowrap;" id="TBL-25-22-1"  
class="td11">               </td></tr></table>
</div>
<br /><div class="caption" 
><span class="id">Table&#x00A0;B.2: </span><span  
class="content"><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;grid file header record. <span 
class="ptmb8t-">TYPE </span>can be <span 
class="ptmb8t-">char</span>, <span 
class="ptmb8t-">short</span>, <span 
class="ptmb8t-">int</span>, <span 
class="ptmb8t-">float</span>, or <span 
class="ptmb8t-">double</span>.</span></div><!--tex4ht:label?: x1-193004r2 -->
                                                                                 

                                                                                 
   </div><hr class="endfloat" />
   </div>
<a 
 id="dx1-193005"></a>
   <h3 class="sectionHead"><span class="titlemark">B.3    </span> <a 
 id="x1-194000B.3"></a>Sun raster files</h3>
<a 
 id="dx1-194001"></a>
<!--l. 366--><p class="noindent" >The Sun raster file format consists of a header followed by a series of unsigned 1-byte integers that represents the
bit-pattern. Bits are scanline oriented, and each row must contain an even number of bytes. The predefined
1-bit patterns in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;have dimensions of 64 by 64, but other sizes will be accepted when using the
<span 
class="pcrb8t-">-Gp</span><!--l. 371--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="pcrb8t-">P</span>
option. The Sun header structure is outline in Table&#x00A0;<a 
href="#x1-194002r3">B.3<!--tex4ht:ref: tbl:sunheader --></a>.
</p>
   <div class="table">
                                                                                 

                                                                                 
<!--l. 374--><p class="indent" >   <a 
 id="x1-194002r3"></a></p><hr class="float" /><div class="float" 
>
                                                                                 

                                                                                 
<div class="tabular"> <table id="TBL-26" class="tabular" 
cellspacing="0" cellpadding="0" rules="groups" 
><colgroup id="TBL-26-1g"><col 
id="TBL-26-1" /></colgroup><colgroup id="TBL-26-2g"><col 
id="TBL-26-2" /></colgroup><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-26-1-"><td  style="text-align:center; white-space:nowrap;" id="TBL-26-1-1"  
class="td11">  <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">Parameter</span></div>   </td><td  style="text-align:center; white-space:nowrap;" id="TBL-26-1-2"  
class="td11">         <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">Description</span></div>
</td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-26-2-"><td  style="text-align:left; white-space:nowrap;" id="TBL-26-2-1"  
class="td11"><span 
class="ptmb8t-">int </span><span 
class="ptmri8t-">ras_magic       </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-26-2-2"  
class="td11">Magic number                                    </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-26-3-"><td  style="text-align:left; white-space:nowrap;" id="TBL-26-3-1"  
class="td11"><span 
class="ptmb8t-">int </span><span 
class="ptmri8t-">ras_width        </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-26-3-2"  
class="td11">Width (pixels) of image                      </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-26-4-"><td  style="text-align:left; white-space:nowrap;" id="TBL-26-4-1"  
class="td11"><span 
class="ptmb8t-">int </span><span 
class="ptmri8t-">ras_height       </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-26-4-2"  
class="td11">Height (pixels) of image                     </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-26-5-"><td  style="text-align:left; white-space:nowrap;" id="TBL-26-5-1"  
class="td11"><span 
class="ptmb8t-">int </span><span 
class="ptmri8t-">ras_depth        </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-26-5-2"  
class="td11">Depth (1, 8, 24, 32 bits) of pixel        </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-26-6-"><td  style="text-align:left; white-space:nowrap;" id="TBL-26-6-1"  
class="td11"><span 
class="ptmb8t-">int </span><span 
class="ptmri8t-">ras_length       </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-26-6-2"  
class="td11">Length (bytes) of image                     </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-26-7-"><td  style="text-align:left; white-space:nowrap;" id="TBL-26-7-1"  
class="td11"><span 
class="ptmb8t-">int </span><span 
class="ptmri8t-">ras_type          </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-26-7-2"  
class="td11">Type of file; see RT_* below              </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-26-8-"><td  style="text-align:left; white-space:nowrap;" id="TBL-26-8-1"  
class="td11"><span 
class="ptmb8t-">int </span><span 
class="ptmri8t-">ras_maptype   </span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-26-8-2"  
class="td11">Type of colormap; see RMT_* below</td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-26-9-"><td  style="text-align:left; white-space:nowrap;" id="TBL-26-9-1"  
class="td11"><span 
class="ptmb8t-">int </span><span 
class="ptmri8t-">ras_maplength</span></td><td  style="text-align:left; white-space:nowrap;" id="TBL-26-9-2"  
class="td11">Length (bytes) of following map        </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-26-10-"><td  style="text-align:left; white-space:nowrap;" id="TBL-26-10-1"  
class="td11">            </td></tr></table></div>
<br /><div class="caption" 
><span class="id">Table&#x00A0;B.3: </span><span  
class="content">Structure of a Sun raster file.</span></div><!--tex4ht:label?: x1-194002r3 -->
                                                                                 

                                                                                 
   </div><hr class="endfloat" />
   </div>
<!--l. 393--><p class="indent" >   After the header, the color map (if <span 
class="ptmri8t-">ras_maptype </span>is not RMT_NONE) follows for <span 
class="ptmri8t-">ras_maplength </span>bytes,
followed by an image of <span 
class="ptmri8t-">ras_length </span>bytes. Some related definitions are given in Table&#x00A0;<a 
href="#x1-194004r4">B.4<!--tex4ht:ref: tbl:sundef --></a>.
</p>
   <div class="table">
                                                                                 

                                                                                 
<!--l. 397--><p class="indent" >   <a 
 id="x1-194004r4"></a></p><hr class="float" /><div class="float" 
>
                                                                                 

                                                                                 
<a 
 id="dx1-194003"></a>
<div class="tabular"> <table id="TBL-27" class="tabular" 
cellspacing="0" cellpadding="0" rules="groups" 
><colgroup id="TBL-27-1g"><col 
id="TBL-27-1" /></colgroup><colgroup id="TBL-27-2g"><col 
id="TBL-27-2" /></colgroup><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-27-1-"><td  style="text-align:center; white-space:nowrap;" id="TBL-27-1-1"  
class="td11">    <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">Macro name</span></div>    </td><td  style="text-align:center; white-space:nowrap;" id="TBL-27-1-2"  
class="td11">          <div class="multicolumn"  style="text-align:center; white-space:nowrap;"><span 
class="ptmri8t-">Description</span></div>
</td></tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-27-2-"><td  style="text-align:left; white-space:nowrap;" id="TBL-27-2-1"  
class="td11">RAS_MAGIC               </td><td  style="text-align:left; white-space:nowrap;" id="TBL-27-2-2"  
class="td11">0x59a66a95                                                 </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-27-3-"><td  style="text-align:left; white-space:nowrap;" id="TBL-27-3-1"  
class="td11">RT_STANDARD          </td><td  style="text-align:left; white-space:nowrap;" id="TBL-27-3-2"  
class="td11">1 (Raw pixrect image in 68000 byte order)</td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-27-4-"><td  style="text-align:left; white-space:nowrap;" id="TBL-27-4-1"  
class="td11">RT_BYTE_ENCODED</td><td  style="text-align:left; white-space:nowrap;" id="TBL-27-4-2"  
class="td11">2 (Run-length compression of bytes)          </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-27-5-"><td  style="text-align:left; white-space:nowrap;" id="TBL-27-5-1"  
class="td11">RT_FORMAT_RGB     </td><td  style="text-align:left; white-space:nowrap;" id="TBL-27-5-2"  
class="td11">3 ([X]RGB instead of [X]BGR)                 </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-27-6-"><td  style="text-align:left; white-space:nowrap;" id="TBL-27-6-1"  
class="td11">RMT_NONE                 </td><td  style="text-align:left; white-space:nowrap;" id="TBL-27-6-2"  
class="td11">0 (ras_maplength is expected to be 0)        </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-27-7-"><td  style="text-align:left; white-space:nowrap;" id="TBL-27-7-1"  
class="td11">RMT_EQUAL_RGB    </td><td  style="text-align:left; white-space:nowrap;" id="TBL-27-7-2"  
class="td11">1 (red[ras_maplength/3],green[],blue[])     </td>
</tr><tr 
class="hline"><td><hr /></td><td><hr /></td></tr><tr  
 style="vertical-align:baseline;" id="TBL-27-8-"><td  style="text-align:left; white-space:nowrap;" id="TBL-27-8-1"  
class="td11">                </td></tr></table></div>
<br /><div class="caption" 
><span class="id">Table&#x00A0;B.4: </span><span  
class="content">Sun macro definitions relevant to raster files.</span></div><!--tex4ht:label?: x1-194004r4 -->
                                                                                 

                                                                                 
   </div><hr class="endfloat" />
   </div>
<!--l. 416--><p class="indent" >   Numerous public-domain programs exist, such as <span 
class="ptmbo8t-">xv</span><a 
 id="dx1-194005"></a> and <span 
class="ptmbo8t-">convert</span><a 
 id="dx1-194006"></a> (in the ImageMagick package), that will
translate between various raster file formats such as tiff, gif, jpeg, and Sun raster. Raster patterns may be created
with <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;plotting tools by generating <span 
class="ptmri8t-">PostScript</span>&#x00A0;plots that can be rasterized by <span 
class="ptmbo8t-">ghostscript</span><a 
 id="dx1-194007"></a> and translated into
the right raster format.
                                                                                 

                                                                                 
                                                                                 

                                                                                 
                                                                                 

                                                                                 
<a 
 id="x1-194008r279"></a>
</p>
   <h2 class="appendixHead"><span class="titlemark">Appendix&#x00A0;C</span><br /><a 
 id="x1-195000C"></a>Including <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;graphics into your documents</h2>   <a 
 id="dx1-195001"></a><a 
 id="dx1-195002"></a>
<!--l. 16--><p class="noindent" >Now that you made some nice graphics with <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>, it is time to add them to a document, an article, a report, your
dissertation, a poster, a web page, or a presentation. Of course, you could try the old-fashioned scissors and glue
stick. More likely, you want to incorporate your graphics electronically into the document. Depending on the
application, the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;<span 
class="ptmri8t-">PostScript</span>&#x00A0;file will need to be converted to Encapsulated <span 
class="ptmri8t-">PostScript</span>&#x00A0;(EPS), Portable
Document Format (PDF), or some raster format (e.g., JPEG, PNG, or TIFF) in order to incorporate them into the
document. </p>
   <ul class="itemize1">
   <li class="itemize">When creating a document intended for printing (article, dissertation, or poster) it is best to preserve
   the scalable vector characteristics of the <span 
class="ptmri8t-">PostScript</span>&#x00A0;file. Many applications can directly incorporate
   <span 
class="ptmri8t-">PostScript</span>&#x00A0;in the form of EPS files. Modern programs will often allow the inclusion of PDF files. Either
   way, the sharpness of lines and fonts will be preserved and can be scaled up or down as required.
   </li>
   <li class="itemize">When the aim is to display the graphics on a computer screen or present it using a projector, it is wise
   to convert the <span 
class="ptmri8t-">PostScript</span>&#x00A0;into a raster format. Although applications like <span 
class="ptmbo8t-">PowerPoint</span><a 
 id="dx1-195003"></a> can do this for
   you, you can best take the conversion into your own hands for the best results.</li></ul>
<!--l. 21--><p class="noindent" >A large number of questions to the GMT-Help mailing list are related to these rendering issues, showing that
something as seemingly straightforward as incorporating a <span 
class="ptmri8t-">PostScript</span>&#x00A0;file into a document is a far from trivial
exercise. This Chapter will show how to include <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;graphics into documents and how to achieve the best
quality results.
</p>
   <h3 class="sectionHead"><span class="titlemark">C.1    </span> <a 
 id="x1-196000C.1"></a>Making <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;Encapsulated <span 
class="ptmri8t-">PostScript</span>&#x00A0;Files</h3>
<a 
 id="dx1-196001"></a>
<a 
 id="dx1-196002"></a>
<a 
 id="dx1-196003"></a>
<!--l. 30--><p class="noindent" ><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;can produce both freeform <span 
class="ptmri8t-">PostScript</span>&#x00A0;files and the more restricted Encapsulated <span 
class="ptmri8t-">PostScript</span>&#x00A0;files (EPS).
The former is intended to be sent to a printer or <span 
class="ptmri8t-">PostScript</span>&#x00A0;previewer, while the latter is intended to
be included in another document (but should also be able to print and preview). You control what
kind of <span 
class="ptmri8t-">PostScript</span>&#x00A0;that <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;produces by manipulating the <span 
class="ptmb8t-">PAPER_MEDIA </span>parameter (see the
<a 
href="../html/man/gmtdefaults.html" ><span 
class="phvb8t-">gmtdefaults</span></a><a 
 id="dx1-196004"></a> man page for how this is accomplished). Note that a freeform <span 
class="ptmri8t-">PostScript</span>&#x00A0;file may contain
special operators (such as <span 
class="pcrr8t-">Setpagedevice</span>) that is specific to printers (e.g., selection of paper tray).
Some previewers (among them, Sun&#8217;s <span 
class="ptmbo8t-">pageview</span><a 
 id="dx1-196005"></a>) do not understand these valid instructions and may
fail to image the file. Also, embedding freeform <span 
class="ptmri8t-">PostScript</span>&#x00A0;with such instructions in it into a larger
document can create printing to fail. While you could choose another viewer (we recommend <span 
class="ptmbo8t-">gv</span><a 
 id="dx1-196006"></a>
(ghostview)) to view single plots prepared by <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>, it is generally wiser anyhow to select EPS output
when you are creating a plot intended for inclusion into a larger document. Some programs (and some
publishers as well) do not allow the use of instructions like <span 
class="pcrr8t-">Setpagedevice </span>as part of embedded
graphics.
</p><!--l. 32--><p class="indent" >   An EPS file that is to be placed into another document needs to have correct bounding box parameters.
These are found in the <span 
class="ptmri8t-">PostScript</span>&#x00A0;Document Comment %%BoundingBox. Applications that
generate EPS files should set these parameters correctly. Because <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;makes the <span 
class="ptmri8t-">PostScript</span>&#x00A0;files
on the fly, often with several overlays, it is not possible to do so accurately. However, <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;does
make an effort to ensure that the BoundingBox is large enough to contain the entire composite
plot<span class="footnote-mark"><a 
href="#fn41x12" id="fn41x12-bk"><sup class="textsuperscript">41</sup></a></span><a 
 id="x1-196007f41"></a>.
Therefore, if you need a &#8220;tight&#8221; BoundingBox you need to post-process your <span 
class="ptmri8t-">PostScript</span>&#x00A0;file. There are several
ways in which this can be accomplished.
</p>
                                                                                 

                                                                                 
   <ul class="itemize1">
   <li class="itemize">Programs such as Adobe <span 
class="ptmbo8t-">Illustrator</span><a 
 id="dx1-196008"></a>, Aldus <span 
class="ptmbo8t-">Freehand</span><a 
 id="dx1-196009"></a>, and Corel <span 
class="ptmbo8t-">Draw</span><a 
 id="dx1-196010"></a> will allow you to edit the
   BoundingBox graphically.
   </li>
   <li class="itemize">A command-line alternative is to use freely-available program <span 
class="ptmbo8t-">epstool</span><a 
 id="dx1-196011"></a> from the makers of Aladdin
   <span 
class="ptmbo8t-">ghostscript</span><a 
 id="dx1-196012"></a>. Running
                                                                                 

                                                                                 
   <div class="verbatim" id="verbatim-7">
   epstool&#x00A0;-c&#x00A0;-b&#x00A0;myplot.ps
</div>
   <!--l. 42--><p class="nopar" >should give a tight BoundingBox; <span 
class="ptmbo8t-">epstool</span><a 
 id="dx1-196013"></a> assumes the plot is page size and not a huge poster.
   </p></li>
   <li class="itemize">Another option is to use <span 
class="ptmbo8t-">ps2epsi</span><a 
 id="dx1-196014"></a> which also comes with the <span 
class="ptmbo8t-">ghostscript</span><a 
 id="dx1-196015"></a> package. Running
                                                                                 

                                                                                 
   <div class="verbatim" id="verbatim-8">
   ps2epsi&#x00A0;myplot.ps&#x00A0;myplot.eps
</div>
   <!--l. 50--><p class="nopar" >should also do the trick. The downside is that this program adds an &#8220;image&#8221; of the plot in the
   preamble of the EPS file, thus increasing the file size significantly. This image is a rough rendering of
   your <span 
class="ptmri8t-">PostScript</span>&#x00A0;graphics that some programs will show on screen while you are editing your
   document. This image is basically a placeholder for the <span 
class="ptmri8t-">PostScript</span>&#x00A0;graphics that will actually be
   printed.
   </p></li>
   <li class="itemize">The preferred option is to use the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;utility <a 
href="../html/man/ps2raster.html" ><span 
class="phvb8t-">ps2raster</span></a><a 
 id="dx1-196016"></a>. Its <span 
class="pcrb8t-">-A </span>option will figure out the tightest
   BoundingBox, again using <span 
class="ptmbo8t-">ghostscript</span><a 
 id="dx1-196017"></a> in the background. For example, running
                                                                                 

                                                                                 
   <div class="verbatim" id="verbatim-9">
   ps2raster&#x00A0;-A&#x00A0;-Te&#x00A0;myplot.ps
</div>
   <!--l. 58--><p class="nopar" >will convert the <span 
class="ptmri8t-">PostScript</span>&#x00A0;file <span class="underline">myplot.ps</span> into an encapsulated <span 
class="ptmri8t-">PostScript</span>&#x00A0;file <span class="underline">myplot.eps</span> which is exactly
   cropped to the tightest possible BoundingBox.</p></li></ul>
<!--l. 63--><p class="indent" >   If you do not want to modify your illustration but just include it in a text document: many word processors
(such as Microsoft <span 
class="ptmbo8t-">Word</span><a 
 id="dx1-196018"></a>, Corel <span 
class="ptmbo8t-">WordPerfect</span><a 
 id="dx1-196019"></a>, and Apple <span 
class="ptmbo8t-">Pages</span><a 
 id="dx1-196020"></a>) will let you include a <span 
class="ptmri8t-">PostScript</span>&#x00A0;file that you
may place but not edit. Newer versions of those programs also allow you to include PDF versions of
your graphics. Except for <span 
class="ptmbo8t-">Pages</span><a 
 id="dx1-196021"></a>, you will not be able to view the figure on-screen, but it will print
correctly.
</p><!--l. 66--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">C.2    </span> <a 
 id="x1-197000C.2"></a>Converting <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;<span 
class="ptmri8t-">PostScript</span>&#x00A0;to PDF or raster images</h3>
<a 
 id="dx1-197001"></a>
<a 
 id="dx1-197002"></a>
<a 
 id="dx1-197003"></a>
<a 
 id="dx1-197004"></a>
<a 
 id="dx1-197005"></a>
<!--l. 73--><p class="noindent" >Since Adobe&#8217;s PDF (Portable Document Format) seems to become the <span 
class="ptmri8t-">de facto </span>standard for vector graphics, you
are often well off converting <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;produced <span 
class="ptmri8t-">PostScript</span>&#x00A0;files to PDF. Being both vector formats (i.e., they
basically describe all objects, text and graphics as lines and curves), such conversion sounds awfully
straightforward and not worth a full section in this document. But experience has shown differently, since most
converters cut corners by using the same tool (Aladdin&#8217;s <span 
class="ptmbo8t-">ghostscript</span><a 
 id="dx1-197006"></a>) with basic default options that are not
devised to produce the best quality PDF files.
</p><!--l. 75--><p class="indent" >   For some applications it is practical or even essential that you convert your <span 
class="ptmri8t-">PostScript</span>&#x00A0;file into a raster format,
such as GIF (Graphics Interchange Format), TIFF (Tagged Image File Format), PNG (Portable Network Graphics),
or JPEG (Joint Photographic Experts Group). A web page is better served with a raster image that will immediately
show on a web browser, than with a <span 
class="ptmri8t-">PostScript</span>&#x00A0;file that needs to be downloaded to view, despite the better
printing quality of the <span 
class="ptmri8t-">PostScript</span>&#x00A0;image. A less obvious reason to convert your image to a raster
format is to by-pass <span 
class="ptmbo8t-">PowerPoint</span><a 
 id="dx1-197007"></a>&#8217;s rendering engine in case you want to embed the image into a
presentation.
</p><!--l. 77--><p class="indent" >   The are a number of programs that will convert <span 
class="ptmri8t-">PostScript</span>&#x00A0;files to PDF or raster formats, like Aladdin&#8217;s
<span 
class="ptmbo8t-">pstopdf</span><a 
 id="dx1-197008"></a>, pbmplus&#8217; <span 
class="ptmbo8t-">pstoimg</span><a 
 id="dx1-197009"></a>, or ImageMagick&#8217;s <span 
class="ptmbo8t-">convert</span><a 
 id="dx1-197010"></a>, most of which run <span 
class="ptmbo8t-">ghostscript</span><a 
 id="dx1-197011"></a> behind the scenes. The
same is true for viewers like <span 
class="ptmbo8t-">gv</span><a 
 id="dx1-197012"></a> and Apple&#8217;s <span 
class="ptmbo8t-">Preview</span><a 
 id="dx1-197013"></a>. So a lot of the times when people report that their
<span 
class="ptmri8t-">PostScript</span>&#x00A0;plot does not look right but prints fine, it is the way <span 
class="ptmbo8t-">ghostscript</span><a 
 id="dx1-197014"></a> is used with its most basic settings that
is to blame.
</p><!--l. 79--><p class="noindent" >
</p>
   <h4 class="subsectionHead"><span class="titlemark">C.2.1    </span> <a 
 id="x1-198000C.2.1"></a>When converting or viewing <span 
class="ptmri8t-">PostScript</span>&#x00A0;goes awry</h4>
<a 
 id="dx1-198001"></a>
<a 
 id="dx1-198002"></a>
<a 
 id="dx1-198003"></a>
<!--l. 83--><p class="noindent" >Here are some notorious pitfalls with <span 
class="ptmbo8t-">ghostscript</span><a 
 id="dx1-198004"></a> (and other rendering programs for that matter).
                                                                                 

                                                                                 
   </p><dl class="description"><dt class="description">
<span 
class="ptmb8t-">Rendering.</span> </dt><dd 
class="description">When you are converting to a raster format, make sure you use a high enough resolution so
   that the pixels do not show when it is enlarged onto a screen or using a projector. The right choice of
   resolution depends on the application, but do not feel limited to the default 72 dpi (dots-per-inch) that
   is offered by most converters.
   </dd><dt class="description">
<span 
class="ptmb8t-">Image compression.</span> </dt><dd 
class="description">There  are  <span 
class="ptmri8t-">lossy  </span>and  <span 
class="ptmri8t-">non-lossy  </span>compressions.  A  compression  algorithm  is  called
   &#8220;lossy&#8221; when information is lost in the conversion: there is no way back to get the full original. The
   effect can be seen when there are sharp color transitions in your image: the edges will get blurry in
   order to allow a more efficient compression. JPEG uses a lossy compression, PNG is non-lossy, and
   TIFF generally does not use compression at all. We therefore recommend you convert to PNG if you
   need to rasterize your plot, and leave JPEG to photographs.
   </dd><dt class="description">
<span 
class="ptmb8t-">Embedded image compression.</span> </dt><dd 
class="description">When   your   <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;plot   includes   objects   produced   by   <a 
href="../html/man/grdimage.html" ><span 
class="phvb8t-">grdimage</span></a><a 
 id="dx1-198005"></a>,
   <a 
href="../html/man/psimage.html" ><span 
class="phvb8t-">psimage</span></a><a 
 id="dx1-198006"></a> or <a 
href="../html/man/pslegend.html" ><span 
class="phvb8t-">pslegend</span></a><a 
 id="dx1-198007"></a>, they are seen as &#8220;images&#8221;. The default options of <span 
class="ptmbo8t-">ghostscript</span><a 
 id="dx1-198008"></a> will use a <span 
class="ptmri8t-">lossy</span>
   compression (similar to JPEG) on those images when converting them to PDF objects. This can be
   avoided, however, by inhibiting the compression altogether, or using the non-lossy <span 
class="ptmri8t-">flate </span>compression,
   similar to the one used in the old <span 
class="ptmbo8t-">compress</span><a 
 id="dx1-198009"></a> program. This compression is fully reversible, so that your
   image does not suffer any loss.
   </dd><dt class="description">
<span 
class="ptmb8t-">Auto-rotation.</span> </dt><dd 
class="description">The <span 
class="ptmbo8t-">ghostscript</span><a 
 id="dx1-198010"></a> engine has the annoying habit to automatically rotate an image produced
   with portrait orientation (using the <span 
class="pcrb8t-">-P </span>option) so that the height is always larger than the width. So if
   you have an image that was printed in portrait mode but happens to have a width larger than height
   (for example a global map), it would suddenly get rotated. Again, this function needs to be switched
   off. Apple&#8217;s <span 
class="ptmbo8t-">Preview</span><a 
 id="dx1-198011"></a> uses the <span 
class="ptmbo8t-">ghostscript</span><a 
 id="dx1-198012"></a> engine and suffers from the same annoying habit. Oddly
   enough, <span 
class="ptmbo8t-">ghostscript</span><a 
 id="dx1-198013"></a> does not force landscape plots to be &#8220;horizontal&#8221;.
   </dd><dt class="description">
<span 
class="ptmb8t-">Anti-aliasing.</span> </dt><dd 
class="description">This is not something to worry about when converting to PDF, but certainly when producing
   raster images (discussed below). <span 
class="ptmri8t-">Anti-aliasing </span>in this context means that the rendering tries to avoid
   <span 
class="ptmri8t-">aliasing</span>,  for  example,  sampling  only  the  blacks  in  a  black-and-white  hachure.  It  does  so  by  first
   oversampling the image and then using &#8220;gray-shades&#8221; when a target pixel is only partially white or
   black.
   <!--l. 95--><p class="noindent" >Clearly, this can lead to some unwanted results. First, all edges and lines get blurry and second, the
   assumption of a white background causes the gray shades to stand out when transferring the image to
   background with a different color (like the popular sleep-inducing blue in <span 
class="ptmbo8t-">PowerPoint</span><a 
 id="dx1-198014"></a> presentations).
   A more surprising effect of anti-aliasing is that the seams between tiles that make up the land mask
   when using <a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-198015"></a> will become visible. The anti-aliasing somehow decides to blur the edges of all
   polygons, even when they are seamlessly connected to other polygons.
   </p><!--l. 97--><p class="noindent" >It is therefore wise to overrule the default anti-aliasing option and over-sample the image yourself by
   choosing a higher resolution.
   </p></dd><dt class="description">
<span 
class="ptmb8t-">Including fonts.</span> </dt><dd 
class="description">When you are producing print-ready copy to publishers, they will often (and justifiably)
   ask that you include all fonts in your PDF document. Again, <span 
class="ptmbo8t-">ghostscript</span><a 
 id="dx1-198016"></a> (and all converters relying on
   that engine) will not do so by default.</dd></dl>
<!--l. 102--><p class="noindent" >
</p>
   <h4 class="subsectionHead"><span class="titlemark">C.2.2    </span> <a 
 id="x1-199000C.2.2"></a>Using <a 
href="../html/man/ps2raster.html" ><span 
class="phvb8t-">ps2raster</span></a></h4>
                                                                                 

                                                                                 
<!--l. 104--><p class="noindent" >The remedy to all the problems mentioned in the previous section is readily available to you in the form of the
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;utility <a 
href="../html/man/ps2raster.html" ><span 
class="phvb8t-">ps2raster</span></a><a 
 id="dx1-199001"></a>. It is designed to provide the best quality PDF and raster files using <span 
class="ptmbo8t-">ghostscript</span><a 
 id="dx1-199002"></a> as a
rendering engine. The program <a 
href="../html/man/ps2raster.html" ><span 
class="phvb8t-">ps2raster</span></a><a 
 id="dx1-199003"></a> avoids anti-aliasing and lossy compression techniques that are default
to <span 
class="ptmbo8t-">ghostscript</span><a 
 id="dx1-199004"></a> and includes the fonts into the resulting PDF file to ensure portability. By default the fonts are
rendered at 720 dots-per-inch in a PDF file and images are sampled to 300 dpi, but that can be changed with the <span 
class="pcrb8t-">-E</span>
option. Simply run
                                                                                 

                                                                                 
</p>
   <div class="verbatim" id="verbatim-10">
ps2raster&#x00A0;-A&#x00A0;-P&#x00A0;-Tf&#x00A0;*.ps
</div>
<!--l. 108--><p class="nopar" >to convert all <span 
class="ptmri8t-">PostScript</span>&#x00A0;files to PDF while cropping it to the smallest possible BoundingBox. Or use the <span 
class="pcrb8t-">-Tg</span>
option to convert your files to PNG.
</p><!--l. 112--><p class="indent" >   The <span 
class="pcrb8t-">-P </span>option of <a 
href="../html/man/ps2raster.html" ><span 
class="phvb8t-">ps2raster</span></a><a 
 id="dx1-199005"></a> may also come in handy. When you have <span 
class="ptmri8t-">not </span>supplied the <span 
class="pcrb8t-">-P </span>option in your first
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;plot command, your plot will be in Landscape mode. That means that the plot will be rotated 90 degrees
(anti-clockwise) to fit on a Portrait mode page when coming out of the printer. The <span 
class="pcrb8t-">-P </span>option of <a 
href="../html/man/ps2raster.html" ><span 
class="phvb8t-">ps2raster</span></a><a 
 id="dx1-199006"></a> will
undo that rotation, so that you do not have to do so within your document. This will only affect Landscape plots;
Portrait plots will not be rotated.
</p><!--l. 114--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">C.3    </span> <a 
 id="x1-200000C.3"></a>Examples</h3>
<!--l. 115--><p class="noindent" >
</p>
   <h4 class="subsectionHead"><span class="titlemark">C.3.1    </span> <a 
 id="x1-201000C.3.1"></a><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;graphics in <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span 
class="E">E</span>X</span></span></h4>
<a 
 id="dx1-201001"></a>
<a 
 id="dx1-201002"></a>
<!--l. 119--><p class="noindent" >Nearly all illustrations in this <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;documentation were <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>-produced <span 
class="ptmri8t-">PostScript</span>&#x00A0;files. They were converted to
PDF files using <a 
href="../html/man/ps2raster.html" ><span 
class="phvb8t-">ps2raster</span></a><a 
 id="dx1-201003"></a> and then included into a <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span 
class="E">E</span>X</span></span>&#x00A0;document that was processed with <span 
class="ptmbo8t-">pdflatex</span><a 
 id="dx1-201004"></a> to create
the PDF document you are reading.
</p><!--l. 121--><p class="indent" >   To add the graphics into the <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span 
class="E">E</span>X</span></span>&#x00A0;document we use the <span class="obeylines-h"><span class="verb"><span 
class="pcrr8t-">\includegraphics</span></span></span> command supplied
by the <span 
class="phvr8t-">graphicx </span>package. In the preamble of your <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span 
class="E">E</span>X</span></span>&#x00A0;document you will need to include the
line
                                                                                 

                                                                                 
</p>
   <div class="verbatim" id="verbatim-11">
\usepackage{graphicx}
</div>
<!--l. 125--><p class="nopar" >The inclusion of the graphics will probably be inside a floating figure environment; something like
this
                                                                                 

                                                                                 
</p>
   <div class="verbatim" id="verbatim-12">
\begin{figure}
&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;\includegraphics{myplot}
&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;\caption{This&#x00A0;is&#x00A0;my&#x00A0;first&#x00A0;plot&#x00A0;in&#x00A0;\LaTeX.}
&#x00A0;<br />&#x00A0;&#x00A0;&#x00A0;\label{fig:myplot}
&#x00A0;<br />\end{figure}
</div>
<!--l. 135--><p class="nopar" >Note that the <span class="obeylines-h"><span class="verb"><span 
class="pcrr8t-">\includegraphics</span></span></span> command does not require you to add the suffix <span class="obeylines-h"><span class="verb"><span 
class="pcrr8t-">.pdf</span></span></span> to the file name. If
you run <span 
class="ptmbo8t-">pdflatex</span><a 
 id="dx1-201005"></a>, it will look automatically for <span class="underline">myplot.pdf</span>. If you run <span 
class="ptmbo8t-">latex</span><a 
 id="dx1-201006"></a>, it will use <span class="underline">myplot.eps</span>
instead.
</p><!--l. 139--><p class="indent" >   You can scale your plot using the options <span class="obeylines-h"><span class="verb"><span 
class="pcrr8t-">width=</span></span></span>, <span class="obeylines-h"><span class="verb"><span 
class="pcrr8t-">height=</span></span></span>, or <span class="obeylines-h"><span class="verb"><span 
class="pcrr8t-">scale=</span></span></span>. In addition, if your original
graphics was produced in Landscape mode (i.e., you did <span 
class="ptmri8t-">not </span>use <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#8217;s <span 
class="pcrb8t-">-P </span>option: not while plotting, nor in
<a 
href="../html/man/ps2raster.html" ><span 
class="phvb8t-">ps2raster</span></a><a 
 id="dx1-201007"></a>), you will need to rotate the plot as well. For example,
                                                                                 

                                                                                 
</p>
   <div class="verbatim" id="verbatim-13">
\includegraphics[angle=-90,width=0.8\textwidth]{myplot}
</div>
<!--l. 143--><p class="nopar" >will rotate the image 90<span 
class="ptmr8c-">°</span>&#x00A0;clockwise and scale it such that its width (after rotation) will be 80% of the width of the
text column.
</p><!--l. 147--><p class="noindent" >
</p>
   <h4 class="subsectionHead"><span class="titlemark">C.3.2    </span> <a 
 id="x1-202000C.3.2"></a><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;graphics in <span 
class="ptmbo8t-">PowerPoint</span></h4>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-202001r1"></a>
                                                                                 

                                                                                 

<!--l. 149--><p class="noindent" ><img 
src="images/rendering.png" alt="PIC"  
width="424.58624pt" height="318.44464pt"  />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;C.1: </span><span  
class="content">Examples of rendered images in a <span 
class="ptmbo8t-">PowerPoint</span><a 
 id="dx1-202002"></a> presentation.</span></div><!--tex4ht:label?: x1-202001r1 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-202003r2"></a>
                                                                                 

                                                                                 

<!--l. 155--><p class="noindent" ><img 
src="images/formatpicture.png" alt="PIC"  
width="254.75433pt" height="241.20142pt"  />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;C.2: </span><span  
class="content"><span 
class="ptmbo8t-">PowerPoint</span><a 
 id="dx1-202004"></a>&#8217;s &#8220;Format Picture&#8221; dialogue to set scale and rotation.</span></div><!--tex4ht:label?: x1-202003r2 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 160--><p class="indent" >   In Figure&#x00A0;<a 
href="#x1-202001r1">C.1<!--tex4ht:ref: fig:rendering --></a> we have attempted to include Figure&#x00A0;<a 
href="#x1-148017r20">7.20<!--tex4ht:ref: fig:GMT_example_20 --></a> into a <span 
class="ptmbo8t-">PowerPoint</span><a 
 id="dx1-202005"></a> presentation. First the
<span 
class="ptmri8t-">PostScript</span>&#x00A0;file was converted to PDF (using <a 
href="../html/man/ps2raster.html" ><span 
class="phvb8t-">ps2raster</span></a><a 
 id="dx1-202006"></a>), then loaded into <span 
class="ptmbo8t-">PowerPoint</span><a 
 id="dx1-202007"></a> and the white background
color was made transparent using the formatting toolbar (shown on the left side of Figure&#x00A0;<a 
href="#x1-202001r1">C.1<!--tex4ht:ref: fig:rendering --></a>). Clearly, when we
let <span 
class="ptmbo8t-">PowerPoint</span><a 
 id="dx1-202008"></a> do the rendering, we do not get the best result:
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-202010x1">The anti-aliasing causes the tiles that make up the land to stand out. This is because the anti-aliasing
   algorithm blurs all edges, even when the tiles join seamlessly.
   </li>
   <li 
  class="enumerate" id="x1-202012x2">The  background  color  was  assumed  to  be  white,  hence  the  text  is  &#8220;smoothed&#8221;  using  gray  shades.
   Instead, shades of blue which would be appropriate for the background we are using.</li></ol>
<!--l. 166--><p class="indent" >   On the central column of Figure&#x00A0;<a 
href="#x1-202001r1">C.1<!--tex4ht:ref: fig:rendering --></a> we have included PNG versions of a portion of the same example. This
shows the workings of anti-aliasing and different resolutions. All samples were obtained with <span 
class="ptmbo8t-">convert</span><a 
 id="dx1-202013"></a>. The one on
the top uses all default settings, resulting in an anti-aliased image at 72 dpi resolution (very much like the PDF
included directly into <span 
class="ptmbo8t-">PowerPoint</span><a 
 id="dx1-202014"></a>).
</p><!--l. 168--><p class="indent" >   Just switching anti-aliasing off (middle) is clearly not an option either. It is true that we got rid of the gray
blurring and the seams between the tiles, but without anti-aliasing the image becomes very blocky. The
solution is to render the image at a higher resolution (e.g., 300 dpi) without anti-aliasing and then
shrink the image to the appropriate size (bottom of the central column in Figure&#x00A0;<a 
href="#x1-202001r1">C.1<!--tex4ht:ref: fig:rendering --></a>). The scaling,
rotation as well as the selection of the transparent color can be accomplished through the &#8220;Formatting&#8221;
tool bar and the &#8220;Format Picture&#8221; dialogue box of <span 
class="ptmbo8t-">PowerPoint</span><a 
 id="dx1-202015"></a> (Figure&#x00A0;<a 
href="#x1-202003r2">C.2<!--tex4ht:ref: fig:formatpicture --></a>), which can be found by
double clicking the included image (or selecting and right-clicking or control-clicking on a one-button
mouse).
</p>
   <h3 class="sectionHead"><span class="titlemark">C.4    </span> <a 
 id="x1-203000C.4"></a>Concluding remarks</h3>
<!--l. 172--><p class="noindent" >These examples do not constitute endorsements of the products mentioned above; they only represent our limited
experience with adding <span 
class="ptmri8t-">PostScript</span>&#x00A0;to various types of documents. For other solutions and further help, please post
messages to <a 
href="mailto:gmt-help@lists.hawaii.edu" >gmt-help@lists.hawaii.edu</a>.
                                                                                 

                                                                                 
                                                                                 

                                                                                 
                                                                                 

                                                                                 
<a 
 id="x1-203001r279"></a>
</p>
   <h2 class="appendixHead"><span class="titlemark">Appendix&#x00A0;D</span><br /><a 
 id="x1-204000D"></a>Availability of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;and related code</h2>  <a 
 id="dx1-204001"></a>
   <h3 class="sectionHead"><span class="titlemark">D.1    </span> <a 
 id="x1-205000D.1"></a>Source distribution</h3>
<!--l. 15--><p class="noindent" >All the source code, support data, PDF and HTML versions of all documentation (including <span 
class="ptmri8t-">UNIX</span>&#x00A0;manual
pages) can be obtained by anonymous ftp from several mirror sites. We also maintain a <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;page on
the World Wide Web (http://gmt.soest.hawaii.edu); see this page for installation directions which
allow for a simplified, automatic install procedure (for the purchase of CD-R and DVD-R media, see
<a 
href="http://www.geoware-online.com" >http://www.geoware-online.com</a>.)
</p><!--l. 24--><p class="indent" >   The <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;compressed tar archives requires <span 
class="ptmbo8t-">bzip2</span><a 
 id="dx1-205001"></a> to expand. If this utility is not installed
on your system, you must obtained it by your system&#8217;s package manager or install it
separately<span class="footnote-mark"><a 
href="#fn42x13" id="fn42x13-bk"><sup class="textsuperscript">42</sup></a></span><a 
 id="x1-205002f42"></a>.
The GMT archives are as follows:
   </p><dl class="description"><dt class="description">
<span 
class="ptmb8t-">gmt-4.5.11.tar.bz2</span> </dt><dd 
class="description">Contains  all  <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;and  supplemental  source  code  needed  for  compilation,  support
   files needed at run-time (cpt files, symbols and <span 
class="ptmri8t-">PostScript</span>&#x00A0;patterns), and all documentation (man pages,
   Cookbook and Technical Reference, and the tutorial), the data files used in the tutorial, and all the shell
   scripts and support data used in the Cookbook section.
   </dd><dt class="description">
<span 
class="ptmb8t-">gmt-4.5.11-non-gpl.tar.bz2</span> </dt><dd 
class="description">Contains  Shewchuk&#8217;s  triangle  code  which  is  not  released  under  the  GNU
   license.
   </dd><dt class="description">
<span 
class="ptmb8t-">gshhg-gmt-nc3-2.2.4.tar.bz2</span> </dt><dd 
class="description">Contains  all  resolutions  (full,  high,  intermediate,  low,  and  crude)  of  the
   GSHHG coastline, river, and border databases. Required to run <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>.
   </dd></dl>
<a 
 id="dx1-205003"></a>
<!--l. 45--><p class="indent" >   The netCDF library that makes up the backbone of the grid file i/o operations can be obtained from Unidata by
downloading he file <span class="underline">netcdf.tar.Z</span> from the anonymous FTP directory of <span class="underline">unidata.ucar.edu</span>.
<a 
 id="dx1-205004"></a>
</p><!--l. 51--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">D.2    </span> <a 
 id="x1-206000D.2"></a>Pre-compiled Executables</h3>
<!--l. 53--><p class="noindent" >For Windows users who just want executables we have three Windows installers available. Choose one of the first
two and <span 
class="ptmri8t-">optionally </span>the third:
   </p><dl class="description"><dt class="description">
<span 
class="ptmb8t-">gmt-4.5.11_install32.exe</span> </dt><dd 
class="description">The  32-bit  install  with  all  <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;executables  (including  supplements),  the
   netCDF DLL, the example batch scripts and data, and all documentation in HTML format.
   </dd><dt class="description">
<span 
class="ptmb8t-">gmt-4.5.11_install64.exe</span> </dt><dd 
class="description">The  64-bit  install  with  all  <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;executables  (including  supplements),  the
   netCDF DLL, the example batch scripts and data, and all documentation in HTML format.
   </dd><dt class="description">
<span 
class="ptmb8t-">gmt-4.5.11_pdf_install.exe</span> </dt><dd 
class="description">Installer for the optional <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;documentation in PDF format.
                                                                                 

                                                                                 
   </dd><dt class="description">
<span 
class="ptmb8t-">gshhg-2.2.4_install.exe</span> </dt><dd 
class="description">Installer with the complete set of GSHHG coastlines, rivers, and borders.
   </dd></dl>
<!--l. 69--><p class="noindent" >Usually, only one of the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;32- or 64-bit installers will be needed.
                                                                                 

                                                                                 
                                                                                 

                                                                                 
                                                                                 

                                                                                 
<a 
 id="x1-206001r279"></a>
</p>
   <h2 class="appendixHead"><span class="titlemark">Appendix&#x00A0;E</span><br /><a 
 id="x1-207000E"></a>Predefined bit and hachure patterns in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a></h2>  <a 
 id="dx1-207001"></a><a 
 id="dx1-207002"></a> <a 
 id="dx1-207003"></a>
<!--l. 16--><p class="noindent" ><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;provides 90 different bit and hachure patterns that can be selected with the <span 
class="pcrb8t-">-Gp </span>or <span 
class="pcrb8t-">-GP </span>option in most
plotting programs. The left side of each image was created using <span 
class="pcrb8t-">-Gp</span>, the right side shows the inverted version
using <span 
class="pcrb8t-">-GP</span>. These patterns are reproduced below at 300 dpi.
</p>
<div class="center" 
>
<!--l. 22--><p class="noindent" >

</p><!--l. 23--><p class="noindent" ><img 
src="images/GMT_App_E.png" alt="PIC"  
 /></p></div>
                                                                                 

                                                                                 
<a 
 id="x1-207004r279"></a>
   <h2 class="appendixHead"><span class="titlemark">Appendix&#x00A0;F</span><br /><a 
 id="x1-208000F"></a>Chart of octal codes for characters</h2>   <a 
 id="dx1-208001"></a><a 
 id="dx1-208002"></a> <a 
 id="dx1-208003"></a><a 
 id="dx1-208004"></a>
<!--l. 17--><p class="noindent" >The characters and their octal codes in the Standard and ISOLatin1 encoded fonts are shown in Figure&#x00A0;<a 
href="#x1-208006r1">F.1<!--tex4ht:ref: fig:GMT_App_F_text --></a>. Dark
gray areas signify codes reserved for control characters. In order to use all the extended characters (shown in the
light gray boxes) you need to set <span 
class="ptmb8t-">CHAR_ENCODING </span>to Standard+ or ISOLatin1+ in your <span class="underline">.gmtdefaults4</span>
file<span class="footnote-mark"><a 
href="#fn43x15" id="fn43x15-bk"><sup class="textsuperscript">43</sup></a></span><a 
 id="x1-208005f43"></a>.
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-208006r1"></a>
                                                                                 

                                                                                 
<!--l. 24--><p class="noindent" ><img 
src="images/GMT_App_F_stand+.png" alt="PIC"  
 />                                                                           <img 
src="images/GMT_App_F_iso+.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;F.1: </span><span  
class="content">Octal codes and corresponding symbols for StandardEncoding (left) and ISOLatin1Encoding
(right) fonts.</span></div><!--tex4ht:label?: x1-208006r1 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
                                                                                 

                                                                                 
<a 
 id="dx1-208007"></a>
<a 
 id="dx1-208008"></a>
<a 
 id="dx1-208009"></a>
<!--l. 37--><p class="indent" >   The chart for the Symbol character set (<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;font number 12) and Pifont ZapfDingbats character set (font
number 34) are presented in Figure&#x00A0;<a 
href="#x1-208010r2">F.2<!--tex4ht:ref: fig:GMT_App_F_symbol --></a> below. The octal code is obtained by appending the column value to the
<!--l. 40--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-bin">\</mo></math>?? value,
e.g., <!--l. 40--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>&#x2202;</mi></math> is
<!--l. 41--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-bin">\</mo></math>266 in the Symbol font. The
euro currency symbol is <!--l. 41--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-bin">\</mo></math>240
in the Symbol font and will print if your printer supports it (older printer&#8217;s firmware will not know about the
euro).
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-208010r2"></a>
                                                                                 

                                                                                 
<!--l. 45--><p class="noindent" ><img 
src="images/GMT_App_F_symbol.png" alt="PIC"  
 />                                                                           <img 
src="images/GMT_App_F_dingbats.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;F.2: </span><span  
class="content">Octal codes and corresponding symbols for Symbol (left) and ZapfDingbats (right) fonts.</span></div><!--tex4ht:label?: x1-208010r2 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
                                                                                 

                                                                                 
                                                                                 

                                                                                 
                                                                                 

                                                                                 
<a 
 id="x1-208011r279"></a>
   <h2 class="appendixHead"><span class="titlemark">Appendix&#x00A0;G</span><br /><a 
 id="x1-209000G"></a><span 
class="ptmri8t-">PostScript</span>&#x00A0;fonts used by <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a></h2>  <a 
 id="dx1-209001"></a>
<!--l. 14--><p class="noindent" ><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;uses the standard 35 fonts that come with most <span 
class="ptmri8t-">PostScript</span>&#x00A0;laserwriters. If your printer does not support
some of these fonts, it will automatically substitute the default font (which is usually Courier). The following is a
list of the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;fonts: <br 
class="newline" />
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-209002r1"></a>
                                                                                 

                                                                                 

<!--l. 20--><p class="noindent" ><img 
src="images/GMT_App_G.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;G.1: </span><span  
class="content">The standard 35 <span 
class="ptmri8t-">PostScript</span>&#x00A0;fonts recognized by <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>.</span></div><!--tex4ht:label?: x1-209002r1 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 22--><p class="indent" >   For the special fonts Symbol (12) and ZapfDingbats (34), see the octal charts in Appendix&#x00A0;F. When specifying
fonts in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>, you can either give the entire font name <span 
class="ptmri8t-">or </span>just the font number listed in this table. To change the
fonts used in plotting basemap frames, see the man page for <a 
href="../html/man/gmtdefaults.html" ><span 
class="phvb8t-">gmtdefaults</span></a><a 
 id="dx1-209003"></a>. For direct plotting of
text-strings, see the man page for <a 
href="../html/man/pstext.html" ><span 
class="phvb8t-">pstext</span></a><a 
 id="dx1-209004"></a>. To add additional fonts that you may have purchased or that
are available at your institution, see instructions in the <span class="underline">CUSTOM_font_info.d</span> under the <span class="underline">share/pslib</span>
directory.
                                                                                 

                                                                                 
                                                                                 

                                                                                 
                                                                                 

                                                                                 
<a 
 id="x1-209005r279"></a>
</p>
   <h2 class="appendixHead"><span class="titlemark">Appendix&#x00A0;H</span><br /><a 
 id="x1-210000H"></a>Problems with display of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;<span 
class="ptmri8t-">PostScript</span></h2>
<!--l. 13--><p class="noindent" ><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;creates valid (so far as we know) Adobe <span 
class="ptmri8t-">PostScript</span>&#x00A0;Level 2. It does not use
operators specific to Level 3 and should therefore produce output that should print on all
<span 
class="ptmri8t-">PostScript</span>&#x00A0;printers<span class="footnote-mark"><a 
href="#fn44x17" id="fn44x17-bk"><sup class="textsuperscript">44</sup></a></span><a 
 id="x1-210001f44"></a>.
Sometimes unexpected things happen when <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;output is sent to certain printers or displays. This section lists
some things we have learned from experience, and some work-arounds. Note that many of these lessons are now
rather old so hopefully these workarounds no longer apply to anybody...
</p>
   <h3 class="sectionHead"><span class="titlemark">H.1    </span> <a 
 id="x1-211000H.1"></a><span 
class="ptmri8t-">PostScript</span>&#x00A0;driver bugs</h3>
<a 
 id="dx1-211001"></a>
<!--l. 25--><p class="noindent" >When you try to display a <span 
class="ptmri8t-">PostScript</span>&#x00A0;file on a device, such as a printer or your screen, then a program called a
<span 
class="ptmri8t-">PostScript</span>&#x00A0;device driver has to compute which device pixels should receive which colors (black or white in the
case of a simple laser printer) in order to display the file. At this stage, certain device-dependent things may
happen. These are not limitations of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;or <span 
class="ptmri8t-">PostScript</span>, but of the particular display device. The following bugs
are known to us based on our experiences:
</p><!--l. 35--><p class="indent" >
<a 
 id="dx1-211002"></a>
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-211004x1">Early versions of the Sun SPARCprinter software caused linewidth-dependent path displacement. We
   reported this bug and it has been fixed in newer versions of the software. Try using <a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-211005"></a> to draw
   <!--l. 41--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>y</mi> <mo 
class="MathClass-rel">=</mo> <mi 
>f</mi><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>x</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></math>
   twice, once with a thin pen (<span 
class="pcrb8t-">-W</span>1) and once with a fat pen (<span 
class="pcrb8t-">-W</span>10); if they do not plot on top of each
   other, you have this kind of bug and need new software. The problem may also show up when you plot
   a mixture of solid and dashed (or dotted) lines of various pen thickness
<a 
 id="dx1-211006"></a>
   </li>
   <li 
  class="enumerate" id="x1-211008x2">The first version of the HP Laserjet 4M (prior to Aug&#8211;93) had bugs in the driver program. The old
   one was <span 
class="ptmri8t-">PostScript</span>&#x00A0;SIMM, part number C2080-60001; the new one is called <span 
class="ptmri8t-">PostScript</span>&#x00A0;SIMM, part
   number C2080-60002. You need to get this one plugged into your printer if you have an HP LaserJet
   4M.
<a 
 id="dx1-211009"></a>
   </li>
   <li 
  class="enumerate" id="x1-211011x3">Apple Laserwriters with the older versions of Apple&#8217;s <span 
class="ptmri8t-">PostScript</span>&#x00A0;driver will give the error &#8220;limitcheck&#8221;
   and fail to plot when they encounter a path exceeding about 1000&#8211;1500 points. Try to get a newer
   driver from Apple, but if you can&#8217;t do that, set the parameter MAX_L1_PATH to 1000&#8211;1500 or even
   smaller in the file <span class="underline">src/pslib_inc.h</span> and recompile <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>. The number of points in a <span 
class="ptmri8t-">PostScript</span>&#x00A0;path can
   be arbitrarily large, in principle; <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;will only create paths longer than MAX_L1_PATH if the path
   represents a filled polygon or clipping path. Line-drawings (no fill) will be split so that no segment
   exceeds MAX_L1_PATH. This means <a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-211012"></a> <span 
class="pcrb8t-">-G </span>will issue a warning when you plot a polygon with
   more than MAX_L1_PATH points in it. It is then your responsibility to split the large polygon into
   several smaller segments. If <a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-211013"></a> gives such warnings and the file fails to plot you may have to
   select one of the lower resolution databases The path limitation exemplified by these Apple printers
   is  what  makes  the  higher-resolution  coastlines  for  <a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-211014"></a> non-trivial:  such  coastlines  have  to  be
   organized so that fill operations do not generate excessively large paths. Some HP <span 
class="ptmri8t-">PostScript</span>&#x00A0;cartridges
   for the Laserjet III also have trouble with paths exceeding 1500 points; they may successfully print the
   file, but it can take all night! <a 
 id="dx1-211015"></a>
<a 
 id="dx1-211016"></a>
   </li>
                                                                                 

                                                                                 
   <li 
  class="enumerate" id="x1-211018x4">8-bit color screen displays (and programs which use only 8-bits, even on 24-bit monitors, such as Sun&#8217;s
   <span 
class="ptmbo8t-">pageview</span><a 
 id="dx1-211019"></a>  under  OpenWindows)  may  not  dither  cleverly,  and  so  the  color  they  show  you  may  not
   resemble the color your <span 
class="ptmri8t-">PostScript</span>&#x00A0;file is asking for. Therefore, if you choose colors you like on the
   screen, you may be surprised to find that your plot looks different on the hardcopy printer or film writer.
   The only thing you can do is be aware of this, and make some test cases on your hardcopy devices and
   compare them with the screen, until you get used to this effect. (Each hardcopy device is also a little
   different, and so you will eventually find that you want to tune your color choices for each device.) The
   rgb color cube in example 11 may help.
   </li>
   <li 
  class="enumerate" id="x1-211021x5">Some  versions  of  Sun&#8217;s  OpenWindows  program  <span 
class="ptmbo8t-">pageview</span><a 
 id="dx1-211022"></a>  have  only  a  limited  number  of  colors
   available; the number can be increased somewhat by starting <span 
class="ptmbo8t-">openwin</span><a 
 id="dx1-211023"></a> with the option &#8220;<span 
class="pcrr8t-">openwin</span>
   <span 
class="pcrr8t-">-cubesize large</span>&#8221;.
   </li>
   <li 
  class="enumerate" id="x1-211025x6">Finally,  <span 
class="ptmbo8t-">pageview</span><a 
 id="dx1-211026"></a>  seem  to  have  problems  understanding  the  <span 
class="pcrr8t-">setpagedevice </span>operator.  We
   recommend you only use <span 
class="ptmbo8t-">pageview</span><a 
 id="dx1-211027"></a> on EPS files or use <span 
class="ptmbo8t-">gv</span><a 
 id="dx1-211028"></a> instead.
<a 
 id="dx1-211029"></a>
   </li>
   <li 
  class="enumerate" id="x1-211031x7">Many color hardcopy devices use CMYK color systems. <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;<span 
class="ptmri8t-">PostScript</span>&#x00A0;uses RGB (even if your
   cpt files are using HSV). The three coordinates of RGB space can be mapped into three coordinates in
   CMY space, and in theory K (black) is superfluous. But it is hard to get CMY inks to mix into a good
   black or gray, so these printers supply a black ink as well, hence CMYK. The <span 
class="ptmri8t-">PostScript</span>&#x00A0;driver for a
   CMYK printer should be smart enough to compute what portion of CMY can be drawn in K, and use
   K for this and remove it from CMY; however, some of them aren&#8217;t.
   </li>
   <li 
  class="enumerate" id="x1-211033x8">In      early      releases      of      <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;we      always      used      the      <span 
class="ptmri8t-">PostScript</span>&#x00A0;command      <span 
class="pcrr8t-">r g b</span>
   <span 
class="pcrr8t-">setrgbcolor </span>to   specify   colors,   even   if   the   color   happened   to   be   a   shade   of   gray
   (<!--l. 125--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>r</mi> <mo 
class="MathClass-rel">=</mo> <mi 
>g</mi> <mo 
class="MathClass-rel">=</mo> <mi 
>b</mi></math>)
   or black (<!--l. 125--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>r</mi> <mo 
class="MathClass-rel">=</mo> <mi 
>g</mi> <mo 
class="MathClass-rel">=</mo> <mi 
>b</mi> <mo 
class="MathClass-rel">=</mo> <mn>0</mn></math>).
   One of our users found that black came out muddy brown when he used <span 
class="ptmbo8t-">FreedomOfPress</span><a 
 id="dx1-211034"></a> to make a
   Versatec plot of a <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;map. He found that if he used the <span 
class="ptmri8t-">PostScript</span>&#x00A0;command <span 
class="pcrr8t-">g setgray </span>(where
   <!--l. 128--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>g</mi></math>
   is a graylevel) then the problem went away. Apparently, his installation of <span 
class="ptmbo8t-">FreedomOfPress</span><a 
 id="dx1-211035"></a> uses only
   CMY with the command <span 
class="pcrr8t-">setrgbcolor</span>, and so <span 
class="pcrr8t-">0 0 0 setrgbcolor </span>tries to make black out of
   CMY instead of K. To fix this, in release 2.1 of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;we changed some routines in <span class="underline">pslib.c</span> to check if
   (<!--l. 134--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>r</mi> <mo 
class="MathClass-rel">=</mo> <mi 
>g</mi></math>
   and <!--l. 134--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>r</mi> <mo 
class="MathClass-rel">=</mo> <mi 
>b</mi></math>),
   in which case <span 
class="pcrr8t-">g setgray </span>is used instead of <span 
class="pcrr8t-">r g b setrgbcolor</span>.
   </li>
   <li 
  class="enumerate" id="x1-211037x9">Recent    experience    with    some    Tektronix    Phaser    printers    and    with    commercial    printing
   shops   has   shown   that   this   substitution   creates   problems   precisely   opposite   of   the   problems
   our    Versatec    user    has.    The    Tektronix    and    commercial    (we    think    it    was    a    Scitex)
   machines   do   not   use   K   when   you   say   <span 
class="pcrr8t-">0 setgray </span>but   they   do   when   you   say   <span 
class="pcrr8t-">0 0 0</span>
   <span 
class="pcrr8t-">setrgbcolor</span>.   We   believe   that   these   problems   are   likely   to   disappear   as   the   various
   software  developers  make  their  codes  more  robust.  Note  that  this  is  not  a  fault  with  <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>:
   <!--l. 145--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>r</mi> <mo 
class="MathClass-rel">=</mo> <mi 
>g</mi> <mo 
class="MathClass-rel">=</mo> <mi 
>b</mi> <mo 
class="MathClass-rel">=</mo> <mn>0</mn></math>
   means black and should plot that way. Thus, the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;source code as shipped to you checks whether
   <!--l. 146--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>r</mi> <mo 
class="MathClass-rel">=</mo> <mi 
>g</mi></math>
   and <!--l. 147--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>r</mi> <mo 
class="MathClass-rel">=</mo> <mi 
>b</mi></math>,
   in which case it uses <span 
class="pcrr8t-">setgray</span>, else <span 
class="pcrr8t-">setrgbcolor</span>. If your gray tones are not being drawn with K,
   you have two work-around options: (1) edit the source for <span class="underline">pslib.c</span> or (2) edit your <span 
class="ptmri8t-">PostScript</span>&#x00A0;file and
   try using <span 
class="pcrr8t-">setrgbcolor </span>in all cases. The simplest way to do so is to redefine the <span 
class="pcrr8t-">setgray </span>operator
                                                                                 

                                                                                 
   to use <span 
class="pcrr8t-">setrgbcolor</span>. Insert the line <br 
class="newline" />
   <!--l. 155--><p class="noindent" ><span 
class="pcrr8t-">/setgray {dup dup setrgbcolor} def</span><br 
class="newline" />
   </p><!--l. 157--><p class="noindent" >immediately following the first line in the file (starts with %!PS.)
   </p></li>
   <li 
  class="enumerate" id="x1-211039x10">Some color film writers are very sensitive to the brand of film. If black doesn&#8217;t look black on your color
   slides, try a different film. <a 
 id="dx1-211040"></a>
   </li></ol>
<!--l. 167--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">H.2    </span> <a 
 id="x1-212000H.2"></a>Resolution and dots per inch</h3>
<a 
 id="dx1-212001"></a>
<!--l. 170--><p class="noindent" >The parameter <span 
class="ptmb8t-">DOTS_PR_INCH </span>can be set by the user through the <span class="underline">.gmtdefaults4</span> file or <a 
href="../html/man/gmtset.html" ><span 
class="phvb8t-">gmtset</span></a><a 
 id="dx1-212002"></a>. By default it is
equal to the value in the <span class="underline">gmt_defaults.h</span> file, which is supplied with 300 when you get <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;from us. This seems a
good size for most applications, but should ideally reflect the resolution of your hardcopy device (most laserwriters
have at least 300 dpi, hence our default value). <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;computes what the plot should look like in double
precision floating point coordinates, and then converts these to integer coordinates at <span 
class="ptmb8t-">DOTS_PR_INCH</span>
resolution. This helps us find out that certain points in a path lie on top of other points, and we can
remove these, making smaller paths. Small paths are important for the laserwriter bugs above, and also
to make fill operations compute faster. Some users have set their <span 
class="ptmb8t-">DOTS_PR_INCH </span>to very large
numbers. This only makes the <span 
class="ptmri8t-">PostScript</span>&#x00A0;output bigger without affecting the appearance of the plot.
However, if you want to make a plot which fits on a page at first, and then later magnify this same
<span 
class="ptmri8t-">PostScript</span>&#x00A0;file to a huge size, the higher DPI is important. Your data may not have the higher resolution
but on certain devices the edges of fonts will not look crisp if they are not drawn with an effective
resolution of 300 dpi or so. Beware of making an excessively large path. Note that if you change dpi the
linewidths produced by your <span 
class="pcrb8t-">-W </span>options will change, unless you have appended <span 
class="ptmb8t-">p </span>for linewidth in
points.
</p><!--l. 196--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">H.3    </span> <a 
 id="x1-213000H.3"></a>European characters</h3>
<a 
 id="dx1-213001"></a>
<a 
 id="dx1-213002"></a>
<!--l. 199--><p class="noindent" >Note for users of <span 
class="ptmbo8t-">pageview</span><a 
 id="dx1-213003"></a> in Sun OpenWindows: <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;now offers some octal escape sequences to load
European alphabet characters in text strings (see Section&#x00A0;<a 
href="#x1-780004.16">4.16<!--tex4ht:ref: sec:escape --></a>). When this feature is enabled, the header on
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;<span 
class="ptmri8t-">PostScript</span>&#x00A0;output includes a section defining special fonts. The definition is added to the header whether or
not your plot actually uses the fonts.
</p><!--l. 206--><p class="indent" >   Users who view their <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;<span 
class="ptmri8t-">PostScript</span>&#x00A0;output using <span 
class="ptmbo8t-">pageview</span><a 
 id="dx1-213004"></a> in OpenWindows on Sun computers or user
older laserwriters may have difficulties with the European font definition. If your installation of OpenWindows
followed a space-saving suggestion of Sun, you may have excluded the European fonts, in which case <span 
class="ptmbo8t-">pageview</span><a 
 id="dx1-213005"></a>
will fail to render your plot.
</p><!--l. 214--><p class="indent" >   Ask your system administrator about this, or run this simple test: (1) View a <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;<span 
class="ptmri8t-">PostScript</span>&#x00A0;file with
<span 
class="ptmbo8t-">pageview</span><a 
 id="dx1-213006"></a>. If it comes up OK, you will be fine. If it comes up blank, open the &#8220;Edit PostScript&#8221; button and examine
the lower window for error messages. (The European font problem generates lots of error messages in this
window). (2) Verify that the <span 
class="ptmri8t-">PostScript</span>&#x00A0;file is OK, by sending it to a laserwriter and making sure it comes out. (3)
If the <span 
class="ptmri8t-">PostScript</span>&#x00A0;file is OK but it chokes <span 
class="ptmbo8t-">pageview</span><a 
 id="dx1-213007"></a>, then edit the <span 
class="ptmri8t-">PostScript</span>&#x00A0;file, cutting out everything between
                                                                                 

                                                                                 
the lines: <br 
class="newline" />
</p><!--l. 225--><p class="noindent" >%%%%% START OF EUROPEAN FONT DEFINITION %%%%% <br 
class="newline" /><!--l. 227--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003C;</mo></math>bunch of
definitions<!--l. 227--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003E;</mo></math>
<br 
class="newline" />%%%%% END OF EUROPEAN FONT DEFINITION %%%%% <br 
class="newline" />
</p><!--l. 230--><p class="indent" >   Now try <span 
class="ptmbo8t-">pageview</span><a 
 id="dx1-213008"></a> on the edited version. If it now comes up, you have a limited subset of OpenWindows
installed. If you discover that these fonts cause you trouble, then you can edit your <span class="underline">.gmtdefaults4</span> file
to set <span 
class="ptmb8t-">CHAR_ENCODING </span>= Standard, which will suppress the printing of this definition in the
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;<span 
class="ptmri8t-">PostScript</span>&#x00A0;header. You can make output which will be viewable in <span 
class="ptmbo8t-">pageview</span><a 
 id="dx1-213009"></a> without any editing. However,
you would have to reset this to TRUE before attempting to use European fonts, and then the output will become
un-<span 
class="ptmbo8t-">pageview</span><a 
 id="dx1-213010"></a>-able again. If you try to concatenate segments of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;<span 
class="ptmri8t-">PostScript</span>&#x00A0;made with and without the
European fonts enabled, then you may find that you have problems, either with the definition, or because you ask
for something not defined.
</p><!--l. 245--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">H.4    </span> <a 
 id="x1-214000H.4"></a>Hints</h3>
<a 
 id="dx1-214001"></a>
<!--l. 248--><p class="noindent" >When making images and perspective views of large amounts of data, the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;programs can take some time to
run, the resulting <span 
class="ptmri8t-">PostScript</span>&#x00A0;files can be very large, and the time to display the plot can be long. Fine tuning a plot
script can take lots of trial and error. We recommend using <a 
href="../html/man/grdsample.html" ><span 
class="phvb8t-">grdsample</span></a><a 
 id="dx1-214002"></a> to make a low resolution version of the
data files you are plotting, and practice with that, so it is faster; when the script is perfect, use the full-resolution
data files. We often begin building a script using only <a 
href="../html/man/psbasemap.html" ><span 
class="phvb8t-">psbasemap</span></a><a 
 id="dx1-214003"></a> or <a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-214004"></a> to get the various plots oriented
correctly on the page; once this works we replace the <a 
href="../html/man/psbasemap.html" ><span 
class="phvb8t-">psbasemap</span></a><a 
 id="dx1-214005"></a> calls with the actually desired
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;programs.
</p><!--l. 261--><p class="indent" >   If you want to make color shaded relief images and you haven&#8217;t had much experience with it, here is a
good first cut at the problem: Set your <span 
class="ptmb8t-">COLOR_MODEL </span>to HSV using <a 
href="../html/man/gmtset.html" ><span 
class="phvb8t-">gmtset</span></a><a 
 id="dx1-214006"></a>. Use <a 
href="../html/man/makecpt.html" ><span 
class="phvb8t-">makecpt</span></a><a 
 id="dx1-214007"></a> or
<a 
href="../html/man/grd2cpt.html" ><span 
class="phvb8t-">grd2cpt</span></a><a 
 id="dx1-214008"></a> to make a continuous color palette spanning the range of your data. Use the <span 
class="pcrb8t-">-Nt </span>option on
<a 
href="../html/man/grdgradient.html" ><span 
class="phvb8t-">grdgradient</span></a><a 
 id="dx1-214009"></a>. Try the result, and then play with the tuning of the <span class="underline">.gmtdefaults4</span>, the cpt file, and the gradient
file.
                                                                                 

                                                                                 
                                                                                 

                                                                                 
                                                                                 

                                                                                 
<a 
 id="x1-214010r279"></a>
</p>
   <h2 class="appendixHead"><span class="titlemark">Appendix&#x00A0;I</span><br /><a 
 id="x1-215000I"></a>Color Space: The final frontier</h2>
<a 
 id="dx1-215001"></a>
<a 
 id="dx1-215002"></a>
<a 
 id="dx1-215003"></a>
<!--l. 17--><p class="noindent" >In this Appendix, we are going to try to explain the relationship between the RGB, CMYK, and HSV color systems
so as to (hopefully) make them more intuitive. <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;allows users to specify colors in cpt files in either of these
three systems. Interpolation between colors is performed in either RGB or HSV, depending on the specification in
the cpt file. Below, we will explain why this all matters.
</p>
   <h3 class="sectionHead"><span class="titlemark">I.1    </span> <a 
 id="x1-216000I.1"></a>RGB color system</h3>
<!--l. 23--><p class="noindent" >Remember your (parents&#8217;) first color television set? Likely it had three little bright colored squares on it: red, green, and blue.
And that is exactly what each color on the tube is made of: varying levels of red, green and blue light. Switch all of them off,
<!--l. 23--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>r</mi> <mo 
class="MathClass-rel">=</mo> <mi 
>g</mi> <mo 
class="MathClass-rel">=</mo> <mi 
>b</mi> <mo 
class="MathClass-rel">=</mo> <mn>0</mn></math>, then you have black. All
of them at maximum, <!--l. 23--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>r</mi> <mo 
class="MathClass-rel">=</mo> <mi 
>g</mi> <mo 
class="MathClass-rel">=</mo> <mi 
>b</mi> <mo 
class="MathClass-rel">=</mo> <mn>2</mn><mn>5</mn><mn>5</mn></math>,
creates white. Your computer screen works the same way.
</p><!--l. 25--><p class="indent" >   A mix of levels of red, green, and blue creates basically any color imaginable. In <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;each color can be represented by the triplet
<!--l. 25--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>r</mi></math>/<!--l. 25--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>g</mi></math>/<!--l. 25--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>b</mi></math>.
For example, 127/255/0 (half red, full green, and no blue) creates a color called chartreuse. The color sliders
in the graphics program <span 
class="ptmbo8t-">GIMP</span><a 
 id="dx1-216001"></a> are an excellent way to experiment with colors, since they show
you in advance how moving one of the color sliders will change the color. As Figure&#x00A0;<a 
href="#x1-216002r1">I.1<!--tex4ht:ref: fig:gimp --></a><span 
class="ptmri8t-">a </span>shows:
increase the red and you will get a more yellow color, while lowering the blue level will turn it into
brown.
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-216002r1"></a>
                                                                                 

                                                                                 

<!--l. 28--><p class="noindent" ><img 
src="images/gimp-sliders.png" alt="PIC"  
width="199.55605pt" height="111.21713pt"  />&#x00A0;<span 
class="ptmri8t-">a                                                                                                                                                     b</span>&#x00A0;<img 
src="images/gimp-panel.png" alt="PIC"  
width="199.55605pt" height="111.21713pt"  />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;I.1: </span><span  
class="content">Chartreuse in <span 
class="ptmbo8t-">GIMP</span><a 
 id="dx1-216003"></a>. (<span 
class="ptmri8t-">a</span>) Sliders indicate how the color is altered when changing the H, S, V,
R, G, or B levels. (<span 
class="ptmri8t-">b</span>) For a constant hue (here 90<span 
class="ptmr8c-">°</span>) value increases to the right and saturation increases up,
so the &#8220;pure&#8221; color is on the top right.</span></div><!--tex4ht:label?: x1-216002r1 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 34--><p class="indent" >   Is chocolate your favorite color, but you do not know the RGB equivalent values? Then look them up in
Figure&#x00A0;<a 
href="#x1-216005r2">I.2<!--tex4ht:ref: fig:RGBchart --></a> or type <span 
class="ptmbo8t-">man gmtcolors</span><a 
 id="dx1-216004"></a> for a full list. It&#8217;s 210/105/30. But <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;makes it easy on you:
you can specify pen, fill, and palette colors by any of the more than 500 unique colors found in that
file.
</p><!--l. 36--><p class="indent" >   Are you very web-savvy and work best with hexadecimal color codes as they are used in HTML?
Even that is allowed in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>. Just start with a hash mark (<span 
class="pcrr8t-">#</span>) and follow with the 2 hexadecimal
characters for red, green, and blue. For example, you can use <span 
class="pcrr8t-">#79ff00 </span>for chartreuse, <span 
class="pcrr8t-">#D2691E </span>for
chocolate.
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-216005r2"></a>
                                                                                 

                                                                                 
                                                                                 

                                                                                 
<!--l. 39--><p class="noindent" > <img 
src="images/GMT_RGBchart_a4.png" alt="PIC"  
 />                                                                             

                                                                                 
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;I.2: </span><span  
class="content">The 555 unique color names that can be used in GMT. Lower, upper, or mixed case, as well as
the british spelling of &#8220;grey&#8221; are allowed. A4, Letter, and Tabloid sized versions of this RGB chart can be
found in the GMT documentation directory.</span></div><!--tex4ht:label?: x1-216005r2 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
   <h3 class="sectionHead"><span class="titlemark">I.2    </span> <a 
 id="x1-217000I.2"></a>HSV color system</h3>
<!--l. 47--><p class="noindent" >If you have played around with RGB color sliders, you will have noticed that it is not intuitive to make a chosen
color lighter or darker, more saturated or more gray. It would involve changing three sliders. To make it easier to
manipulate colors in terms of lightness and saturation, another coordinate system was invented: HSV (hue,
saturation, value). Those terms can be made clear best by looking at the color sliders in Figure&#x00A0;<a 
href="#x1-216002r1">I.1<!--tex4ht:ref: fig:gimp --></a><span 
class="ptmri8t-">a</span>. Hue
(running from 0<span 
class="ptmr8c-">°</span>&#x00A0;to 360<span 
class="ptmr8c-">°</span>) gives you the full spectrum of saturated colors. Saturation (from 0 to 1,
or 100%) tells you how &#8216;full&#8217; your color is: reduce it to zero and you only have gray scales. Value
(from 0 to 1, or 100%) will bring you from black to a fully saturated color. Note that &#8220;value&#8221; is not
the same as &#8220;intensity&#8221;, or &#8220;lightness&#8221;, used in other color geometries. &#8220;Brilliance&#8221; may be the best
alternative word to describe &#8220;value&#8221;. Apple calls it as &#8220;brightness&#8221;, and hence refers to HSB for this color
space.
</p><!--l. 49--><p class="indent" >   Want more chartreuse or chocolate? You can specify them in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;as 90-1-1 and 25-0.86-0.82,
respectively.
</p><!--l. 51--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">I.3    </span> <a 
 id="x1-218000I.3"></a>The color cube</h3>
<!--l. 52--><p class="noindent" >We are going to try to give you a geometric picture of color mixing in RGB and HSV by means of a tour
of the RGB cube depicted in Figure&#x00A0;<a 
href="#x1-139003r11">7.11<!--tex4ht:ref: fig:GMT_example_11 --></a>. The geometric picture is most helpful, we think, since
HSV are not orthogonal coordinates and not found from RGB by a simple algebraic transformation.
So here goes: Look at the cube face with black, red, magenta, and blue corners. This is the
<!--l. 58--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>g</mi></math> = 0 face. Orient
the cube so that you are looking at this face with black in the lower left corner. Now imagine a right-handed cartesian
(<!--l. 60--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>r</mi></math>,<!--l. 60--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>g</mi></math>,<!--l. 60--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>b</mi></math>)
coordinate system with origin at the black point; you are looking at the
<!--l. 61--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>g</mi> <mo 
class="MathClass-rel">=</mo> <mn>0</mn></math> plane with
<!--l. 62--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>r</mi></math> increasing to your right,
<!--l. 62--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>g</mi></math> increasing away from you, and
<!--l. 63--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>b</mi></math> increasing up. Keep this sense of
(<!--l. 64--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>r</mi></math>,<!--l. 64--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>g</mi></math>,<!--l. 64--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>b</mi></math>)
as you look at the cube.
</p><!--l. 66--><p class="indent" >   Now tip the cube such that the black corner faces down and the white corner up. When looking from the top,
you can see the hue, contoured in gray solid lines, running around in 360<span 
class="ptmr8c-">°</span>&#x00A0;counter-clockwise. It starts with shades
of red (0<span 
class="ptmr8c-">°</span>), then goes through green (120<span 
class="ptmr8c-">°</span>) and blue (240<span 
class="ptmr8c-">°</span>), back to red.
</p><!--l. 68--><p class="indent" >   On the three faces that are now on the lower side (with the white print) one of
(<!--l. 68--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>r</mi></math>,<!--l. 68--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>g</mi></math>,<!--l. 68--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>b</mi></math>)
is equal to 0. These three faces meet at the black corner, where
<!--l. 68--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>r</mi> <mo 
class="MathClass-rel">=</mo> <mi 
>g</mi> <mo 
class="MathClass-rel">=</mo> <mi 
>b</mi> <mo 
class="MathClass-rel">=</mo> <mn>0</mn></math>. On these three faces the colors are
fully saturated: <!--l. 68--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>s</mi></math> = 1. The dashed white
lines indicate different levels of <!--l. 68--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>v</mi></math>,
ranging from 0 to 1 with contours every 0.1.
</p><!--l. 70--><p class="indent" >   On  the  upper  three  faces  (with  the  black  print),  one  of
(<!--l. 70--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>r</mi></math>,<!--l. 70--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>g</mi></math>,<!--l. 70--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>b</mi></math>)
is equal to the maximum value. These three faces meet at the white corner, where
<!--l. 72--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>r</mi> <mo 
class="MathClass-rel">=</mo> <mi 
>g</mi> <mo 
class="MathClass-rel">=</mo> <mi 
>b</mi> <mo 
class="MathClass-rel">=</mo> <mn>2</mn><mn>5</mn><mn>5</mn></math>. On these three faces
value is at its maximum: <!--l. 73--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>v</mi></math>
= 1 (or 100%). The dashed black lines indicate varying levels of saturation:
<!--l. 73--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>s</mi></math> ranges
                                                                                 

                                                                                 
from 0 to 1 with contours every 0.1.
</p><!--l. 76--><p class="indent" >   Now turn the cube around on its vertical axis (running from the black to the white corner).
Along the six edges that zigzag around the &#8220;equator&#8221;, both saturation and value are maximum, so
<!--l. 76--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>s</mi> <mo 
class="MathClass-rel">=</mo> <mi 
>v</mi> <mo 
class="MathClass-rel">=</mo> <mn>1</mn></math>.
Twirling the cube around and tracing the zigzag, you will visit six of the eight corners of the cube, with changing
hue (<!--l. 77--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>h</mi></math>):
red (0<span 
class="ptmr8c-">°</span>), yellow (60<span 
class="ptmr8c-">°</span>), green (120<span 
class="ptmr8c-">°</span>), cyan (180<span 
class="ptmr8c-">°</span>), blue (240<span 
class="ptmr8c-">°</span>), and magenta (300<span 
class="ptmr8c-">°</span>). Three of these
are the RGB colors; the other three are the CMY colors which are the complement of RGB and are
used in many color hardcopy devices (see below). The only cube corners you did not visit on this
path are the black and white corners. They lie on the vertical axis where hue is undefined and
<!--l. 83--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>r</mi> <mo 
class="MathClass-rel">=</mo> <mi 
>g</mi> <mo 
class="MathClass-rel">=</mo> <mi 
>b</mi></math>. Any
point on this axis is a shade of gray.
</p><!--l. 85--><p class="indent" >   Let us call the points where <!--l. 85--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>s</mi> <mo 
class="MathClass-rel">=</mo> <mi 
>v</mi> <mo 
class="MathClass-rel">=</mo> <mn>1</mn></math>
(points along the RYGCBM path described above) the &#8220;pure&#8221; colors. If we start at a pure color and we want to whiten it,
we can keep <!--l. 86--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>h</mi></math>
constant and <!--l. 86--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>v</mi> <mo 
class="MathClass-rel">=</mo> <mn>1</mn></math>
while decreasing <!--l. 87--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>s</mi></math>;
this will move us along one of the cube faces toward the white point. If we start at a pure color and we want to blacken it,
we can keep <!--l. 89--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>h</mi></math>
constant and <!--l. 89--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>s</mi> <mo 
class="MathClass-rel">=</mo> <mn>1</mn></math>
while decreasing <!--l. 90--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>v</mi></math>;
this will move us along one of the cube faces toward the black point. Any point in
(<!--l. 91--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>r</mi></math>,<!--l. 91--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>g</mi></math>,<!--l. 91--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>b</mi></math>)
space which can be thought of as a mixture of pure color + white, or pure color + black, is on a face of the
cube.
</p><!--l. 95--><p class="indent" >   The points in the interior of the cube are a little harder to describe. The definition for
<!--l. 96--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>h</mi></math> above works at all points in (non-gray)
(<!--l. 97--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>r</mi></math>,<!--l. 97--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>g</mi></math>,<!--l. 97--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>b</mi></math>)
space, but so far we have only looked at (<!--l. 97--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>s</mi></math>,
<!--l. 98--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>v</mi></math>)
on  the  cube  faces,  not  inside  it.  At  interior  points,  none  of
(<!--l. 99--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>r</mi></math>,<!--l. 99--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>g</mi></math>,<!--l. 99--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>b</mi></math>)
is equal to either 0 or 255. Choose such a point, not on the gray axis. Now draw a line through your point so that
the line intersects the gray axis and also intersects the RYGCBM path of edges somewhere. It is always possible to
construct this line, and all points on this line have the same hue. This construction shows that any point in RGB
space can be thought of as a mixture of a pure color plus a shade of gray. If we move along this line away from the
gray axis toward the pure color, we are &#8220;purifying&#8221; the color by &#8220;removing gray&#8221;; this move increases the
color&#8217;s saturation. When we get to the point where we cannot remove any more gray, at least one of
(<!--l. 109--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>r</mi></math>,<!--l. 109--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>g</mi></math>,<!--l. 109--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>b</mi></math>)
will have become zero and the color is now fully saturated;
<!--l. 110--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>s</mi> <mo 
class="MathClass-rel">=</mo> <mn>1</mn></math>.
Conversely, any point on the gray axis is completely undersaturated, so that
<!--l. 111--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>s</mi> <mo 
class="MathClass-rel">=</mo> <mn>0</mn></math> there. Now we see that
the black point is special, <!--l. 112--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>s</mi></math>
is both 0 and 1 at the same time. In other words, at the black point saturation in undefined (and so is hue). The convention
is to use <!--l. 112--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>h</mi> <mo 
class="MathClass-rel">=</mo> <mi 
>s</mi> <mo 
class="MathClass-rel">=</mo> <mi 
>v</mi> <mo 
class="MathClass-rel">=</mo> <mn>0</mn></math>
at this point.
</p><!--l. 114--><p class="indent" >   It remains to define value. To do so, try this: Take your point in RGB space and construct a line through it so
that this line goes through the black point; produce this line from black past your point until it hits a face on which
<!--l. 117--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>v</mi> <mo 
class="MathClass-rel">=</mo> <mn>1</mn></math>. All
points on this line have the same hue. Note that this line and the line we made in the previous paragraph are both
contained in the plane whose hue is constant. These two lines meet at some arbitrary angle which varies
depending on which point you chose. Thus HSV is not an orthogonal coordinate system. If the line
you made in the previous paragraph happened to touch the gray axis at the black point, then these
                                                                                 

                                                                                 
two lines are the same line, which is why the black point is special. Now, the line we made in this
paragraph illustrates the following: If your chosen point is not already at the end of the line, where
<!--l. 127--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>v</mi> <mo 
class="MathClass-rel">=</mo> <mn>1</mn></math>,
then it is possible to move along the line in that direction so as to increase
(<!--l. 128--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>r</mi></math>,<!--l. 128--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>g</mi></math>,<!--l. 128--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>b</mi></math>)
while keeping the same hue. The effect this has on a color monitor is to make the color more
&#8220;brilliant&#8221;, your hue will become &#8220;stronger&#8221;; if you are already on a plane where at least one of
(<!--l. 131--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>r</mi></math>,<!--l. 131--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>g</mi></math>,<!--l. 131--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>b</mi></math>)
= 255, then you cannot get a stronger version of the same hue. Thus,
<!--l. 132--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>v</mi></math>
measures brilliance or strength. Note that it is not quite true to say that
<!--l. 133--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>v</mi></math> measures distance away
from the black point, because <!--l. 134--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>v</mi></math>
is not equal to <!--l. 134--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msqrt><mrow><msup><mrow 
><mi 
>r</mi></mrow><mrow 
><mn>2</mn> </mrow> </msup 
> <mo 
class="MathClass-bin">+</mo><msup><mrow 
><mi 
>g</mi></mrow><mrow 
><mn>2</mn> </mrow> </msup 
> <mo 
class="MathClass-bin">+</mo><msup><mrow 
><mi 
>b</mi></mrow><mrow 
><mn>2</mn></mrow></msup 
></mrow></msqrt><mo 
class="MathClass-bin">&#x2215;</mo><mn>2</mn><mn>5</mn><mn>5</mn></math>.
</p><!--l. 136--><p class="indent" >   Another representation of the HSV space is the color cone illustrated in Figure&#x00A0;<a 
href="#x1-218001r3">I.3<!--tex4ht:ref: fig:hsv-cone --></a>.
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-218001r3"></a>
                                                                                 

                                                                                 
<!--l. 139--><p class="noindent" >&#8220;Pure&#8221; colors are around the edge of the circular surface at
the top. Hue runs counter-clockwise. Saturation decreases
to  the  center.  Value  increases  from  zero  (black)  at  the
bottom to 1 at the top. Gray shades are along the vertical
axis.                                                                          <img 
src="images/hsv-cone.png" alt="PIC"  
width="191.0625pt" height="129.4058pt"  />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;I.3: </span><span  
class="content">The HSV color space.</span></div><!--tex4ht:label?: x1-218001r3 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
   <h3 class="sectionHead"><span class="titlemark">I.4    </span> <a 
 id="x1-219000I.4"></a>Color interpolation</h3>
<a 
 id="dx1-219001"></a>
<!--l. 148--><p class="noindent" >From studying the RGB cube, we hope you will have understood that there are different routes to follow between
two colors, depending whether you are in the RGB or HSV system. Suppose you would make an interpolation
between blue and red. In the RGB system you would follow a path diagonally across a face of the
cube, from 0/0/255 (blue) via 127/0/127 (purple) to 255/0/0 (red). In the HSV system, you would
trace two edges, from 240-1-1 (blue) via 300-1-1 (magenta) to 360-1-1 (red). That is even assuming
software would be smart enough to go the shorter route. More likely, red will be recorded as 0-1-1, so
hue will be interpolated the other way around, reducing hue from 240<span 
class="ptmr8c-">°</span>&#x00A0;to 0<span 
class="ptmr8c-">°</span>, via cyan, green, and
yellow.
</p><!--l. 150--><p class="indent" >   Depending on the design of your color palette, you may want to have it either way. By default,
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;interpolates in RGB space, even when the original color palette is in the HSV system. However, when you
add the line <span 
class="pcrr8t-">#COLOR_MODEL=+HSV </span>(with the leading &#8216;+&#8217; sign) in the header of the color palette file, <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;will
not only read the color representation as HSV values, but also interpolate colors in the HSV system. That means
that H, S, and V values are interpolated linearly between two colors, instead of their respective R, G, and B
values.
</p><!--l. 152--><p class="indent" >   The top row in Figure&#x00A0;<a 
href="#x1-219002r4">I.4<!--tex4ht:ref: fig:GMT_color_interpolate --></a> illustrates two examples: a blue-white-red scale (the <span 
class="phvr8t-">polar </span>palette in
Appendix&#x00A0;<a 
href="#x1-242000M">M<!--tex4ht:ref: app:M --></a>) interpolated in RGB and the <span 
class="phvr8t-">rainbow </span>palette interpolated in HSV. The bottom row of the
Figure demonstrates how things can go terribly wrong when you do the interpolation in the other
system.
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-219002r4"></a>
                                                                                 

                                                                                 

<!--l. 156--><p class="noindent" ><img 
src="images/GMT_color_interpolate.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;I.4: </span><span  
class="content">When interpolating colors, the color system matters. The polar palette on the left needs to
be  interpolated  in  RGB,  otherwise  hue  will  change  between  blue  (240<span 
class="ptmr8c-">°</span>)  and  white  (0<span 
class="ptmr8c-">°</span>).  The  rainbow
palette should be interpolated in HSV, since only hue should change between magenta (300<span 
class="ptmr8c-">°</span>) and red (0<span 
class="ptmr8c-">°</span>).
Diamonds indicate which colors are defined in the palettes; they are fixed, the rest is interpolated.</span></div><!--tex4ht:label?: x1-219002r4 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
   <h3 class="sectionHead"><span class="titlemark">I.5    </span> <a 
 id="x1-220000I.5"></a>Artificial illumination</h3>
<a 
 id="dx1-220001"></a>
<a 
 id="dx1-220002"></a>
<!--l. 164--><p class="noindent" ><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;uses the HSV system to achieve artificial illumination of colored images (e.g., <span 
class="pcrb8t-">-I </span>option in <a 
href="../html/man/grdimage.html" ><span 
class="phvb8t-">grdimage</span></a><a 
 id="dx1-220003"></a>) by
changing the saturation <span 
class="ptmri8t-">s </span>and value <span 
class="ptmri8t-">v </span>coordinates of the color. When the intensity is zero (flat illumination), the
data are colored according to the cpt file. If the intensity is non-zero, the color is either lightened or darkened
depending on the illumination. The color is first converted to HSV (if necessary) and then darkened by moving
(<!--l. 171--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>s</mi></math>,<!--l. 171--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>v</mi></math>)
toward (<span 
class="ptmb8t-">HSV_MIN_SATURATION</span>, <span 
class="ptmb8t-">HSV_MIN_VALUE</span>) if the intensity is negative, or lightened by sliding
(<!--l. 172--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>s</mi></math>,<!--l. 172--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>v</mi></math>)
toward (<span 
class="ptmb8t-">HSV_MAX_SATURATION</span>, <span 
class="ptmb8t-">HSV_MAX_VALUE</span>) if the illumination is positive. The extremes of the
<!--l. 174--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>s</mi></math> and
<!--l. 174--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>v</mi></math> are
defined in the <span class="underline">.gmtdefaults4</span> file and are usually chosen so the corresponding points are nearly black
(<!--l. 175--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>s</mi></math> = 1,
<!--l. 176--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>v</mi></math> = 0) and
white (<!--l. 176--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>s</mi></math> =
0, <!--l. 176--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>v</mi></math> = 1).
The reason this works is that the HSV system allows movements in color space which correspond more closely to
what we mean by &#8220;tint&#8221; and &#8220;shade&#8221;; an instruction like &#8220;add white&#8221; is easy in HSV and not so obvious in
RGB.
</p><!--l. 182--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">I.6    </span> <a 
 id="x1-221000I.6"></a>Thinking in RGB or HSV</h3>
<!--l. 183--><p class="noindent" >The RGB system is understandable because it is cartesian, and we all learned cartesian coordinates in school. But it
doesn&#8217;t help us create a tint or shade of a color; we cannot say, &#8220;We want orange, and a lighter shade of orange, or a less
vivid orange&#8221;. With HSV we can do this, by saying, &#8220;Orange must be between red and yellow, so its hue is about
<!--l. 188--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>h</mi></math> = 30<span 
class="ptmr8c-">°</span>; a less vivid orange
has a lesser <!--l. 189--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>s</mi></math>, a darker
orange has a lesser <!--l. 189--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>v</mi></math>&#8221;.
On the other hand, the HSV system is a peculiar geometric construction, more like a cone (Figure&#x00A0;<a 
href="#x1-218001r3">I.3<!--tex4ht:ref: fig:hsv-cone --></a>). It is not an
orthogonal coordinate system, and it is not found by a matrix transformation of RGB; these make it
difficult in some cases too. Note that a move toward black or a move toward white will change both
<!--l. 194--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>s</mi></math> and
<!--l. 194--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>v</mi></math>, in the
general case of an interior point in the cube. The HSV system also doesn&#8217;t behave well for very dark colors, where
the gray point is near black and the two lines we constructed above are almost parallel. If you are trying to create
nice colors for drawing chocolates, for example, you may be better off guessing in RGB coordinates.
<a 
 id="dx1-221001"></a><a 
 id="dx1-221002"></a>
</p><!--l. 203--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">I.7    </span> <a 
 id="x1-222000I.7"></a>CMYK color system</h3>
<a 
 id="dx1-222001"></a>
                                                                                 

                                                                                 
<!--l. 205--><p class="noindent" >Finally, you can imagine that printers work in a different way: they mix different paints to make a
color. The more paint, the darker the color, which is the reverse of adding more light. Also, mixing
more colored paints does not give you true black, so that means that you really need four colors
to do it right. Open up your color printer and you&#8217;ll probably find four cartridges: cyan, magenta,
yellow (often these are combined into one), and black. They form the CMYK system of colors,
each value running from 0 to 1 (or 100%). In <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;CMYK color coding can be achieved using
<!--l. 205--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>c</mi></math>/<!--l. 205--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>m</mi></math>/<!--l. 205--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>y</mi></math>/<!--l. 205--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>k</mi></math>
quadruplets.
</p><!--l. 207--><p class="indent" >   Obviously, there is no unique way to go from the 3-dimensional RGB system to the 4-dimensional
CMYK system. So, again, there is a lot of hand waving applied in the transformation. Strikingly,
CMYK actually covers a smaller color space than RGB. We will not try to explain you the details
behind it, just know that there is a transformation needed to go from the colors on your screen to the
colors on your printer. It might explain why what you see is not necessarily what you get. If you are
really concerned about how your color plots will show up in your PhD thesis, for example, it might be
worth trying to save and print all your color plots using the CMYK system. Letting <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;do the
conversion to CMYK may avoid some nasty surprises when it comes down to printing. To specify the color
space of your <span 
class="ptmri8t-">PostScript</span>&#x00A0;file, set <span 
class="ptmb8t-">PS_COLOR </span>in the <span class="underline">.gmtdefaults4</span> file to RGB, HSV, or CMYK.
<a 
 id="dx1-222002"></a>
                                                                                 

                                                                                 
                                                                                 

                                                                                 
                                                                                 

                                                                                 
<a 
 id="x1-222003r279"></a>
</p>
   <h2 class="appendixHead"><span class="titlemark">Appendix&#x00A0;J</span><br /><a 
 id="x1-223000J"></a>Filtering of data in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a></h2>
<!--l. 13--><p class="noindent" >The <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;programs <a 
href="../html/man/filter1d.html" ><span 
class="phvb8t-">filter1d</span></a><a 
 id="dx1-223001"></a> (for tables of data indexed to one independent variable) and
<a 
href="../html/man/grdfilter.html" ><span 
class="phvb8t-">grdfilter</span></a><a 
 id="dx1-223002"></a> (for data given as 2-dimensional grids) allow filtering of data by a moving-window
process. (To filter a grid by Fourier transform use <a 
href="../html/man/grdfft.html" ><span 
class="phvb8t-">grdfft</span></a><a 
 id="dx1-223003"></a>.) Both programs use an argument
<span 
class="pcrb8t-">-F</span><!--l. 18--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003C;</mo></math><span 
class="ptmri8t-">type</span><!--l. 18--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003E;</mo><mo 
class="MathClass-rel">&#x003C;</mo></math><span 
class="ptmri8t-">width</span><!--l. 18--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003E;</mo></math>
to specify the type of process and the window&#8217;s width (in 1-d) or diameter (in 2-d). (In <a 
href="../html/man/filter1d.html" ><span 
class="phvb8t-">filter1d</span></a><a 
 id="dx1-223004"></a>
the width is a length of the time or space ordinate axis, while in <a 
href="../html/man/grdfilter.html" ><span 
class="phvb8t-">grdfilter</span></a><a 
 id="dx1-223005"></a> it is the diameter of a
circular area whose distance unit is related to the grid mesh via the <span 
class="pcrb8t-">-D </span>option). If the process is a
median, mode, or extreme value estimator then the window output cannot be written as a convolution
and the filtering operation is not a linear operator. If the process is a weighted average, as in the
boxcar, cosine, and gaussian filter types, then linear operator theory applies to the filtering process.
These three filters can be described as convolutions with an impulse response function, and their
transfer functions can be used to describe how they alter components in the input as a function of
wavelength.
</p><!--l. 34--><p class="indent" >   Impulse responses are shown here for the boxcar, cosine, and gaussian filters. Only the relative amplitudes of
the filter weights shown; the values in the center of the window have been fixed equal to 1 for ease of plotting. In
this way the same graph can serve to illustrate both the 1-d and 2-d impulse responses; in the 2-d case this plot is a
diametrical cross-section through the filter weights (Figure&#x00A0;<a 
href="#x1-223006r1">J.1<!--tex4ht:ref: fig:GMT_App_J_1 --></a>).
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-223006r1"></a>
                                                                                 

                                                                                 

<!--l. 42--><p class="noindent" ><img 
src="images/GMT_App_J_1.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;J.1: </span><span  
class="content">Impulse responses for <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;filters.</span></div><!--tex4ht:label?: x1-223006r1 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 44--><p class="indent" >   Although the impulse responses look the same in 1-d and 2-d, this is not true of the transfer
functions; in 1-d the transfer function is the Fourier transform of the impulse response, while
in 2-d it is the Hankel transform of the impulse response. These are shown in Figures&#x00A0;<a 
href="#x1-223007r2">J.2<!--tex4ht:ref: fig:GMT_App_J_2 --></a> and
<a 
href="#x1-223009r3">J.3<!--tex4ht:ref: fig:GMT_App_J_3 --></a>, respectively. Note that in 1-d the boxcar transfer function has its first zero crossing at
<!--l. 50--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>f</mi> <mo 
class="MathClass-rel">=</mo> <mn>1</mn></math>, while in 2-d it is around
<!--l. 51--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>f</mi> <mo 
class="MathClass-rel">~</mo> <mn>1</mn><mo 
class="MathClass-punc">.</mo><mn>2</mn></math>. The 1-d cosine transfer function
has its first zero crossing at <!--l. 52--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>f</mi> <mo 
class="MathClass-rel">=</mo> <mn>2</mn></math>;
so a cosine filter needs to be twice as wide as a boxcar filter in order to zero the same lowest frequency. As a
general rule, the cosine and gaussian filters are &#8220;better&#8221; in the sense that they do not have the &#8220;side lobes&#8221;
(large-amplitude oscillations in the transfer function) that the boxcar filter has. However, they are correspondingly
&#8220;worse&#8221; in the sense that they require more work (doubling the width to achieve the same cut-off
wavelength).
                                                                                 

                                                                                 
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-223007r2"></a>
                                                                                 

                                                                                 

<!--l. 63--><p class="noindent" ><img 
src="images/GMT_App_J_2.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;J.2: </span><span  
class="content">Transfer functions for 1-D <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;filters.</span></div><!--tex4ht:label?: x1-223007r2 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 65--><p class="indent" >   One of the nice things about the gaussian filter is that its transfer functions are the same in 1-d and 2-d. Another nice
property is that it has no negative side lobes. There are many definitions of the gaussian filter in the literature (see page 7 of
Bracewell<span class="footnote-mark"><a 
href="#fn45x19" id="fn45x19-bk"><sup class="textsuperscript">45</sup></a></span><a 
 id="x1-223008f45"></a>).
We define <!--l. 71--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>&#x03C3;</mi></math>
equal to 1/6 of the filter width, and the impulse response proportional to
<!--l. 72--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-op">exp</mo><!--nolimits--><mrow ><mo 
class="MathClass-open">[</mo><mrow><mo 
class="MathClass-bin">-</mo><mn>0</mn><mo 
class="MathClass-punc">.</mo><mn>5</mn><msup><mrow 
><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>t</mi><mo 
class="MathClass-bin">&#x2215;</mo><mi 
>&#x03C3;</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></mrow><mrow 
><mn>2</mn></mrow></msup 
></mrow><mo 
class="MathClass-close">)</mo></mrow></math>. With this definition,
the transfer function is <!--l. 73--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-op">exp</mo><!--nolimits--><mrow ><mo 
class="MathClass-open">[</mo><mrow><mo 
class="MathClass-bin">-</mo><mn>2</mn><msup><mrow 
><mrow ><mo 
class="MathClass-open">(</mo><mrow><mi 
>&#x03C0;</mi><mi 
>&#x03C3;</mi><mi 
>f</mi></mrow><mo 
class="MathClass-close">)</mo></mrow></mrow><mrow 
><mn>2</mn></mrow></msup 
></mrow><mo 
class="MathClass-close">]</mo></mrow></math>
and the wavelength at which the transfer function equals 0.5 is about 5.34
<!--l. 75--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>&#x03C3;</mi></math>, or
about 0.89 of the filter width.
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-223009r3"></a>
                                                                                 

                                                                                 

<!--l. 77--><p class="noindent" ><img 
src="images/GMT_App_J_3.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;J.3: </span><span  
class="content">Transfer functions for 2-D (radial) <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;filters.</span></div><!--tex4ht:label?: x1-223009r3 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
                                                                                 

                                                                                 
                                                                                 

                                                                                 
                                                                                 

                                                                                 
<a 
 id="x1-223010r279"></a>
   <h2 class="appendixHead"><span class="titlemark">Appendix&#x00A0;K</span><br /><a 
 id="x1-224000K"></a>The <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;High-Resolution Coastline Data</h2>  <a 
 id="dx1-224001"></a><a 
 id="dx1-224002"></a>
<!--l. 15--><p class="noindent" >Starting with version 3.0, <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;use a completely new coastline database and the <a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-224003"></a> utility was been
completely rewritten to handle the new file format. Many users have asked us why it has taken so long for <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;to
use a high-resolution coastline database; after all, such data have been available in the public domain for years. To
answer such questions we will take you along the road that starts with these public domain data sets and ends up
with the database used by <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>.
</p>
   <h3 class="sectionHead"><span class="titlemark">K.1    </span> <a 
 id="x1-225000K.1"></a>Selecting the right data</h3>
<a 
 id="dx1-225001"></a>
<a 
 id="dx1-225002"></a>
<a 
 id="dx1-225003"></a>
<a 
 id="dx1-225004"></a>
<a 
 id="dx1-225005"></a>
<!--l. 31--><p class="noindent" >There are two well-known public-domain data sets that could be used for this purpose. Once is known
as the World Data Bank II or CIA Data Bank (WDB) and contains coastlines, lakes, political
boundaries, and rivers. The other, the World Vector Shoreline (WVS) only contains shorelines between
saltwater and land (i.e., no lakes). It turns out that the WVS data is far superior to the WDB data as
far as data quality goes, but as noted it lacks lakes, not to mention rivers and borders. We decided
to use the WVS whenever possible and supplement it with WDB data. We got these data over the
Internet; they are also available on CD-ROM from the National Geophysical Data Center in Boulder,
Colorado<span class="footnote-mark"><a 
href="#fn46x20" id="fn46x20-bk"><sup class="textsuperscript">46</sup></a></span><a 
 id="x1-225006f46"></a>.
</p><!--l. 44--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">K.2    </span> <a 
 id="x1-226000K.2"></a>Format required by <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a></h3>
<!--l. 46--><p class="noindent" >In order to paint continents or oceans it is necessary that the coastline data be organized in polygons that
may be filled. Simple line segments can be used to draw the coastline, but for painting polygons are
required. Both the WVS and WDB data consists of unsorted line segments: there is no information
included that tells you which segments belong to the same polygon (e.g., Australia should be one
large polygon). In addition, polygons enclosing land must be differentiated from polygons enclosing
lakes since they will need different paint. Finally, we want <a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-226001"></a> to be flexible enough that it can
paint the land <span 
class="ptmri8t-">or </span>the oceans <span 
class="ptmri8t-">or </span>both. If just land (or oceans) is selected we do not want to paint those
areas that are not land (or oceans) since previous plot programs may have drawn in those areas. Thus,
we will need to combine polygons into new polygons that lend themselves to fill land (or oceans)
only (Note that older versions of <a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-226002"></a> always painted lakes and wiped out whatever was plotted
beneath).
</p><!--l. 64--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">K.3    </span> <a 
 id="x1-227000K.3"></a>The long and winding road</h3>
<!--l. 66--><p class="noindent" >The WVS and WDB together represent more than 100 Mb of binary data and something like 20 million data
points. Hence, it becomes obvious that any manipulation of these data must be automated. For instance, the
reasonable requirement that no coastline should cross another coastline becomes a complicated processing
step.
</p><!--l. 73--><p class="indent" >
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-227002x1">To begin, we first made sure that all data were &#8220;clean&#8221;, i.e., that there were no outliers and bad points.
                                                                                 

                                                                                 
   We had to write several programs to ensure data consistency and remove &#8220;spikes&#8221; and bad points from
   the raw data. Also, crossing segments were automatically &#8220;trimmed&#8221; provided only a few points had to
   be deleted. A few hundred more complicated cases had to be examined semi-manually.
   </li>
   <li 
  class="enumerate" id="x1-227004x2">Programs  were  written  to  examine  all  the  loose  segments  and  determine  which  segments  should
   be  joined  to  produce  polygons.  Because  not  all  segments  joined  exactly  (there  were  non-zero
   gaps  between  some  segments)  we  had  to  find  all  possible  combinations  and  choose  the  simplest
   combinations. The WVS segments joined to produce more than 200,000 polygons, the largest being
   the Africa-Eurasia polygon which has 1.4 million points. The WDB data resulted in a smaller data base
   (<!--l. 91--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">~</mo></math>25%
   of WVS).
   </li>
   <li 
  class="enumerate" id="x1-227006x3">We now needed to combine the WVS and WDB data bases. The main problem here is that we have
   duplicates of polygons: most of the features in WVS are also in WDB. However, because the resolution
   of the data differ it is nontrivial to figure out which polygons in WDB to include and which ones to
   ignore. We used two techniques to address this problem. First, we looked for crossovers between all
   possible pairs of polygons. Because of the crossover processing in step 1 above we know that there
   are no remaining crossovers within WVS and WDB; thus any crossovers would be between WVS and
   WDB polygons. Crossovers could mean two things: (1) A slightly misplaced WDB polygon crosses a
   more accurate WVS polygon, both representing the same geographic feature, or (2) a misplaced WDB
   polygon (e.g., a small coastal lake) crosses the accurate WVS shoreline. We distinguished between
   these cases by comparing the area and centroid of the two polygons. In almost all cases it was obvious
   when we had duplicates; a few cases had to be checked manually. Second, on many occasions the WDB
   duplicate polygon did not cross its WVS counterpart but was either entirely inside or outside the WVS
   polygon. In those cases we relied on the area-centroid tests.
   </li>
   <li 
  class="enumerate" id="x1-227008x4">While the largest polygons were easy to identify by visual inspection, the majority remain unidentified.
   Since  it  is  important  to  know  whether  a  polygon  is  a  continent  or  a  small  pond  inside  an  island
   inside a lake we wrote programs that would determine the hierarchical level of each polygon. Here,
   level&#x00A0;=&#x00A0;1 represents ocean/land boundaries, 2 is land/lakes borders, 3 is lakes/islands-in-lakes, and 4
   is islands-in-lakes/ponds-in-islands-in-lakes. Level 4 was the highest level encountered in the data. To
   automatically determine the hierarchical levels we wrote programs that would compare all possible
   pairs of polygons and find how many polygons a given polygon was inside. Because of the size and
   number of the polygons such programs would typically run for 3 days on a Sparc-2 workstation.
   </li>
   <li 
  class="enumerate" id="x1-227010x5">Once we know what type a polygon is we can enforce a common &#8220;orientation&#8221; for all polygons. We
   arranged them so that when you move along a polygon from beginning to end, your left hand is pointing
   toward &#8220;land&#8221;. At this step we also computed the area of all polygons since we would like the option to
   plot only features that are bigger than a minimum area to be specified by the user.
   </li>
   <li 
  class="enumerate" id="x1-227012x6">Obviously,  if  you  need  to  make  a  map  of  Denmark  then  you  do  not  want  to  read  the  entire  1.4
   million  points  making  up  the  Africa-Eurasia  polygon.  Furthermore,  most  plotting  devices  will
   not  let  you  paint  and  fill  a  polygon  of  that  size  due  to  memory  restrictions.  Hence,  we  need  to
   partition  the  polygons  so  that  smaller  subsets  can  be  accessed  rapidly.  Likewise,  if  you  want
   to  plot  a  world  map  on  a  letter-size  paper  there  is  no  need  to  plot  10  million  data  points  as
   most  of  them  will  plot  several  times  on  the  same  pixel  and  the  operation  would  take  a  very
   long  time  to  complete.  We  chose  to  make  5  versions  on  the  database,  corresponding  to  different
   resolutions.   The   decimation   was   carried   out   using   the   Douglas-Peucker   (DP)   line-reduction
   algorithm<span class="footnote-mark"><a 
href="#fn47x20" id="fn47x20-bk"><sup class="textsuperscript">47</sup></a></span><a 
 id="x1-227013f47"></a>.
   We   chose   the   cutoffs   so   that   each   subset   was   approximately   20%   the   size   of   the   next
   higher    resolution.    The    five    resolutions    are    called    <span 
class="ptmb8t-">f</span>ull,    <span 
class="ptmb8t-">h</span>igh,    <span 
class="ptmb8t-">i</span>ntermediate,    <span 
class="ptmb8t-">l</span>ow,    and
                                                                                 

                                                                                 
   <span 
class="ptmb8t-">c</span>rude;    they    are    accessed    in    <a 
href="../html/man/pscoast.html" ><span 
class="phvb8t-">pscoast</span></a><a 
 id="dx1-227014"></a>,    <a 
href="../html/man/gmtselect.html" ><span 
class="phvb8t-">gmtselect</span></a><a 
 id="dx1-227015"></a>,    and    <a 
href="../html/man/grdlandmask.html" ><span 
class="phvb8t-">grdlandmask</span></a><a 
 id="dx1-227016"></a>   with    the    <span 
class="pcrb8t-">-D</span>
   option<span class="footnote-mark"><a 
href="#fn48x20" id="fn48x20-bk"><sup class="textsuperscript">48</sup></a></span><a 
 id="x1-227017f48"></a>.
   For  each  of  these  5  data  sets  (<span 
class="ptmb8t-">f</span>,  <span 
class="ptmb8t-">h</span>,  <span 
class="ptmb8t-">i</span>,  <span 
class="ptmb8t-">l</span>,  <span 
class="ptmb8t-">c</span>)  we  specified  an  equidistant  grid  (1<span 
class="ptmr8c-">°</span>,  2<span 
class="ptmr8c-">°</span>,  5<span 
class="ptmr8c-">°</span>,  10<span 
class="ptmr8c-">°</span>,
   20<span 
class="ptmr8c-">°</span>)   and   split   all   polygons   into   line-segments   that   each   fit   inside   one   of   the   many   boxes
   defined  by  these  grid  lines.  Thus,  to  paint  the  entire  continent  of  Australia  we  instead  paint
   many  smaller  polygons  made  up  of  these  line  segments  and  gridlines.  Some  book-keeping  has
   to  be  done  since  we  need  to  know  which  parent  polygon  these  smaller  pieces  came  from  in
   order  to  prescribe  the  correct  paint  or  ignore  if  the  feature  is  smaller  than  the  cutoff  specified
   by  the  user.  The  resulting  segment  coordinates  were  then  scaled  to  fit  in  short  integer  format
   to  preserve  precision  and  written  in  netCDF  format  for  ultimate  portability  across  hardware
   platforms<span class="footnote-mark"><a 
href="#fn49x20" id="fn49x20-bk"><sup class="textsuperscript">49</sup></a></span><a 
 id="x1-227018f49"></a>.
   </li>
   <li 
  class="enumerate" id="x1-227021x7">While we are now back to a file of line-segments we are in a much better position to create smaller
   polygons for painting. Two problems must be overcome to correctly paint an area:
      <ul class="itemize1">
      <li class="itemize">We must be able to join line segments and grid cell borders into meaningful polygons; how we do
      this will depend on whether we want to paint the land or the oceans.
      </li>
      <li class="itemize">We want to nest the polygons so that no paint falls on areas that are &#8220;wet&#8221; (or &#8220;dry&#8221;); e.g., if a grid
      cell completely on land contains a lake with a small island, we do not want to paint the lake and
      then draw the island, but paint the annulus or &#8220;donut&#8221; that is represented by the land and lake, and
      then plot the island.
      </li></ul>
   <!--l. 195--><p class="noindent" ><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;uses a polygon-assembly routine that carries out these tasks on the fly. <a 
 id="dx1-227022"></a><a 
 id="dx1-227023"></a>
</p>
   </li></ol>
<!--l. 202--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">K.4    </span> <a 
 id="x1-228000K.4"></a>The Five Resolutions</h3>
<!--l. 204--><p class="noindent" >We will demonstrate the power of the new database by starting with a regional hemisphere map centered near
Papua New Guinea and zoom in on a specified point. The map regions will be specified in projected km from the
projection center, e.g., we may want the map to go from -2000 km to +2000 km in the longitudinal and the
latitudinal direction. However, <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;programs expects degrees in the <span 
class="pcrb8t-">-R </span>option that specifies the desired region.
Given the chosen map projection we can automate this process by using a simple shell function that we call
<span 
class="ptmbo8t-">getbox</span><a 
 id="dx1-228001"></a>:
</p><!--l. 215--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">getbox</span><span 
class="pcrr8t-x-x-70">&#x00A0;()</span><span 
class="pcrr8t-x-x-70">&#x00A0;{</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Expects</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Joption</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;distance</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;km</span><span 
class="pcrr8t-x-x-70">&#x00A0;from</span><span 
class="pcrr8t-x-x-70">&#x00A0;map</span><span 
class="pcrr8t-x-x-70">&#x00A0;center</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">range=&#8216;(echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;-$2</span><span 
class="pcrr8t-x-x-70">&#x00A0;-$2;</span><span 
class="pcrr8t-x-x-70">&#x00A0;echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;$2</span><span 
class="pcrr8t-x-x-70">&#x00A0;$2)</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;mapproject</span><span 
class="pcrr8t-x-x-70">&#x00A0;$1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R0/360/-90/90</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Fk</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">printf</span><span 
class="pcrr8t-x-x-70">&#x00A0;~</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R%f/%f/%f/%fr\n~</span><span 
class="pcrr8t-x-x-70">&#x00A0;$range</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">}</span>
   </div>__________________________________________________________________________________________________
<!--l. 217--><p class="indent" >   Also, as we zoom in on the projection center we want to draw the outline of the next map region on the plot. To
do that we need the geographical coordinates of the four corners of the region rectangle. Again, we automate this
task by using our simple function <span 
class="ptmbo8t-">getrect</span><a 
 id="dx1-228002"></a>:
</p><!--l. 223--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
                                                                                 

                                                                                 
<span 
class="pcrr8t-x-x-70">getrect</span><span 
class="pcrr8t-x-x-70">&#x00A0;()</span><span 
class="pcrr8t-x-x-70">&#x00A0;{</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Expects</span><span 
class="pcrr8t-x-x-70">&#x00A0;xmin</span><span 
class="pcrr8t-x-x-70">&#x00A0;xmax</span><span 
class="pcrr8t-x-x-70">&#x00A0;ymin</span><span 
class="pcrr8t-x-x-70">&#x00A0;ymax</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;km</span><span 
class="pcrr8t-x-x-70">&#x00A0;relative</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;map</span><span 
class="pcrr8t-x-x-70">&#x00A0;center</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;are</span><span 
class="pcrr8t-x-x-70">&#x00A0;set</span><span 
class="pcrr8t-x-x-70">&#x00A0;by</span><span 
class="pcrr8t-x-x-70">&#x00A0;preceding</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;commands</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">(echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;-$1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-$1;</span><span 
class="pcrr8t-x-x-70">&#x00A0;echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;-$1</span><span 
class="pcrr8t-x-x-70">&#x00A0;$1;</span><span 
class="pcrr8t-x-x-70">&#x00A0;echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;$1</span><span 
class="pcrr8t-x-x-70">&#x00A0;$1;</span><span 
class="pcrr8t-x-x-70">&#x00A0;echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;$1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-$1)</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;mapproject</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Fk</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">}</span>
   </div>__________________________________________________________________________________________________
<!--l. 225--><p class="noindent" >
</p>
   <h4 class="subsectionHead"><span class="titlemark">K.4.1    </span> <a 
 id="x1-229000K.4.1"></a>The crude resolution (<span 
class="pcrb8t-">-Dc</span>)</h4>
<a 
 id="dx1-229001"></a>
<!--l. 228--><p class="noindent" >We begin with an azimuthal equidistant map of the hemisphere centered on 130<span 
class="ptmr8c-">°</span>21&#8217;E, 0<span 
class="ptmr8c-">°</span>12&#8217;S, which is slightly west of
New Guinea, near the Strait of Dampier. The edges of the map are all 9000 km true distance from the projection center.
At this scale (and for global maps) the crude resolution data will usually be adequate to capture the main geographic
features. To avoid cluttering the map with insignificant detail we only plot features (i.e., polygons) that exceed 500
km<!--l. 235--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msup><mrow 
></mrow><mrow 
><mn>2</mn></mrow></msup 
></math> in
area. Smaller features would only occupy a few pixels on the plot and make the map look &#8220;dirty&#8221;. We also add
national borders to the plot. The crude database is heavily decimated and simplified by the DP-routine: The total
file size of the coastlines, rivers, and borders database is only 283 kbytes. The plot is produced by the
script:
</p><!--l. 243--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;GRID_CROSS_SIZE_PRIMARY</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;OBLIQUE_ANNOTATION</span><span 
class="pcrr8t-x-x-70">&#x00A0;22</span><span 
class="pcrr8t-x-x-70">&#x00A0;ANNOT_MIN_SPACING</span><span 
class="pcrr8t-x-x-70">&#x00A0;0.3</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8216;getbox</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JE130.35/-0.2/3.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;9000&#8216;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A500</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N1/thinnest,-</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B20g20WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_K_1.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">getrect</span><span 
class="pcrr8t-x-x-70">&#x00A0;2000</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthicker</span><span 
class="pcrr8t-x-x-70">&#x00A0;-L</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_K_1.ps</span>
   </div>__________________________________________________________________________________________________
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-229002r1"></a>
                                                                                 

                                                                                 

<!--l. 245--><p class="noindent" ><img 
src="images/GMT_App_K_1.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;K.1: </span><span  
class="content">Map using the crude resolution coastline data.</span></div><!--tex4ht:label?: x1-229002r1 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 247--><p class="indent" >   Here, we use the <span 
class="ptmb8t-">OBLIQUE_ANNOTATION </span>bit flags to achieve horizontal annotations and set
<span 
class="ptmb8t-">ANNOT_MIN_SPACING </span>to suppress some longitudinal annotations near the S pole that otherwise would
overprint. The box indicates the outline of the next map.
<a 
 id="dx1-229003"></a>
</p>
   <h4 class="subsectionHead"><span class="titlemark">K.4.2    </span> <a 
 id="x1-230000K.4.2"></a>The low resolution (<span 
class="pcrb8t-">-Dl</span>)</h4>
<a 
 id="dx1-230001"></a>
<!--l. 257--><p class="noindent" >We have now reduced the map area by zooming in on the map center. Now, the edges of the map are all 2000 km
true distance from the projection center. At this scale we choose the low resolution data that faithfully
reproduce the dominant geographic features in the region. We cut back on minor features less than 100
km<!--l. 261--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msup><mrow 
></mrow><mrow 
><mn>2</mn></mrow></msup 
></math> in
area. We still add national borders to the plot. The low database is less decimated and simplified by the DP-routine:
The total file size of the coastlines, rivers, and borders combined grows to 907 kbytes; it is the default resolution in
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>. The plot is generated by the script:
</p><!--l. 268--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8216;getbox</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JE130.35/-0.2/3.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;2000&#8216;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dl</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A100</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N1/thinnest,-</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B10g5WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_K_2.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">getrect</span><span 
class="pcrr8t-x-x-70">&#x00A0;500</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthicker</span><span 
class="pcrr8t-x-x-70">&#x00A0;-L</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_K_2.ps</span>
   </div>__________________________________________________________________________________________________
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-230002r2"></a>
                                                                                 

                                                                                 

<!--l. 270--><p class="noindent" ><img 
src="images/GMT_App_K_2.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;K.2: </span><span  
class="content">Map using the low resolution coastline data.</span></div><!--tex4ht:label?: x1-230002r2 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-230003"></a>
   <h4 class="subsectionHead"><span class="titlemark">K.4.3    </span> <a 
 id="x1-231000K.4.3"></a>The intermediate resolution (<span 
class="pcrb8t-">-Di</span>)</h4>
<a 
 id="dx1-231001"></a>
<!--l. 277--><p class="noindent" >We continue to zoom in on the map center. In this map, the edges of the map are all 500 km true
distance from the projection center. We abandon the low resolution data set as it would look
too jagged at this scale and instead employ the intermediate resolution data that faithfully reproduce
the dominant geographic features in the region. This time, we ignore features less than 20
km<!--l. 283--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msup><mrow 
></mrow><mrow 
><mn>2</mn></mrow></msup 
></math> in
area. Although the script still asks for national borders none exist within our region. The intermediate database is
moderately decimated and simplified by the DP-routine: The combined file size of the coastlines, rivers, and
borders now exceeds 3.35 Mbytes. The plot is generated by the script:
</p><!--l. 289--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8216;getbox</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JE130.35/-0.2/3.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;500&#8216;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Di</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A20</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N1/thinnest,-</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B2g1WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_K_3.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;133</span><span 
class="pcrr8t-x-x-70">&#x00A0;2</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sc1.4i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_K_3.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psbasemap</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Tm133/2/1i::+45/10/5</span><span 
class="pcrr8t-x-x-70">&#x00A0;--HEADER_FONT_SIZE=12p</span><span 
class="pcrr8t-x-x-70">&#x00A0;--TICK_LENGTH=0.05i</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;--ANNOT_FONT_SIZE_SECONDARY=8p</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_K_3.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">getrect</span><span 
class="pcrr8t-x-x-70">&#x00A0;100</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthicker</span><span 
class="pcrr8t-x-x-70">&#x00A0;-L</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_K_3.ps</span>
   </div>__________________________________________________________________________________________________
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-231002r3"></a>
                                                                                 

                                                                                 

<!--l. 292--><p class="noindent" ><img 
src="images/GMT_App_K_3.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;K.3: </span><span  
class="content">Map using the intermediate resolution coastline data. We have added a compass rose just
because we have the power to do so.</span></div><!--tex4ht:label?: x1-231002r3 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-231003"></a>
   <h4 class="subsectionHead"><span class="titlemark">K.4.4    </span> <a 
 id="x1-232000K.4.4"></a>The high resolution (<span 
class="pcrb8t-">-Dh</span>)</h4>
<a 
 id="dx1-232001"></a>
<!--l. 299--><p class="noindent" >The relentless zooming continues! Now, the edges of the map are all 100 km true distance from the projection
center. We step up to the high resolution data set as it is needed to accurately portray the detailed
geographic features within the region. Because of the small scale we only ignore features less than 1
km<!--l. 304--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><msup><mrow 
></mrow><mrow 
><mn>2</mn></mrow></msup 
></math> in
area. The high resolution database has undergone minor decimation and simplification by the DP-routine: The
combined file size of the coastlines, rivers, and borders now swells to 12.3 Mbytes. The map and the final outline
box are generated by these commands:
</p><!--l. 310--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8216;getbox</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JE130.35/-0.2/3.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;100&#8216;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dh</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A1</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N1/thinnest,-</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B30mg10mWSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_K_4.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">getrect</span><span 
class="pcrr8t-x-x-70">&#x00A0;20</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthicker</span><span 
class="pcrr8t-x-x-70">&#x00A0;-L</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_K_4.ps</span>
   </div>__________________________________________________________________________________________________
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-232002r4"></a>
                                                                                 

                                                                                 

<!--l. 312--><p class="noindent" ><img 
src="images/GMT_App_K_4.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;K.4: </span><span  
class="content">Map using the high resolution coastline data.</span></div><!--tex4ht:label?: x1-232002r4 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<a 
 id="dx1-232003"></a>
   <h4 class="subsectionHead"><span class="titlemark">K.4.5    </span> <a 
 id="x1-233000K.4.5"></a>The full resolution (<span 
class="pcrb8t-">-Df</span>)</h4>
<a 
 id="dx1-233001"></a>
<!--l. 319--><p class="noindent" >We now arrive at our final plot, which shows a detailed view of the western side of the small island of Waigeo. The
map area is approximately 40 by 40 km. We call upon the full resolution data set to portray the richness of
geographic detail within this region; no features are ignored. The full resolution has undergone no decimation and
it shows: The combined file size of the coastlines, rivers, and borders totals a (once considered hefty) 55.9 Mbytes.
Our final map is reproduced by the single command:
</p><!--l. 328--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8216;getbox</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JE130.35/-0.2/3.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;20&#8216;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Df</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinnest</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N1/thinnest,-</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B10mg2mWSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_K_5.ps</span>
   </div>__________________________________________________________________________________________________
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-233002r5"></a>
                                                                                 

                                                                                 

<!--l. 330--><p class="noindent" ><img 
src="images/GMT_App_K_5.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;K.5: </span><span  
class="content">Map using the full resolution coastline data.</span></div><!--tex4ht:label?: x1-233002r5 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 332--><p class="indent" >   We hope you will study these examples to enable you to make efficient and wise use of this vast data set.
<a 
 id="dx1-233003"></a>
                                                                                 

                                                                                 
                                                                                 

                                                                                 
                                                                                 

                                                                                 
<a 
 id="x1-233004r279"></a>
</p>
   <h2 class="appendixHead"><span class="titlemark">Appendix&#x00A0;L</span><br /><a 
 id="x1-234000L"></a><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;on non-<span 
class="ptmri8t-">UNIX</span>&#x00A0;platforms</h2>
   <h3 class="sectionHead"><span class="titlemark">L.1    </span> <a 
 id="x1-235000L.1"></a>Introduction</h3>
<a 
 id="dx1-235001"></a>
<a 
 id="dx1-235002"></a>
<a 
 id="dx1-235003"></a>
<!--l. 18--><p class="noindent" >While <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;can be ported to non-<span 
class="ptmri8t-">UNIX</span>&#x00A0;systems such as Windows, it is also true that one of the
strengths of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;lies its symbiotic relationship with <span 
class="ptmri8t-">UNIX</span>. We therefore recommend that <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;be
installed in a POSIX-compliant <span 
class="ptmri8t-">UNIX</span>&#x00A0;environment such as traditional <span 
class="ptmri8t-">UNIX</span>-systems, Linux, or
Mac OS X. If abandoning your non-<span 
class="ptmri8t-">UNIX</span>&#x00A0;operating system is not an option, consider one of these
solutions:
   </p><dl class="description"><dt class="description">
<span 
class="ptmb8t-">WINDOWS:</span> </dt><dd 
class="description">Choose among these four possibilities:
   <!--l. 29--><p class="noindent" >
      </p><ol  class="enumerate1" >
      <li 
  class="enumerate" id="x1-235005x1">Install <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;under Cygwin (A GNU port to Windows).
      </li>
      <li 
  class="enumerate" id="x1-235007x2">Install    <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;under    SFU    (Windows    Services    for    <span 
class="ptmri8t-">UNIX</span>);    a    free    download    from
      Microsoft<span class="footnote-mark"><a 
href="#fn50x21" id="fn50x21-bk"><sup class="textsuperscript">50</sup></a></span><a 
 id="x1-235008f50"></a>.
      </li>
      <li 
  class="enumerate" id="x1-235010x3">Install <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;under DJGPP (another GNU port to Windows/DOS).
      </li>
      <li 
  class="enumerate" id="x1-235012x4">Install <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;in Windows using Microsoft C/C++ or other compilers. Unlike the first three, this
      option will not provide you with any <span 
class="ptmri8t-">UNIX</span>&#x00A0;tools so you will be limited to what you can do with
      DOS batch files.
<a 
 id="dx1-235013"></a>
      </li></ol>
   </dd></dl>
<!--l. 49--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">L.2    </span> <a 
 id="x1-236000L.2"></a>Cygwin and <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a></h3>
<a 
 id="dx1-236001"></a>
<a 
 id="dx1-236002"></a>
<!--l. 53--><p class="noindent" >Because <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;works best in conjugation with <span 
class="ptmri8t-">UNIX</span>&#x00A0;tools we suggest you install <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;using the Cygwin
product from Cygnus (now assimilated by Redhat, Inc.). This free version works on any Windows version and it
comes with both the Bourne Again shell <span 
class="ptmbo8t-">bash</span><a 
 id="dx1-236003"></a> and the <span 
class="ptmbo8t-">tcsh</span><a 
 id="dx1-236004"></a>. You also have access to most standard GNU
development tools such as compilers and text processing tools (<span 
class="ptmbo8t-">awk</span><a 
 id="dx1-236005"></a>, <span 
class="ptmbo8t-">grep</span><a 
 id="dx1-236006"></a>, <span 
class="ptmbo8t-">sed</span><a 
 id="dx1-236007"></a>, etc.). Note that executables
prepared for Windows will also run under Cygwin.
</p><!--l. 62--><p class="indent" >   Follow the instructions on the Cygwin page<span class="footnote-mark"><a 
href="#fn51x21" id="fn51x21-bk"><sup class="textsuperscript">51</sup></a></span><a 
 id="x1-236008f51"></a>
on how to install the package; note you must explicitly add all the development tool packages (e.g., <span 
class="ptmbo8t-">gcc</span><a 
 id="dx1-236009"></a> etc) as the
basic installation does not include them by default. Once you are up and running under Cygwin, you may install
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;the same way you do under any other <span 
class="ptmri8t-">UNIX</span>&#x00A0;platform by either running the automated install via
<span 
class="ptmbo8t-">install_gmt4.sh</span><a 
 id="dx1-236010"></a> or manually running configure first, then type make all. If you install via the web form, make sure
you save the parameter file without DOS CR/LF endings. Use <span 
class="ptmbo8t-">dos2unix</span><a 
 id="dx1-236011"></a> to get rid of those if need
be.
                                                                                 

                                                                                 
</p><!--l. 72--><p class="indent" >   Finally, from Cygwin&#8217;s User Guide: By default, no Cygwin program can allocate more than 384 MB of
memory (program and data). You should not need to change this default in most circumstances. However, if
you need to use more real or virtual memory in your machine you may add an entry in either the
<span 
class="ptmb8t-">HKEY_LOCAL_MACHINE </span>(to change the limit for all users) or <span 
class="ptmb8t-">HKEY_CURRENT_USER </span>(for
just the current user) section of the registry. Add the DWORD value <span 
class="ptmb8t-">heap_chunk_in_mb </span>and set it
to the desired memory limit in decimal Mb. It is preferred to do this in Cygwin using the <span 
class="ptmbo8t-">regtool</span><a 
 id="dx1-236012"></a>
program included in the Cygwin package. (For more information about <span 
class="ptmbo8t-">regtool</span><a 
 id="dx1-236013"></a> or the other Cygwin
utilities, see the Section called Cygwin Utilities in Chapter 3 of the Cygwin&#8217;s User Guide or use the help
option of each utility.) You should always be careful when using <span 
class="ptmbo8t-">regtool</span><a 
 id="dx1-236014"></a> since damaging your system
registry can result in an unusable system. This example sets the local machine memory limit to 1024
Mb:
                                                                                 

                                                                                 
</p>
   <div class="verbatim" id="verbatim-14">
regtool&#x00A0;-i&#x00A0;set&#x00A0;/HKLM/Software/Cygnus\&#x00A0;Solutions/Cygwin/heap_chunk_in_mb&#x00A0;1024
&#x00A0;<br />regtool&#x00A0;-v&#x00A0;list&#x00A0;/HKLM/Software/Cygnus\&#x00A0;Solutions/Cygwin
</div>
<!--l. 87--><p class="nopar" >For more installation details see the general README file.
<a 
 id="dx1-236015"></a>
<a 
 id="dx1-236016"></a>
</p><!--l. 93--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">L.3    </span> <a 
 id="x1-237000L.3"></a>SFU and <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a></h3>
<a 
 id="dx1-237001"></a>
<a 
 id="dx1-237002"></a>
<!--l. 97--><p class="noindent" >SFU<span class="footnote-mark"><a 
href="#fn52x21" id="fn52x21-bk"><sup class="textsuperscript">52</sup></a></span><a 
 id="x1-237003f52"></a> is
also similar to Cygwin in that it provides precompiled <span 
class="ptmri8t-">UNIX</span>&#x00A0;tools for DOS/WIN32, including the <span 
class="ptmbo8t-">sh</span><a 
 id="dx1-237004"></a> and <span 
class="ptmbo8t-">csh</span><a 
 id="dx1-237005"></a>
shells. <a 
 id="dx1-237006"></a><a 
 id="dx1-237007"></a>
</p><!--l. 103--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">L.4    </span> <a 
 id="x1-238000L.4"></a>DJGPP and <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a></h3>
<a 
 id="dx1-238001"></a>
<a 
 id="dx1-238002"></a>
<!--l. 107--><p class="noindent" >DJGPP<span class="footnote-mark"><a 
href="#fn53x21" id="fn53x21-bk"><sup class="textsuperscript">53</sup></a></span><a 
 id="x1-238003f53"></a> is
similar to Cygwin in that it provides precompiled <span 
class="ptmri8t-">UNIX</span>&#x00A0;tools for DOS/WIN32, including the <span 
class="ptmbo8t-">bash</span><a 
 id="dx1-238004"></a> shell. At the
time of this writing we have not been successful in compiling netCDF in this environment. This is fully due to our
limited understanding of the innards of the netCDF installation whose configure script did not work
for us. As soon as this problem is overcome we expect a smooth install similar to that of Cygwin.
<a 
 id="dx1-238005"></a><a 
 id="dx1-238006"></a>
</p><!--l. 118--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">L.5    </span> <a 
 id="x1-239000L.5"></a>WIN32 and <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a></h3>
<a 
 id="dx1-239001"></a>
<a 
 id="dx1-239002"></a>
<!--l. 122--><p class="noindent" ><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;will compile and install using the Microsoft Visual C/C++ compiler. We expect other WIN32 C compilers
to give similar results. Since <span 
class="ptmbo8t-">configure</span><a 
 id="dx1-239003"></a> cannot be run you must manually rename <span class="underline">gmt_notposix.h.in</span> to
<span class="underline">gmt_notposix.h</span>. The netCDF home page gives full information on how to compile and install netCDF;
precompiled libraries are also available. At present we simply have a lame <span class="underline">gmtinstall.bat</span> file that compiles the
entire <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;package, and <span class="underline">gmtsuppl.bat</span> which compiles most of the supplemental programs. If you just need to
run <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;and do not want to mess with compilations, get the precompiled binaries from the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;ftp
sites.
<a 
 id="dx1-239004"></a>
<a 
 id="dx1-239005"></a>
                                                                                 

                                                                                 
</p><!--l. 137--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">L.6    </span> <a 
 id="x1-240000L.6"></a>OS/2 and <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a></h3>
<a 
 id="dx1-240001"></a>
<a 
 id="dx1-240002"></a>
<!--l. 141--><p class="noindent" ><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;has been ported to OS/2 by <a 
href="mailto:ahc@lanl.gov" >Allen Cogbill</a>, Los Alamos National Laboratory. One must have <a 
href="ftp://ftp.geophysics.lanl.gov/pub/EES3/pub/gmt/emxrt.zip" >EMX</a> installed
in order to use the executables. All features that are present in the <span 
class="ptmri8t-">UNIX</span>&#x00A0;version of <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;are available in the OS/2
version. All executables may be obtained using links in the following <a 
href="ftp://ees.lanl.gov/pub/EES3/pub/gmt/gmt4os2.html" >document</a>, which provides more detail on the
port.
</p><!--l. 150--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">L.7    </span> <a 
 id="x1-241000L.7"></a>Mac OS and <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a></h3>
<a 
 id="dx1-241001"></a>
<a 
 id="dx1-241002"></a>
<!--l. 154--><p class="noindent" ><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;will install directly under Mac OS X since it is fully Unix compliant.
                                                                                 

                                                                                 
                                                                                 

                                                                                 
                                                                                 

                                                                                 
<a 
 id="x1-241003r279"></a>
</p>
   <h2 class="appendixHead"><span class="titlemark">Appendix&#x00A0;M</span><br /><a 
 id="x1-242000M"></a>Of colors and color legends</h2>
   <h3 class="sectionHead"><span class="titlemark">M.1    </span> <a 
 id="x1-243000M.1"></a>Built-in color palette tables</h3>
<a 
 id="dx1-243001"></a>
<a 
 id="dx1-243002"></a>
<!--l. 16--><p class="noindent" >Figure&#x00A0;<a 
href="#x1-243006r1">M.1<!--tex4ht:ref: fig:GMT_App_M_1 --></a> shows each of the 22 built-in color palettes, stored in so-called cpt tables. The programs <a 
href="../html/man/makecpt.html" ><span 
class="phvb8t-">makecpt</span></a><a 
 id="dx1-243003"></a> and
<a 
href="../html/man/grd2cpt.html" ><span 
class="phvb8t-">grd2cpt</span></a><a 
 id="dx1-243004"></a> are used to access these master cpt tables and translate/scale them to fit the user&#8217;s range of
<!--l. 19--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi></math>-values.
The top half of the color bars in the Figure shows the original color scale, which can be either discrete or
continuous, though some (like <span 
class="ptmb8t-">globe</span>) are a mix of the two. The bottom half the color bar are built by using
<a 
href="../html/man/makecpt.html" ><span 
class="phvb8t-">makecpt</span></a><a 
 id="dx1-243005"></a> <span 
class="pcrb8t-">-T-1/1/0.25</span>, thus splitting the color scale into 8 discrete colors.
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-243006r1"></a>
                                                                                 

                                                                                 

<!--l. 27--><p class="noindent" ><img 
src="images/GMT_App_M_1.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;M.1: </span><span  
class="content">The standard 22 cpt files supported by <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>.</span></div><!--tex4ht:label?: x1-243006r1 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
   <h3 class="sectionHead"><span class="titlemark">M.2    </span> <a 
 id="x1-244000M.2"></a>Labeled and non-equidistant color legends</h3>
<a 
 id="dx1-244001"></a>
<!--l. 35--><p class="noindent" >The use of color legends has already been introduced in Chapter&#x00A0;<a 
href="#x1-1280007">7<!--tex4ht:ref: ch:7 --></a> (examples 2, 16, and 17). Things become a bit
more complicated when you want to label the legend with names for certain intervals (like geological time periods
in the example below). To accomplish that, one should add a semi-colon and the label name at the end of a line in
the cpt table and add the <span 
class="pcrb8t-">-L </span>option to the <a 
href="../html/man/psscale.html" ><span 
class="phvb8t-">psscale</span></a><a 
 id="dx1-244002"></a> command that draws the color legend. This option
also makes all intervals in the legend of equal length, even it the numerical values are not equally
spaced.
</p><!--l. 37--><p class="indent" >   Normally, the name labels are plotted at the lower end of the intervals. But by adding a <span 
class="ptmri8t-">gap </span>amount (even when
zero) to the <span 
class="pcrb8t-">-L </span>option, they are centered. The example below also shows how to annotate ranges using <span 
class="pcrb8t-">-Li </span>(in
which case no name labels should appear in the cpt file), and how to switch the color bar around (by using a
negative length).
</p><!--l. 39--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ps=GMT_App_M_2.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;ANNOT_FONT_SIZE</span><span 
class="pcrr8t-x-x-70">&#x00A0;10p</span><span 
class="pcrr8t-x-x-70">&#x00A0;MEASURE_UNIT</span><span 
class="pcrr8t-x-x-70">&#x00A0;cm</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Set</span><span 
class="pcrr8t-x-x-70">&#x00A0;up</span><span 
class="pcrr8t-x-x-70">&#x00A0;color</span><span 
class="pcrr8t-x-x-70">&#x00A0;palette</span><span 
class="pcrr8t-x-x-70">&#x00A0;with</span><span 
class="pcrr8t-x-x-70">&#x00A0;named</span><span 
class="pcrr8t-x-x-70">&#x00A0;annotations</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">cat</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;ages.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;&#x003C;END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#COLOR_MODEL</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;RGB</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;197</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;255</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;23</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;197</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;255</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;;Neogene</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">23</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;81</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;255</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;66</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;81</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;255</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;;Paleogene</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">66</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;35</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;255</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;146</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;35</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;255</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;;Cretaceous</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">146</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;151</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;255</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;200</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;151</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;255</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;;Jurassic</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">200</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;255</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;244</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;251</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;255</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;244</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;;Triassic</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">251</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;255</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;127</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;299</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;255</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;127</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;;Permian</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">299</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;255</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;11</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;359</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;255</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;11</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;;Carboniferous</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">359</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;104</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;255</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;416</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;104</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;255</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;;Devonian</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">416</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;220</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;255</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;444</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;220</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;255</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;;Silurian</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">444</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;255</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;174</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;488</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;255</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;174</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;;Ordovician</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">488</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;255</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;58</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;542</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;255</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;58</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;;Cambrian</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">B</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;black</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">F</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;white</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">END</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Top</span><span 
class="pcrr8t-x-x-70">&#x00A0;row,</span><span 
class="pcrr8t-x-x-70">&#x00A0;left</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;right.</span><span 
class="pcrr8t-x-x-70">&#x00A0;Using</span><span 
class="pcrr8t-x-x-70">&#x00A0;names.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psscale</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ef</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cages.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D00/13/-8/0.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psscale</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ef</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cages.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D04/13/-8/0.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-L</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psscale</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ef</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cages.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D08/13/-8/0.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-L0.0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psscale</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ef</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cages.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D12/13/-8/0.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-L0.1</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psscale</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ef</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cages.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D16/13/+8/0.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-L</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psscale</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ef</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cages.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D20/13/+8/0.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-L0.1</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Bottom</span><span 
class="pcrr8t-x-x-70">&#x00A0;row,</span><span 
class="pcrr8t-x-x-70">&#x00A0;left</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;right.</span><span 
class="pcrr8t-x-x-70">&#x00A0;Using</span><span 
class="pcrr8t-x-x-70">&#x00A0;numbers.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">sed</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;s/;.*$//&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;ages.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;years.cpt</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psscale</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ef</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cyears.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D00/04/+8/0.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psscale</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ef</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cyears.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D04/04/-8/0.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-L</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psscale</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ef</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cyears.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D08/04/-8/0.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-L0.0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psscale</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ef</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cyears.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D12/04/-8/0.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-L0.1</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psscale</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ef</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cyears.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D16/04/-8/0.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Li</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psscale</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Ef</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cyears.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-D20/04/-8/0.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Li0.1</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f</span><span 
class="pcrr8t-x-x-70">&#x00A0;ages.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;years.cpt</span>
   </div>__________________________________________________________________________________________________
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-244003r2"></a>
                                                                                 

                                                                                 

<!--l. 43--><p class="noindent" ><img 
src="images/GMT_App_M_2.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;M.2: </span><span  
class="content">The many forms of color legends created by <a 
href="../html/man/psscale.html" ><span 
class="phvb8t-">psscale</span></a><a 
 id="dx1-244004"></a>.</span></div><!--tex4ht:label?: x1-244003r2 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
                                                                                 

                                                                                 
                                                                                 

                                                                                 
                                                                                 

                                                                                 
<a 
 id="x1-244005r279"></a>
   <h2 class="appendixHead"><span class="titlemark">Appendix&#x00A0;N</span><br /><a 
 id="x1-245000N"></a>Custom Plot Symbols</h2>  <a 
 id="dx1-245001"></a>
<!--l. 14--><p class="noindent" ><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;comes with several custom plot symbols ready to go. They are used in <a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-245002"></a> and <a 
href="../html/man/psxyz.html" ><span 
class="phvb8t-">psxyz</span></a><a 
 id="dx1-245003"></a> using the <span 
class="pcrb8t-">-Sk</span>
option. To make your own custom plot symbol, please follow the instructions given in the man pages of those two
programs. The following is a plot of each symbol. Note that we only show the symbol outline and not any fill. Be
aware that some symbols may have a hardwired fill or no-fill component. Also note that some symbols,
in particular the geometric ones, duplicate what is already available as standard built-in symbols.
<br 
class="newline" />
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-245004r1"></a>
                                                                                 

                                                                                 

<!--l. 22--><p class="noindent" ><img 
src="images/GMT_App_N_1.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;N.1: </span><span  
class="content">Custom plot symbols supported by <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>.</span></div><!--tex4ht:label?: x1-245004r1 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
                                                                                 

                                                                                 
                                                                                 

                                                                                 
                                                                                 

                                                                                 
<a 
 id="x1-245005r279"></a>
   <h2 class="appendixHead"><span class="titlemark">Appendix&#x00A0;O</span><br /><a 
 id="x1-246000O"></a>Annotation of Contours and &#8220;Quoted Lines&#8221;</h2>
<!--l. 13--><p class="noindent" >The <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;programs <a 
href="../html/man/grdcontour.html" ><span 
class="phvb8t-">grdcontour</span></a><a 
 id="dx1-246001"></a> (for data given as 2-dimensional grids) and <a 
href="../html/man/pscontour.html" ><span 
class="phvb8t-">pscontour</span></a><a 
 id="dx1-246002"></a> (for <span 
class="ptmri8t-">x,y,z </span>tables) allow
for contouring of data sets, while <a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-246003"></a> and <a 
href="../html/man/psxyz.html" ><span 
class="phvb8t-">psxyz</span></a><a 
 id="dx1-246004"></a> can plot lines based on <span 
class="ptmri8t-">x,y</span>- and <span 
class="ptmri8t-">x,y,z</span>-tables, respectively.
In both cases it may be necessary to attach labels to these lines. Clever or optimal placements of
labels is a very difficult topic, and <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;provides several algorithms for this placement as well as
complete freedom in specifying the attributes of the labels. Because of the richness of these choices we
present this Appendix which summarizes the various options and gives several examples of their
use.
</p>
   <h3 class="sectionHead"><span class="titlemark">O.1    </span> <a 
 id="x1-247000O.1"></a>Label Placement</h3>
<!--l. 26--><p class="noindent" >While the previous <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;versions 1&#8211;3 allowed for a single algorithm that determined where labels would be
placed, <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4 allows for five different algorithms. Furthermore, a new &#8220;symbol&#8221; option (<span 
class="pcrb8t-">-Sq </span>for &#8220;quoted line&#8221;)
has been added to <a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-247001"></a> and <a 
href="../html/man/psxyz.html" ><span 
class="phvb8t-">psxyz</span></a><a 
 id="dx1-247002"></a> and hence the new label placement mechanisms apply to those programs as
well. The contouring programs expect the algorithm to be specified as arguments to <span 
class="pcrb8t-">-G </span>while the line plotting
programs expect the same arguments to follow <span 
class="pcrb8t-">-Sq</span>. The information appended to these options is the same in both
cases and is of the form [<span 
class="ptmb8t-">code</span>]<span 
class="ptmri8t-">info</span>. The five algorithms correspond to the five codes below (some codes will appear
in both upper and lower case; they share the same algorithm but differ in some other ways). In what
follows, the phrase &#8220;line segment&#8221; is taken to mean either a contour or a line to be labeled. The codes
are:
   </p><dl class="description"><dt class="description">
<span 
class="ptmb8t-">d:</span> </dt><dd 
class="description">Full syntax is <span 
class="ptmb8t-">d</span><span 
class="ptmri8t-">dist</span>[<span 
class="ptmb8t-">c</span><!--l. 39--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">i</span><!--l. 39--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">m</span><!--l. 39--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">p</span>][/<span 
class="ptmri8t-">frac</span>].
   Place    labels    according    to    the    distance    measured    along    the    projected    line    on    the
   map.    Append    the    unit    you    want    to    measure    distances    in    [Default    is    taken    from
   <span 
class="ptmb8t-">MEASURE_UNIT</span>].   Starting   at   the   beginning   of   a   line,   place   labels   every   <span 
class="ptmri8t-">dist   </span>increment
   of   distance   along   the   line.   To   ensure   that   closed   lines   whose   total   length   is   less   than
   <span 
class="ptmri8t-">dist   </span>get   annotated,   we   may   append   <span 
class="ptmri8t-">frac   </span>which   will   place   the   first   label   at   the   distance
   <!--l. 45--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>d</mi> <mo 
class="MathClass-rel">=</mo></math>
   <span 
class="ptmri8t-">dist </span><!--l. 45--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-bin">&#x00D7;</mo></math>
   <span 
class="ptmri8t-">frac </span>from the start of a closed line (and every <span 
class="ptmri8t-">dist </span>thereafter). If not given, <span 
class="ptmri8t-">frac </span>defaults to 0.25.
   </dd><dt class="description">
<span 
class="ptmb8t-">D:</span> </dt><dd 
class="description">Full syntax is <span 
class="ptmb8t-">D</span><span 
class="ptmri8t-">dist</span>[<span 
class="ptmb8t-">d</span><!--l. 47--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">e</span><!--l. 47--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">k</span><!--l. 47--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">m</span><!--l. 47--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">n</span>][/<span 
class="ptmri8t-">frac</span>].
   This     option     is     similar     to     <span 
class="ptmb8t-">d     </span>except     the     original     data     must     be     referred     to
   geographic    coordinates    (and    a    map    projection    must    have    been    chosen)    and    actual
   Earth<span class="footnote-mark"><a 
href="#fn54x24" id="fn54x24-bk"><sup class="textsuperscript">54</sup></a></span><a 
 id="x1-247003f54"></a>
   surface distances along the lines are considered. Append the unit you want to measure distances in;
   choose among <span 
class="ptmb8t-">d</span>egree, m<span 
class="ptmb8t-">e</span>ter [Default], <span 
class="ptmb8t-">k</span>ilometer, statute <span 
class="ptmb8t-">m</span>iles, or <span 
class="ptmb8t-">n</span>autical miles. Other aspects are
   similar to code <span 
class="ptmb8t-">d</span>.
   </dd><dt class="description">
<span 
class="ptmb8t-">f:</span> </dt><dd 
class="description">Full syntax is <span 
class="ptmb8t-">f</span><span 
class="ptmri8t-">fix.d</span>[/<span 
class="ptmri8t-">slop</span>[<span 
class="ptmb8t-">c</span><!--l. 53--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">i</span><!--l. 53--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">m</span><!--l. 53--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">p</span>]].
   Here,  an  ASCII  file  <span 
class="ptmri8t-">fix.d  </span>is  given  which  must  contain  records  whose  first  two  columns  hold  the
   coordinates of points along the lines at which locations the labels should be placed. Labels will only
   be placed if the coordinates match the line coordinates to within a distance of <span 
class="ptmri8t-">slop </span>(append unit or we
   use <span 
class="ptmb8t-">MEASURE_UNIT</span>). The default <span 
class="ptmri8t-">slop </span>is zero, meaning only exact coordinate matches will do.
   </dd><dt class="description">
<span 
class="ptmb8t-">l:</span> </dt><dd 
class="description">Full  syntax  is  <span 
class="ptmb8t-">l</span><span 
class="ptmri8t-">line1</span>[,<span 
class="ptmri8t-">line2</span>[,  ...]].  One  or  more  straight  line  segments  are  specified  separated
   by   commas,   and   labels   will   be   placed   at   the   intersections   between   these   lines   and   our
   line   segments.   Each   <span 
class="ptmri8t-">line   </span>specification   implies   a   <span 
class="ptmri8t-">start   </span>and   <span 
class="ptmri8t-">stop   </span>point,   each   corresponding
   to   a   coordinate   pair.   These   pairs   can   be   regular   coordinate   pairs   (i.e.,   longitude/latitude
   separated   by   a   slash),   or   they   can   be   two-character   codes   that   refer   to   predetermined
                                                                                 

                                                                                 
   points  relative  to  the  map  region.  These  codes  are  taken  from  the  <a 
href="../html/man/pstext.html" ><span 
class="phvb8t-">pstext</span></a><a 
 id="dx1-247004"></a>  justification  keys
   [<span 
class="ptmb8t-">L</span><!--l. 63--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">C</span><!--l. 63--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">R</span>][<span 
class="ptmb8t-">B</span><!--l. 63--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">M</span><!--l. 63--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">T</span>]
   so that the first character determines the <!--l. 64--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>x</mi></math>-coordinate
   and the second determines the <!--l. 64--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>y</mi></math>-coordinate.
   In <a 
href="../html/man/grdcontour.html" ><span 
class="phvb8t-">grdcontour</span></a><a 
 id="dx1-247005"></a>, you can also use the two codes <span 
class="ptmb8t-">Z+ </span>and <span 
class="ptmb8t-">Z- </span>as shorthands for the location of the grid&#8217;s
   global  maximum  and  minimum,  respectively.  For  example,  the  <span 
class="ptmri8t-">line  </span><span 
class="ptmb8t-">LT</span>/<span 
class="ptmb8t-">RB  </span>is  a  diagonal  from  the
   upper left to the lower right map corner, while <span 
class="ptmb8t-">Z-</span>/135W/15S is a line from the grid minimum to the
   point (135<span 
class="ptmr8c-">°</span>W, 15<span 
class="ptmr8c-">°</span>S).
   </dd><dt class="description">
<span 
class="ptmb8t-">L:</span> </dt><dd 
class="description">Same as <span 
class="ptmb8t-">l </span>except we will treat the lines given as great circle start/stop coordinates and fill in the points
   between before looking for intersections.
   </dd><dt class="description">
<span 
class="ptmb8t-">n:</span> </dt><dd 
class="description">Full syntax is <span 
class="ptmb8t-">n</span><span 
class="ptmri8t-">number</span>[/<span 
class="ptmri8t-">minlength</span>[<span 
class="ptmb8t-">c</span><!--l. 71--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">i</span><!--l. 71--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">m</span><!--l. 71--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">p</span>]].
   Place <span 
class="ptmri8t-">number </span>of labels along each line regardless of total line length. The line is divided into <span 
class="ptmri8t-">number</span>
   segments  and  the  labels  are  placed  at  the  centers  of  these  segments.  Optionally,  you  may  give  a
   <span 
class="ptmri8t-">minlength </span>distance to ensure that no labels are placed closer than this distance to its neighbors.
   </dd><dt class="description">
<span 
class="ptmb8t-">N:</span> </dt><dd 
class="description">Full syntax is <span 
class="ptmb8t-">N</span><span 
class="ptmri8t-">number</span>[/<span 
class="ptmri8t-">minlength</span>[<span 
class="ptmb8t-">c</span><!--l. 75--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">i</span><!--l. 75--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">m</span><!--l. 75--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">p</span>]].
   Similar   to   code   <span 
class="ptmb8t-">n   </span>but   here   labels   are   placed   at   the   ends   of   each   segment   (for   <span 
class="ptmri8t-">number</span>
   <!--l. 76--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x2265;</mo> <mn>2</mn></math>).
   A special case arises for <span 
class="ptmri8t-">number </span><!--l. 77--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">=</mo> <mn>1</mn></math>
   when      a      single      label      will      be      placed      according      to      the      sign      of      <span 
class="ptmri8t-">number</span>:
   <!--l. 78--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-bin">-</mo><mn>1</mn></math>
   places one label justified at the start of the line, while <!--l. 78--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-bin">+</mo><mn>1</mn></math>
   places one label justified at the end of the line.
   </dd><dt class="description">
<span 
class="ptmb8t-">x:</span> </dt><dd 
class="description">Full syntax is <span 
class="ptmb8t-">x</span><span 
class="ptmri8t-">cross.d</span>. Here, an ASCII file <span 
class="ptmri8t-">cross.d </span>is a multi-segment file whose lines will intersect our
   segment lines; labels will be placed at these intersections.
   </dd><dt class="description">
<span 
class="ptmb8t-">X:</span> </dt><dd 
class="description">Same as <span 
class="ptmb8t-">x </span>except we treat the lines given as great circle start/stop coordinates and fill in the points
   between before looking for intersections.</dd></dl>
<!--l. 84--><p class="noindent" >Only one algorithm can be specified at any given time.
</p><!--l. 86--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">O.2    </span> <a 
 id="x1-248000O.2"></a>Label Attributes</h3>
<!--l. 87--><p class="noindent" >Determining where to place labels is half the battle. The other half is to specify exactly what are the
attributes of the labels. It turns out that there are quite a few possible attributes that we may want to
control, hence understanding how to specify these attributes becomes important. In the contouring
programs, one or more attributes may be appended to the <span 
class="pcrb8t-">-A </span>option using the format +<span 
class="ptmri8t-">code</span>[<span 
class="ptmri8t-">args</span>]
for each attribute, whereas for the line plotting programs these attributes are appended to the <span 
class="pcrb8t-">-Sq</span>
option following a colon (:) that separates the label codes from the placement algorithm. Several of the
attributes do not apply to contours so we start off with listing those that apply universally. These codes
are:
   </p><dl class="description"><dt class="description">
<span 
class="ptmb8t-">+a:</span> </dt><dd 
class="description">Controls the angle of the label relative to the angle of the line. Append <span 
class="ptmb8t-">n </span>for normal to the line, give
   a fixed <span 
class="ptmri8t-">angle </span>measured counter-clockwise relative to the horizontal. or append <span 
class="ptmb8t-">p </span>for parallel to the line
   [Default]. If using <a 
href="../html/man/grdcontour.html" ><span 
class="phvb8t-">grdcontour</span></a><a 
 id="dx1-248001"></a> the latter option you may further append <span 
class="ptmb8t-">u </span>or <span 
class="ptmb8t-">d </span>to get annotations
   whose upper edge always face the next higher or lower contour line.
                                                                                 

                                                                                 
   </dd><dt class="description">
<span 
class="ptmb8t-">+c:</span> </dt><dd 
class="description">Surrounding each label is an imaginary label &#8220;textbox&#8221; which defines a region in which no segment
   lines  should  be  visible.  The  initial  box  provides  an  exact  fit  to  the  enclosed  text  but  clearance
   may  be  extended  in  both  the  horizontal  and  vertical  directions  (relative  to  the  label  baseline)
   by  the  given  amounts.  If  these  should  be  different  amounts  please  separate  them  by  a  slash;
   otherwise  the  single  value  applies  to  both  directions.  Append  the  distance  units  of  your  choice
   (<span 
class="ptmb8t-">c</span><!--l. 106--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">i</span><!--l. 106--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">m</span><!--l. 106--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">p</span>),
   or give % to indicate that the clearance should be this fixed percentage of the label font size in use. The
   default is 15%.
   </dd><dt class="description">
<span 
class="ptmb8t-">+d:</span> </dt><dd 
class="description">Debug mode. This is useful when testing contour placement as it will draw the normally invisible
   helper lines and points in the label placement algorithms above.
   </dd><dt class="description">
<span 
class="ptmb8t-">+f:</span> </dt><dd 
class="description">Specifies the desired label font. See <a 
href="../html/man/pstext.html" ><span 
class="phvb8t-">pstext</span></a><a 
 id="dx1-248002"></a> for font names or numbers. The default font is given by
   <span 
class="ptmb8t-">ANNOT_FONT_PRIMARY</span>.
   </dd><dt class="description">
<span 
class="ptmb8t-">+g:</span> </dt><dd 
class="description">Selects opaque rather than the default transparent textboxes. You may optionally append the color you
   want to fill the label boxes; the default is the same as <span 
class="ptmb8t-">PAGE_COLOR</span>.
   </dd><dt class="description">
<span 
class="ptmb8t-">+j:</span> </dt><dd 
class="description">Selects  the  justification  of  the  label  relative  to  the  placement  points  determined  above.  Normally
   this   is   center/mid   justified   (<span 
class="ptmb8t-">CM   </span>in   <a 
href="../html/man/pstext.html" ><span 
class="phvb8t-">pstext</span></a><a 
 id="dx1-248003"></a>   justification   parlance)   and   this   is   indeed   the
   default  setting.  Override  by  using  this  option  and  append  another  justification  key  code  from
   [<span 
class="ptmb8t-">L</span><!--l. 117--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">C</span><!--l. 117--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">R</span>][<span 
class="ptmb8t-">B</span><!--l. 117--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">M</span><!--l. 117--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">T</span>].
   Note for curved text (<span 
class="ptmb8t-">+v</span>) only vertical justification will be affected.
   </dd><dt class="description">
<span 
class="ptmb8t-">+k:</span> </dt><dd 
class="description">Sets the color of the text labels, which otherwise defaults to that given by <span 
class="ptmb8t-">COLOR_BACKGROUND</span>.
   </dd><dt class="description">
<span 
class="ptmb8t-">+o:</span> </dt><dd 
class="description">Request a rounded, rectangular label box shape; the default is rectangular. This is only manifested if
   the box is filled or outlined, neither of which is implied by this option alone (see <span 
class="ptmb8t-">+g </span>and <span 
class="ptmb8t-">+p</span>). As this
   option only applies to straight text, it is ignored if <span 
class="ptmb8t-">+v </span>is given.
   </dd><dt class="description">
<span 
class="ptmb8t-">+p:</span> </dt><dd 
class="description">Selects the drawing of the label box outline; append your preferred <span 
class="ptmri8t-">pen </span>unless you want the default
   <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;pen [0.25p,black].
   </dd><dt class="description">
<span 
class="ptmb8t-">+r:</span> </dt><dd 
class="description">Do    not    place    labels    at    points    along    the    line    whose    local    radius    of    curvature
   falls     below     the     given     threshold     value.     Append     the     radius     unit     of     your     choice
   (<span 
class="ptmb8t-">c</span><!--l. 126--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">i</span><!--l. 126--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">m</span><!--l. 126--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">p</span>)
   [Default is 0].
   </dd><dt class="description">
<span 
class="ptmb8t-">+s:</span> </dt><dd 
class="description">Change the font size of the labels, which by default is 9 points.
   </dd><dt class="description">
<span 
class="ptmb8t-">+u:</span> </dt><dd 
class="description">Append the chosen <span 
class="ptmri8t-">unit </span>to the label. Normally a space will separate the label and the unit. If you
   want  to  close  this  gap,  append  a  <span 
class="ptmri8t-">unit  </span>that  begins  with  a  hyphen  (&#8211;).  If  you  are  contouring  with
   <a 
href="../html/man/grdcontour.html" ><span 
class="phvb8t-">grdcontour</span></a><a 
 id="dx1-248004"></a> and you specify this option without appending a unit, the unit will be taken from the
   <!--l. 131--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>z</mi></math>-unit
   attribute of the grid header.
                                                                                 

                                                                                 
   </dd><dt class="description">
<span 
class="ptmb8t-">+v:</span> </dt><dd 
class="description">Place curved labels that follow the wiggles of the line segments. This is especially useful if the labels
   are long relative to the length-scale of the wiggles. The default places labels on an invisible straight line
   at the angle determined.
   </dd><dt class="description">
<span 
class="ptmb8t-">+w:</span> </dt><dd 
class="description">The angle of the line at the point of straight label placement is calculated by a least-squares fit to the
   <span 
class="ptmri8t-">width </span>closest points. If not specified, <span 
class="ptmri8t-">width </span>defaults to 10.
   </dd><dt class="description">
<span 
class="ptmb8t-">+=:</span> </dt><dd 
class="description">Similar in most regards to <span 
class="ptmb8t-">+u </span>but applies instead to a label <span 
class="ptmri8t-">prefix </span>which you must append.</dd></dl>
<!--l. 140--><p class="noindent" >For contours, the label will be the value of the contour (possibly modified by <span 
class="ptmb8t-">+u </span>or <span 
class="ptmb8t-">+=</span>). However, for quoted lines
other options apply:
   </p><dl class="description"><dt class="description">
<span 
class="ptmb8t-">+l:</span> </dt><dd 
class="description">Append a fixed <span 
class="ptmri8t-">label </span>that will be placed at all label locations. If the label contains spaces you must
   place it inside matching quotes.
   </dd><dt class="description">
<span 
class="ptmb8t-">+L:</span> </dt><dd 
class="description">Append a code <span 
class="ptmri8t-">flag </span>that will determine the label. Available codes are:
      <dl class="description"><dt class="description">
   <span 
class="ptmb8t-">+Lh:</span> </dt><dd 
class="description">Take   the   label   from   the   current   multi-segment   header   (hence   it   is   assumed   that   the
      input  line  segments  are  given  in  the  multi-segment  file  format;  if  not  we  pick  the  single
      label  from  the  file&#8217;s  header  record).  We  first  scan  the  header  for  an  embedded  <span 
class="pcrb8t-">-L</span><span 
class="ptmri8t-">label</span>
      option;   if   none   is   found   we   instead   use   the   first   word   following   the   segment   marker
      [<!--l. 150--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-rel">&#x003E;</mo></math>].
      </dd><dt class="description">
   <span 
class="ptmb8t-">+Ld:</span> </dt><dd 
class="description">Take     the     Cartesian     plot     distances     along     the     line     as     the     label;     append
      <span 
class="ptmb8t-">c</span><!--l. 151--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">i</span><!--l. 151--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">m</span><!--l. 151--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">p</span>
      as  the  unit  [Default  is  <span 
class="ptmb8t-">MEASURE_UNIT</span>].  The  label  will  be  formatted  according  to  the
      <span 
class="ptmb8t-">D_FORMAT </span>string, <span 
class="ptmri8t-">unless </span>label placement was determined from map distances along the segment
      lines, in which case we determine the appropriate format from the distance value itself.
      </dd><dt class="description">
   <span 
class="ptmb8t-">+LD:</span> </dt><dd 
class="description">Calculate           actual           Earth           surface           distances           and           use           the
      distance        at        the        label        placement        point        as        the        label;        append
      <span 
class="ptmb8t-">d</span><!--l. 156--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">e</span><!--l. 156--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">k</span><!--l. 156--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">m</span><!--l. 156--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">n</span>
      to  specify  the  unit  [If  not  given  we  default  to  <span 
class="ptmb8t-">d</span>egrees,  <span 
class="ptmri8t-">unless  </span>label  placement  was  determined
      from map distances along the segment lines, in which case we use the same unit specified for that
      algorithm]. Requires a map projection to be used.
      </dd><dt class="description">
   <span 
class="ptmb8t-">+Lf:</span> </dt><dd 
class="description">Use  all  text  after  the  2nd  column  in  the  fixed  label  location  file  <span 
class="ptmri8t-">fix.d  </span>as  labels.  This  choice
      obviously requires the fixed label location algorithm (code <span 
class="ptmb8t-">f</span>) to be in effect.
      </dd><dt class="description">
   <span 
class="ptmb8t-">+Ln:</span> </dt><dd 
class="description">Use the running number of the current multi-segment as label.
      </dd><dt class="description">
   <span 
class="ptmb8t-">+LN:</span> </dt><dd 
class="description">Use  a  slash-separated  combination  of  the  current  file  number  and  the  current  multi-segment
      number as label.
      </dd><dt class="description">
   <span 
class="ptmb8t-">+Lx:</span> </dt><dd 
class="description">As    <span 
class="ptmb8t-">h    </span>but    use    the    multi-segment    headers    in    the    <span 
class="ptmri8t-">cross.d    </span>file    instead.    This
      choice      obviously      requires      the      crossing      segments      location      algorithm      (code
      <span 
class="ptmb8t-">x</span><!--l. 164--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mo 
class="MathClass-rel">|</mo></math><span 
class="ptmb8t-">X</span>)
      to be in effect.</dd></dl>
                                                                                 

                                                                                 
   </dd></dl>
<!--l. 168--><p class="noindent" >
</p>
   <h3 class="sectionHead"><span class="titlemark">O.3    </span> <a 
 id="x1-249000O.3"></a>Examples of Contour Label Placement</h3>
<!--l. 170--><p class="noindent" >We will demonstrate the use of these options with a few simple examples. First, we will contour a subset of the
global geoid data used in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;Example 01; the region selected encompasses the world&#8217;s strongest &#8220;geoid
dipole&#8221;: the Indian Low and the New Guinea High.
</p><!--l. 175--><p class="noindent" >
</p>
   <h4 class="subsectionHead"><span class="titlemark">O.3.1    </span> <a 
 id="x1-250000O.3.1"></a>Equidistant labels</h4>
<!--l. 177--><p class="noindent" >Our first example uses the default placement algorithm. Because of the size of the map we request contour labels
every 1.5 inches along the lines:
</p><!--l. 180--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R50/160/-15/15</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JM5.3i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A500</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_O_1.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdcontour</span><span 
class="pcrr8t-x-x-70">&#x00A0;geoid.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B20f10WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C10</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A20+s8</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gd1.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-S10</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T:LH</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_O_1.ps</span>
   </div>__________________________________________________________________________________________________
<!--l. 182--><p class="noindent" >As seen in Figure&#x00A0;<a 
href="#x1-250001r1">O.1<!--tex4ht:ref: fig:GMT_App_O_1 --></a>, the contours are placed rather arbitrary. The string of contours for
<!--l. 184--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" > <mo 
class="MathClass-bin">-</mo><mn>4</mn><mn>0</mn></math> to
<!--l. 184--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mn>6</mn><mn>0</mn></math> align
well but that is a fortuitous consequence of reaching the 1.5 inch distance from the start at the bottom of the
map.
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-250001r1"></a>
                                                                                 

                                                                                 

<!--l. 188--><p class="noindent" ><img 
src="images/GMT_App_O_1.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;O.1:  </span><span  
class="content">Equidistant  contour  label  placement  with  <span 
class="pcrb8t-">-Gd</span>,  the  only  algorithm  available  in  previous
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;versions.</span></div><!--tex4ht:label?: x1-250001r1 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
   <h4 class="subsectionHead"><span class="titlemark">O.3.2    </span> <a 
 id="x1-251000O.3.2"></a>Fixed number of labels</h4>
<!--l. 192--><p class="noindent" >We now exercise the option for specifying exactly how many labels each contour line should have:
</p><!--l. 195--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R50/160/-15/15</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JM5.3i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A500</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_O_2.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdcontour</span><span 
class="pcrr8t-x-x-70">&#x00A0;geoid.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B20f10WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C10</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A20+s8</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gn1/1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-S10</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T:LH</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_O_2.ps</span>
   </div>__________________________________________________________________________________________________
<!--l. 197--><p class="noindent" >By selecting only one label per contour and requiring that labels only be placed on contour lines whose length
exceed 1 inch, we achieve the effect shown in Figure&#x00A0;<a 
href="#x1-251001r2">O.2<!--tex4ht:ref: fig:GMT_App_O_2 --></a>.
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-251001r2"></a>
                                                                                 

                                                                                 

<!--l. 202--><p class="noindent" ><img 
src="images/GMT_App_O_2.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;O.2: </span><span  
class="content">Placing one label per contour that exceed 1 inch in length, centered on the segment with <span 
class="pcrb8t-">-Gn</span>.</span></div><!--tex4ht:label?: x1-251001r2 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
   <h4 class="subsectionHead"><span class="titlemark">O.3.3    </span> <a 
 id="x1-252000O.3.3"></a>Prescribed label placements</h4>
<!--l. 206--><p class="noindent" >Here, we specify four points where we would like contour labels to be placed. Our points are not
exactly on the contour lines so we give a nonzero &#8220;slop&#8221; to be used in the distance calculations: The
point on the contour closest to our fixed points and within the given maximum distance will host the
label.
</p><!--l. 211--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">cat</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;&#x003C;</span><span 
class="pcrr8t-x-x-70">&#x00A0;EOF</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;fix.d</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">80</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-8.5</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">55</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-7.5</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">102</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">130</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;10.5</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">EOF</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R50/160/-15/15</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JM5.3i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A500</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_O_3.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdcontour</span><span 
class="pcrr8t-x-x-70">&#x00A0;geoid.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B20f10WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C10</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A20+d+s8</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gffix.d/0.1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-S10</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T:LH</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_O_3.ps</span>
   </div>__________________________________________________________________________________________________
<!--l. 213--><p class="noindent" >The angle of the label is evaluated from the contour line geometry, and the final result is shown in Figure&#x00A0;<a 
href="#x1-252001r3">O.3<!--tex4ht:ref: fig:GMT_App_O_3 --></a>.
</p><hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-252001r3"></a>
                                                                                 

                                                                                 

<!--l. 217--><p class="noindent" ><img 
src="images/GMT_App_O_3.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;O.3: </span><span  
class="content">Four labels are positioned on the points along the contours that are closest to the locations
given in the file <span class="underline">fix.d</span> in the <span 
class="pcrb8t-">-Gf </span>option.</span></div><!--tex4ht:label?: x1-252001r3 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 218--><p class="indent" >   To aid in understanding the algorithm we chose to specify &#8220;debug&#8221; mode (<span 
class="ptmb8t-">+d</span>) which placed a small circle at
each of the fixed points.
</p>
   <h4 class="subsectionHead"><span class="titlemark">O.3.4    </span> <a 
 id="x1-253000O.3.4"></a>Label placement at simple line intersections</h4>
<!--l. 223--><p class="noindent" >Often, it will suffice to place contours at the imaginary intersections between the contour lines and a well-placed
straight line segment. The <span 
class="pcrb8t-">-Gl </span>or <span 
class="pcrb8t-">-GL </span>algorithms work well in those cases:
</p><!--l. 227--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R50/160/-15/15</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JM5.3i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A500</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_O_4.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdcontour</span><span 
class="pcrr8t-x-x-70">&#x00A0;geoid.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B20f10WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C10</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A20+d+s8</span><span 
class="pcrr8t-x-x-70">&#x00A0;-GLZ-/Z+</span><span 
class="pcrr8t-x-x-70">&#x00A0;-S10</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T:LH</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_O_4.ps</span>
   </div>__________________________________________________________________________________________________
<!--l. 229--><p class="noindent" >The obvious choice in this example is to specify a great circle between the high and the low, thus placing all labels
between these extrema.
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-253001r4"></a>
                                                                                 

                                                                                 

<!--l. 234--><p class="noindent" ><img 
src="images/GMT_App_O_4.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;O.4: </span><span  
class="content">Labels are placed at the intersections between contours and the great circle specified in the
<span 
class="pcrb8t-">-GL </span>option.</span></div><!--tex4ht:label?: x1-253001r4 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 235--><p class="noindent" >The thin debug line in Figure&#x00A0;<a 
href="#x1-253001r4">O.4<!--tex4ht:ref: fig:GMT_App_O_4 --></a> shows the great circle and the intersections where labels are plotted. Note that
any number of such lines could be specified; here we are content with just one.
</p>
   <h4 class="subsectionHead"><span class="titlemark">O.3.5    </span> <a 
 id="x1-254000O.3.5"></a>Label placement at general line intersections</h4>
<!--l. 242--><p class="noindent" >If (1) the number of intersecting straight line segments needed to pick the desired label positions becomes too large
to be given conveniently on the command line, or (2) we have another data set or lines whose intersections we wish
to use, the general crossing algorithm makes more sense:
</p><!--l. 247--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R50/160/-15/15</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JM5.3i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A500</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_O_5.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdcontour</span><span 
class="pcrr8t-x-x-70">&#x00A0;geoid.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B20f10WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C10</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A20+d+s8</span><span 
class="pcrr8t-x-x-70">&#x00A0;-GXcross.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;-S10</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T:LH</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_O_5.ps</span>
   </div>__________________________________________________________________________________________________
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-254001r5"></a>
                                                                                 

                                                                                 

<!--l. 250--><p class="noindent" ><img 
src="images/GMT_App_O_5.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;O.5: </span><span  
class="content">Labels are placed at the intersections between contours and the multi-segment lines specified
in the <span 
class="pcrb8t-">-GX </span>option.</span></div><!--tex4ht:label?: x1-254001r5 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 252--><p class="noindent" >In this case, we have created three strands of lines whose intersections with the contours define the label
placements, presented in Figure&#x00A0;<a 
href="#x1-254001r5">O.5<!--tex4ht:ref: fig:GMT_App_O_5 --></a>.
</p>
   <h3 class="sectionHead"><span class="titlemark">O.4    </span> <a 
 id="x1-255000O.4"></a>Examples of Label Attributes</h3>
<!--l. 258--><p class="noindent" >We will now demonstrate some of the ways to play with the label attributes. To do so we will use <a 
href="../html/man/psxy.html" ><span 
class="phvb8t-">psxy</span></a><a 
 id="dx1-255001"></a> on a
great-circle line connecting the geoid extrema, along which we have sampled the ETOPO5 relief data set. The file
<span class="underline">transect.d</span> thus contains <span 
class="ptmri8t-">lon, lat, dist, geoid, relief</span>, with distances in km.
</p><!--l. 263--><p class="noindent" >
</p>
   <h4 class="subsectionHead"><span class="titlemark">O.4.1    </span> <a 
 id="x1-256000O.4.1"></a>Label placement by along-track distances, 1</h4>
<!--l. 265--><p class="noindent" >This example will change the orientation of labels from along-track to across-track, and surrounds the labels
with an opaque, outlined textbox so that the label is more readable. We choose the place the labels
every 1000 km along the line and use that distance as the label. The labels are placed normal to the
line:
</p><!--l. 270--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R50/160/-15/15</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JM5.3i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A500</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_O_6.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdcontour</span><span 
class="pcrr8t-x-x-70">&#x00A0;geoid.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B20f10WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C10</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A20+d+s8</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gl50/10S/160/10S</span><span 
class="pcrr8t-x-x-70">&#x00A0;-S10</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T:&#8217;-+&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_O_6.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-SqD1000k:+g+LD+an+p</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthick</span><span 
class="pcrr8t-x-x-70">&#x00A0;transect.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_O_6.ps</span>
   </div>__________________________________________________________________________________________________
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-256001r6"></a>
                                                                                 

                                                                                 

<!--l. 272--><p class="noindent" ><img 
src="images/GMT_App_O_6.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;O.6: </span><span  
class="content">Labels attributes are controlled with the arguments to the <span 
class="pcrb8t-">-Sq </span>option.</span></div><!--tex4ht:label?: x1-256001r6 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 274--><p class="noindent" >The composite illustration in Figure&#x00A0;<a 
href="#x1-256001r6">O.6<!--tex4ht:ref: fig:GMT_App_O_6 --></a> shows the new effects. Note that the line connecting the extrema does not
end exactly at the &#8216;-&#8217; and &#8216;+&#8217; symbols. This is because the placements of those symbols are based on the mean
coordinates of the contour and not the locations of the (local or global) extrema.
</p>
   <h4 class="subsectionHead"><span class="titlemark">O.4.2    </span> <a 
 id="x1-257000O.4.2"></a>Label placement by along-track distances, 2</h4>
<!--l. 282--><p class="noindent" >A small variation on this theme is to place the labels parallel to the line, use spherical degrees for placement,
append the degree symbol as a unit for the labels, choose a rounded rectangular textbox, and inverse-video the
label:
</p><!--l. 286--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R50/160/-15/15</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JM5.3i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A500</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_O_7.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdcontour</span><span 
class="pcrr8t-x-x-70">&#x00A0;geoid.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B20f10WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C10</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A20+d+um+s8</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gl50/10S/160/10S</span><span 
class="pcrr8t-x-x-70">&#x00A0;-S10</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T:-+</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_O_7.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-SqD15d:+gblack+kwhite+Ld+o+u-\\260</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthick</span><span 
class="pcrr8t-x-x-70">&#x00A0;transect.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_O_7.ps</span>
   </div>__________________________________________________________________________________________________
<!--l. 288--><p class="noindent" >The output is presented as Figure&#x00A0;<a 
href="#x1-257001r7">O.7<!--tex4ht:ref: fig:GMT_App_O_7 --></a>.
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-257001r7"></a>
                                                                                 

                                                                                 

<!--l. 291--><p class="noindent" ><img 
src="images/GMT_App_O_7.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;O.7: </span><span  
class="content">Another label attribute example.</span></div><!--tex4ht:label?: x1-257001r7 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
   <h4 class="subsectionHead"><span class="titlemark">O.4.3    </span> <a 
 id="x1-258000O.4.3"></a>Using a different data set for labels</h4>
<!--l. 295--><p class="noindent" >In the next example we will use the bathymetry values along the transect as our label, with placement determined
by the distance along track. We choose to place labels every 1500 km. To do this we need to pull out those records
whose distances are multiples of 1500 km and create a &#8220;fixed points&#8221; file that can be used to place labels and
specify the labels. This is done with <span 
class="ptmbo8t-">awk</span><a 
 id="dx1-258001"></a>.
</p><!--l. 302--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">awk</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#8217;{if</span><span 
class="pcrr8t-x-x-70">&#x00A0;(NR</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span><span 
class="pcrr8t-x-x-70">&#x00A0;&amp;&amp;</span><span 
class="pcrr8t-x-x-70">&#x00A0;($3</span><span 
class="pcrr8t-x-x-70">&#x00A0;%</span><span 
class="pcrr8t-x-x-70">&#x00A0;1500)</span><span 
class="pcrr8t-x-x-70">&#x00A0;==</span><span 
class="pcrr8t-x-x-70">&#x00A0;0)</span><span 
class="pcrr8t-x-x-70">&#x00A0;print</span><span 
class="pcrr8t-x-x-70">&#x00A0;$1,</span><span 
class="pcrr8t-x-x-70">&#x00A0;$2,</span><span 
class="pcrr8t-x-x-70">&#x00A0;int($5)}&#8217;</span><span 
class="pcrr8t-x-x-70">&#x00A0;transect.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;fix2.d</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R50/160/-15/15</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JM5.3i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A500</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_O_8.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdcontour</span><span 
class="pcrr8t-x-x-70">&#x00A0;geoid.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B20f10WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C10</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A20+d+um+s8</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gl50/10S/160/10S</span><span 
class="pcrr8t-x-x-70">&#x00A0;-S10</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T:-+</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_O_8.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sqffix2.d:+g+an+p+Lf+um+s8</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthick</span><span 
class="pcrr8t-x-x-70">&#x00A0;transect.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_O_8.ps</span>
   </div>__________________________________________________________________________________________________
<!--l. 304--><p class="noindent" >The output is presented as Figure&#x00A0;<a 
href="#x1-258002r8">O.8<!--tex4ht:ref: fig:GMT_App_O_8 --></a>.
</p>
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-258002r8"></a>
                                                                                 

                                                                                 

<!--l. 308--><p class="noindent" ><img 
src="images/GMT_App_O_8.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;O.8: </span><span  
class="content">Labels based on another data set (here bathymetry) while the placement is based on distances.</span></div><!--tex4ht:label?: x1-258002r8 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
   <h3 class="sectionHead"><span class="titlemark">O.5    </span> <a 
 id="x1-259000O.5"></a>Putting it all together</h3>
<!--l. 312--><p class="noindent" >Finally, we will make a more complex composite illustration that uses several of the label
placement and label attribute settings discussed in the previous sections. We make a map showing
the tsunami travel times (in hours) from a hypothetical catastrophic landslide in the Canary
Islands<span class="footnote-mark"><a 
href="#fn55x24" id="fn55x24-bk"><sup class="textsuperscript">55</sup></a></span><a 
 id="x1-259001f55"></a>.
We lay down a color map based on the travel times and the shape of the seafloor, and travel time contours with
curved labels as well as a few quoted lines. The final script is
</p><!--l. 322--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">R=-R-85/5/10/55</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdgradient</span><span 
class="pcrr8t-x-x-70">&#x00A0;topo5.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Nt1</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A45</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gtopo5_int.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;PLOT_DEGREE_FORMAT</span><span 
class="pcrr8t-x-x-70">&#x00A0;ddd:mm:ssF</span><span 
class="pcrr8t-x-x-70">&#x00A0;ANNOT_FONT_SIZE_PRIMARY</span><span 
class="pcrr8t-x-x-70">&#x00A0;+9p</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">project</span><span 
class="pcrr8t-x-x-70">&#x00A0;-E74W/41N</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C17W/28N</span><span 
class="pcrr8t-x-x-70">&#x00A0;-G10</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Q</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;great_NY_Canaries.d</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">project</span><span 
class="pcrr8t-x-x-70">&#x00A0;-E74W/41N</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C2.33/48.87N</span><span 
class="pcrr8t-x-x-70">&#x00A0;-G100</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Q</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;great_NY_Paris.d</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">km=&#8216;echo</span><span 
class="pcrr8t-x-x-70">&#x00A0;17W</span><span 
class="pcrr8t-x-x-70">&#x00A0;28N</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;mapproject</span><span 
class="pcrr8t-x-x-70">&#x00A0;-G74W/41N/k</span><span 
class="pcrr8t-x-x-70">&#x00A0;-fg</span><span 
class="pcrr8t-x-x-70">&#x00A0;--D_FORMAT=%.0f</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;cut</span><span 
class="pcrr8t-x-x-70">&#x00A0;-f3&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">cat</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;&#x003C;</span><span 
class="pcrr8t-x-x-70">&#x00A0;EOF</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;ttt.cpt</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;lightred</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;3</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;lightred</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">3</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;lightyellow</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;6</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;lightyellow</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">6</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;lightgreen</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;100</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;lightgreen</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">EOF</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdimage</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sc/1</span><span 
class="pcrr8t-x-x-70">&#x00A0;ttt_atl.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Itopo5_int.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Cttt.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;$R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JM5.3i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_O_9.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdcontour</span><span 
class="pcrr8t-x-x-70">&#x00A0;ttt_atl.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C0.5</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A1+u~hour~+v+s8+f17</span><span 
class="pcrr8t-x-x-70">&#x00A0;-GL80W/31N/17W/26N,17W/28N/17W/50N</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-S2</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_O_9.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wfatter,white</span><span 
class="pcrr8t-x-x-70">&#x00A0;great_NY_Canaries.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_O_9.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B20f5:.~Tsunami</span><span 
class="pcrr8t-x-x-70">&#x00A0;travel</span><span 
class="pcrr8t-x-x-70">&#x00A0;times</span><span 
class="pcrr8t-x-x-70">&#x00A0;from</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;Canaries~:WSne</span><span 
class="pcrr8t-x-x-70">&#x00A0;-N1/thick</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Glightgray</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wfaint</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A500</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_O_9.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtconvert</span><span 
class="pcrr8t-x-x-70">&#x00A0;great_NY_*.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;-E</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sa0.15i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gred</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthin</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_O_9.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthick</span><span 
class="pcrr8t-x-x-70">&#x00A0;great_NY_Canaries.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;\</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sqn1:+f6+s8+l~Distance</span><span 
class="pcrr8t-x-x-70">&#x00A0;Canaries</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;New</span><span 
class="pcrr8t-x-x-70">&#x00A0;York</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;$km</span><span 
class="pcrr8t-x-x-70">&#x00A0;km~+ap+v</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_O_9.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;great_NY_Paris.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sc0.08c</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gblack</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_O_9.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wthinner</span><span 
class="pcrr8t-x-x-70">&#x00A0;great_NY_Paris.d</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-SqD1000k:+an+o+gblue+kwhite+LDk+s7+f1</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_O_9.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">cat</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003C;&#x003C;</span><span 
class="pcrr8t-x-x-70">&#x00A0;EOF</span><span 
class="pcrr8t-x-x-70">&#x00A0;|</span><span 
class="pcrr8t-x-x-70">&#x00A0;pstext</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Wwhite,Othin</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dj0.1i/0.1i</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_O_9.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">74W</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;41N</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;8</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;17</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;RT</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;New</span><span 
class="pcrr8t-x-x-70">&#x00A0;York</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">2.33E</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;48.87N</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;8</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;17</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;CT</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Paris</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">17W</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;28N</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;8</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;0</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;17</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;CT</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Canaries</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">EOF</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">psxy</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;/dev/null</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_App_O_9.ps</span>
   </div>__________________________________________________________________________________________________
<!--l. 324--><p class="noindent" >with the complete illustration presented as Figure&#x00A0;<a 
href="#x1-259003r9">O.9<!--tex4ht:ref: fig:GMT_App_O_9 --></a>. </p><hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-259003r9"></a>
                                                                                 

                                                                                 

<!--l. 329--><p class="noindent" ><img 
src="images/GMT_App_O_9.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;O.9: </span><span  
class="content">Tsunami travel times from the Canary Islands to places in the Atlantic, in particular New
York. Should a catastrophic landslide occur it is possible that New York will experience a large tsunami
about 8 hours after the event.</span></div><!--tex4ht:label?: x1-259003r9 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
                                                                                 

                                                                                 
                                                                                 

                                                                                 
                                                                                 

                                                                                 
<a 
 id="x1-259004r279"></a>
   <h2 class="appendixHead"><span class="titlemark">Appendix&#x00A0;P</span><br /><a 
 id="x1-260000P"></a>Special Operations</h2>
   <h3 class="sectionHead"><span class="titlemark">P.1    </span> <a 
 id="x1-261000P.1"></a>Running <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;in <span 
class="ptmri8t-">isolation mode</span></h3>
<a 
 id="dx1-261001"></a>
<!--l. 17--><p class="noindent" >In Chapter&#x00A0;<a 
href="#x1-380004">4<!--tex4ht:ref: ch:4 --></a> it is described how <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;creates several (temporary) files to communicate between the different
commands that make up the script that finally creates a plot. Among those files are:
   </p><dl class="description"><dt class="description">
<span class="underline"><span 
class="ptmb8t-">.gmtdefaults4</span></span><span 
class="ptmb8t-">.</span> </dt><dd 
class="description">This file covers about 100 different settings that influence the layout of your plot, from font
   sizes to tick lengths and date formats (See Section&#x00A0;<a 
href="#x1-400004.2">4.2<!--tex4ht:ref: sec:gmtdefaults --></a>). Those settings can be altered by editing the file,
   or by running the <a 
href="../html/man/gmtset.html" ><span 
class="phvb8t-">gmtset</span></a><a 
 id="dx1-261002"></a> command. A problem may arise when those settings are changed half-way
   through the script: the next time you run the script it will start with the modified settings and hence
   might alter your scripts results. It is therefore often necessary to revert to the original <span class="underline">.gmtdefaults4</span> file.
   <span 
class="ptmri8t-">Isolation mode </span>avoids that issue.
   </dd><dt class="description">
<span class="underline"><span 
class="ptmb8t-">.gmtcommands4</span></span><span 
class="ptmb8t-">.</span> </dt><dd 
class="description">This  file  is  created  to  communicate  the  command  line  history  from  one  command
   to  the  next  (Section&#x00A0;<a 
href="#x1-650004.5">4.5<!--tex4ht:ref: sec:gmtcommands --></a>)  so  that  shorthands  like  <span 
class="pcrb8t-">-R </span>or  <span 
class="pcrb8t-">-J </span>can  be  used  once  it  has  been  set  in  a
   previous  <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;command.  The  existence  of  this  file  makes  if  impossible  to  run  two  <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;scripts
   simultaneously in the same directory, since those <span class="underline">.gmtcommand4</span> files may clash (contain different
   histories) and adversely affect the results of both scripts.
   </dd><dt class="description">
<span class="underline"><span 
class="ptmb8t-">.gmt_bb_info</span></span><span 
class="ptmb8t-">.</span> </dt><dd 
class="description">This   file   contains   the   information   about   the   BoundingBox   (Section&#x00A0;<a 
href="#x1-196000C.1">C.1<!--tex4ht:ref: sec:eps --></a>)   of   the
   <span 
class="ptmri8t-">PostScript</span>&#x00A0;output. This information too has to be transferred from one <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;command to the next in a
   script. Again, running two commands simultaneously in the same directory may have disastrous effects
   on that file.</dd></dl>
<!--l. 25--><p class="indent" >   A cure to all these woes is the <span 
class="ptmri8t-">isolation mode </span>introduced in <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;version 4.2.2. This mode allows you to run a
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;script without leaving any traces other than the resulting <span 
class="ptmri8t-">PostScript</span>&#x00A0;or data files, and not altering the
<span class="underline">.gmtdefaults4</span> or <span class="underline">.gmtcommands4</span> files. Those files will be placed in a temporary directory instead. And if properly
set up, this temporary directory will only be used by a single script, even if another <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;script is running
simultaneously. This also provides the opportunity to create any other temporary files that the script might create in
the same directory.
</p><!--l. 27--><p class="indent" >   The example below shows how <span 
class="ptmri8t-">isolation mode </span>works.
</p><!--l. 29--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;Appendix</span><span 
class="pcrr8t-x-x-70">&#x00A0;P,</span><span 
class="pcrr8t-x-x-70">&#x00A0;example</span><span 
class="pcrr8t-x-x-70">&#x00A0;1</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Illustrates</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;use</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;isolation</span><span 
class="pcrr8t-x-x-70">&#x00A0;mode</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmtset,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdimage,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdmath,</span><span 
class="pcrr8t-x-x-70">&#x00A0;makecpt,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pscoast</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Unix</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;mktemp,</span><span 
class="pcrr8t-x-x-70">&#x00A0;rm</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ps=GMT_App_P_1.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Create</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;temporary</span><span 
class="pcrr8t-x-x-70">&#x00A0;directory.</span><span 
class="pcrr8t-x-x-70">&#x00A0;$GMT_TMPDIR</span><span 
class="pcrr8t-x-x-70">&#x00A0;will</span><span 
class="pcrr8t-x-x-70">&#x00A0;be</span><span 
class="pcrr8t-x-x-70">&#x00A0;set</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;its</span><span 
class="pcrr8t-x-x-70">&#x00A0;pathname.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;XXXXXX</span><span 
class="pcrr8t-x-x-70">&#x00A0;is</span><span 
class="pcrr8t-x-x-70">&#x00A0;replaced</span><span 
class="pcrr8t-x-x-70">&#x00A0;by</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;unique</span><span 
class="pcrr8t-x-x-70">&#x00A0;random</span><span 
class="pcrr8t-x-x-70">&#x00A0;combination</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;characters.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">export</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT_TMPDIR=&#8216;mktemp</span><span 
class="pcrr8t-x-x-70">&#x00A0;-d</span><span 
class="pcrr8t-x-x-70">&#x00A0;/tmp/gmt.XXXXXX&#8216;</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;These</span><span 
class="pcrr8t-x-x-70">&#x00A0;settings</span><span 
class="pcrr8t-x-x-70">&#x00A0;will</span><span 
class="pcrr8t-x-x-70">&#x00A0;be</span><span 
class="pcrr8t-x-x-70">&#x00A0;local</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;this</span><span 
class="pcrr8t-x-x-70">&#x00A0;script</span><span 
class="pcrr8t-x-x-70">&#x00A0;only</span><span 
class="pcrr8t-x-x-70">&#x00A0;since</span><span 
class="pcrr8t-x-x-70">&#x00A0;it</span><span 
class="pcrr8t-x-x-70">&#x00A0;writes</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;$GMT_TMPDIR/.gmtdefaults4</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;COLOR_MODEL</span><span 
class="pcrr8t-x-x-70">&#x00A0;rgb</span><span 
class="pcrr8t-x-x-70">&#x00A0;ANNOT_FONT_SIZE_PRIMARY</span><span 
class="pcrr8t-x-x-70">&#x00A0;14p</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Make</span><span 
class="pcrr8t-x-x-70">&#x00A0;grid</span><span 
class="pcrr8t-x-x-70">&#x00A0;file</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;color</span><span 
class="pcrr8t-x-x-70">&#x00A0;map</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;temporary</span><span 
class="pcrr8t-x-x-70">&#x00A0;directory</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rd</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I1</span><span 
class="pcrr8t-x-x-70">&#x00A0;Y</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;$GMT_TMPDIR/lat.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">makecpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Crainbow</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T-90/90/60</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Z</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$GMT_TMPDIR/lat.cpt</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;The</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdimage</span><span 
class="pcrr8t-x-x-70">&#x00A0;command</span><span 
class="pcrr8t-x-x-70">&#x00A0;creates</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;history</span><span 
class="pcrr8t-x-x-70">&#x00A0;file</span><span 
class="pcrr8t-x-x-70">&#x00A0;$GMT_TMPDIR/.gmtcommands4</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdimage</span><span 
class="pcrr8t-x-x-70">&#x00A0;$GMT_TMPDIR/lat.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sl</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JK6.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C$GMT_TMPDIR/lat.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A5000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B60g30/30g30</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
                                                                                 

                                                                                 
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Clean</span><span 
class="pcrr8t-x-x-70">&#x00A0;up</span><span 
class="pcrr8t-x-x-70">&#x00A0;all</span><span 
class="pcrr8t-x-x-70">&#x00A0;temporary</span><span 
class="pcrr8t-x-x-70">&#x00A0;files</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;temporary</span><span 
class="pcrr8t-x-x-70">&#x00A0;directory</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">rm</span><span 
class="pcrr8t-x-x-70">&#x00A0;-rf</span><span 
class="pcrr8t-x-x-70">&#x00A0;$GMT_TMPDIR</span>
   </div>__________________________________________________________________________________________________
   <hr class="figure" /><div class="figure" 
>
                                                                                 

                                                                                 
<a 
 id="x1-261003r1"></a>
                                                                                 

                                                                                 

<!--l. 33--><p class="noindent" ><img 
src="images/GMT_App_P_2.png" alt="PIC"  
 />
<br /> </p><div class="caption" 
><span class="id">Figure&#x00A0;P.1: </span><span  
class="content">Example created in isolation mode</span></div><!--tex4ht:label?: x1-261003r1 -->
                                                                                 

                                                                                 
   </div><hr class="endfigure" />
<!--l. 38--><p class="indent" >   The files <span class="underline">.gmtdefaults4</span> and <span class="underline">.gmtcommands4</span> are automatically created in the temporary directory
<span class="underline">$GMT_TMPDIR</span>. The script is also adjusted such that the temporary grid file <span class="underline">lat.nc</span> and colormap <span class="underline">lat.cpt</span> are
created in that directory as well. To make things even more easy, <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;now provides a set of handy shell functions
in <a 
href="../html/man/gmt_shell_functions.sh.html" ><span 
class="phvb8t-">gmt_shell_functions.sh</span></a><a 
 id="dx1-261004"></a>: simply include that file in the script and the creation and the removal of the
temporary directory is reduced to a single command.
</p><!--l. 40--><p class="noindent" >_________________________________________________________________________________</p><div class="verbatiminput">
<span 
class="pcrr8t-x-x-70">#!/bin/bash</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;Appendix</span><span 
class="pcrr8t-x-x-70">&#x00A0;P,</span><span 
class="pcrr8t-x-x-70">&#x00A0;example</span><span 
class="pcrr8t-x-x-70">&#x00A0;2</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Purpose:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;Illustrates</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;use</span><span 
class="pcrr8t-x-x-70">&#x00A0;of</span><span 
class="pcrr8t-x-x-70">&#x00A0;isolation</span><span 
class="pcrr8t-x-x-70">&#x00A0;mode</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;progs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmtset,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdimage,</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdmath,</span><span 
class="pcrr8t-x-x-70">&#x00A0;makecpt,</span><span 
class="pcrr8t-x-x-70">&#x00A0;pscoast</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;funcs:</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmt_init_tmpdir,</span><span 
class="pcrr8t-x-x-70">&#x00A0;gmt_remove_tmpdir</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">ps=GMT_App_P_2.ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Make</span><span 
class="pcrr8t-x-x-70">&#x00A0;GMT</span><span 
class="pcrr8t-x-x-70">&#x00A0;shell</span><span 
class="pcrr8t-x-x-70">&#x00A0;functions</span><span 
class="pcrr8t-x-x-70">&#x00A0;accessible</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;script</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Create</span><span 
class="pcrr8t-x-x-70">&#x00A0;a</span><span 
class="pcrr8t-x-x-70">&#x00A0;temporary</span><span 
class="pcrr8t-x-x-70">&#x00A0;directory.</span><span 
class="pcrr8t-x-x-70">&#x00A0;$GMT_TMPDIR</span><span 
class="pcrr8t-x-x-70">&#x00A0;will</span><span 
class="pcrr8t-x-x-70">&#x00A0;be</span><span 
class="pcrr8t-x-x-70">&#x00A0;set</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;its</span><span 
class="pcrr8t-x-x-70">&#x00A0;pathname.</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmt_init_tmpdir</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;These</span><span 
class="pcrr8t-x-x-70">&#x00A0;settings</span><span 
class="pcrr8t-x-x-70">&#x00A0;will</span><span 
class="pcrr8t-x-x-70">&#x00A0;be</span><span 
class="pcrr8t-x-x-70">&#x00A0;local</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span><span 
class="pcrr8t-x-x-70">&#x00A0;this</span><span 
class="pcrr8t-x-x-70">&#x00A0;script</span><span 
class="pcrr8t-x-x-70">&#x00A0;only</span><span 
class="pcrr8t-x-x-70">&#x00A0;since</span><span 
class="pcrr8t-x-x-70">&#x00A0;it</span><span 
class="pcrr8t-x-x-70">&#x00A0;writes</span><span 
class="pcrr8t-x-x-70">&#x00A0;to</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;$GMT_TMPDIR/.gmtdefaults4</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmtset</span><span 
class="pcrr8t-x-x-70">&#x00A0;ANNOT_FONT_SIZE_PRIMARY</span><span 
class="pcrr8t-x-x-70">&#x00A0;14p</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Make</span><span 
class="pcrr8t-x-x-70">&#x00A0;grid</span><span 
class="pcrr8t-x-x-70">&#x00A0;file</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;color</span><span 
class="pcrr8t-x-x-70">&#x00A0;map</span><span 
class="pcrr8t-x-x-70">&#x00A0;in</span><span 
class="pcrr8t-x-x-70">&#x00A0;temporary</span><span 
class="pcrr8t-x-x-70">&#x00A0;directory</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdmath</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Rd</span><span 
class="pcrr8t-x-x-70">&#x00A0;-I1</span><span 
class="pcrr8t-x-x-70">&#x00A0;Y</span><span 
class="pcrr8t-x-x-70">&#x00A0;=</span><span 
class="pcrr8t-x-x-70">&#x00A0;$GMT_TMPDIR/lat.nc</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">makecpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Crainbow</span><span 
class="pcrr8t-x-x-70">&#x00A0;-T-90/90/60</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Z</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$GMT_TMPDIR/lat.cpt</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;The</span><span 
class="pcrr8t-x-x-70">&#x00A0;grdimage</span><span 
class="pcrr8t-x-x-70">&#x00A0;command</span><span 
class="pcrr8t-x-x-70">&#x00A0;creates</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;history</span><span 
class="pcrr8t-x-x-70">&#x00A0;file</span><span 
class="pcrr8t-x-x-70">&#x00A0;$GMT_TMPDIR/.gmtcommands4</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">grdimage</span><span 
class="pcrr8t-x-x-70">&#x00A0;$GMT_TMPDIR/lat.nc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Sl</span><span 
class="pcrr8t-x-x-70">&#x00A0;-JK6.5i</span><span 
class="pcrr8t-x-x-70">&#x00A0;-C$GMT_TMPDIR/lat.cpt</span><span 
class="pcrr8t-x-x-70">&#x00A0;-P</span><span 
class="pcrr8t-x-x-70">&#x00A0;-K</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">pscoast</span><span 
class="pcrr8t-x-x-70">&#x00A0;-R</span><span 
class="pcrr8t-x-x-70">&#x00A0;-J</span><span 
class="pcrr8t-x-x-70">&#x00A0;-O</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Dc</span><span 
class="pcrr8t-x-x-70">&#x00A0;-A5000</span><span 
class="pcrr8t-x-x-70">&#x00A0;-Gwhite</span><span 
class="pcrr8t-x-x-70">&#x00A0;-B60g30/30g30</span><span 
class="pcrr8t-x-x-70">&#x00A0;&#x003E;&#x003E;</span><span 
class="pcrr8t-x-x-70">&#x00A0;$ps</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br />
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">#</span><span 
class="pcrr8t-x-x-70">&#x00A0;Clean</span><span 
class="pcrr8t-x-x-70">&#x00A0;up</span><span 
class="pcrr8t-x-x-70">&#x00A0;all</span><span 
class="pcrr8t-x-x-70">&#x00A0;temporary</span><span 
class="pcrr8t-x-x-70">&#x00A0;files</span><span 
class="pcrr8t-x-x-70">&#x00A0;and</span><span 
class="pcrr8t-x-x-70">&#x00A0;the</span><span 
class="pcrr8t-x-x-70">&#x00A0;temporary</span><span 
class="pcrr8t-x-x-70">&#x00A0;directory</span>
<span 
class="pcrr8t-x-x-70">&#x00A0;</span><br /><span 
class="pcrr8t-x-x-70">gmt_remove_tmpdir</span>
   </div>__________________________________________________________________________________________________
<a 
 id="dx1-261005"></a>
   <h3 class="sectionHead"><span class="titlemark">P.2    </span> <a 
 id="x1-262000P.2"></a>Using both <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;3 and 4</h3>
<a 
 id="dx1-262001"></a>
<!--l. 46--><p class="noindent" >We encourage all <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;users to start using version 4 immediately; it has been tested extensively by the
<a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;team and has benefitted from bug reports for the 3.4.x versions. Users who still worry about the new version
breaking things may install <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;3.4.x versions and 4.x and use our utility <span 
class="ptmbo8t-">gmtswitch</span><a 
 id="dx1-262002"></a> to select their current
version should the need to switch arises. You will find <span 
class="ptmbo8t-">gmtswitch</span><a 
 id="dx1-262003"></a> in the top-level <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>4.x directory; install as
explained below.
</p><!--l. 52--><p class="indent" >   Because <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.x is backwards compatible with the 3.4.x series yet maintains its parameters and history in
separate hidden files (e.g., <span class="underline">.gmtdefaults4</span> versus <span class="underline">.gmtdefaults</span>) it is possible to install and use both versions on the
same workstation. To simplify such setups we supply the utility <span 
class="ptmbo8t-">gmtswitch</span><a 
 id="dx1-262004"></a> which simplifies switching back and
forth between any number of installed <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;3-versions and <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;4.x. Place the <span 
class="ptmbo8t-">gmtswitch</span><a 
 id="dx1-262005"></a> Bourne
shell script in your general executable path (not in one of the <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;bin directories) and run it after
you have finished installing all <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;versions of interest. The first time you run <span 
class="ptmbo8t-">gmtswitch</span><a 
 id="dx1-262006"></a> it will
try to find all the available versions installed on your file system. The versions found will be listed
in the file <span class="underline">.gmtversions</span> in your home directory; each line is the full path to a <a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-">GMT</span></a>&#x00A0;root directory
(e.g., /usr/local/GMT3.4.2). You may manually add or remove entries there at any time. You are then
instructed to make two changes to your environment (the details are shell-dependent but explained by
<span 
class="ptmbo8t-">gmtswitch</span><a 
 id="dx1-262007"></a>):
   </p><ol  class="enumerate1" >
   <li 
  class="enumerate" id="x1-262009x1"><span 
class="ptmbo8t-">gmtswitch</span><a 
 id="dx1-262010"></a> creates and maintains a symbolic link <span class="underline">this_gmt</span> in your home directory that will point to a
   directory with one of the installed GMT versions.
                                                                                 

                                                                                 
   </li>
   <li 
  class="enumerate" id="x1-262012x2">Make sure <span 
class="ptmb8t-">$HOME</span>/this_gmt/bin is in your executable <span 
class="ptmb8t-">PATH</span>.</li></ol>
<!--l. 70--><p class="noindent" >Make those edits, logout, and log and back in again. The next time you run <span 
class="ptmbo8t-">gmtswitch</span><a 
 id="dx1-262013"></a> you will be able to switch
between versions. Typing <span 
class="ptmbo8t-">gmtswitch</span><a 
 id="dx1-262014"></a> with no argument will list the available versions in a numerical menu and
prompt you to choose one, whereas <span 
class="ptmbo8t-">gmtswitch</span><a 
 id="dx1-262015"></a> <span 
class="ptmri8t-">version </span>will immediately switch to that version (<span 
class="ptmri8t-">version </span>must be a
piece of unique text making up the full path to a version, e.g., 3.4.2). If you use <span 
class="ptmbo8t-">tcsh</span><a 
 id="dx1-262016"></a> or <span 
class="ptmbo8t-">csh</span><a 
 id="dx1-262017"></a> you may have to type
&#8220;rehash&#8221; to initiate the path changes.
                                                                                 

                                                                                 
                                                                                 

                                                                                 
</p>
   <div class="footnotes"><!--l. 14--><p class="indent" >      <span class="footnote-mark"><a 
href="#fn1x1-bk" id="fn1x1"><sup class="textsuperscript">1</sup></a></span><span 
class="ptmr8t-x-x-80">Version 1.0 was then informally released at the Lamont-Doherty Earth Observatory.</span></p>
<!--l. 1851--><p class="noindent" ><span class="footnote-mark"><a 
href="#fn2x1-bk" id="fn2x1"><sup class="textsuperscript">2</sup></a></span><span 
class="ptmr8t-x-x-80">Use  standard  </span><span 
class="ptmri8t-x-x-80">UNIX</span><span 
class="ptmr8t-x-x-80">&#x00A0;tools  such  as  </span><span 
class="ptmbo8t-x-x-80">awk</span><a 
 id="dx1-32002"></a>  <span 
class="ptmr8t-x-x-80">or  </span><span 
class="ptmbo8t-x-x-80">perl</span><a 
 id="dx1-32003"></a>  <span 
class="ptmr8t-x-x-80">to  reformat  files  should  your  </span><span 
class="ptmri8t-x-x-80">date  </span><span 
class="ptmr8t-x-x-80">and  </span><span 
class="ptmri8t-x-x-80">clock  </span><span 
class="ptmr8t-x-x-80">components  reside  in  separate</span>
<span 
class="ptmr8t-x-x-80">columns.</span></p>
<!--l. 1886--><p class="noindent" ><span class="footnote-mark"><a 
href="#fn3x1-bk" id="fn3x1"><sup class="textsuperscript">3</sup></a></span><span 
class="ptmr8t-x-x-80">Used to color the background, foreground, and Not-a-Number areas.</span></p>
<!--l. 24--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn4x2-bk" id="fn4x2"><sup class="textsuperscript">4</sup></a></span><span 
class="ptmr8t-x-x-80">See GNU General Public License (www.gnu.org/copyleft/gpl.html) for terms on redistribution and modifications.</span></p>
<!--l. 37--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn5x2-bk" id="fn5x2"><sup class="textsuperscript">5</sup></a></span><span 
class="ptmr8t-x-x-80">The tools can also be installed on other platforms (see Appendix</span><span 
class="ptmr8t-x-x-80">&#x00A0;</span><a 
href="#x1-234000L"><span 
class="ptmr8t-x-x-80">L</span><!--tex4ht:ref: app:L --></a><span 
class="ptmr8t-x-x-80">).</span></p>
<!--l. 106--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn6x2-bk" id="fn6x2"><sup class="textsuperscript">6</sup></a></span><span 
class="ptmr8t-x-x-80">One public-domain RIP is </span><span 
class="ptmbo8t-x-x-80">ghostscript</span><a 
 id="dx1-33016"></a><span 
class="ptmr8t-x-x-80">, available from www.gnu.org.</span></p>
<!--l. 141--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn7x2-bk" id="fn7x2"><sup class="textsuperscript">7</sup></a></span><span 
class="ptmr8t-x-x-80">Programs now also allow for fast, binary multicolumn file i/o.</span></p>
<!--l. 154--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn8x2-bk" id="fn8x2"><sup class="textsuperscript">8</sup></a></span><span 
class="ptmr8t-x-x-80">While the netCDF format is the default, other formats are also possible, including user-defined formats.</span></p>
<!--l. 26--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn9x4-bk" id="fn9x4"><sup class="textsuperscript">9</sup></a></span><span 
class="ptmri8t-x-x-80">PostScript</span><span 
class="ptmr8t-x-x-80">&#x00A0;definition. In the typesetting industry a slightly different definition of point (1/72.27 inch) is used.</span></p>
<!--l. 60--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn10x4-bk" id="fn10x4"><sup class="textsuperscript">10</sup></a></span><span 
class="ptmr8t-x-x-80">Choose between SI and US default units by modifying </span><span class="underline"><span 
class="ptmr8t-x-x-80">gmt_setup.conf</span></span> <span 
class="ptmr8t-x-x-80">in the </span><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-x-x-80">GMT</span></a><span 
class="ptmr8t-x-x-80">&#x00A0;share directory.</span></p>
<!--l. 64--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn11x4-bk" id="fn11x4"><sup class="textsuperscript">11</sup></a></span><span 
class="ptmr8t-x-x-80">To remain backwards compatible with </span><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-x-x-80">GMT</span></a><span 
class="ptmr8t-x-x-80">&#x00A0;3.4.x we will also look for </span><span class="underline"><span 
class="ptmr8t-x-x-80">.gmtdefaults</span></span> <span 
class="ptmr8t-x-x-80">but only if </span><span class="underline"><span 
class="ptmr8t-x-x-80">.gmtdefaults4</span></span> <span 
class="ptmr8t-x-x-80">cannot be</span>
<span 
class="ptmr8t-x-x-80">found.</span></p>
<!--l. 308--><p class="noindent" ><span class="footnote-mark"><a 
href="#fn12x4-bk" id="fn12x4"><sup class="textsuperscript">12</sup></a></span><span 
class="ptmr8t-x-x-80">The Gregorian Calendar is a revision of the Julian Calendar which was instituted in a papal bull by Pope Gregory XIII in 1582. The reason</span>
<span 
class="ptmr8t-x-x-80">for the calendar change was to correct for drift in the dates of significant religious observations (primarily Easter) and to prevent further drift in</span>
<span 
class="ptmr8t-x-x-80">the dates. The important effects of the change were (a) Drop 10 days from October 1582 to realign the Vernal Equinox with 21</span>
<span 
class="ptmr8t-x-x-80">March, (b) change leap year selection so that not all years ending in &#8220;00&#8221; are leap years, and (c) change the beginning of the</span>
<span 
class="ptmr8t-x-x-80">year to 1 January from 25 March. Adoption of the new calendar was essentially immediate within Catholic countries. In the</span>
<span 
class="ptmr8t-x-x-80">Protestant countries, where papal authority was neither recognized not appreciated, adoption came more slowly. England</span>
<span 
class="ptmr8t-x-x-80">finally adopted the new calendar in 1752, with eleven days removed from September. The additional day came because the</span>
<span 
class="ptmr8t-x-x-80">old and new calendars disagreed on whether 1700 was a leap year, so the Julian calendar had to be adjusted by one more</span>
<span 
class="ptmr8t-x-x-80">day.</span></p>
<!--l. 325--><p class="noindent" ><span class="footnote-mark"><a 
href="#fn13x4-bk" id="fn13x4"><sup class="textsuperscript">13</sup></a></span><span 
class="ptmr8t-x-x-80">While UTM coordinates clearly refer to points on the Earth, in this context they are considered &#8220;other&#8221;. Thus, when we refer to</span>
<span 
class="ptmr8t-x-x-80">&#8220;geographical&#8221; coordinates herein we imply longitude, latitude.</span></p>
<!--l. 388--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn14x4-bk" id="fn14x4"><sup class="textsuperscript">14</sup></a></span><span 
class="ptmr8t-x-x-80">However, it is suppressed when a 3-D view is selected.</span></p>
<!--l. 472--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn15x4-bk" id="fn15x4"><sup class="textsuperscript">15</sup></a></span><span 
class="ptmr8t-x-x-80">Please consult the man page for </span><span 
class="ptmri8t-x-x-80">printf  </span><span 
class="ptmr8t-x-x-80">or any book on C .</span></p>
<!--l. 629--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn16x4-bk" id="fn16x4"><sup class="textsuperscript">16</sup></a></span><span 
class="ptmr8t-x-x-80">For historical reasons, the </span><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-x-x-80">GMT</span></a><span 
class="ptmr8t-x-x-80">&#x00A0;Default is Landscape, see </span><a 
href="../html/man/gmtdefaults.html" ><span 
class="phvb8t-x-x-80">gmtdefaults</span></a><a 
 id="dx1-54010"></a> <span 
class="ptmr8t-x-x-80">to change this.</span></p>
<!--l. 698--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn17x4-bk" id="fn17x4"><sup class="textsuperscript">17</sup></a></span><span 
class="ptmr8t-x-x-80">Ensures that boundary annotations do not fall off the page.</span></p>
<!--l. 1092--><p class="noindent" ><span class="footnote-mark"><a 
href="#fn18x4-bk" id="fn18x4"><sup class="textsuperscript">18</sup></a></span><span 
class="ptmr8t-x-x-80">For an overview of color systems such as HSV, see Appendix</span><span 
class="ptmr8t-x-x-80">&#x00A0;</span><a 
href="#x1-215000I"><span 
class="ptmr8t-x-x-80">I</span><!--tex4ht:ref: app:I --></a><span 
class="ptmr8t-x-x-80">.</span></p>
<!--l. 1176--><p class="noindent" ><span class="footnote-mark"><a 
href="#fn19x4-bk" id="fn19x4"><sup class="textsuperscript">19</sup></a></span><span 
class="ptmr8t-x-x-80">Convert other graphics formats to Sun ras format using ImageMagick&#8217;s </span><span 
class="ptmbo8t-x-x-80">convert</span><a 
 id="dx1-74010"></a> <span 
class="ptmr8t-x-x-80">program.</span></p>
<!--l. 1283--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn20x4-bk" id="fn20x4"><sup class="textsuperscript">20</sup></a></span><span 
class="ptmr8t-x-x-80">For CMYK the format obviously involves two extra columns.</span></p>
<!--l. 16--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn21x6-bk" id="fn21x6"><sup class="textsuperscript">21</sup></a></span><span 
class="ptmr8t-x-x-80">Snyder, J. P., 1987, Map Projections  A Working Manual, U.S. Geological Survey Prof. Paper 1395.</span></p>
<!--l. 527--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn22x6-bk" id="fn22x6"><sup class="textsuperscript">22</sup></a></span><span 
class="ptmr8t-x-x-80">This is, however, not the shortest distance. It is given by the great circle connecting the two points.</span></p>
<!--l. 1077--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn23x6-bk" id="fn23x6"><sup class="textsuperscript">23</sup></a></span><span 
class="ptmr8t-x-x-80">Robinson provided a table of </span><!--l. 1077--><math 
 xmlns="http://www.w3.org/1998/Math/MathML"  
display="inline" ><mi 
>y</mi></math><span 
class="ptmr8t-x-x-80">-coordinates</span>
<span 
class="ptmr8t-x-x-80">for latitudes every 5</span><span 
class="ptmr8c-x-x-80">°</span><span 
class="ptmr8t-x-x-80">. To project values for intermediate latitudes one must interpolate the table. Different interpolants may</span>
<span 
class="ptmr8t-x-x-80">result in slightly different maps. </span><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-x-x-80">GMT</span></a><span 
class="ptmr8t-x-x-80">&#x00A0;uses the interpolant selected by the parameter </span><span 
class="ptmb8t-x-x-80">INTERPOLANT </span><span 
class="ptmr8t-x-x-80">in the </span><span class="underline"><span 
class="ptmr8t-x-x-80">.gmtdefaults4</span></span>
<span 
class="ptmr8t-x-x-80">file.</span></p>
<!--l. 197--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn24x7-bk" id="fn24x7"><sup class="textsuperscript">24</sup></a></span><span 
class="ptmr8t-x-x-80">These data are available on CD-ROM from NGDC (www.ngdc.noaa.gov).</span></p>
<!--l. 304--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn25x7-bk" id="fn25x7"><sup class="textsuperscript">25</sup></a></span><span 
class="ptmr8t-x-x-80">These data are available on CD-ROM from NGDC (www.ngdc.noaa.gov).</span></p>
<!--l. 625--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn26x7-bk" id="fn26x7"><sup class="textsuperscript">26</sup></a></span><span 
class="ptmr8t-x-x-80">See http://topex.ucsd.edu/marine_grav/mar_grav.html.</span></p>
<!--l. 797--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn27x7-bk" id="fn27x7"><sup class="textsuperscript">27</sup></a></span><span 
class="ptmr8t-x-x-80">You can also use the utility </span><span 
class="ptmbo8t-x-x-80">curl</span><a 
 id="dx1-150004"></a></p>
<!--l. 825--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn28x7-bk" id="fn28x7"><sup class="textsuperscript">28</sup></a></span><span 
class="ptmr8t-x-x-80">Pedants who wish to argue about the &#8220;other&#8221; arc going the long way should consider using it.</span></p>
<!--l. 942--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn29x7-bk" id="fn29x7"><sup class="textsuperscript">29</sup></a></span><span 
class="ptmr8t-x-x-80">You could also use </span><a 
href="../html/man/img2mercgrd.html" ><span 
class="phvb8t-x-x-80">img2mercgrd</span></a><a 
 id="dx1-155005"></a> <span 
class="ptmr8t-x-x-80">directly &#8211; your only option under DOS</span></p>
<!--l. 97--><p class="noindent" ><span class="footnote-mark"><a 
href="#fn30x8-bk" id="fn30x8"><sup class="textsuperscript">30</sup></a></span><span 
class="ptmr8t-x-x-80">While QuickTime is free you must upgrade to QuickTime Pro (USD 30) to use the authoring functions.</span></p>
<!--l. 188--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn31x8-bk" id="fn31x8"><sup class="textsuperscript">31</sup></a></span><span 
class="ptmr8t-x-x-80">QuickTime Pro can do this, as can most video-editing programs.</span></p>
<!--l. 51--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn32x10-bk" id="fn32x10"><sup class="textsuperscript">32</sup></a></span><span 
class="ptmr8t-x-x-80">Simon.Cox@csiro.au</span></p>
<!--l. 59--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn33x10-bk" id="fn33x10"><sup class="textsuperscript">33</sup></a></span><span 
class="ptmr8t-x-x-80">For data bases, see http://topex.ucsd.edu/marine_grav/mar_grav.html.</span></p>
<!--l. 60--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn34x10-bk" id="fn34x10"><sup class="textsuperscript">34</sup></a></span><span 
class="ptmr8t-x-x-80">Walter.HF.Smith@noaa.gov</span></p>
<!--l. 69--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn35x10-bk" id="fn35x10"><sup class="textsuperscript">35</sup></a></span><span 
class="ptmr8t-x-x-80">Kurt.Feigl@cnes.fr</span></p>
<!--l. 70--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn36x10-bk" id="fn36x10"><sup class="textsuperscript">36</sup></a></span><span 
class="ptmr8t-x-x-80">patau@ipgp.jussieu.fr</span></p>
<!--l. 86--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn37x10-bk" id="fn37x10"><sup class="textsuperscript">37</sup></a></span><span 
class="ptmr8t-x-x-80">The ASCII MGD77 data are available on CD-ROM from NGDC (www.ngdc.noaa.gov).</span></p>
<!--l. 96--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn38x10-bk" id="fn38x10"><sup class="textsuperscript">38</sup></a></span><span 
class="ptmr8t-x-x-80">These data are available on CD-ROM from NGDC (www.ngdc.noaa.gov).</span></p>
<!--l. 124--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn39x10-bk" id="fn39x10"><sup class="textsuperscript">39</sup></a></span><span 
class="ptmr8t-x-x-80">Timothy.J.Henstock@soc.soton.ac.uk</span></p>
<!--l. 179--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn40x10-bk" id="fn40x10"><sup class="textsuperscript">40</sup></a></span><span 
class="ptmr8t-x-x-80">lloyd@must-have-coffee.gen.nz</span></p>
<!--l. 33--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn41x12-bk" id="fn41x12"><sup class="textsuperscript">41</sup></a></span><span 
class="ptmr8t-x-x-80">In contrast, regular </span><a 
href="http://gmt.soest.hawaii.edu" ><span 
class="ptmb8t-x-x-80">GMT</span></a><span 
class="ptmr8t-x-x-80">&#x00A0;</span><span 
class="ptmri8t-x-x-80">PostScript</span><span 
class="ptmr8t-x-x-80">&#x00A0;files simply have a %%BoundingBox that equal the size of the chosen paper.</span></p>
<!--l. 26--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn42x13-bk" id="fn42x13"><sup class="textsuperscript">42</sup></a></span><span 
class="ptmr8t-x-x-80">http://www.bzip.org</span></p>
<!--l. 21--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn43x15-bk" id="fn43x15"><sup class="textsuperscript">43</sup></a></span><span 
class="ptmr8t-x-x-80">If you chose SI units during the installation then the default encoding is ISOLatin1+, otherwise it is Standard+.</span></p>
<!--l. 16--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn44x17-bk" id="fn44x17"><sup class="textsuperscript">44</sup></a></span><span 
class="ptmr8t-x-x-80">Note, however, that the </span><span 
class="pcrb8t-x-x-80">-Q </span><span 
class="ptmr8t-x-x-80">option in </span><a 
href="../html/man/grdimage.html" ><span 
class="phvb8t-x-x-80">grdimage</span></a><a 
 id="dx1-210002"></a> <span 
class="ptmr8t-x-x-80">will exercise a </span><span 
class="ptmri8t-x-x-80">PostScript</span><span 
class="ptmr8t-x-x-80">&#x00A0;Level 3 feature called colormasking.</span></p>
<!--l. 70--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn45x19-bk" id="fn45x19"><sup class="textsuperscript">45</sup></a></span><span 
class="ptmr8t-x-x-80">R. Bracewell, </span><span 
class="ptmri8t-x-x-80">The Fourier Transform and its Applications</span><span 
class="ptmr8t-x-x-80">, McGraw-Hill, London, 444p., 1965.</span></p>
<!--l. 42--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn46x20-bk" id="fn46x20"><sup class="textsuperscript">46</sup></a></span><span 
class="ptmr8t-x-x-80">www.ngdc.noaa.gov</span></p>
<!--l. 151--><p class="noindent" ><span class="footnote-mark"><a 
href="#fn47x20-bk" id="fn47x20"><sup class="textsuperscript">47</sup></a></span><span 
class="ptmr8t-x-x-80">Douglas, D.H., and T. K. Peucker, 1973, Algorithms for the reduction of the number of points required to represent a digitized</span>
<span 
class="ptmr8t-x-x-80">line or its caricature, </span><span 
class="ptmri8t-x-x-80">Canadian Cartographer</span><span 
class="ptmr8t-x-x-80">, 10, 112&#8211;122.</span></p>
<!--l. 159--><p class="noindent" ><span class="footnote-mark"><a 
href="#fn48x20-bk" id="fn48x20"><sup class="textsuperscript">48</sup></a></span><span 
class="ptmr8t-x-x-80">The  full  and  high  resolution  files  are  in  separate  archives  because  of  their  size.  Not  all  users  may  need  these  files  as  the</span>
<span 
class="ptmr8t-x-x-80">intermediate data set is better than the data provided with version 2.1.4.</span></p>
<!--l. 175--><p class="noindent" ><span class="footnote-mark"><a 
href="#fn49x20-bk" id="fn49x20"><sup class="textsuperscript">49</sup></a></span><span 
class="ptmr8t-x-x-80">If you need complete polygons in a simpler format, see the article on GSHHS</span><a 
 id="dx1-227019"></a> <span 
class="ptmr8t-x-x-80">(Wessel, P., and W. H. F. Smith, 1996, A Global,</span>
<span 
class="ptmr8t-x-x-80">self-consistent, hierarchical, high-resolution shoreline database, </span><span 
class="ptmri8t-x-x-80">J. Geophys. Res. 101</span><span 
class="ptmr8t-x-x-80">, 8741&#8211;8743).</span></p>
<!--l. 34--><p class="noindent" ><span class="footnote-mark"><a 
href="#fn50x21-bk" id="fn50x21"><sup class="textsuperscript">50</sup></a></span><span 
class="ptmr8t-x-x-80">Microsoft Services for </span><span 
class="ptmri8t-x-x-80">UNIX</span><span 
class="ptmr8t-x-x-80">&#x00A0;is formerly known as Interix, in the distant past known as OpenNT.</span></p>
<!--l. 62--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn51x21-bk" id="fn51x21"><sup class="textsuperscript">51</sup></a></span><span 
class="ptmr8t-x-x-80">cygwin.com</span></p>
<!--l. 97--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn52x21-bk" id="fn52x21"><sup class="textsuperscript">52</sup></a></span><span 
class="ptmr8t-x-x-80">See www.microsoft.com/technet/interopmigration/unix/sfu for details.</span></p>
<!--l. 107--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn53x21-bk" id="fn53x21"><sup class="textsuperscript">53</sup></a></span><span 
class="ptmr8t-x-x-80">See www.gnu.org for details.</span></p>
<!--l. 50--><p class="noindent" ><span class="footnote-mark"><a 
href="#fn54x24-bk" id="fn54x24"><sup class="textsuperscript">54</sup></a></span><span 
class="ptmr8t-x-x-80">or whatever planet we are dealing with.</span></p>
<!--l. 317--><p class="indent" >        <span class="footnote-mark"><a 
href="#fn55x24-bk" id="fn55x24"><sup class="textsuperscript">55</sup></a></span><span 
class="ptmr8t-x-x-80">Travel times were calculated using Geoware&#8217;s travel time calculator, </span><span 
class="ptmbo8t-x-x-80">ttt</span><a 
 id="dx1-259002"></a><span 
class="ptmr8t-x-x-80">; see </span><a 
href="(http://www.geoware-online.com)" ><span 
class="ptmr8t-x-x-80">(http://www.geoware-online.com)</span></a></p>                     </div>
 
</body></html>