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
|
<!DOCTYPE doctype PUBLIC "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="GENERATOR" content="Mozilla/4.78 [en] (X11; U; Linux
2.4.7-10 i686) [Netscape]">
<title>Command Line Options</title>
</head>
<body alink="#ff0000" link="#0000ff" vlink="#551a8b">
<h3><img alt="" src="../sun.gif" align="middle" height="98"
width="100"> Command Line Options</h3>
<blockquote>
<p>DS9 will process each command line option, one at a time, as
the last step in the initialization process. Therefore, it is
possible to use command line options as a little script. For
example, the following command line option is used:</p>
<tt>$ds9 -tile foo.fits -cmap Heat -zscale bar.fits -cmap I8</tt>
<p>First DS9 is put in tile mode, then <tt>foo.fits</tt> is
loaded. Then the colormap for <tt>foo.fits</tt> is changed to <tt>Heat</tt>
and the scale changed to <tt>zscale</tt>. Next, <tt>bar.fits</tt>
is loaded and the colormap for <tt>bar.fits</tt> is changed to
<tt>I8.</tt> </p>
<tt> <a href="#2mass">2mass</a><br>
<a href="#3d">3d</a><br>
<a href="#about">about</a><br>
<a href="#align">align</a><br>
<a href="#analysis">analysis</a><br>
<a href="#array">array</a><br>
<a href="#asinh">asinh</a><br>
<a href="#background">background</a><br>
<a href="#backup">backup</a><br>
<a href="#bin">bin</a><br>
<a href="#blink">blink</a><br>
<a href="#block">block</a><br>
<a href="#blue">blue</a><br>
<a href="#catalog">catalog</a><br>
<a href="#cd">cd</a><br>
<a href="#cmap">cmap</a><br>
<a href="#colorbar">colorbar</a><br>
<a href="#console">console</a><br>
<a href="#contour">contour</a><br>
<a href="#crop">crop</a><br>
<a href="#crosshair">crosshair</a><br>
<a href="#cube">cube</a><br>
<a href="#cursor">cursor</a><br>
<a href="#dsssao">dsssao</a><br>
<a href="#dsseso">dsseso</a><br>
<a href="#dssstsci">dssstsci</a><br>
<a href="#envi">envi</a><br>
<a href="#exit">exit</a><br>
<a href="#export">export</a><br>
<a href="#fifo">fifo</a><br>
<a href="#fifo_only">fifo_only</a><br>
<a href="#fits">fits</a><br>
<a href="#frame">frame</a><br>
<a href="#geometry">geometry</a><br>
<a href="#gif">gif</a><br>
<a href="#green">green</a><br>
<a href="#geometry">grid</a><br>
<a href="#header">header</a><br>
<a href="#height">height</a><br>
<a href="#help">help</a><br>
<a href="#histequ">histequ</a><br>
<a href="#iconify">iconify</a><br>
<a href="#import">import</a><br>
<a href="#inet_only">inet_only</a><br>
<a href="#invert">invert</a><br>
<a href="#iis">iis</a><br>
<a href="#jpeg">jpeg</a><br>
<a href="#language">language</a><br>
<a href="#linear">linear</a><br>
<a href="#lock">lock</a><br>
<a href="#log">log</a><br>
<a href="#lower">lower</a><br>
<a href="#magnifier">magnifier</a><br>
<a href="#mask">mask</a><br>
<a href="#match">match</a><br>
<a href="#mecube">mecube</a><br>
<a href="#minmax">minmax</a><br>
<a href="#mode">mode</a><br>
<a href="#mosaic">mosaic</a><br>
<a href="#mosaicimage">mosaicimage</a><br>
<a href="#movie">movie</a><br>
<a href="#msg">msg</a><br>
<a href="#multiframe">multiframe</a><br>
<a href="#nameserver">nameserver</a><br>
<a href="#nan">nan</a><br>
<a href="#nrrd">nrrd</a><br>
<a href="#nvss">nvss</a><br>
<a href="#orient">orient</a><br>
<a href="#pagesetup">pagesetup</a><br>
<a href="#pan">pan</a><br>
<a href="#pixeltable">pixeltable</a><br>
<a href="#plot">plot</a><br>
<a href="#png">png</a><br>
<a href="#prefs">prefs</a><br>
<a href="#preserve">preserve</a><br>
<a href="#psprint">psprint</a><br>
<a href="#print">print</a><br>
<a href="#private">private</a><br>
<a href="#port">port</a><br>
<a href="#port_only">port_only</a><br>
<a href="#pow">pow</a><br>
<a href="#exit">quit</a><br>
<a href="#raise">raise</a><br>
<a href="#regions">regions</a><br>
<a href="#red">red</a><br>
<a href="#restore">restore</a><br>
<a href="#rgb">rgb</a><br>
<a href="#rgbarray">rgbarray</a><br>
<a href="#rgbcube">rgbcube</a><br>
<a href="#rgbimage">rgbimage</a><br>
<a href="#rotate">rotate</a><br>
<a href="#samp">samp</a><br>
<a href="#save">save</a><br>
<a href="#saveimage">saveimage</a><br>
<a href="#scale">scale</a><br>
<a href="#shm">shm</a><br>
</tt><tt><tt><a href="#sia">sia</a><br>
</tt> <a href="#single">single</a><br>
<a href="#sinh">sinh</a><br>
<a href="#skyview">skyview</a><br>
<a href="#sleep">sleep</a><br>
<a href="#slice">slice</a><br>
<a href="#smooth">smooth</a><br>
<a href="#squared">squared</a><br>
<a href="#sqrt">sqrt</a><br>
<a href="#source">source</a><br>
<a href="#tcl">tcl</a><br>
<a href="#threads">threads</a><br>
<a href="#tiff">tiff</a><br>
<a href="#tile">tile</a><br>
<a href="#title">title</a><br>
<a href="#unix">unix</a><br>
<a href="#unix_only">unix_only</a><br>
<a href="#update">update</a><br>
<a href="#url">url</a><br>
<a href="#version">version</a><br>
<a href="#view">view</a><br>
<a href="#visual">visual</a><br>
<a href="#vla">vla</a><br>
</tt><tt><tt><a href="#vlss">vlss</a><br>
</tt><a href="#vo">vo</a><br>
<a href="#wcs">wcs</a><br>
<a href="#web">web</a><br>
<a href="#width">width</a><br>
<a href="#xpa">xpa</a><br>
<a href="#zmax">zmax</a><br>
<a href="#zoom">zoom</a><br>
<a href="#zscale">zscale</a><br>
</tt>
<p><b><a name="2mass"></a>2mass </b></p>
<p>Support for 2MASS Digital Sky Survey.</p>
<tt> Syntax: <br>
-2mass []<br>
[<object>]<br>
[name <object>]<br>
[coord <ra>
<dec> degrees|sexagesimal] # in wcs fk5<br>
[size <width>
<height> degrees|arcmin|arcsec]<br>
[save yes|no]<br>
[frame new|current]<br>
[update frame|crosshair]<br>
[survey j|h|k] <br>
[open|close]<br>
<br>
Example:<br>
$ds9 -2mass<br>
$ds9 -2mass m31 <br>
$ds9 -2mass name m31 <br>
$ds9 -2mass coord 00:42:44.404 +41:16:08.78 sexagesimal<br>
$ds9 -2mass size 60 60 arcmin<br>
$ds9 -2mass save yes<br>
$ds9 -2mass frame current<br>
$ds9 -2mass update frame<br>
$ds9 -2mass survey j<br>
$ds9 -2mass open<br>
$ds9 -2mass close<br>
</tt>
<p><b><a name="3d"></a>3d </b></p>
<p>Support for 3D frame.</p>
<tt> Syntax: <br>
</tt><tt>-3d []<br>
[view <az> <el>]<br>
[az <az>]<br>
[el <el>]<br>
[scale <scale>]<br>
[method mip|aip]</tt><br>
<tt><tt> [background none|azimuth|elevation]<br>
</tt> </tt><tt> [border yes|no]<br>
[border color]<br>
</tt><tt> [highlite yes|no]<br>
[highlite color]<br>
</tt><tt> [open|close]<br>
</tt><tt> <br>
Example:<br>
$ds9 -3d # create new 3D frame<br>
$ds9 -3d view 45 30<br>
$ds9 -3d az 45<br>
$ds9 -3d el 30<br>
$ds9 -3d scale 10<br>
$ds9 -3d method mip</tt><br>
<tt>$ds9 -3d background azimuth<br>
</tt><tt>$ds9 -3d border yes<br>
$ds9 -3d border color red<br>
</tt> <tt>$ds9 -3d highlite yes<br>
$ds9 -3d highlite color red<br>
</tt> <tt>$ds9 -3d open<br>
$ds9 -3d close</tt><br>
<p><b><a name="about"></a>about</b></p>
<p>Get DS9 credits.</p>
<tt> Syntax: <br>
-about <br>
<br>
Example: <br>
$ds9 -about<br>
</tt>
<p><b> <a name="align"></a>align</b></p>
<p>Controls the World Coordinate System alignment for the current
frame.</p>
<tt> Syntax: <br>
-align [yes|no]<br>
<br>
Example: <br>
$ds9 -align yes <br>
</tt>
<p><b> <a name="analysis"></a>analysis</b></p>
<p>Control external analysis tasks. Tasks are numbered as they are
loaded, starting with 0. Can also be used to display a message
and display text in the text dialog window. </p>
<tt> Syntax: <br>
-analysis [<task number>]<br>
[<filename>]<br>
[task <task
number>|<task name>]<br>
[load
<filename>]<br>
[clear] <br>
[clear][load <filename>] <br>
[message
ok|okcancel|yesno <message>]<br>
[entry
<message>] <br>
[text]</tt><tt><tt><tt><tt><tt><br>
</tt></tt> </tt></tt><br>
Example:<br>
$ds9 -analysis 0 # invoke first analysis task<br>
$ds9 -analysis task 0<br>
</tt><tt>$ds9 -analysis task foobar<br>
</tt><tt>$ds9 -analysis task "{foo bar}"<br>
$ds9 -analysis my.ans<br>
$ds9 -analysis load my.ans <br>
$ds9 -analysis clear <br>
$ds9 -analysis clear load my.ans<br>
$ds9 -analysis message '{This is a message}'<br>
$ds9 -analysis message okcancel '{This is a message}'<br>
$ds9 -analysis text '{This is text}'</tt><tt><br>
</tt>
<p><b> <a name="array"></a>array</b></p>
<p>Load raw data array into current frame.<br>
</p>
<tt> Syntax:<br>
-array
<filename>[[xdim=<x>,ydim=<y>|dim=<dim>],zdim=<z>,bitpix=<b>,skip=<s>,endian=[little|big]]<br>
<br>
Example: <br>
$ds9 -array foo.arr[dim=512,bitpix=-32,endian=little]</tt><br>
<tt>$cat foo.arr | ds9 -array -[dim=512,bitpix=-32,endian=little]</tt><tt><br>
</tt>
<p><b> <a name="asinh"></a></b><b>asinh</b> </p>
<p>Select ASINH scale function for the current frame.</p>
<tt> Syntax:<br>
-asinh <br>
<br>
Example: <br>
$ds9 -asinh</tt><br>
<p><b><a name="background"></a>bg<br>
background</b></p>
<p>Set image background color. </p>
<tt> Syntax: <br>
-bg <color><br>
<br>
Example:<br>
$ds9 -background red<br>
$ds9 -bg red</tt><br>
<p><b> <a name="backup"></a>backup</b></p>
<p>Create a backup save set. </p>
<tt> Syntax: <br>
-backup <filename><br>
<br>
Example:<br>
$ds9 -backup ds9.bck</tt><br>
<p><b> <a name="bin"></a>bin</b></p>
<p>Controls binning factor, binning buffer size, and binning
function for binning FITS bin tables. </p>
<tt> Syntax: <br>
-bin [about <x> <y>] <br>
[about center]<br>
[buffersize <value>] <br>
[cols <x> <y>]<br>
[colsz <x> <y> <z>]<br>
[factor <value> [<value>]]
<br>
[depth <value>] <br>
[filter <string>] <br>
[function average|sum] <br>
[in]<br>
[out]<br>
[to fit] <br>
[match]<br>
[lock [yes|no]]<br>
[open|close]<br>
<br>
Example: <br>
$ds9 -bin about 4096 4096<br>
$ds9 -bin about center<br>
$ds9 -bin buffersize 512<br>
$ds9 -bin cols detx dety<br>
$ds9 -bin colsz detx dety time<br>
$ds9 -bin factor 4<br>
$ds9 -bin factor 4 2<br>
$ds9 -bin depth 10<br>
$ds9 -bin filter 'pha > 5'<br>
$ds9 -bin filter ''<br>
$ds9 -bin function sum<br>
</tt><tt><tt>$ds9 -bin in<br>
$ds9 -bin out<br>
</tt>$ds9 -bin to fit<br>
$ds9 -bin match<br>
$ds9 -bin lock yes<br>
$ds9 -bin open<br>
$ds9 -bin close<br>
</tt>
<p><b> <a name="blink"></a>blink</b></p>
<p>Blink mode parameters. Interval is in seconds.</p>
<tt> Syntax: <br>
-blink []<br>
[yes|no]<br>
[interval <value>]<br>
<br>
Example: <br>
$ds9 -blink<br>
$ds9 -blink yes<br>
$ds9 -blink interval 1</tt><br>
<p><b> <a name="block"></a>block</b></p>
<p>Controls blocking parameters. </p>
<tt> Syntax: <br>
-block</tt><tt><tt> [<value>] <br>
[<value>
<value>]<br>
[to <value>] <br>
[to <value>
<value>]<br>
[in]<br>
[out]<br>
</tt> [to fit] <br>
[match]<br>
[lock [yes|no]]<br>
[open|close]<br>
<br>
Example: <br>
</tt><tt>$ds9 </tt><tt><tt><tt>-block</tt></tt> 4<br>
$ds9 </tt><tt><tt><tt>-block</tt></tt> 4 2<br>
</tt><tt><tt><tt>$ds9 </tt><tt><tt><tt>-block</tt></tt> to 4<br>
$ds9 </tt><tt><tt><tt>-block</tt></tt> to 4 2<br>
</tt>$ds9 </tt><tt><tt><tt>-block</tt></tt> in<br>
</tt></tt><tt><tt><tt>$ds9 </tt><tt><tt><tt>-block</tt></tt>
out<br>
</tt></tt>$ds9 </tt><tt><tt><tt>-block</tt></tt> to fit<br>
$ds9 </tt><tt><tt><tt>-block</tt></tt> match<br>
$ds9 </tt><tt><tt><tt>-block</tt></tt> lock yes<br>
$ds9 </tt><tt><tt><tt>-block</tt></tt> open<br>
$ds9 </tt><tt><tt><tt>-block</tt></tt> close</tt><tt><br>
</tt> <b> </b>
<p><b> <a name="blue"></a>blue</b></p>
<p>For RGB frames, sets the current color channel to blue.</p>
<tt> Syntax: <br>
-blue<br>
<br>
Example: <br>
$ds9 -blue foo.fits<br>
</tt>
<p><b> <a name="catalog"></a>catalog<br>
cat</b></p>
<p>Support for catalogs. The first three commands will create a
new catalog search. All other commands operated on the last
search created, unless indicated otherwise.</p>
<tt> Syntax: <br>
</tt><tt>-catalog []<br>
[ned|simbad|denis|skybot]<br>
[ascss|cmc|gsc1|gsc2|gsc3|ac|nomad|ppmx|sao|sdss5|sdss6|</tt><tt>sdss7|sdss8|</tt><tt>tycho|ua2|ub1|ucac2]<br>
[2mass|iras]<br>
[csc|xmm|rosat]<br>
[first|nvss]<br>
[chandralog|cfhtlog|esolog|stlog|xmmlog]<br>
[cds <catalogname>]<br>
[cds
<catalogid>]<br>
<br>
[load <filename>]<br>
[import sb|tsv
<filename>]<br>
<br>
</tt><tt> [<ref>] [allcols]<br>
</tt><tt> </tt><tt>
[<ref>] [allrows]<br>
</tt><tt> [<ref>]
[cancel]<br>
</tt><tt> [<ref>]
[clear]<br>
</tt><tt> [<ref>] [close]</tt><br>
<tt> [<ref>]
[coordinate <ra> <dec> <coordsys>]</tt><tt><br>
</tt><tt> </tt><tt>[<ref>]
[crosshair]</tt><br>
<tt> [<ref>] [dec
<col>]</tt><br>
<tt> [<ref>] [edit
yes|no]</tt><br>
<tt> [<ref>]
[export sb|tsv <filename>]<br>
</tt><tt> [<ref>]
[filter <string>]<br>
[<ref>] [filter load
<filename>]</tt><br>
<tt> [<ref>]
[header]</tt><br>
<tt> [<ref>] [hide]</tt><br>
<tt> [<ref>] [location
<code>]</tt><br>
<tt> [<ref>]
[match <ref> <ref>]<br>
</tt><tt>[<ref>]
[match error <value> degrees|arcmin|arcsec]</tt><br>
<tt> </tt><tt>[<ref>]
[match function 1and2|1not2|2not1]<br>
</tt><tt> </tt><tt>[<ref>]
[match return 1and2|1only|2only]</tt><br>
<tt> </tt><tt>[<ref>]
[match unique yes|no]</tt><br>
<tt> [<ref>] [maxrows
<number>]</tt><br>
<tt> [<ref>] [name
<object>]<br>
</tt><tt> [<ref>]
[panto yes|no]</tt><br>
<tt> [<ref>] [plot
<xcol> <ycol> <xerrcol> <yerrcol>]</tt><br>
<tt> [<ref>] [print]</tt><br>
<tt> [<ref>] [psky
<skyframe>]</tt><br>
<tt> [<ref>] [psystem
<coordsys>]</tt><br>
<tt> [<ref>] [ra
<col>]</tt><br>
<tt><tt> [<ref>]
[regions]</tt><br>
<tt> </tt> [<ref>]
[retrieve]<br>
</tt><tt> [<ref>]
[samp]<br>
[<ref>] [samp
broadcast]<br>
[<ref>] [samp
send <application>]</tt><tt><br>
</tt><tt> [<ref>]
[save <filename>]</tt><br>
<tt> [<ref>]
[server cds|sao|cadc|adac|iucaa|bejing|cambridge|ukirt]</tt><br>
<tt> [<ref>] [show]</tt><br>
<tt> [<ref>] [size
<width> <height> degrees|arcmin|arcsec]</tt><br>
<tt> </tt><tt> [<ref>]
[sky <skyframe>]<br>
</tt><tt> [<ref>]
[skyformat <skyformat>]<br>
</tt><tt> [<ref>] [sort
<col> incr|decr]</tt><br>
<tt> [<ref>] [symbol
[#]
condition|shape|color|text|font|fontsize|fontweight|fontslant
<value>] <br>
</tt><tt> [<ref>]
[symbol [#] text|size|size2|units|angle <value>] <br>
</tt><tt> [<ref>]
[symbol shape {circle point}|{box point}|{diamond point}|<br>
{cross point}|{x
point}|{arrow point}|{boxcircle point}|<br>
circle|ellipse|box|text]<br>
[<ref>] [symbol
add| [#] remove]<br>
[<ref>] [symbol
save|load <filename>]</tt><br>
<tt> [<ref>] [system
<coordsys>]</tt><tt><br>
</tt><tt> </tt><tt>[<ref>]
[update]</tt><br>
<tt> [<ref>] [x
<col>]</tt><br>
<tt> [<ref>] [y
<col>]</tt><br>
<tt><br>
Example:<br>
</tt><tt>$ds9 -catalog<br>
$ds9 -catalog 2mass<br>
$ds9 -catalog cds 2mass<br>
$ds9 -catalog cds "I/252"<br>
<br>
</tt><tt>$ds9 -catalog load foo.xml<br>
$ds9 -catalog import tsv foo.tsv<br>
<br>
</tt><tt>$ds9 -catalog allrows<br>
$ds9 -catalog allcols<br>
</tt><tt>$ds9 -catalog cancel<br>
</tt><tt>$ds9 -catalog clear<br>
</tt><tt>$ds9 -catalog close<br>
</tt><tt>$ds9 -catalog coordinate 202.48 47.21 fk5<br>
</tt><tt>$ds9 -catalog crosshair<br>
</tt><tt>$ds9 -catalog dec DEC<br>
</tt><tt>$ds9 -catalog edit yes<br>
</tt><tt>$ds9 -catalog export tsv bar.tsv<br>
</tt><tt>$ds9 -catalog filter </tt><tt>'\$Jmag>15'</tt><tt><br>
$ds9 -catalog filter load foo.flt<br>
$ds9 -catalog header<br>
</tt><tt>$ds9 -catalog hide<br>
</tt><tt>$ds9 -catalog location 500</tt><br>
<tt>$ds9 -catalog match error 2 arcsec<br>
$ds9 -catalog match function 1and2<br>
$ds9 -catalog match unique no<br>
$ds9 -catalog match return 1only<br>
$ds9 -catalog match 2mass csc<br>
</tt><tt>$ds9 -catalog maxrows 2000<br>
</tt><tt>$ds9 -catalog name m51<br>
$ds9 -catalog panto no<br>
</tt><tt>$ds9 -catalog plot </tt><tt>'\$Jmag' '\$Hmag' '\$e_Jmag'
'\$e_Hmag'</tt><tt><br>
</tt><tt>$ds9 -catalog print</tt><br>
<tt>$ds9 -catalog psky fk5</tt><br>
<tt>$ds9 -catalog psystem wcs</tt><br>
<tt>$ds9 -catalog ra RA</tt><br>
<tt><tt>$ds9 -catalog regions<br>
</tt><tt> </tt>$ds9 -catalog retrieve<br>
</tt><tt> $ds9 -catalog samp broadcast<br>
$ds9 -catalog samp send aladin<br>
$ds9 -catalog save foo.xml<br>
</tt><tt>$ds9 -catalog server sao<br>
</tt><tt>$ds9 -catalog show</tt><br>
<tt> $ds9 -catalog size 1 1 degrees</tt><br>
<tt>$ds9 -catalog symbol condition '\$Jmag>15'<br>
$ds9 -catalog symbol 2 shape "boxcircle point"<br>
$ds9 -catalog symbol color red<br>
$ds9 -catalog symbol font times<br>
</tt><tt>$ds9 -catalog symbol fontsize 14<br>
</tt><tt>$ds9 -catalog symbol fontweight bold<br>
</tt><tt>$ds9 -catalog symbol fontslant italic<br>
</tt><tt>$ds9 -catalog symbol add<br>
$ds9 -catalog symbol 2 remove<br>
$ds9 -catalog symbol load foo.sym<br>
$ds9 -catalog symbol save bar.sym</tt><tt><br>
$ds9 -catalog sky fk5<br>
$ds9 -catalog skyformat degrees<br>
</tt><tt>$ds9 -catalog sort "Jmag" incr<br>
</tt><tt>$ds9 -catalog system wcs</tt><tt><br>
</tt><tt>$ds9 -catalog update<br>
</tt><tt>$ds9 -catalog x RA<br>
$ds9 -catalog y DEC</tt><br>
<p><b><a name="cd"></a>cd</b></p>
<p>Sets the current working directory. </p>
<tt> Syntax: <br>
cd [<directory>] <br>
<br>
Example: <br>
$ds9 -cd /home/mrbill<br>
</tt>
<p><b> <a name="cmap"></a>cmap</b></p>
<p>Controls the colormap for the current frame. The colormap name
is not case sensitive. A valid contrast value is from 0 to
10 and bias value from 0 to 1. </p>
<tt> Syntax: <br>
-cmap [<colormap>] <br>
[file]<br>
[load <filename>] <br>
[save <filename>]<br>
[invert yes|no] <br>
[value <contrast>
<bias>] <br>
</tt><tt> [tag [load|save]
<filename>]<br>
[tag delete]</tt><br>
<tt> [match]<br>
[lock [yes|no]]</tt><br>
<tt> [open|close]<br>
<br>
Example: <br>
$ds9 -cmap Heat <br>
$ds9 -cmap load foo.sao <br>
$ds9 -cmap save bar.sao<br>
$ds9 -cmap invert yes <br>
$ds9 -cmap value 5 .5<br>
$ds9 -cmap tag load foo.tag<br>
$ds9 -cmap tag save foo.tag<br>
$ds9 -cmap tag delete<br>
</tt><tt>$ds9 -cmap match<br>
$ds9 -cmap lock yes</tt><br>
<tt> $ds9 -cmap open<br>
$ds9 -cmap close<br>
</tt>
<p><b><a name="colorbar"></a>colorbar</b></p>
<p>Controls colorbar parameters.</p>
<tt> Syntax: <br>
-colorbar []<br>
[yes|no]<br>
[horizontal|vertical]<br>
[orientation
horizontal|vertical]<br>
[numerics
yes|no]<br>
[space
value|distance]<br>
[font
times|helvetica|courier]<br>
[fontsize
<value>]<br>
[fontweight normal|bold]<br>
[fontslant
roman|italic]<br>
[size]<br>
[ticks]<br>
<br>
Example: <br>
$ds9 -colorbar yes<br>
$ds9 -colorbar vertical<br>
$ds9 -colorbar orientation vertical<br>
$ds9 -colorbar numerics yes<br>
$ds9 -colorbar space value<br>
$ds9 -colorbar font times<br>
$ds9 -colorbar fontsize 14<br>
$ds9 -colorbar fontweight bold<br>
$ds9 -colorbar fontslant italic<br>
$ds9 -colorbar size 20<br>
$ds9 -colorbar ticks 11<br>
</tt>
<p><b> <a name="console"></a>console</b></p>
<p>Display tcl console window.</p>
<tt> Syntax: <br>
-console<br>
<br>
Example:<br>
$ds9 -console<br>
</tt>
<p><b> <a name="contour"></a>contour<br>
</b></p>
<p>Controls contours in the current frame. </p>
<tt> Syntax: <br>
-contour []<br>
[yes|no]<br>
[clear]<br>
[generate]<br>
[load
<filename> [<color> <width> yes|no]]<br>
[save
<filename> <coordsys> <skyframe>]<br>
[convert]<br>
[loadlevels
<filename>]</tt><br>
<tt><tt>
[savelevels <filename>]<br>
</tt> [copy]<br>
[paste
<coordsys> [<color> <width> yes|no]]<br>
[color
<color>]<br>
[width
<width>]<br>
[dash yes|no]<br>
[smooth
<smooth>]<br>
[method
block|smooth]<br>
[nlevels <number
of levels>]<br>
[scale
linear|log|pow|squared|sqrt|asinh|sinh|histequ]<br>
[log exp
<value>]<br>
[mode
minmax|<value>|zscale|zmax]<br>
[limits <min>
<max>]<br>
[levels
<value value value...>] <br>
[open|close]<br>
<br>
Example: <br>
$ds9 -contour<br>
$ds9 -contour yes<br>
$ds9 -contour generate<br>
$ds9 -contour clear<br>
$ds9 -contour load ds9.ctr<br>
$ds9 -contour load ds9.ctr red 2 yes<br>
$ds9 -contour save ds9.ctr wcs fk5<br>
$ds9 -contour convert<br>
$ds9 -contour loadlevels ds9.ctr<br>
</tt><tt><tt>$ds9 -contour savelevels ds9.lev<br>
</tt>$ds9 -contour copy<br>
$ds9 -contour paste wcs red 2 no<br>
$ds9 -contour color yellow<br>
$ds9 -contour width 2<br>
$ds9 -contour dash yes<br>
$ds9 -contour smooth 5<br>
$ds9 -contour method smooth<br>
$ds9 -contour nlevels 10<br>
$ds9 -contour scale sqrt<br>
$ds9 -contour log exp 1000<br>
$ds9 -contour mode zscale<br>
$ds9 -contour limits 1 100<br>
$ds9 -contour levels "1 10 100 1000"<br>
$ds9 -contour open<br>
$ds9 -contour close<br>
</tt>
<p><b><a name="crop"></a>crop</b> </p>
<p>Set current image display area. </p>
<tt> Syntax: <br>
-crop [<x> <y> <width> <height>
[<coordsys>][<skyframe>][<skyformat>][degrees|arcmin|arcsec]<br>
</tt><tt> [match <coordsys>]<br>
[lock <coordsys>|none]</tt><tt>
<br>
<br>
Example: <br>
$ds9 foo.fits -crop 40 30 10 20 # set crop in physical coords<br>
$ds9 foo.fits -crop +104:51:06.915 +68:33:40.761 28.144405
22.000204 wcs galactic arcsec<br>
$ds9 foo.fits -crop match wcs<br>
$ds9 foo.fits -crop lock wcs<br>
</tt>
<p><b> <a name="crosshair"></a>crosshair</b></p>
<p>Controls the current position of the crosshair in the current
frame. DS9 is placed in crosshair mode when the crosshair is
set. </p>
<tt> Syntax: <br>
-crosshair [<x> <h> <coordsys>
[<skyframe>][<skyformat>]]<br>
</tt><tt>
[match <coordsys>]<br>
[lock
<coordsys>|none]</tt><br>
<tt> <br>
Example: <br>
$ds9 -crosshair 100 100 physical # set crosshair in physical <br>
$ds9 -crosshair 345 58.8 wcs fk5 # set crosshair in wcs coords <br>
$ds9 -crosshair 23:01:00 +58:52:51 wcs fk5<br>
$ds9 -crosshair match<br>
$ds9 -crosshair lock wcs<br>
</tt>
<p><b><a name="cube"></a>cube<br>
</b></p>
<p>Controls FITS cube. </p>
<tt> Syntax: <br>
-cube [play|stop|next|prev|first|last]<br>
[<slice>
[<coordsys>][<axis>]]<br>
[interval <numeric>]<br>
[axis <axis>]<br>
</tt><tt> [match <coordsys>]<br>
[lock <coordsys>|none]<br>
[order 123|132|213|231|312|321]<br>
[axes lock [yes|no]]<br>
</tt> <tt> [open|close]<br>
<br>
Example: <br>
$ds9 -cube play<br>
$ds9 -cube last<br>
$ds9 -cube 3<br>
$ds9 -cube 4.5 wcs 3<br>
$ds9 -cube interval 2<br>
$ds9 -cube axis 3<br>
$ds9 -cube match wcs<br>
$ds9 -cube lock wcs<br>
$ds9 -cube order 123<br>
$ds9 -cube axes lock yes<br>
$ds9 -cube open<br>
$ds9 -cube close</tt><br>
<p><b> <a name="cursor"></a>cursor</b></p>
<p>Move mouse pointer or crosshair in image pixels in the current
frame. Note, this will move selected Regions also. </p>
<tt> Syntax: <br>
-cursor [<x> <h>] <br>
<br>
Example: <br>
$ds9 -cursor 10 10</tt><tt><br>
</tt>
<p><b><a name="dsssao"></a>dsssao<br>
dss<br>
</b></p>
<p>Support for Digital Sky Survey at SAO.</p>
<tt> Syntax: <br>
-dsssao []<br>
[<object>]<br>
[name <object>]<br>
[coord <ra>
<dec> degrees|sexagesimal] # in wcs fk5<br>
[size <width>
<height> degrees|arcmin|arcsec]<br>
[save yes|no]<br>
[frame new|current]<br>
[update
frame|crosshair]<br>
[open|close]<br>
<br>
Example:<br>
$ds9 -dsssao <br>
$ds9 -dsssao m31 <br>
$ds9 -dsssao name m31 <br>
$ds9 -dsssao coord 00:42:44.404 +41:16:08.78 sexagesimal<br>
$ds9 -dsssao size 60 60 arcmin<br>
$ds9 -dsssao save yes<br>
$ds9 -dsssao frame current<br>
$ds9 -dsssao update frame<br>
$ds9 -dsssao open<br>
$ds9 -dsssao close<br>
</tt>
<p><b><a name="dsseso"></a>dsseso </b></p>
<p>Support for Digital Sky Survey at ESO.</p>
<tt> Syntax:<br>
-dsseso []<br>
[<object>]<br>
[name <object>]<br>
[coord <ra>
<dec> degrees|sexagesimal] # in wcs fk5<br>
[size <width>
<height> degrees|arcmin|arcsec]<br>
[save yes|no]<br>
[frame new|current]<br>
[update
frame|crosshair]<br>
[survey
DSS1|DSS2-red|DSS2-blue|DSS2-infrared]<br>
[open|close]<br>
<br>
Example:<br>
$ds9 -dsseso <br>
$ds9 -dsseso m31 <br>
$ds9 -dsseso name m31 <br>
$ds9 -dsseso coord 00:42:44.404 +41:16:08.78 sexagesimal<br>
$ds9 -dsseso size 60 60 arcmin<br>
$ds9 -dsseso save yes<br>
$ds9 -dsseso frame current<br>
$ds9 -dsseso update frame <br>
$ds9 -dsseso survey DSS2-red<br>
$ds9 -dsseso open<br>
</tt><tt>$ds9 -dsseso close</tt><br>
<p><b><a name="dssstsci"></a>dssstsci </b></p>
<p>Support for Digital Sky Survey at STSCI.</p>
<tt> Syntax:<br>
-dssstsci []<br>
[<object>]<br>
[name
<object>]<br>
[coord
<ra> <dec> degrees|sexagesimal] # in wcs fk5<br>
[size
<width> <height> degrees|arcmin|arcsec]<br>
[save
yes|no]<br>
[frame
new|current]<br>
[update
frame|crosshair]<br>
[survey
poss2ukstu_red|poss2ukstu_ir|poss2ukstu_blue] <br>
[survey
poss1_blue|poss1_red]<br>
[survey
all|quickv|phase2_gsc2|phase2_gsc1]<br>
[open|close]<br>
<br>
Example:<br>
$ds9 -dssstsci <br>
$ds9 -dssstsci m31 <br>
$ds9 -dssstsci name m31 <br>
$ds9 -dssstsci coord 00:42:44.404 +41:16:08.78 sexagesimal<br>
$ds9 -dssstsci size 60 60 arcmin<br>
$ds9 -dssstsci save yes<br>
$ds9 -dssstsci frame current<br>
$ds9 -dssstsci update frame <br>
$ds9 -dssstsci survey all<br>
$ds9 -dssstsci open<br>
$ds9 -dssstsci close</tt><br>
<p><b> <a name="envi"></a>envi</b></p>
<p>Load an ENVI header and file. Optional parameter: array endian.<br>
</p>
<tt> Syntax: <br>
-envi <header> [<filename>]<br>
<br>
Example:<br>
</tt><tt><tt><tt><tt>$ds9 -envi foo.hdr</tt></tt><tt><tt><tt><tt><tt><tt><br>
</tt></tt></tt></tt></tt></tt> <b> </b>$ds9 -envi
foo.hdr foo.bsq</tt></tt><tt><tt><tt><tt><tt><tt><br>
</tt></tt></tt></tt></tt></tt>
<p><b> <a name="exit"></a>exit<br>
quit</b></p>
<p>Quits DS9. </p>
<tt> Syntax: <br>
-exit <br>
-quit <br>
<br>
Example: <br>
$ds9 -exit<br>
</tt>
<p><b> <a name="export"></a>export<br>
</b></p>
<p>Export loaded image data of current frame in specified image
format, at native resolution, using current colormap and
contrast/bias settings. NOTE: not scaling, rotation, or
translation is applied. If no format specified, the file name
extension is used to determine the output format. Optional
parameters: jpeg quality (1-100) and tiff compression method.<br>
</p>
<tt> Syntax: <br>
-export [array|nrrd|envi|gif|tiff|jpeg|png] <filename></tt><tt><br>
</tt><tt><tt>-export array <filename></tt><tt> </tt><tt>[big|little</tt><tt>|native]<br>
</tt>-export nrrd <filename> </tt><tt>[big|little</tt><tt>|native]</tt><br>
<tt>-export envi <header> [<filename>] </tt><tt>[big|little</tt><tt>|native]</tt><tt>
</tt><tt><br>
</tt><tt>-export <filename></tt><tt>.jpeg [1-100]<br>
</tt><tt>-export <filename></tt><tt>.tiff
[none|jpeg|packbits|deflate]</tt><br>
<tt> <br>
Example:<br>
$ds9 -export array foo.arr little<br>
$ds9 -export nrrd foo.nrrd little<br>
$ds9 -export envi foo.hdr little<br>
</tt><tt><tt>$ds9 -export envi foo.hdr foo.bsq little<br>
</tt>$ds9 -export tiff foo.tiff jpeg<br>
$ds9 -export jpeg foo.jpeg 75<br>
$ds9 -export png foo.png</tt><br>
<p><b><a name="fifo"></a>fifo</b></p>
<p>Set the name of the IRAF input and output fifos. The default is
/dev/imt1. These fifos are used by IRAF to communicate with DS9.
</p>
<tt> Syntax: <br>
-fifo name <br>
<br>
Example: <br>
$ds9 -fifo /dev/imt1 </tt>
<p><b> <a name="fifo_only"></a>fifo_only</b></p>
<p>Only use IRAF input and output fifos. Same as -port 0 -unix
none. </p>
<tt> Syntax: <br>
-fifo_only <br>
<br>
Example: <br>
$ds9 -fifo_only<br>
</tt>
<p><b> <a name="fits"></a>fits</b></p>
<p>Load a FITS image into the current frame.<br>
</p>
<tt> Syntax: <br>
-fits </tt><tt><tt><filename></tt></tt><tt><br>
<br>
Example: <br>
</tt><tt>$ds9 -fits foo.fits<br>
$ds9 -fits bar.fits[bin=detx,dety]<br>
$cat foo.fits | ds9 -fits -<br>
$cat bar.fits | ds9 -fits -[bin=detx,dety]</tt><tt><br>
</tt>
<p><b><a name="frame"></a>frame</b></p>
<p>Controls frame functions. Frames may be created, deleted,
reset, and centered. While return the current frame number. If
you goto a frame that does not exists, it will be created. If
the frame is hidden, it will be shown. The 'frameno' option is
available for backward compatibility. </p>
<tt> Syntax: <br>
-frame [center [#|all]]<br>
[clear [#|all]]<br>
[new [rgb]]<br>
[delete [#|all]] <br>
[reset [#|all]]<br>
[refresh [#|all]]<br>
[hide [#|all]]<br>
[show [#|all]]<br>
[move first]<br>
[move back]<br>
[move forward]<br>
[move last]<br>
[first]<br>
[prev]<br>
[next]<br>
[last]<br>
[frameno #]<br>
[#]<br>
[match <coordsys>]<br>
[lock
<coordsys>|none]<br>
<br>
Example: <br>
$ds9 -frame center # center current frame<br>
$ds9 -frame center 1 # center 'Frame1' <br>
$ds9 -frame center all # center all frames <br>
$ds9 -frame clear # clear current frame<br>
$ds9 -frame new # create new frame <br>
$ds9 -frame new rgb # create new rgb frame<br>
$ds9 -frame delete # delete current frame <br>
$ds9 -frame reset # reset current frame <br>
$ds9 -frame refresh # refresh current frame <br>
$ds9 -frame hide # hide current frame <br>
$ds9 -frame show 1 # show frame 'Frame1'<br>
$ds9 -frame move first # move frame to first in order<br>
$ds9 -frame move back # move frame back in order<br>
$ds9 -frame move forward # move frame forward in order<br>
$ds9 -frame move last # move frame to last in order<br>
$ds9 -frame first # goto first frame <br>
$ds9 -frame prev # goto prev frame <br>
$ds9 -frame next # goto next frame<br>
$ds9 -frame last # goto last frame<br>
$ds9 -frame frameno 4 # goto frame 'Frame4', create if needed<br>
$ds9 -frame 3 # goto frame 'Frame3', create if needed<br>
$ds9 -frame lock wcs</tt><br>
<p><b> <a name="gif"></a>gif</b></p>
<p>Import gif file. </p>
<tt> Syntax: <br>
-gif <filename><br>
<br>
Example: <br>
$ds9 -gif foo.gif<br>
$cat foo.gif | ds9 -gif -<br>
</tt>
<p><b> <a name="geometry"></a>geometry</b></p>
<p>Define the initial window geometry. This includes all of the
ds9 window, not just the image space. see X(1). </p>
<tt> Syntax: <br>
-geometry value <br>
<br>
Example: <br>
$ds9 -geometry 640x480 </tt>
<p><b> <a name="green"></a>green</b></p>
<p>For RGB frames, sets the current color channel to green.</p>
<tt> Syntax: <br>
-green<br>
<br>
Example: <br>
$ds9 -green foo.fits </tt>
<p><b> <a name="grid"></a>grid</b></p>
<p>Controls coordinate grid. For grid numeric format syntax,
click <a href="grid.html#Format">here</a>.</p>
<tt> Syntax: <br>
-grid []<br>
[yes|no] <br>
[type analysis|publication] <br>
[system <coordsys>]<br>
[sky <skyframe>] <br>
[skyformat <skyformat>]<br>
[grid yes|no]<br>
[grid color <color>]<br>
[grid width <value>]<br>
[grid style 0|1]<br>
[grid gap1 <value>]<br>
[grid gap2 <value>]<br>
[axes yes|no]<br>
[axes color <color>]<br>
[axes width <value>]<br>
[axes style 0|1]<br>
[axes type interior|exterior]<br>
</tt><tt> [axes origin
lll|llu|lul|luu|ull|ulu|uul|uuu]</tt><br>
<tt> [format1 <format>]<br>
[format2 <format>]<br>
[tickmarks yes|no]<br>
[tickmarks color <color>]<br>
[tickmarks width <value>]<br>
[tickmarks style 0|1]<br>
[border yes|no]<br>
[border color <color>]<br>
[border width <value>]<br>
[border style 0|1]<br>
[numerics yes|no]<br>
[numerics font
times|helvetica|courier]<br>
[numerics fontsize <value>]<br>
[numerics fontweight normal|bold]<br>
[numerics fontslant roman|italic]<br>
[numerics color <color>]<br>
[numerics gap1 <value>]<br>
[numerics gap2 <value>]<br>
[numerics type interior|exterior]<br>
[numerics vertical yes|no]<br>
[title yes|no]<br>
[title text <text>]<br>
[title def yes|no]<br>
[title gap <value>]<br>
[title font
times|helvetica|courier]<br>
[title fontsize <value>]<br>
[title fontweight normal|bold]<br>
[title fontslant roman|italic]<br>
[title color <color>]<br>
[labels yes|no]<br>
[labels text1 <text>]<br>
[labels def1 yes|no]<br>
[labels gap1 <value>]<br>
[labels text2 <text>]<br>
[labels def2 yes|no]<br>
[labels gap2 <value>]<br>
[labels font
times|helvetica|courier]<br>
[labels fontsize <value>]<br>
[labels fontweight normal|bold]<br>
[labels fontslant roman|italic]<br>
[labels color <color>]<br>
[reset]<br>
[load <filename>] <br>
[save <filename>] <br>
[open|close]<br>
<br>
Example: <br>
$ds9 -grid <br>
$ds9 -grid yes<br>
$ds9 -grid type analysis <br>
$ds9 -grid system wcs <br>
$ds9 -grid sky fk5 <br>
$ds9 -grid skyformat degrees<br>
$ds9 -grid grid yes<br>
$ds9 -grid grid color red<br>
$ds9 -grid grid width 2<br>
$ds9 -grid grid style 1<br>
$ds9 -grid grid gap1 10<br>
$ds9 -grid grid gap2 10<br>
$ds9 -grid axes yes<br>
$ds9 -grid axes color red<br>
$ds9 -grid axes width 2<br>
$ds9 -grid axes style 1<br>
$ds9 -grid axes type exterior<br>
$ds9 -grid axes origin lll<br>
$ds9 -grid format1 d.2<br>
$ds9 -grid format2 d.2<br>
$ds9 -grid tickmarks yes<br>
$ds9 -grid tickmarks color red<br>
$ds9 -grid tickmarks width 2<br>
$ds9 -grid tickmarks style 1<br>
$ds9 -grid border yes<br>
$ds9 -grid border color red<br>
$ds9 -grid border width 2<br>
$ds9 -grid border style 1<br>
$ds9 -grid numerics yes<br>
$ds9 -grid numerics font courier<br>
$ds9 -grid numerics fontsize 12<br>
$ds9 -grid numerics fontweight bold<br>
$ds9 -grid numerics fontslant italic<br>
$ds9 -grid numerics color red<br>
$ds9 -grid numerics gap1 10<br>
$ds9 -grid numerics gap2 10<br>
$ds9 -grid numerics type exterior<br>
$ds9 -grid numerics vertical yes<br>
$ds9 -grid title yes<br>
$ds9 -grid title text {Hello World}<br>
$ds9 -grid title def yes<br>
$ds9 -grid title gap 10<br>
$ds9 -grid title font courier<br>
$ds9 -grid title fontsize 12<br>
$ds9 -grid title fontweight bold<br>
$ds9 -grid title fontslant italic<br>
$ds9 -grid title color red<br>
$ds9 -grid labels yes<br>
$ds9 -grid labels text1 {Hello World}<br>
$ds9 -grid labels def1 yes<br>
$ds9 -grid labels gap1 10<br>
$ds9 -grid labels text2 {Hello World}<br>
$ds9 -grid labels def2 yes<br>
$ds9 -grid labels gap2 10<br>
$ds9 -grid labels font courier<br>
$ds9 -grid labels fontsize 12<br>
$ds9 -grid labels fontweight bold<br>
$ds9 -grid labels fontslant italic<br>
$ds9 -grid labels color red<br>
$ds9 -grid reset<br>
$ds9 -grid load foo.grd <br>
$ds9 -grid save foo.grd <br>
$ds9 -grid open<br>
$ds9 -grid close<br>
</tt>
<p><b> <a name="header"></a>header</b></p>
<p>Display current fits header dialog. Optional extension number
maybe specified.</p>
<tt> Syntax: <br>
-header [<ext>]<br>
[close [<ext>]]<br>
[save [<ext>]
<filename>]<br>
<br>
Example:<br>
$ds9 -header <br>
$ds9 -header 2<br>
$ds9 -header close<br>
$ds9 -header save 1 foo.txt<br>
</tt>
<p><b> <a name="height"></a>height</b></p>
<p>Set the height of the image display window. Use the <a
href="command.html#geometry">geometry</a> command to set the
overall width and height of the ds9 window.</p>
<tt> Syntax: <br>
-height [<value>]<br>
<br>
Example: <br>
$ds9 -height 512<br>
</tt>
<p><b> <a name="help"></a>help</b></p>
<p>Display help information. To maintain backward compatibility,
-help will display a brief help message and exit. --help will
display all command line options within the built-in help
facility.</p>
<tt> Syntax: <br>
-help # Display brief help message and exit.<br>
--help # Display command line options within help facility.<br>
-? # Display command line options within help facility.<br>
<br>
Example: <br>
$ds9 -help # Display brief help message and exit.<br>
$ds9 --help # Display command line options within help facility<br>
$ds9 -? # Display command line options within help facility.<br>
</tt>
<p><b> <a name="histequ"></a>histequ</b></p>
<p>Select histogram equalization scale function for the current
frame. </p>
<tt> Syntax: <br>
-histequ<br>
<br>
Example: <br>
$ds9 -histequ<br>
</tt>
<p><b> <a name="iconify"></a>iconify</b></p>
<p>Toggles iconification. </p>
<tt> Syntax: <br>
-iconify []<br>
[yes|no] <br>
<br>
Example: <br>
$ds9 -iconify<br>
$ds9 -iconify yes</tt><br>
<p><b> <a name="invert"></a>invert</b></p>
<p>Invert Colormap. </p>
<tt> Syntax: <br>
-invert <br>
<br>
Example: <br>
$ds9 -invert<br>
</tt>
<p><b><a name="iis"></a>iis</b></p>
<p>Set IIS Filename. Optional mosaic number maybe supplied.</p>
<tt> Syntax: <br>
-iis [filename <filename> [#]]<br>
<br>
Example: <br>
$ds9 -iis filename foo.fits<br>
$ds9 -iis filename bar.fits 4</tt><br>
<p><b> <a name="jpeg"></a>jpeg</b></p>
<p>Load JPEG image into current frame.</p>
<tt> Syntax:<br>
-jpeg <filename><br>
<br>
Example: <br>
</tt><tt>$ds9 -jpeg foo.jpeg</tt><br>
<tt>$cat foo.jpeg | ds9 -jpeg -</tt><br>
<p><b> <a name="language"></a>language</b></p>
<p>Select current language. </p>
<tt> Syntax: <br>
-language [locale|da|de|es|en|fr|ja|pt]<br>
<br>
Example: <br>
$ds9 -language fr<br>
</tt>
<p><b> <a name="linear"></a>linear</b></p>
<p>Select linear scale function for the current frame. </p>
<tt> Syntax: <br>
-linear <br>
<br>
Example: <br>
$ds9 -linear </tt>
<p><b> <a name="lock"></a>lock</b></p>
<p>Lock all other frames to the current frame. </p>
<tt> Syntax: <br>
</tt><tt>-lock</tt><tt> </tt><tt>[frame <coordsys>|none]<br>
</tt><tt>[crosshair
<coordsys>|none] </tt><tt><br>
</tt><tt> [crop <coordsys>|none]</tt><br>
<tt> [slice <coordsys>|none]</tt><br>
<tt> </tt><tt> [bin [yes|no]]<br>
[axes [yes|no]]<br>
[scale [yes|no]]<br>
[scalelimits [yes|no]]<br>
[colorbar [yes|no]]<br>
[block [yes|no]]<br>
[smooth [yes|no]]</tt><br>
<tt><br>
</tt><tt> </tt><tt>Example: </tt><tt><br>
$ds9 -lock frame wcs</tt><tt><br>
</tt><tt>$ds9 -lock crosshair wcs</tt><tt><br>
</tt><tt>$ds9 -lock crop wcs</tt><br>
<tt>$ds9 -lock slice wcs</tt><br>
<tt>$ds9 -lock bin yes<br>
$ds9 -lock axes yes<br>
</tt><tt>$ds9 -lock scale yes<br>
$ds9 -lock scalelimits yes<br>
</tt><tt>$ds9 -lock colorbar yes</tt><tt><br>
$ds9 -lock block yes<br>
$ds9 -lock smooth yes<br>
</tt>
<p><b> <a name="log"></a>log</b></p>
<p>Select log scale function for the current frame. <br>
</p>
<tt> Syntax: <br>
-log <br>
<br>
Example: <br>
$ds9 -log </tt>
<p><b> <a name="lower"></a>lower</b></p>
<p>Lower in the window stacking order. </p>
<tt> Syntax: <br>
-lower <br>
<br>
Example: <br>
$ds9 -lower<br>
</tt>
<p><b> <a name="magnifier"></a>magnifier</b></p>
<p>Controls the magnifier settings. </p>
<tt> Syntax: <br>
magnifier [color <color>]<br>
[zoom
<value>]<br>
[cursor
yes|no]<br>
[region
yes|no]<br>
<br>
Example: <br>
$ds9 -magnifier color yellow<br>
$ds9 -magnifier zoom 2<br>
$ds9 -magnifier cursor no<br>
$ds9 -magnifier region no<br>
</tt>
<p><b> <a name="mask"></a>mask<br>
nomask<br>
</b></p>
<p>Controls mask parameters. </p>
<tt> Syntax: <br>
-mask [color <color>]<br>
[mark 1|0]<br>
[transparency <value>]<br>
[clear]<br>
[open|close]<br>
-nomask<br>
<br>
Example: <br>
$ds9 -mask color red<br>
$ds9 -mask mark 0<br>
$ds9 -mask transparency 50<br>
$ds9 -mask clear<br>
$ds9 -mask open<br>
$ds9 -mask close<br>
$ds9 -nomask<br>
</tt>
<p><b> <a name="match"></a>match</b></p>
<p>Match all other frames to the current frame. </p>
<tt> Syntax: <br>
</tt><tt>-match </tt><tt>[frame <coordsys>]<br>
</tt><tt>[crosshair
<coordsys>] </tt><tt><br>
</tt><tt> [crop
<coordsys>]</tt><br>
<tt> [slice <coordsys>]</tt><br>
<tt> </tt><tt> [bin]<br>
[axes]<br>
[scale]<br>
[scalelimits]<br>
[colorbar]<br>
[block]<br>
[smooth]<br>
</tt><tt> <br>
Example: <br>
</tt><tt>$ds9 -match frame wcs <br>
</tt><tt>$ds9 -match crosshair wcs<br>
</tt><tt>$ds9 -match crop wcs</tt><br>
<tt> $ds9 -match slice wcs</tt> <br>
<tt>$ds9 -match bin<br>
$ds9 -match axes<br>
$ds9 -match scale<br>
$ds9 -match scalelimits<br>
$ds9 -match colorbar<br>
$ds9 -match block<br>
$ds9 -match smooth<br>
<br>
</tt><b><a name="mecube"></a>mecube</b>
<p>Load FITS multiple extension file as data cube.<br>
</p>
<tt> Syntax:<br>
mecube <filename><br>
<br>
Example: <br>
$ds9 -mecube foo.fits</tt><tt><tt><br>
</tt>$cat foo.fits | ds9 -mecube -</tt><br>
<p><b> <a name="minmax"></a>minmax</b></p>
<p>This is how DS9 determines the min and max data values
from the data. <tt>SCAN</tt> will scan all data.</p>
<tt> Syntax: <br>
-minmax [scan|sample|datamin|irafmin] <br>
[mode
scan|sample|datamin|irafmin]<br>
[interval #]<br>
<br>
Example: <br>
$ds9 -minmax scan <br>
$ds9 -minmax mode scan<br>
$ds9 -minmax interval 100<br>
</tt>
<p><b> <a name="mode"></a>mode</b></p>
<p>Select the current mode. </p>
<tt> Syntax: <br>
-mode
[none|region|crosshair|colorbar|pan|zoom|rotate|catalog|examine]
<br>
<br>
Example: <br>
$ds9 -mode crosshair</tt><br>
<p><b> <a name="mosaic"></a>mosaic</b></p>
<p>Load FITS mosaic segment into current frame.</p>
<tt> Syntax:<br>
-mosaic [wcs|wcsa...wcsz|iraf] <filename><br>
<br>
Example: </tt><tt><br>
$ds9 -mosaic foo.fits</tt><br>
<tt><tt>$ds9 -mosaic wcs foo.fits</tt></tt><tt><tt><tt><br>
</tt></tt>$cat foo.fits | ds9 -mosaic -</tt> <br>
<tt><tt>$cat foo.fits | ds9 -mosaic wcs -</tt></tt><tt><br>
</tt>
<p><b> <a name="mosaicimage"></a>mosaicimage</b></p>
<p>Load FITS mosaic image into current frame.</p>
<tt> Syntax:<br>
-mosaicimage [wcs|wcsa...wcsz|iraf|wfpc2] <filename><br>
<br>
Example: </tt><tt><br>
$ds9 -mosaicimage foo.fits</tt><br>
<tt><tt>$ds9 -mosaicimage wcs foo.fits</tt></tt><tt><tt><tt><br>
</tt></tt>$cat foo.fits | ds9 -mosaicimage</tt><br>
<tt><tt>$cat foo.fits | ds9 -mosaiimage wcs</tt></tt><tt><br>
</tt>
<p><b><a name="movie"></a>movie<br>
savempeg<br>
</b></p>
<p>Create mpeg1 movie from snap shots of the DS9 window. A <tt>slice</tt>
movie cycles though all slices of a cube. A <tt>frame</tt>
movie cycles through all active frames. A <tt>3d</tt> movie
cycles through specified viewing angles. The default is <tt>frame</tt>.
Optional parameters for <tt>3d</tt>: number of frames, azimuth
from/to, elevation from/to, slice from/to, oscillate/repeat
times.<br>
</p>
<tt> Syntax:<br>
-movie [slice|frame|3d] <filename><br>
-movie 3d <filename>
[number|azfrom|azto|elfrom|elto|slfrom|slto|oscillate|repeat
<#>]<br>
<br>
Example:<br>
$ds9 -movie slice ds9.mpg<br>
$ds9 -movie 3d ds9.mpg number 10 azfrom -60 azto 60 oscillate 1</tt><br>
<p><b> <a name="msg"></a>msg</b></p>
<p>Specify a directory of translation tables to be loaded.</p>
<tt> Syntax: <br>
-msg <directory><br>
<br>
Example: <br>
$ds9 -msg $HOME/msgs</tt><br>
<p><b> <a name="multiframe"></a>multiframe</b></p>
<p>Load FITS multiple extension file as multiple images.<br>
</p>
<tt> Syntax:<br>
multiframe <filename><br>
<br>
Example: <br>
$ds9 -multiframe foo.fits</tt><tt><tt><br>
</tt>$cat foo.fits | ds9 -multiframe -</tt><tt><br>
</tt>
<p><b><a name="nameserver"></a>nameserver</b></p>
<p>Support Name Server functions. Coordinates are in fk5. </p>
<tt> Syntax: <br>
-nameserver [<object>]<br>
[name <object>]<br>
[server
ned-sao|ned-eso|simbad-sao|simbad-eso] <br>
[skyformat
degrees|sexagesimal]<br>
[pan]<br>
[crosshair]<br>
[open|close]<br>
<br>
Example: <br>
$ds9 -nameserver m31<br>
$ds9 -nameserver name m31 <br>
$ds9 -nameserver server ned-sao <br>
$ds9 -nameserver skyformat sexagesimal<br>
$ds9 -nameserver pan<br>
$ds9 -nameserver crosshair<br>
$ds9 -nameserver open<br>
$ds9 -nameserver close<br>
</tt>
<p><b> <a name="nan"></a>nan</b></p>
<p>Set image not-a-number color. </p>
<tt> Syntax: <br>
-nan <color><br>
<br>
Example:<br>
$ds9 -nan red</tt><br>
<p><b> <a name="nrrd"></a>nrrd</b></p>
<p>Load an NRRD (Nearly Raw Raster Data) file.<br>
</p>
<tt> Syntax: <br>
-nrrd <filename><br>
<br>
Example:<br>
</tt><tt><tt>$ds9 -nrrd foo.nrrd</tt></tt><br>
<tt>$cat foo.nrrd | xpaset ds9 -nrrd</tt> - <tt><br>
</tt>
<p><b> <a name="nvss"></a>nvss</b></p>
<p>Support for NRAO VLA Sky Survey.</p>
<tt> Syntax: <br>
-nvss []<br>
[<object>]<br>
[name <object>]<br>
[coord <ra> <dec>
degrees|sexagesimal] # in wcs fk5<br>
[size <width>
<height> degrees|arcmin|arcsec]<br>
[save yes|no]<br>
[frame new|current]<br>
[update frame|crosshair]<br>
[open|close]<br>
<br>
Example:<br>
$ds9 -nvss<br>
$ds9 -nvss m31 <br>
$ds9 -nvss name m31 <br>
$ds9 -nvss coord 00:42:44.404 +41:16:08.78 sexagesimal<br>
$ds9 -nvss size 60 60 arcmin<br>
$ds9 -nvss save yes<br>
$ds9 -nvss frame current<br>
$ds9 -nvss update frame<br>
$ds9 -nvss open<br>
$ds9 -nvess close<br>
</tt>
<p><b><a name="orient"></a>orient</b></p>
<p>Controls the orientation of the current frame. </p>
<tt> Syntax: <br>
-orient [none|x|y|xy] <br>
[open|close]<br>
<br>
Example: <br>
$ds9 -orient xy<br>
$ds9 -orient open<br>
$ds9 -orient close<br>
</tt>
<p><b> <a name="pagesetup"></a>pagesetup</b></p>
<p>Controls Page Setup options.<br>
</p>
<tt> Syntax: <br>
-pagesetup [orient portrait|landscape] <br>
[scale <numberic>]</tt><br>
<tt>
[size letter|legal|tabloid|poster|a4]</tt><br>
<tt> <br>
Example: <br>
$ds9 -pagesetup orient portrait <br>
$ds9 -pagesetup scale 50<br>
$ds9 -pagesetup size poster</tt><br>
<p><b> <a name="pan"></a>pan</b></p>
<p>Controls the current image cursor location for the current
frame. </p>
<tt> Syntax: <br>
-pan [<x> <h> <coordsys>
[<skyframe>][<skyformat>] # relative<br>
[to <x> <h>
<coordsys> [<skyframe>][<skyformat>] #
absolute<br>
[open|close]<br>
<br>
Example: <br>
$ds9 -pan 200 200 image</tt><tt><tt> # pan relative </tt> <br>
$ds9 -pan to 400 400 physical</tt><tt><tt> # pan to physical
coords</tt> <br>
$ds9 -pan to 13:29:55 47:11:50 wcs fk</tt><tt><tt> # pan to wcs
coords</tt><br>
$ds9 -pan open<br>
$ds9 -pan close</tt><br>
<p><b><a name="pixeltable"></a>pixeltable</b></p>
<p>Display/Hide the pixel table. </p>
<tt> Syntax: <br>
-pixeltable []<br>
[yes|open]<br>
[no|close]<br>
<br>
Example: <br>
$ds9 -pixeltable<br>
$ds9 -pixeltable yes<br>
$ds9 -pixeltable open<br>
$ds9 -pixeltable close<br>
</tt>
<p><b> <a name="plot"></a>plot</b></p>
<br>
<p>Display and configure data plots. All plot commands take an
optional second command, the plot name. If no plot name is
specified, the last plot created is assumed. Plot data is
assumed to be a pair of coordinates, with optional error values.
The follow are valid data descriptions:</p>
<blockquote>xy x and y coordinates<br>
xyex x,y coordinates with x errors<br>
xyey x,y coordinates with y errors<br>
xyexey x,y coordinates with x and y
errors<br>
</blockquote>
<p>To create a new plot, use the plot new command.</p>
<tt> Syntax: <br>
# create new empty plot window<br>
-plot<br>
-plot [bar|scatter]<br>
[new [name <plotname>]
[line|bar|scatter]]<br>
[new [name <plotname>]
[line|bar|scatter] <title> <xaxis label> <yaxis
label> </tt><tt>xy|xyex|xyey|xyexey</tt><tt>]<br>
<br>
</tt><tt><tt>-plot [<plotname>] load <filename>
[xy|xyex|xyey|xyexey]<br>
[<plotname>] save
<filename><br>
</tt> [<plotname>] clear<br>
</tt><tt><tt><tt><tt><tt><tt> </tt>[<plotname>]
duplicate<br>
</tt></tt></tt></tt></tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt>
</tt>[<plotname>] stats<br>
</tt></tt> </tt>[<plotname>]
list<br>
</tt></tt></tt></tt></tt></tt></tt><tt><tt><tt><tt><tt>[<plotname>]
loadconfig <filename><br>
[<plotname>] saveconfig
<filename><br>
</tt></tt></tt></tt></tt><tt><tt><tt><tt><tt>
[<plotname>] pagesetup orient
[portrait|landscape]<br>
[<plotname>] pagesetup size
[letter|legal|tabloid|poster|a4]</tt><br>
<tt> </tt></tt></tt></tt></tt><tt><tt><tt><tt><tt>
[<plotname>] print<br>
[<plotname>] print
destination [printer|file] <br>
[<plotname>] print
command <command><br>
[<plotname>] print
filename <filename><br>
[<plotname>] print color
[rgb|gray]<br>
</tt> </tt>[<plotname>] close<br>
<br>
</tt></tt></tt><tt><tt><tt><tt><tt><tt><tt> -plot </tt>[<plotname>]
mode [pointer|zoom]<br>
<br>
</tt></tt></tt></tt></tt></tt><tt># configure graph<br>
-plot [<plotname>] axis [x|y] grid [yes|no]<br>
[<plotname>] axis [x|y] log
[yes|no]<br>
</tt><tt> [<plotname>] axis [x|y]
flip [yes|no]</tt><br>
<tt><tt> [<plotname>] axis [x|y] auto
[yes|no]<br>
[<plotname>] axis [x|y] min
<value><br>
</tt><tt><tt> [<plotname>] axis [x|y]
max <value></tt><tt><br>
</tt> [<plotname>] axis [x|y] format
<string></tt><tt><br>
</tt> </tt><tt><tt>[<plotname>]
legend [yes|no]<br>
[<plotname>] legend position
[right|left|top|bottom]</tt><br>
</tt><tt><tt> [<plotname>] font
[title|labels|numbers] font [times|helvetica|courier]<br>
[<plotname>] font </tt></tt><tt><tt><tt><tt>[title|labels|numbers]</tt></tt>
size <value><br>
[<plotname>] font </tt></tt><tt><tt><tt><tt>[title|labels|numbers]</tt></tt>
weight [normal|bold]<br>
[<plotname>] font </tt></tt><tt><tt><tt><tt>[title|labels|numbers]</tt></tt>
slant [roman|italic]<br>
</tt></tt><tt> [<plotname>] title
<string></tt><br>
<tt><tt> [<plotname>] title [x|y]
<string></tt></tt><tt><tt><tt><br>
[<plotname>] barmode
[normal|stacked|aligned|overlap]<br>
<br>
# configure current dataset<br>
</tt>-plot [<plotname>] show [yes|no]<br>
</tt> </tt><tt><tt><tt><tt>[<plotname>]
shape
[circle|square|diamond|plus|splus|scross|triangle|arrow]</tt></tt></tt></tt><br>
<tt><tt><tt><tt><tt> <tt> </tt></tt><tt><tt><tt><tt>[<plotname>]
shape fill [yes|no]</tt></tt></tt></tt></tt></tt></tt></tt><br>
<tt><tt><tt><tt><tt><tt><tt><tt><tt> <tt>
</tt></tt><tt><tt><tt><tt>[<plotname>]
shape color <value></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt><br>
<tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt>
<tt> </tt></tt><tt><tt><tt><tt>[<plotname>]
smooth
[step|linear|cubic|quadratic|catrom]</tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt><br>
<tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt>
<tt>
</tt></tt><tt><tt><tt><tt>[<plotname>]
color
<value></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt><br>
<tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt>
<tt> </tt></tt><tt><tt><tt><tt>[<plotname>]
width
<value><br>
</tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt>
<tt> </tt></tt><tt><tt><tt><tt>[<plotname>]
dash [yes|no]</tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt><br>
<tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt>
<tt>
</tt></tt><tt><tt><tt><tt>[<plotname>]
error [yes|no]</tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt><br>
<tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt>
<tt> </tt></tt><tt><tt><tt><tt>[<plotname>]
error color
<value></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt><br>
<tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt>
<tt>
</tt></tt><tt><tt><tt><tt>[<plotname>]
error width
<value></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt><br>
<tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt>
<tt> </tt></tt><tt><tt><tt><tt>[<plotname>]
name
<string></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt><tt><tt><tt><tt><br>
# select current dataset<br>
</tt></tt></tt>-plot [<plotname>] select <value><br>
<br>
Example: <br>
</tt><tt><tt> </tt></tt><tt># create new empty plot window<br>
$ds9 -plot<br>
$ds9 -plot scatter<br>
$ds9 -plot new<br>
$ds9 -plot new bar<br>
$ds9 -plot new name foo<br>
$ds9 -plot new name foo scatter<br>
</tt><tt><tt><br>
$ds9 -plot load foo.dat xy # load new dataset with dimension
xy<br>
$ds9 -plot save bar.dat # save current dataset<br>
</tt></tt><tt><tt>$ds9 -plot clear # clear all datasets<br>
$ds9 -plot duplicate # duplicate current dataset<br>
$ds9 -plot stats # display current dataset statistics<br>
$ds9 -plot list # list current dataset<br>
</tt></tt><tt><tt>$ds9 -plot loadconfig foo.plt # load plot
configuration <br>
$ds9 -plot saveconfig bar.plt # save current plot
configuration<br>
</tt></tt><tt><tt>$ds9 -plot pagesetup orient portrait<br>
$ds9 -plot pagesetup size letter<br>
</tt></tt><tt><tt>$ds9 -plot print<br>
$ds9 -plot print destination file<br>
$ds9 -plot print command "lp"<br>
$ds9 -plot print filename "foo.ps"<br>
$ds9 -plot print color rgb<br>
</tt>$ds9 -plot close # close current plot<br>
</tt><tt><tt><br>
$ds9 -plot mode pointer</tt><br>
</tt><tt><br>
# configure plot<br>
</tt><tt>$ds9 -plot axis x grid yes<br>
$ds9 -plot axis x log yes</tt><br>
<tt>$ds9 -plot axis x flip yes</tt><tt><br>
</tt><tt><tt>$ds9 -plot axis x auto no<br>
$ds9 -plot axis x min 0<br>
$ds9 -plot axis x max 100<br>
</tt><tt><tt>$ds9 -plot axis x format {%f}<br>
</tt></tt>$ds9 -plot legend yes # show legend<br>
</tt><tt>$ds9 -plot legend position left</tt><tt><tt><tt><tt><br>
</tt></tt>$ds9 -plot font numbers font times<br>
$ds9 -plot font numbers size 12<br>
$ds9 -plot font numbers weight bold<br>
$ds9 -plot font numbers slant italic<br>
</tt></tt><tt>$ds9 -plot title {The Title}<br>
$ds9 -plot title x {X Axis}<br>
$ds9 -plot barmode aligned<br>
<br>
# configure current dataset<br>
</tt><tt>$ds9 -plot show yes<br>
$ds9 -plot shape circle<br>
</tt><tt><tt>$ds9 -plot shape fill no<br>
</tt></tt><tt><tt><tt>$ds9 -plot shape color cyan<br>
</tt></tt></tt><tt><tt>$ds9 -plot smooth step<br>
</tt>$ds9 -plot color red<br>
$ds9 -plot width 2<br>
$ds9 -plot dash yes<br>
$ds9 -plot error yes<br>
$ds9 -plot error color red</tt><br>
<tt>$ds9 -plot error width 2</tt><br>
<tt>$ds9 -plot name {My Data}</tt><br>
<tt><br>
# select current dataset<br>
$ds9 -plot select 2</tt>
<p><b><b><a name="png"></a></b>png</b></p>
<p>Load PNG image into current frame.<br>
</p>
<tt> Syntax:<br>
-png <filename><br>
<br>
Example: </tt><br>
<tt>$ds9 png foo.png</tt><tt><tt><tt><br>
</tt></tt>$cat foo.png | ds9 -png -</tt><tt><br>
</tt>
<p><b> <a name="port"></a>port</b></p>
<p>Set the IRAF port number, used by IRAF to communicate with DS9.
The default is 5137, the standard IRAF port used by <i>ximtool</i>.
</p>
<tt> Syntax: <br>
-port number <br>
<br>
Example: <br>
$ds9 -port 5137 </tt>
<p><b> <a name="port_only"></a>port_only<br>
inet_only</b></p>
<p>Only use the IRAF port number. This is the same as -fifo none
-unix none. </p>
<tt> Syntax: <br>
-port_only <br>
<br>
Example: <br>
$ds9 -port_only<br>
</tt>
<p><b> <a name="pow"></a>pow</b></p>
<p>Select power scale function for the current frame. </p>
<tt> Syntax: <br>
-pow <br>
<br>
Example: <br>
$ds9 -pow </tt>
<p><b> <a name="prefs"></a>prefs</b></p>
<p>Controls various preference settings. </p>
<tt> Syntax: <br>
-prefs [clear]<br>
[irafalign yes|no]<br>
<br>
Example: <br>
$ds9 -prefs clear<br>
$ds9 -prefs irafalign yes<br>
</tt>
<p><b><a name="preserve"></a>preserve</b> </p>
<p>Preserve the follow attributes while loading a new image. </p>
<tt> Syntax: <br>
preserve [pan yes|no]<br>
[regions yes|no]<br>
<br>
Example: <br>
$ds9 -preserve pan yes<br>
$ds9 -preserve regions yes<br>
</tt>
<p><b><a name="psprint"></a>psprint</b></p>
<p>Invokes postscript printing. Please see <a
href="file:///Users/joye/saods9/ds9/doc/ref/command.html#print">print</a>
for further details.</p>
<p><b><a name="print"></a>print</b></p>
<p>Controls printing. Use print option to set printing options.<br>
</p>
<tt> Syntax: <br>
-print [destination printer|file] <br>
[command <command>] <br>
[filename <filename>]
<br>
</tt><tt> [color
rgb|cmyk|gray] <br>
[level 1|2] <br>
[resolution
53|72|75|150|300|600] <br>
<br>
Example: <br>
$ds9 -print <br>
$ds9 -print destination file <br>
$ds9 -print command 'gv -' <br>
$ds9 -print filename foo.ps <br>
$ds9 -print color cmyk <br>
$ds9 -print level 2 <br>
$ds9 -print resolution 75 </tt>
<p><b> <a name="private"></a>private</b></p>
<p>use private colormap, valid for pseudocolor 8 mode. </p>
<tt> Syntax: <br>
-private <br>
<br>
Example: <br>
$ds9 -private </tt>
<p><b> <a name="raise"></a>raise</b></p>
<p>Raise in the window stacking order. </p>
<tt> Syntax: <br>
-raise <br>
<br>
Example: <br>
$ds9 -raise<br>
</tt>
<p><b> <a name="regions"></a>regions</b></p>
<p>Controls regions in the current frame. </p>
<tt> Syntax: <br>
-regions [<filename>]<br>
[load [all]
<filename>] <br>
[save
<filename>]<br>
[list [close]]<br>
[epsilon
<integer>]<br>
[show yes|no]<br>
[showtext yes|no]<br>
[centroid]<br>
[centroid auto
yes|no]<br>
[centroid
radius <value>|iteration <value>]<br>
[getinfo]<br>
[move front] <br>
[move back]<br>
[select all]<br>
[select none]<br>
[select invert]<br>
[delete all]<br>
[delete select]<br>
[format
ds9|xml|ciao|saotng|saoimage|pros|xy]<br>
[system
image|physical|wcs|wcsa...wcsz]<br>
[sky
fk4|fk5|icrs|galactic|ecliptic] <br>
[skyformat
degrees|sexagesimal]<br>
[strip yes|no]<br>
[shape
<shape>]<br>
[color
<color><br>
[width
<width>]<br>
</tt><tt>
[fixed|edit|rotate|delete yes|no]<br>
[include|exclude|source|background]</tt><br>
<tt> </tt><tt> [delim
[nl|<char>]]<br>
[command
<marker command>]<br>
[composite]<br>
[dissolve]<br>
[template
<filename>]<br>
[template
<filename> at <ra> <dec> <coordsys>
<skyframe>]<br>
[savetemplate
<filename>]<br>
</tt><tt> [group new]<br>
</tt><tt> [group
<tag> new]<br>
[group
<tag> update]<br>
</tt><tt> [group
<tag> select]<br>
</tt><tt> [group
<tag> color <color>] <br>
[group <tag>
copy] <br>
[group <tag>
delete] <br>
[group <tag>
cut]<br>
[group <tag>
font <font>] <br>
[group <tag>
move <int> <int>]<br>
[group <tag>
movefront] <br>
[group <tag>
moveback] <br>
[group <tag>
property <property> yes|no] <br>
[copy]<br>
[cut]<br>
[paste
image|physical|wcs|wcsa...wcsz]<br>
[undo]<br>
<br>
Example: <br>
$ds9 -regions foo.reg <br>
$ds9 -regions -format ciao bar.reg # load as ciao format<br>
$ds9 -regions foo.fits # FITS regions files do not need a format
specification<br>
$ds9 -regions load foo.reg # load foo.reg into current frame<br>
$ds9 -regions load all foo.reg # load foo.reg into all frames<br>
$ds9 -regions load '*.reg'# expand *.reg and load into current
frame<br>
$ds9 -regions load all '*.reg' # expand *.reg and load into all
frames<br>
$ds9 -regions save foo.reg<br>
$ds9 -regions list <br>
$ds9 -regions list close<br>
$ds9 -regions epsilon 5<br>
$ds9 -regions show yes<br>
$ds9 -regions showtext no<br>
$ds9 -regions centroid<br>
$ds9 -regions centroid auto yes<br>
$ds9 -regions centroid radius 10<br>
$ds9 -regions centroid iteration 20<br>
$ds9 -regions getinfo<br>
$ds9 -regions move back<br>
$ds9 -regions move front<br>
$ds9 -regions select all <br>
$ds9 -regions select none<br>
$ds9 -regions select invert<br>
$ds9 -regions delete all<br>
$ds9 -regions delete select<br>
$ds9 -regions format ds9 <br>
$ds9 -regions system wcs<br>
$ds9 -regions sky fk5 <br>
$ds9 -regions skyformat degrees <br>
$ds9 -regions delim nl <br>
$ds9 -regions strip yes<br>
$ds9 -regions shape ellipse <br>
$ds9 -regions color red <br>
$ds9 -regions width 3<br>
</tt><tt>$ds9 -regions edit yes<br>
$ds9 -regions include<br>
</tt><tt>$ds9 -regions command "circle 100 100 20 # color=red"<br>
$ds9 -regions composite<br>
$ds9 -regions dissolve<br>
$ds9 -regions template foo.tpl<br>
$ds9 -regions template foo.tpl at 13:29:55.92 +47:12:48.02 fk5<br>
$ds9 -regions savetemplate foo.tpl<br>
$ds9 -regions group new<br>
$ds9 -regions group foo new<br>
$ds9 -regions group foo update<br>
$ds9 -regions group foo select<br>
$ds9 -regions group foo color red<br>
$ds9 -regions group foo copy<br>
$ds9 -regions group foo delete<br>
$ds9 -regions group foo cut<br>
$ds9 -regions group foo font {times 14 bold}<br>
$ds9 -regions group foo move 100 100<br>
$ds9 -regions group foo movefront<br>
$ds9 -regions group foo moveback<br>
$ds9 -regions group foo property delete no<br>
$ds9 -regions copy<br>
$ds9 -regions cut<br>
$ds9 -regions paste wcs<br>
$ds9 -regions undo<br>
</tt>
<p><b><a name="red"></a>red</b></p>
<p>For RGB frames, sets the current color channel to red.</p>
<tt> Syntax:<br>
-red<br>
<br>
Example: <br>
$ds9 -red foo.fits<br>
</tt>
<p><b> <a name="restore"></a>restore</b></p>
<p>Restore DS9 to a previous state from a backup save set. </p>
<tt> Syntax: <br>
-restore <filename><br>
<br>
Example:<br>
$ds9 -restore ds9.bck</tt><br>
<p><b> <a name="rgb"></a>rgb</b></p>
<p>Create RGB frame and control RGB frame parameters.</p>
<tt> Syntax: <br>
-rgb []<br>
[red|green|blue]<br>
[channel [red|green|blue]]<br>
[view [red|green|blue] [yes|no]]<br>
[system <coordsys>]<br>
[lock
wcs|crop|slice|bin|scale|scalelimits|colorbar|block|smooth
[yes|no]]<br>
[open|close]<br>
<br>
Example: <br>
$ds9 -rgb # create new rgb frame<br>
$ds9 -rgb red # set current channel to red<br>
$ds9 -rgb channel red # set current channel to red<br>
$ds9 -rgb view blue no # turn off blue channel<br>
$ds9 -rgb system wcs # set rgb coordinate system<br>
</tt><tt>$ds9 -rgb lock wcs yes</tt><br>
<tt>$ds9 -rgb lock crop yes</tt><br>
<tt>$ds9 -rgb lock slice yes</tt><br>
<tt>$ds9 -rgb lock bin yes</tt><br>
<tt> $ds9 -rgb lock scale yes<br>
$ds9 -rgb lock scalelimits yes<br>
$ds9 -rgb lock colorbar yes<br>
$ds9 -rgb lock block yes<br>
$ds9 -rgb lock smooth yes<br>
$ds9 -rgb open<br>
$ds9 -rgb close<br>
</tt><br>
<p><b> <a name="rgbarray"></a>rgbarray</b></p>
<p>Load raw data array cube into rgb frame.<br>
</p>
<tt> Syntax:<br>
-rgbarray
<filename>[[xdim=<x>,ydim=<y>|dim=<dim>],[zdim=3],bitpix=<b>,skip=<s>,endian=[little|big]]<br>
<br>
Example: <br>
$ds9 -rgbarray foo.arr[dim=512,zdim=3,bitpix=-32,endian=little]</tt><br>
<tt>$cat foo.arr | ds9 -rgbarray
-[dim=512,zdim=3,bitpix=-32,endian=little]</tt><br>
<p><b> <a name="rgbcube"></a>rgbcube</b></p>
<p>Load FITS rgbcube into rgb frame.<br>
</p>
<tt> Syntax:<br>
-rgbcube <filename><br>
<br>
Example: <br>
$ds9 -rgbcube foo.fits</tt><tt><tt><br>
</tt>$cat foo.fits | ds9 -rgbcube -</tt><br>
<p><b> <a name="rgbimage"></a>rgbimage</b></p>
<p>Load FITS rgbimage into rgb frame.<br>
</p>
<tt> Syntax:<br>
-rgbimage <filename><br>
<br>
Example: <br>
$ds9 -rgbimage foo.fits</tt><tt><tt><br>
</tt>$cat foo.fits | ds9 -rgbimage -</tt> <br>
<p><b> <a name="rotate"></a>rotate</b></p>
<p>Controls the rotation angle (in degrees) of the current frame.
</p>
<tt> Syntax: <br>
-rotate [<value>] <br>
[to <value>] <br>
[open|close]<br>
<br>
Example: <br>
$ds9 -rotate 45 <br>
$ds9 -rotate to 30<br>
$ds9 -rotate open<br>
$ds9 -rotate close<br>
</tt>
<p><b><a name="samp"></a>samp</b></p>
<p>Configure SAMP protocol. </p>
<tt> Syntax: <br>
-samp [yes|no|connect|disconnect] <br>
[broadcast [image|table]]<br>
[send [image|table]
<application>]<br>
<br>
Example: <br>
$ds9 -samp yes<br>
</tt><tt><tt>$ds9 -samp connect<br>
</tt>$ds9 -samp broadcast image<br>
$ds9 -samp send image aladin</tt><br>
<p><b> <a name="save"></a>save<br>
</b></p>
<p>Save loaded image data of current frame as FITS.</p>
<tt> Syntax: <br>
-save </tt><tt>[fits|rgbimage|rgbcube|mecube|mosaic|mosaicimage]
<filename> [image|table|slice]</tt> <br>
<tt> <br>
Example: <br>
$ds9 -save foo.fits</tt><br>
<tt>$ds9 -save fits foo.fits image</tt><br>
<tt>$ds9 -save fits foo.fits table<br>
$ds9 -save fits foo.fits slice</tt><br>
<tt>$ds9 -save rgbimage foo.fits<br>
</tt><tt>$ds9 -save rgbcube foo.fits</tt><br>
<tt>$ds9 -save mecube foo.fits</tt><br>
<tt>$ds9 -save mosaic foo.fits</tt><br>
<tt>$ds9 -save mosaicimage foo.fits</tt><br>
<p><b> <a name="saveimage"></a>saveimage</b></p>
<p>Create a snap shot of the current DS9 window and save in
specified image format. If no format specified, the file name
extension is used to determine the output format. Optional
parameters: <tt>jpeg</tt> quality (1-100) and <tt>tiff</tt>
compression method. </p>
<tt> Syntax: <br>
-saveimage </tt><tt>[fits|eps|gif|tiff|jpeg|png] </tt><tt><filename><br>
-saveimage <filename>.jpeg [1-100]<br>
-saveimage <filename>.tiff [none|jpeg|packbits|deflate]<br>
<br>
Example: <br>
$ds9 -saveimage ds9.tiff<br>
$ds9 -saveimage jpeg ds9.jpeg 75</tt><tt><br>
</tt>
<p><b> <a name="scale"></a>scale</b></p>
<p>Controls the limits and color scale distribution. </p>
<tt> Syntax: <br>
-scale [linear|log|pow|sqrt|squared|asinh|sinh|histequ]<br>
[log exp <value>] <br>
[datasec yes|no] <br>
[limits <minvalue>
<maxvalue>] <br>
[mode
minmax|<value>|zscale|zmax] <br>
[scope local|global] <br>
[match]<br>
[match limits]<br>
[lock [yes|no]]<br>
[lock limits [yes|no]]<br>
[open|close]<br>
<br>
Example: <br>
$ds9 -scale linear<br>
$ds9 -scale log exp 100<br>
$ds9 -scale datasec yes <br>
$ds9 -scale histequ <br>
$ds9 -scale limits 1 100 <br>
$ds9 -scale mode zscale <br>
$ds9 -scale mode 99.5 <br>
$ds9 -scale scope local<br>
$ds9 -scale match<br>
$ds9 -scale match limits<br>
$ds9 -scale lock yes<br>
$ds9 -scale lock limits yes<br>
$ds9 -scale open<br>
$ds9 -scale close</tt><tt><br>
</tt>
<p><b> <a name="shm"></a>shm</b></p>
<p>Load a shared memory segment into the current frame. </p>
<tt> Syntax: <br>
-shm [<key> [<filename>]] <br>
[key <id> [<filename>]] <br>
[shmid <id> [<filename>]]<br>
[fits [key|shmid] <id>
[<filename>]]<br>
[mosaicimage
[iraf|wcs|wcsa...wcsz|wfpc2] [key|shmid] <id>
[<filename>]]<br>
[mosaicimagenext [wcs|wcsa...wcsz]
[key|shmid] <id> [<filename>]]<br>
[mosaic [iraf|wcs|wcsa...wcsz]
[key|shmid] <id> [<filename>]]<br>
[rgbcube [key|shmid] <id>
[<filename>]]<br>
[rgbimage [key|shmid] <id>
[<filename>]]<br>
[rgbarray [key|shmid] <id>
[xdim=<x>,ydim=<y>|dim=<dim>,zdim=3],bitpix=<b>,[skip=<s>]]<br>
[array [key|shmid] <id>
[xdim=<x>,ydim=<y>|dim=<dim>],bitpix=<b>,[skip=<s>]]<br>
<br>
Example: <br>
$ds9 -shm 102 <br>
$ds9 -shm key 102 <br>
$ds9 -shm shmid 102 foo<br>
$ds9 -shm fits 100 foo<br>
$ds9 -shm mosaicimage iraf key 100 foo <br>
$ds9 -shm mosaicimage wcs key 100 foo <br>
$ds9 -shm mosaicimage wcsa key 100 foo <br>
$ds9 -shm mosaicimage wfpc2 key 100 foo <br>
$ds9 -shm mosaicimagenext wcs key 100 foo <br>
$ds9 -shm mosaic iraf key 100 foo<br>
$ds9 -shm mosaic wcs key 100 foo<br>
$ds9 -shm rgbcube key 100 foo<br>
$ds9 -shm rgbimage key 100 foo<br>
$ds9 -shm rgbarray shmid 102 [dim=32,zdim=3,bitpix=-32]<br>
$ds9 -shm array shmid 102 [dim=32,bitpix=-32]<br>
</tt>
<p><b> <a name="sia"></a>sia<br>
</b></p>
<p>Support for VO Simple Image Access protocol. The first command
will create a new search. All other commands operated on the
last search created, unless indicated otherwise.</p>
<tt> Syntax: <br>
</tt><tt>-sia </tt><tt><tt>[2mass|akari|astrowise|cadc|cxc|mast|sdss|skyview|tgssadr</tt><tt>]</tt><br>
<br>
</tt><tt> </tt><tt> </tt><tt>
[<ref>] [cancel]<br>
</tt><tt> [<ref>] [clear]<br>
</tt><tt> [<ref>] [close]</tt><br>
<tt> [<ref>] [coordinate <ra>
<dec> <coordsys>]</tt><tt><br>
</tt><tt> </tt><tt>[<ref>]
[crosshair]</tt><br>
<tt> [<ref>] [export sb|tsv
<filename>]<br>
</tt><tt> [<ref>] [name <object>]<br>
</tt><tt> [<ref>] [print]</tt><br>
<tt> [<ref>] [retrieve]<br>
</tt><tt> [<ref>] [save
<filename>]</tt><br>
<tt> [<ref>] [size <width>
<height> degrees|arcmin|arcsec]</tt><br>
<tt> </tt><tt> [<ref>] [sky
<skyframe>]<br>
</tt><tt> [<ref>] [skyformat
<skyformat>]<br>
</tt><tt> [<ref>] [system
<coordsys>]</tt><tt><br>
</tt><tt> </tt><tt>[<ref>] [update]</tt><br>
<tt><br>
Example:<br>
</tt><tt>$ds9 -sia 2mass<br>
</tt><tt>$ds9 -sia cancel<br>
</tt><tt>$ds9 -sia clear<br>
</tt><tt>$ds9 -sia close<br>
</tt><tt>$ds9 -sia coordinate 202.48 47.21 fk5<br>
</tt><tt>$ds9 -sia crosshair<br>
</tt><tt>$ds9 -sia export tsv bar.tsv<br>
</tt><tt>$ds9 -sia name m51<br>
</tt><tt>$ds9 -sia print</tt><br>
<tt>$ds9 -sia retrieve<br>
</tt><tt> $ds9 -sia save foo.xml<br>
</tt><tt>$ds9 -sia size 1 1 degrees</tt><br>
<tt>$ds9 -sia sky fk5<br>
$ds9 -sia skyformat degrees<br>
</tt><tt>$ds9 -sia system wcs</tt><tt><br>
</tt><tt>$ds9 -sia update<br>
<br>
</tt><b><a name="single"></a>single</b>
<p>Set display mode to single. </p>
<tt> Syntax: <br>
-single <br>
<br>
Example: <br>
$ds9 -single<br>
</tt>
<p><b><a name="skyview"></a>skyview </b></p>
<p>Support for SkyView image server at HEASARC. </p>
<tt> Syntax: <br>
-skyview []<br>
[<object>]<br>
[name
<object>]<br>
[coord
<ra> <dec> degrees|sexagesimal] # in wcs fk5<br>
[size
<width> <height> degrees|arcmin|arcsec]<br>
[pixels
<width> <height>]<br>
[save yes|no]<br>
[frame
new|current]<br>
[update
frame|crosshair]<br>
[survey <survey>] <br>
[open|close]<br>
<br>
Example:<br>
$ds9 -skyview<br>
$ds9 -skyview m31 <br>
$ds9 -skyview name m31 <br>
$ds9 -skyview coord 00:42:44.404 +41:16:08.78 sexagesimal<br>
$ds9 -skyview size 60 60 arcmin<br>
$ds9 -skyview pixels 600 600<br>
$ds9 -skyview save yes<br>
$ds9 -skyview frame current<br>
$ds9 -skyview update frame <br>
$ds9 -skyview survey sdssi<br>
$ds9 -skyview open<br>
$ds9 -skyview close<br>
</tt>
<p><b><a name="sleep"></a>sleep </b></p>
<p>Delays execution for specified number of seconds. Default is 1
second.</p>
<tt> Syntax: <br>
-sleep [#]<br>
<br>
Example:<br>
$ds9 -sleep <br>
$ds9 -sleep 2<br>
</tt>
<p><b> <a name="slice"></a>slice<br>
noslice<br>
</b></p>
<p>Indicates next files loaded are to treated as slices of a cube.
Can be disabled with <tt>noslice</tt> command.<br>
</p>
<tt> Syntax: <br>
-slice <filename><br>
-noslice<br>
<br>
Example: <br>
$ds9 -slice *.fits<br>
$ds9 -noslice<br>
</tt>
<p><b><a name="smooth"></a>smooth</b></p>
<p>Smooth current image or set smooth parameters.</p>
<tt> Syntax:<br>
-smooth []<br>
[yes|no]<br>
[function
boxcar|tophat|gaussian]<br>
[radius <int>]<br>
[open|close]<br>
[match]<br>
[lock [yes|no]]<br>
<br>
Example:<br>
$ds9 -smooth<br>
$ds9 -smooth yes<br>
$ds9 -smooth function tophat<br>
$ds9 -smooth radius 4<br>
$ds9 -smooth open<br>
$ds9 -smooth close<br>
$ds9 -smooth match<br>
$ds9 -smooth lock yes<br>
</tt>
<p><b> <a name="squared"></a>squared</b></p>
<p>Select squared scale function for the current frame. </p>
<tt> Syntax: <br>
-squared <br>
<br>
Example: <br>
$ds9 -squared </tt>
<p><b> <a name="sqrt"></a>sqrt</b></p>
<p>Select square soot scale function for the current frame. </p>
<tt> Syntax: <br>
-sqrt <br>
<br>
Example: <br>
$ds9 -sqrt </tt>
<p><b> <a name="source"></a>source</b></p>
<p>Source TCL code from a file. </p>
<tt> Syntax: <br>
-source <filename><br>
<br>
Example: <br>
$ds9 -source extensions.tcl<br>
</tt>
<p><b> <a name="tcl"></a>tcl</b></p>
<p>Execute one TCL command. Note: this a different behavior from
previous versions of DS9.<br>
</p>
<tt> Syntax:<br>
-tcl <tcl command><br>
<br>
Example: <br>
$ds9 -tcl 'puts "Hello, World"'</tt><br>
<p><b> <a name="threads"></a>threads</b></p>
<p>Set number of process threads for functions which are
multi-threaded. </p>
<tt> Syntax:<br>
-threads #<br>
<br>
Example: <br>
$ds9 -threads 8</tt><br>
<br>
<b><a name="tiff"></a>tiff</b><br>
<p>Load TIFF image into current frame.<br>
</p>
<tt> Syntax:<br>
-tiff <filename><br>
<br>
Example: <br>
</tt><tt>$ds9 -tiff foo.tiff</tt><tt><tt><tt><tt><br>
</tt></tt> </tt></tt><tt><tt>$cat foo.fits | ds9 -tiff -</tt></tt><tt><br>
</tt>
<p><b> <a name="tile"></a>tile</b></p>
<p>Controls the tile display mode. </p>
<tt> Syntax: <br>
-tile []<br>
[yes|no] <br>
[mode grid|column|row] <br>
[grid] <br>
[grid mode automatic|manual] <br>
[grid direction x|y]<br>
[grid layout <col>
<row>] <br>
[grid gap <pixels>] <br>
[row] <br>
[column] <br>
<br>
Example: <br>
$ds9 -tile <br>
$ds9 -tile yes <br>
$ds9 -tile mode row <br>
$ds9 -tile grid <br>
$ds9 -tile grid mode manual<br>
$ds9 -tile grid direction x <br>
$ds9 -tile grid layout 5 5 <br>
$ds9 -tile grid gap 10 <br>
$ds9 -tile row <br>
$ds9 -tile column </tt>
<p><b> <a name="title"></a>title</b></p>
<p>Changes the display window title to the specified name. </p>
<tt> Syntax: <br>
-title name <br>
<br>
Example: <br>
$ds9 -title Voyager </tt>
<p><b> <a name="unix"></a>unix</b></p>
<p>Set the IRAF unix socket name, used by IRAF to communicate with
DS9. The default is /tmp/.IMT%d, so that the standard IRAF unix
socket is defined. </p>
<tt> Syntax: <br>
-unix name <br>
<br>
Example: <br>
$ds9 -unix "/tmp/.IMT%d" </tt>
<p><b> <a name="unix_only"></a>unix_only</b></p>
<p>Only use the IRAF unix socket name. This is the same as -fifo
none -port 0. </p>
<tt> Syntax: <br>
-unix_only <br>
<br>
Example: <br>
$ds9 -unix_only<br>
</tt>
<p><b> <a name="update"></a>update</b></p>
<p>Updates the current frame or region of frame. In the second
form, the first argument is the number of the fits HDU (starting
with 1) and the remaining args are a bounding box in IMAGE
coordinates. By default, the screen is updated the next
available idle cycle. However, you may force an immediate update
by specifying the NOW option. </p>
<tt> Syntax: <br>
-update [] <br>
[# x1 y1 x2 y2]<br>
[now] <br>
[now # x1 y1 x2 y2]<br>
<br>
Example: <br>
$ds9 -update <br>
$ds9 -update 1 100 100 300 400 <br>
$ds9 -update now <br>
$ds9 -update now 1 100 100 300 400</tt><br>
<p><b> <a name="url"></a>url</b></p>
<p>Load FITS from URL into the current frame</p>
<tt> Syntax: <br>
-url <url><br>
<br>
Example: <br>
$ds9 -url http://foo.bar.edu/foo.fits</tt><tt> </tt>
<p><b> <a name="version"></a>version</b></p>
<p>Returns the current version of DS9 and exits. </p>
<tt> Syntax: <br>
-version <br>
<br>
Example: <br>
$ds9 -version </tt>
<p><b> <a name="view"></a>view</b></p>
<p>Controls the GUI and visible RGB frame color channels. </p>
<tt> Syntax: <br>
-view [layout horizontal|vertical]<br>
[keyvalue <string>]<br>
[info yes|no] <br>
[panner yes|no] <br>
[magnifier yes|no] <br>
[buttons yes|no] <br>
[colorbar yes|no]<br>
[graph horizontal|vertical
yes|no]<br>
[filename yes|no]<br>
[object yes|no]<br>
[keyword yes|no]<br>
[minmax yes|no]<br>
[lowhigh yes|no]<br>
[units yes|no]<br>
[image|physical|wcs|wcsa...wcsz
yes|no]<br>
</tt><tt><tt><tt> [frame yes|no] <br>
</tt></tt> [red yes|no]<br>
[green yes|no]<br>
[blue yes|no]</tt><tt><tt><br>
</tt> <br>
Example: <br>
$ds9 -view layout vertical<br>
$ds9 -view keyvalue BITPIX<br>
$ds9 -view info yes<br>
$ds9 -view panner yes<br>
$ds9 -view magnifier yes<br>
$ds9 -view buttons yes<br>
$ds9 -view colorbar yes<br>
$ds9 -view graph horizontal yes<br>
$ds9 -view filename yes<br>
$ds9 -view object yes<br>
$ds9 -view keyword yes<br>
$ds9 -view minmax yes<br>
$ds9 -view lowhigh yes<br>
$ds9 -view wcsa yes<br>
</tt><tt>$ds9 -view frame yes</tt><br>
<tt>$ds9 -view red yes<br>
$ds9 -view green yes<br>
$ds9 -view blue yes</tt><tt><br>
</tt>
<p><b> <a name="visual"></a>visual</b></p>
<p>Force DS9 to use the specified color visual. This argument MUST
be the first argument listed. Requires the visual be available.
</p>
<tt> Syntax: <br>
-visual
[pseudocolor|pseudocolor8|truecolor|truecolor8|truecolor16|truecolor24]
<br>
Example: <br>
$ds9 -visual truecolor24<br>
</tt>
<p><b> <a name="vla"></a>vla</b></p>
<p>Support for VLA Sky Survey.</p>
<tt> Syntax: <br>
-vla []<br>
[<object>]<br>
[name <object>]<br>
[coord <ra>
<dec> degrees|sexagesimal] # in wcs fk5<br>
[size <width>
<height> degrees|arcmin|arcsec]<br>
[save yes|no]<br>
[frame new|current]<br>
[update frame|crosshair]<br>
[survey first|stripe82]<br>
[open|close]<br>
<br>
Example:<br>
$ds9 -vla<br>
$ds9 -vla m31 <br>
$ds9 -vla name m31 <br>
$ds9 -vla coord 00:42:44.404 +41:16:08.78 sexagesimal<br>
$ds9 -vla size 60 60 arcmin<br>
$ds9 -vla save yes<br>
$ds9 -vla frame current<br>
$ds9 -vla update frame<br>
$ds9 -vla survey stripe82<br>
$ds9 -vla open<br>
$ds9 -vla close</tt><br>
<p><b> <a name="vlss"></a>vlss</b></p>
<p>Support for NRAO VLSS Sky Survey.</p>
<tt> Syntax: <br>
-vlss []<br>
[<object>]<br>
[name <object>]<br>
[coord <ra> <dec>
degrees|sexagesimal] # in wcs fk5<br>
[size <width>
<height> degrees|arcmin|arcsec]<br>
[save yes|no]<br>
[frame new|current]<br>
[update frame|crosshair]<br>
[open|close]<br>
<br>
Example:<br>
$ds9 -vlss<br>
$ds9 -vlss m31 <br>
$ds9 -vlss name m31 <br>
$ds9 -vlss coord 00:42:44.404 +41:16:08.78 sexagesimal<br>
$ds9 -vlss size 60 60 arcmin<br>
$ds9 -vlss save yes<br>
$ds9 -vlss frame current<br>
$ds9 -vlss update frame<br>
$ds9 -vlss open<br>
$ds9 -nvess close</tt>
<p><b> <a name="vo"></a>vo</b></p>
<p>Invoke an connection to a Virtual Observatory site. </p>
<tt> Syntax: <br>
-vo [method xpa|mime]<br>
[server <url>]<br>
[internal yes|no]<br>
[delay #]<br>
[<url>]<br>
[connect <url>]<br>
[disconnect <url>]<br>
[open|close]<br>
<br>
Example:<br>
$ds9 -vo method xpa<br>
$ds9 -vo server "http://foo.bar.edu/list.txt"<br>
$ds9 -vo internal yes<br>
$ds9 -vo delay 15 # keep-alive delay<br>
$ds9 -vo chandra-ed<br>
$ds9 -vo connect chandra-ed<br>
$ds9 -vo disconnect chandra-ed<br>
$ds9 -vo open<br>
$ds9 -vo close<br>
</tt>
<p><b> <a name="wcs"></a>wcs</b></p>
<p>Controls the World Coordinate System for the current frame. If
the wcs system, skyframe, or skyformat is modified, the info
panel, compass, grid, and alignment will be modified
accordingly. Also, a new WCS specification can be loaded and
used by the current image regardless of the WCS that was
contained in the image file. Please see <a href="file.html#WCS">WCS</a>
for more information. </p>
<tt> Syntax: <br>
-wcs [[system] wcs|wcsa...wcsz] <br>
[[sky] fk4|fk5|icrs|galactic|ecliptic]
<br>
[[skyformat] degrees|sexagesimal] <br>
[align yes|no] <br>
[reset [#]] <br>
[replace [#] <filename>] <br>
[append [#] <filename>] <br>
[open|close]<br>
<br>
Example: <br>
$ds9 -wcs wcs <br>
$ds9 -wcs system wcs<br>
</tt><tt>$ds9 -wcs fk5 <br>
</tt><tt>$ds9 -wcs sky fk5 <br>
</tt><tt>$ds9 -wcs sexagesimal <br>
</tt><tt>$ds9 -wcs skyformat sexagesimal <br>
$ds9 -wcs align yes <br>
$ds9 -wcs reset <br>
$ds9 -wcs reset 3<br>
$ds9 -wcs replace foo.wcs <br>
$ds9 -wcs replace 3 foo.wcs <br>
$ds9 -wcs append foo.wcs<br>
$ds9 -wcs append 3 foo.wcs<br>
$ds9 -wcs open<br>
$ds9 -wcs close<br>
</tt>
<p><b> <a name="web"></a>web</b></p>
<p>Display specified URL in the web display. </p>
<tt> Syntax:<br>
-web [new|<webname>] [<url>]<br>
[<webname>] [click
back|forward|stop|reload|#]<br>
[<webname>] [clear]<br>
[<webname>] [close]<br>
<br>
Example: <br>
$ds9 -web www.cnn.com<br>
$ds9 -web new www.cnn.com<br>
$ds9 -web hvweb www.apple.com<br>
$ds9 -web click back<br>
$ds9 -web click 2<br>
$ds9 -web clear<br>
$ds9 -web close<br>
</tt>
<p><b> <a name="width"></a>width</b></p>
<p>Set the width of the image display window. Use the <a
href="command.html#geometry">geometry</a> command to set the
overall width and height of the ds9 window.</p>
<tt> Syntax: <br>
-width [<value>]<br>
<br>
Example: <br>
$ds9 -width 512<br>
</tt>
<p><b> <a name="xpa"></a>xpa</b></p>
<p>Configure XPA.</p>
<tt> Syntax:<br>
-xpa [yes|no] <br>
[inet|local|unix|localhost] <br>
[noxpans]<br>
[connect]<br>
[disconnect]<br>
[info]<br>
<br>
Example: <br>
$ds9 -xpa no <br>
$ds9 -xpa local <br>
$ds9 -xpa noxpans<br>
$ds9 -xpa connect<br>
$ds9 -xpa disconnect<br>
$ds9 -xpa info<br>
</tt>
<p><b> <a name="zmax"></a>zmax</b></p>
<p>Set Scale Limits based on the <i>IRAF</i> algorithm and
maximum data value. </p>
<tt> Syntax: <br>
-zmax <br>
<br>
Example: <br>
$ds9 -zmax </tt>
<p><b> <a name="zscale"></a>zscale</b></p>
<p>Set Scale Limits based on the <i>IRAF</i> algorithm. </p>
<tt> Syntax: <br>
-zscale []<br>
[contrast]<br>
[sample]<br>
[line]<br>
<br>
Example: <br>
$ds9 -zscale<br>
$ds9 -zscale contrast .25<br>
$ds9 -zscale sample 600<br>
$ds9 -zscale line 120<br>
</tt>
<p><b> <a name="zoom"></a>zoom</b></p>
<p>Controls the current zoom value for the current frame. </p>
<tt> Syntax: <br>
-zoom [<value>]<br>
[<value> <value>]<br>
[to <value>]<br>
[to <value> <value>]
<br>
[in]<br>
[out]<br>
[to fit] <br>
[open|close]<br>
<br>
Example: <br>
$ds9 -zoom 2<br>
$ds9 -zoom 2 4<br>
$ds9 -zoom to 4<br>
$ds9 -zoom to 2 4 <br>
$ds9 -zoom in<br>
$ds9 -zoom out<br>
$ds9 -zoom to fit<br>
$ds9 -zoom open<br>
$ds9 -zoom close<br>
<br>
</tt> </blockquote>
</body>
</html>
|