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
|
%% Don't forget to change the paper format in the next line
%
% $Id: faq-ja.tex,v 1.6 2012/05/16 22:24:12 markisch Exp $
% translated to Japanese by Shigeharu TAKENO
% Original: Id: faq.tex,v 1.48 2012/03/02 17:50:40 sfeam Exp
%
% : gnuplot-4.6 ˤϡ1.48 (2012/03/02) FAQ.pdf Ʊ ?
%
%%% \documentclass[a4paper,11pt]{article}
\documentclass[a4paper,11pt]{jarticle}
%% end Japanese
\usepackage[margin=2cm]{geometry}
\usepackage[T1]{fontenc}
%\usepackage[hyphens,T1]{url}
\usepackage[hyphens]{url}
\ifx\pdfoutput\undefined
% latex or latex2html output
\usepackage{times,mathptmx}
\usepackage[
hypertex,
hyperindex,
bookmarks,
bookmarksnumbered=true,
pdftitle={gnuplot faq},
pdfauthor={gnuplot},
pdfsubject={see www.gnuplot.info}
% , pdfcreator={}
% , pdfkeywords={...}
]{hyperref}
\else % *** pdflatex output
\usepackage{times,mathptmx}
\usepackage[
% pdftex,
hyperindex,
bookmarks,
bookmarksnumbered=true,
pdftitle={gnuplot faq},
pdfauthor={gnuplot},
pdfsubject={see www.gnuplot.info}
% , pdfcreator={}
% , pdfkeywords={...}
]{hyperref}
\fi
% There may be incompatibilities between different versions of
% url.sty, html.sty and hyperref.sty -- it seems there are machines which
% cannot combine them together with simultaneous output to dvi, pdf, html.
% Thus do it this way:
\ifx\html\undefined
% Not running this file by latex2html:
\def\http#1{\href{http://#1}{\url{#1}}}
\def\mailto#1{\href{mailto://#1}{\url{#1}}}
\def\news#1{\href{news://#1}{\url{#1}}}
%%% \def\ftp#1#2{\href{ftp://#1#2}{\url{#1} in \url{#2}}}
\def\ftp#1#2{\href{ftp://#1#2}{\url{#1} \url{#2}}}
%% end Japanese
\else
% Running this file by latex2html:
\usepackage{html}
% \html{
\newcommand{\news}[1]%
{\def~{\~{}}\htmladdnormallink{\latex{\url{#1}}\html{\texttt{#1}}}%
{news:#1}%
}
\newcommand{\ftp}[2]%
%%% {\htmladdnormallink{\latex{\url{#1}{} in \url{#2}}%
%%% \html{\texttt{#1} in \texttt{#2}}}%
{\htmladdnormallink{\latex{\url{#1}{} \url{#2}}%
\html{\texttt{#1} \texttt{#2}}}%
%% end Japanese
{ftp://#1#2}%
}
\newcommand{\mailto}[1]%
{\htmladdnormallink{\latex{\url{<#1>}}\html{\texttt{#1}}}%
{mailto:#1}%
}
\newcommand{\http}[1]%
{\htmladdnormallink{\latex{\url{http://#1}}%
\html{\texttt{http://#1}}}%
{http://#1}%
}
% }
\fi
% comments and discussions:
% version 1.4 dated 99/10/07
% am: comment out obviously outdated stuff and wait for complaints
% jvh: re: I accept
% hbb: need expires and posting-frequency headers
% jvh: re: expires is ok, but I still post it manually so
% I've got to see how I could get the posting frequency header
% am: shouldn't we have document release and date in the title
% jvh: re: I guess it would overload the title. I would
% accept the inclusion into 0.1. I still hope that
% the FAQ will experience a slightly lower release
% cycle in the near future :)
%
\newcommand{\gnuplot}{\textbf{gnuplot}}
\newcommand{\Gnuplot}{\textbf{Gnuplot}}
\begin{document}
\title{\gnuplot{} FAQ}
\author{}
\date{}
\maketitle
% This document deals with \gnuplot{} version 4.4 which is the
% latest official release as of \today. References to bug-fix
% versions or (recent) beta versions are explicitly marked.
\noindent
%%% This document deals with \gnuplot{} version 4.6 which is the
%%% latest official release as of March 2012.
ʸǤϡ2012 ǯ 3 ˥줿 \gnuplot{} ǿǤǤ %
version 4.6 갷äƤޤ
%% end Japanese
\\
%%% Its version is
%%% \verb+Revision: 1.48 +, dated
%%% \verb+Date: 2012/03/02 17:50:40 +.
% <== \verb++ ¦ $ ĤƤ
ʸΥС %
\verb+$+\verb+Revision: 1.48 $+,
\verb+$+\verb+Date: 2012/03/02 17:50:40 $+ Ǥ
% ٹʤ RCS ˽Ƥޤ
\tableofcontents
\setcounter{section}{-1}
%%% \section{Meta -- Questions}
\section{ʼ}
%%% \subsection{Where do I get this document?}
\subsection{ΥɥȤϤɤǼޤ}
%%% The newest version of this document is on the web at
%%% \http{www.gnuplot.info/faq/}.
ΥɥȤκǿǤ %
\http{www.gnuplot.info/faq/} %
Web ˤޤ
%%% %This document was/is posted sometimes to the newsgroups
%%% %\news{comp.graphics.apps.gnuplot}.
%ʸϡ˥塼롼 %
%\news{comp.graphics.apps.gnuplot} ˤƤƤޤ/ޤ
%%% \subsection{Where do I send comments about this document?}
\subsection{ΥɥȤ˴ؤ륳ȤϤɤɤǤ}
%%% Send comments, suggestions etc via email to the developer mailing list
%%% \mailto{gnuplot-beta@lists.sourceforge.net}.
%%% Please contribute your suggestions with respect to the file \verb+faq.tex+
%%% available from
%%% \http{gnuplot.cvs.sourceforge.net/viewvc/gnuplot/faq/}.
ȡŻҥdzȯԸꥹ %
\mailto{gnuplot-beta@lists.sourceforge.net} äƤ
\verb+faq.tex+ ˴ؤƤΥե %
\http{gnuplot.cvs.sourceforge.net/viewvc/gnuplot/faq/} %
ˤޤ
%%% \section{General Information}
\section{Ūʼ}
%%% \subsection{What is \gnuplot?}
\subsection{\gnuplot{} ȤϲǤ}
%%% \gnuplot{} is a command-driven interactive function plotting
%%% program. It can be used to plot functions and data points in
%%% both two- and three-dimensional plots in many different
%%% formats. It is designed primarily for the visual display of
%%% scientific data.
\gnuplot{} ϥޥɶư÷ؿץǤؿ衢
ӥǡ 2 3 ξǡ
͡ʰۤʤǹԤȤǤޤ
ϼ˲ʳŪʥǡɽΤȤ߷פƤޤ
%% end Japanese
%%% \gnuplot{} is copyrighted, but freely distributable;
%%% you don't have to pay for it.
\gnuplot{} ݸƤޤͳۤǤ
ʧɬפϤޤ
%%% \subsection{How did it come about and why is it called \gnuplot?}
\subsection{ϤɤơƤʤ \gnuplot{} ȸƤФƤΤǤ}
%%% The authors of \gnuplot{} are:
%%% Thomas Williams, Colin Kelley, Russell Lang, Dave Kotz, John
%%% Campbell, Gershon Elber, Alexander Woo and many others.
\gnuplot{} κԤ Thomas Williams, Colin Kelley, Russell Lang,
Dave Kotz, John Campbell, Gershon Elber, Alexander Woo
¿ζϼԤǤ
%%% The following quote comes from Thomas Williams:
ʲ Thomas Williams ˤޤ:
%% end Japanese
\begin{quote}
%%% I was taking a differential equation class and Colin was taking
%%% Electromagnetics, we both thought it'd be helpful to visualize the
%%% mathematics behind them. We were both working as sys admin for an
%%% EE VLSI lab, so we had the graphics terminals and the time to do
%%% some coding. The posting was better received than we expected, and
%%% prompted us to add some, albeit lame, support for file data.
ʬιֵ Colin żؤιֵäƤơ
2 ͤȤ⤽˴ؤؤвǤФʤȹͤƤޤ
ãϤ EE (Engineering Electronics) VLSI
ƥԤȤƯƤơơ
եåüȥǥԤʤ֤ޤ
Ƥϲ桹δʾɤ졢ơԴǤ
եǡ˴ؤ뤤ĤΥݡȤ˲桹ΩƤޤ
%%% Any reference to GNUplot is incorrect. The real name of the program
%%% is "\gnuplot". You see people use "\Gnuplot" quite a bit because many
%%% of us have an aversion to starting a sentence with a lower case
%%% letter, even in the case of proper nouns and titles. \gnuplot{} is not
%%% related to the GNU project or the FSF in any but the most
%%% peripheral sense. Our software was designed completely
%%% independently and the name "\gnuplot" was actually a compromise. I
%%% wanted to call it "llamaplot" and Colin wanted to call it "nplot."
%%% We agreed that "newplot" was acceptable but, we then discovered
%%% that there was an absolutely ghastly pascal program of that name
%%% that the Computer Science Dept.\ occasionally used. I decided that
%%% "\gnuplot" would make a nice pun and after a fashion Colin agreed.
GNUplot ȤҲϤɤʤΤϤޤ
Υץ̾ "\gnuplot" Ǥ
֤ "\Gnuplot" ȽƤΤǤ礦
ϲ桹Ⱦͭ̾䥿ȥǤäƤ⡢
ʸϤʸdzϤ뤳Ȥ˷äƤ뤫Ǥ
\gnuplot{} GNU ץȤ FSF Ȥϡ
ˤ鷺ΰ̣оطޤ
桹ΥեȥϴΩ˥ǥ줿Τǡ
"\gnuplot" Ȥ̾ϼ¤ŶˤΤǤ
"llamaplot" ȸƤӤä
Colin "nplot" ȸƤӤäΤǤ
ơ桹 "newplot" ȤȤǹդޤ
ΤȤ̾ġŪˤޤ Pascal Υץ
ʳǤޤ˻ȤäƤ뤳ȤΤޤ
ǻ "\gnuplot" 碌ˤʤȤơ
Colin ⤽ƱդΤǤ
%% end Japanese
\end{quote}
%%% \subsection{What does \gnuplot{} offer?}
\subsection{\gnuplot{} ϲƤޤ}
\begin{itemize}
%%% \item Plotting two-dimensional functions and data points in many
%%% different styles (points, lines, error bars)
%%% \item Plotting three-dimensional data points and surfaces in
%%% many different styles (contour plot, mesh)
%%% \item Algebraic computation in integer, float and complex arithmetic
%%% \item User-defined functions and hot-keys
%%% \item Support for a large number of operating systems, graphics
%%% file formats and output devices
%%% \item Extensive on-line help
%%% \item \TeX{}-like text formatting for labels, titles, axes, data points
%%% \item Interactive command line editing and history (most platforms)
\item 2 ǤδؿǡΡΥ (ޤɽ) %
ˤ
\item 3 ǤΥǡ̤ΤΥ (衢֤) %
ˤ
\item ¿ʣǿǤ黻
\item ؿۥåȥǽ
\item ¿Υڥ졼ƥƥࡢ¿Υեåեϡ
¿ν֤Υݡ
\item ϰϤˤ錄륪饤إ
\item ٥롢ȥ롢ǡؤ \TeX{} 饤ʽˤ븫Фդ
\item ÷ϷΥǥåȵǽȥҥȥ () ǽΥݡ %
(¿Υץåȥۡ)
%% end Japanese
\end{itemize}
%%% \subsection{Is \gnuplot{} suitable for scripting?}
\subsection{\gnuplot{} ϥץȤŬƤޤ}
%%% Yes. Gnuplot can read in files containing additional commands during
%%% an interactive session, or it can be run in batch mode by piping a
%%% pre-existing file or a stream of commands to stdin. Gnuplot is used
%%% as a back-end graphics driver by such higher-level mathematical
%%% packages as Octave, and can easily be wrapped in a cgi script for
%%% use as a web-driven plot generator.
gnuplot ÷¹
ɲåޥɤޤեɤ߹ळȤǤޤ
¸ߤեɸϤΥޥ
ѥפȤäƥХå⡼ɤǤ뤳ȤǤޤ
gnuplot ϡOctave Τ褦ʹʿإѥåظǼ¹Ԥ
եåɥ饤ФȤƻȤƤޤ
cgi ץȤǥåפ뤳Ȥ
ưפ Web ưġȤƻȤȤǤޤ
%%% \subsection{Can I run \gnuplot{} on my computer?}
\subsection{\gnuplot{} ϻΥԥ塼ưȤǤޤ}
%%% \Gnuplot{} is in widespread use on many platforms, including
%%% MS Windows, linux, unix, and OSX. The current source code retains
%%% supports for older systems as well, including VMS, Ultrix, OS/2,
%%% MS-DOS, BeOS, and Macintosh.
%%% Versions since 4.0 have not been extensively tested on legacy platforms.
\gnuplot{} ϡMS Windows, linux, unix, OSX ʤɤ
¿ΥץåȥۡǡѤǤޤ
ߤΥɤϡVMS, Ultrix, OS/2, %
MS-DOS, BeOS, Macintosh ʤɤ
ŤƥΥݡȤݻƤޤ
С 4.0 ʹߤǤϸŤץåȥۡǤ
ŰŪʥƥȤϹԤƤޤ
%%% Please notify the FAQ-maintainer of any further ports you
%%% might be aware of.
¾ΥץåȥۡǤưȤΤäƤ顢
FAQ Υƥʤ˶Ƥ
%%% You should be able to compile the \gnuplot{} source more or
%%% less out of the box on any reasonable standard (ANSI/ISO C, POSIX)
%%% environment.
\gnuplot{} ΥϡɸŪ (ANSI/ISO C, POSIX ) ʴĶ
¿줿ΤξǤ⥳ѥǤǤ礦
%%% \subsection{Legalities}
\subsection{饤ˤĤ}
%%% \Gnuplot{} is freeware authored by a collection of volunteers, who cannot
%%% make any legal statement about the compliance or non-compliance of
%%% \gnuplot{} or its uses. There is also no warranty whatsoever. Use at your
%%% own risk.
\gnuplot{} ϥܥƥνĤˤäƺ줿եǤ
\gnuplotӤλѤεġ
ԵĤ˴ؤˡŪʸǤޤޤݾڤ⤢ޤ
ʬȤǤǻѤƤ
%%% Citing from the README of a mathematical subroutine package by R. Freund:
ʲϡR. Freund ˤشؿΥ֥롼ѥå README %
ΰѤǤ:
\begin{quote}
%%% For all intent and purpose, any description of what the codes are doing
%%% should be construed as being a note of what we thought the codes did on
%%% our machine on a particular Tuesday of last year. If you're really
%%% lucky, they might do the same for you someday. Then again, do you
%%% really feel *that* lucky?
ƤΰտޡŪ˴ؤơΥɤ뤳ȤФǤդεҤ
Υɤ桹ΥޥξǺǯΤˤޤԤʤä
ȤФƲ桹ͤȡȲᤵ٤Ǥ⤷ĤƤ
ΥɤϵФƤ⤢ƱȤǤ礦֤
֤פĤƤ˻פޤ ?
%% end Japanese
\end{quote}
%%% \subsection{Does \gnuplot{} have anything to do with the FSF and the GNU
%%% project?}
\subsection{\gnuplot{} FSF GNU ץȤȲطΤǤ}
%%% \Gnuplot{} is neither written nor maintained by the FSF\@. It is not
%%% covered by the General Public License, either. It used to be distributed
%%% by the FSF, however, due to licensing issues it is no longer.
\gnuplot{} FSF äΤǤ FSF ƥʥƤΤǤ⤢ޤ
GNU GPL (General Public License) ݸƤ⤤ޤ
Ǥ FSF ۤƤ⤤ޤ
ǸΤǤϤޤ
%%% \Gnuplot{} is freeware in the sense that you don't have to pay
%%% for it. However it is not freeware in the sense that you would be
%%% allowed to distribute a modified version of your \gnuplot{} freely.
%%% Please read and accept the \texttt{Copyright} file in your distribution.
\gnuplot{} ϡ̵Ǥȸ̣ǥեǤ
ʤѤΤͳۤ뤳Ȥǧ뤫
ȤȤ˴ؤƤϥեǤϤޤ
ʪ˴ޤޤ \texttt{Copyright} Ȥեɤ
ǧƤ
%%% \subsection{Where do I get further information?}
\subsection{ʤϤɤǼޤ}
%%% See the main gnuplot web page \http{www.gnuplot.info}.
gnuplot Web ڡ \http{www.gnuplot.info} Ƥ
%%% Some documentation and tutorials are available in other languages
%%% than English.
%%% See \http{gnuplot.sourceforge.net/help.html}, section "Localized
%%% learning pages
%%% about gnuplot", for the most up-to-date list.
Ѹʳ¾θǤʸ⤢ޤ
ǿΥꥹȤˤĤƤϡ\http{gnuplot.sourceforge.net/help.html} %
"Localized learning pages about gnuplot"
%%% \section{Setting it up}
\section{ȡ}
%%% \subsection{What is the current version of \gnuplot?}
\subsection{\gnuplot{} κǿС ?}
%%% The current released version of \gnuplot{} is 4.6.
%%% The current patchlevel is 4.6.0 (March 2012).
\gnuplot{} κǿǤ 4.6 Ǥ
ǿΥѥå٥ 4.6.0 Ǥ (2012 ǯ 3 )
% The current development series consists of a series of snapshots
% with version labels 4.5-<date>
%%% \subsection{Where can I get \gnuplot?}
\subsection{\gnuplot{} ϤɤǼޤ}
%% end Japanese
\label{where-get-gnuplot}
%%% The best place to start is \http{www.gnuplot.info}. From there
%%% you find various pointers to other sites, including the project
%%% development site on SourceForge \http{sourceforge.net/projects/gnuplot}.
Ϥ˺ǤŬڤʾ \http{www.gnuplot.info} Ǥ
顢㤨 SourceForge γȯץȥ %
\http{sourceforge.net/projects/gnuplot} ʤɤΡ
ʥȤξĤǤ礦
%%% The source distribution ("gnuplot-4.6.0.tar.gz" or a similar name) is
%%% available from the official distribution site
%%% \http{sourceforge.net/projects/gnuplot}.
ʪ ("gnuplot-4.6.0.tar.gz" ޤƱͤ̾) %
ϸۥ \http{sourceforge.net/projects/gnuplot} ˤޤ
%%%% % Older versions of the \gnuplot{} distribution is mirrored
%%%% % at the Comprehensive TeX Archive Network (CTAN) in the
%%%% % \texttt{graphics/gnuplot} directory. See
% ŤǤ \gnuplot{} ʪ CTAN
% (the Comprehensive TeX Archive Network) \\
% \texttt{graphics/gnuplot} %
% ǥ쥯ȥǥߥ顼Ƥޤ
% ʲȤƤ
% %% end Japanese
% \begin{itemize}
%%% % \item \http{www.ctan.org/}.
% \item \http{www.ctan.org/}
% %% end Japanese
% \end{itemize}
%%% \subsection{Where can I get current development version of \gnuplot?}
\subsection{\gnuplot{} κǿγȯǤϤɤǼޤ}
%%% The development version of gnuplot is availble as a cvs source
%%% tree online for
%%% direct browsing from \http{sourceforge.net/projects/gnuplot/}, section
%%% "CVS". You can download all current sources according to the documentation
%%% therein; for example by a sequence of commands like
gnuplot γȯǤϡcvs ĥηǡ饤ľ %
\http{sourceforge.net/projects/gnuplot/} %
"CVS" 黲ȤǤޤ
˴ޤޤƤɥȤ˽äơ
㤨СʲΤ褦ʥޥˤä
ǿΥ٤ƥɤ뤳ȤǤޤ
%% end Japanese
\begin{verbatim}
cvs -d:pserver:anonymous@gnuplot.cvs.sourceforge.net:/cvsroot/gnuplot login
cvs -z3 -d:pserver:anonymous@gnuplot.cvs.sourceforge.net:/cvsroot/gnuplot co -P gnuplot
\end{verbatim}
%%% or (in bash)
ޤ (bash Ǥ)
%% end Japanese
\begin{verbatim}
export CVSROOT=:pserver:anonymous@gnuplot.cvs.sourceforge.net:/cvsroot/gnuplot
cvs login
cvs -z3 checkout gnuplot
\end{verbatim}
%%% Hit \verb+<return>+ when asked for a password.
ѥɤʹ줿 \verb+<return>+ Ǥޤ
%%% Further, before the \texttt{./configure} command of gnuplot
%%% compilation phase,
%%% you have to execute \texttt{./prepare} to create the up-to-date
%%% configure files.
θ塢gnuplot Υѥʳ \texttt{./configure} ˡ
\texttt{./prepare} ¹Ԥ
ǿ configure ѤΥեɬפޤ
%%% There are no official preliminary binary releases of gnuplot: you have to
%%% compile it yourself. However, you may find unofficial binary
%%% releases for some
%%% platforms, like OS/2, Windows or Macintosh.
gnuplot γȯǤλŪʥХʥϤޤΤǡ
ʬȤǥѥ뤹ɬפޤ
OS/2, Windows, Macintosh ʤɤΤĤΥץåȥեѤ
ʥХʥǤϤɤ˸Ĥ뤫Τޤ
%%% Important note: questions related to the development version should go to
%%% \mailto{gnuplot-beta@lists.sourceforge.net}.
פ: ȯǤФɬ %
\mailto{gnuplot-beta@lists.sourceforge.net} äƤ
%%% \subsection{How do I get \gnuplot{} to compile on my system?}
\subsection{\gnuplot{} ϻΥƥǤϤɤѥ뤹ɤǤ}
%%% As you would any other installation. Read the files \texttt{README.1ST},
%%% \texttt{README}, and \texttt{INSTALL}.
¾ΥեȤΥȡƱͤǤ\texttt{README.1ST}, \texttt{README},
\texttt{INSTALL} եɤǤ
\begin{itemize}
\item
%%% For Unix, use \texttt{./configure} (or \texttt{./configure
%%% {-}{-}prefix=\$HOME/usr}
%%% for an installation for a single user), \texttt{make} and finally
%%% \texttt{make install} or \texttt{make install-strip}, the latter for smaller
%%% executables without debugging information. If you want to make a RPM package,
%%% then replace the latest step by \texttt{checkinstall} or \texttt{checkinstall
%%% make install-strip}, supposing the package \texttt{checkinstall} on your
%%% machine.
Unix Ǥϡ\texttt{./configure}
(ñ桼Υȡʤ \\
\texttt{./configure {-}{-}prefix=\$HOME/usr}) %
Ȥ\texttt{make} ¹Ԥ
Ǹ \texttt{make install} ޤ \texttt{make install-strip} Ȥޤ
ԤϥǥХå꾮ʼ¹ԥեȡ뤷ޤ
RPM ѥåꤿʤ顢ǸΥƥåפ %
\texttt{checkinstall} ޤ \texttt{checkinstall make install-strip} %
֤ޤ
ʤΥޥ \texttt{checkinstall} ѥå
ݡȤƤɬפޤ
%% end Japanese
\item
%%% On Windows, makefiles can be found in \texttt{config/mingw},
%%% \texttt{config/msvc},
%%% \texttt{config/watcom}, and \texttt{config/cygwin}. Update the options
%%% in the
%%% makefile's header and run the appropriate \texttt{make} tool in the same
%%% directory
%%% as the makefile. Additional instructions can be found in the makefiles.
Windows Ǥϡmakefile \texttt{config/mingw}, \texttt{config/msvc},
\texttt{config/watcom}, \texttt{config/cygwin} ˤޤ
makefile Ƭ˽Ƥ륪ץ
makefile ֤ƤΤƱǥ쥯ȥ
Ŭ \texttt{make} ġ¹ԤƤ
ɲ⡢makefile ˽Ƥޤ
%% end Japanese
\item
%%% For DOS, if you are using bash and DJGPP, you can just run
%%% \texttt{djconfig.sh}.
DOS Ǥϡbash DJGPP ȤäƤʤ \texttt{djconfig.sh} %
¹ԤǤ
%% end Japanese
\item
%%% For other platforms, copy the relevant makefile (e.g.
%%% \texttt{makefile.os2} for
%%% OS/2) from \texttt{config/} to \texttt{src/}, optionally update options
%%% in the
%%% makefile's header, then change directory to \texttt{src} and run
%%% \texttt{make}.
¾ΥץåȥեǤϡŬڤ makefile
(㤨 OS/2 ʤ \texttt{makefile.os2}) %
\texttt{config/} ǥ쥯ȥ꤫ \texttt{src/} ˥ԡơ
\texttt{make} ¹ԤƤ
%% end Japanese
\end{itemize}
%%% \subsection{What documentation is there, and how do I get it?}
\subsection{ɥȤϤɤǤƤɤޤ}
%%% The documentation is included in the source distribution. Look
%%% at the docs subdirectory, where you'll find files to produce
ɥȤϥʪ˴ޤޤƤޤ֥ǥ쥯ȥ docs %
ƤˤϰʲΤΤե뤬ޤ
\begin{itemize}
%%% \item a PDF version of the user manual
%%% \item a Unix man page, which says how to start \gnuplot{}
%%% \item a tutorial on using \gnuplot{} with \LaTeX{}
%%% \item a quick reference summary sheet for \TeX{} only
\item PDF ǤΥ桼ޥ˥奢
\item Unix man ڡ (\gnuplot{} ɤưƤ)
\item \gnuplot{} λȤ塼ȥꥢ (\LaTeX{} ǵ)
\item \gnuplot{} λȤḫɽ (åե; \TeX{} ǵ)
%% end Japanese
\end{itemize}
%%% The documentation is built during installation if you have \LaTeX{}
%%% installed on your system, look in the
%%% directories \texttt{docs} and \texttt{tutorial}.
⤷ʤΥƥ \LaTeX{} ȡ뤵ƤС
ɥȤϥȡ˼ưŪޤ
\texttt{docs} \texttt{tutorial} ǥ쥯ȥƤ
%% end Japanese
%%% \texttt{make pdf} in the docs subdirectory
%%% will make a \texttt{gnuplot.pdf} hypertext file ready for browsing
%%% or printing.
֥ǥ쥯ȥ docs \texttt{make pdf} Ȥ뤳Ȥǡ
/뤿Υϥѡƥȥե \texttt{gnuplot.pdf} %
Ѱդޤ
%%% Online gnuplot documentation is available at
%%% \http{gnuplot.sourceforge.net/documentation.html}.
\http{gnuplot.sourceforge.net/documentation.html} ˡ
gnuplot Υ饤ɥȤޤ
%%% \subsection{Worked examples}
\subsection{ư륵ץ}
%%% There is a directory of worked examples in the the source distribution.
%%% These examples, and the resulting plots, may also be found at
%%% \http{gnuplot.sourceforge.net/demo/}.
ʪˤư륵ץΥǥ쥯ȥ꤬ޤޤƤޤ
饵ץ롢Ӥη̤襰դ %
\http{gnuplot.sourceforge.net/demo/} Ǥ⸫뤳ȤǤޤ
%%% \subsection{How do I modify \gnuplot, and apply patches?}
\subsection{ɤ \gnuplot{} ޤϥѥåƤޤ}
%%% For this, you will need to recompile \gnuplot.
Τˤ \gnuplot{} ѥ뤷ľɬפޤ
%%% Modifications people make are either done by replacing files,
%%% such as terminal drivers, or by patching. If a file is a
%%% replacement, it will probably tell you in its README or in the
%%% lines at the beginning.
͡ʿ͡äϡ
ϥɥ饤ФΤ褦ʥե֤뤳ȤǹԤʤ
ޤϥѥåƤǹԤʤޤ
ե֤ξ硢Ѥ README ե롢
ޤϤΥեκǽιԤ˲뤫Τޤ
%%% To patch a file, you need the \texttt{patch} utility, and possibly
%%% also the \texttt{automake} and \texttt{autoconf} tools.
%%% A typical command for applying a patch is
%%% \verb+patch -p0 <newfunctionality.diff+.
ѥåƤϡ\texttt{patch} 桼ƥƥɬפǡ
⤷ \texttt{automake}, \texttt{autoconf} Ȥġ
ɬפ⤷ޤѥåŬѤŵŪʤ %
\verb+patch -p0 <newfunctionality.diff+ Ǥ
%%% There is repository of contributed patches in the "Patches" section
%%% on gnuplot's
%%% sourceforge site \http{sourceforge.net/tracker/?group_id=2055&atid=302055}.
Ƥ줿ѥå֤ gnuplot sourceforge %
\http{sourceforge.net/tracker/?group_id=2055&atid=302055} %
"Patches" ˤޤ
%%% \subsection{How do I determine which options are compiled into \gnuplot?}
\subsection{ɤΥץ \gnuplot ˥ѥ뤵Ƥ뤫Τˤ}
%%% Given that you have a compiled version of \gnuplot, you can use the
%%% \verb+show+ command to display the list of compile options (a.k.a.
%%% compilation options, or build options) that were used to build your
%%% copy.
ѥѤߤ \gnuplot ͿƤ硢\verb+show+ ޥɤǡ
줬ѥ뤵줿Ȥ˻Ѥ줿ѥ륪ץ %
(̾ѥ쥤ץӥɥץ) ΰɽǤޤ
\begin{verbatim}
gnuplot> show version long
\end{verbatim}
%%% \section{Working with it.}
\section{ư (Working with it)}
%%% \subsection{How do I get help?}
\subsection{إפϤɤäƼޤ}
%%% Read this document.
ΥɥȤɤǤ
%%% Give the \verb+help+ command at the initial prompt. After that, keep
%%% looking through the keywords. Good starting points are \verb+plot+
%%% and \verb+set+.
ץץȤ \verb+help+ ޥɤ¹ԤƤ
θ奭ɤɤäƤäƤ
\verb+plot+ \verb+set+ ϤΤǤ礦
%%% Read the manual, if you have it.
⤷äƤʤޥ˥奢ɤǤ
%%% Look through the demo subdirectory; it should give you some ideas.
demo ֥ǥ쥯ȥƤҥȤͿƤǤ礦
%%% Ask your colleagues, the system administrator or the person who
%%% set up \gnuplot.
ƥԡޤ \gnuplot{} ꤷƱν˿ҤͤƤ
%%% If all these fail, please upgrade to the newest version of \gnuplot{}
%%% or urge your system-administrator to do so. Then
%%% post a question to \news{comp.graphics.apps.gnuplot} or send mail
%%% to the gatewayed mailing list \mailto{gnuplot-info@lists.sourceforge.net}.
%%% Please note that, due to the overwhelming amount of spam it would
%%% otherwise receive,
%%% you have to subscribe before you can post to it. Subscription
%%% instructions are in
%%% the main gnuplot manual.
%%% Do not forget to cite the version number and the operating system.
%%% If you want to subscribe to the mailing list, visit the URL
%%% \http{lists.sourceforge.net/lists/listinfo/gnuplot-info}.
%%% But please don't use the mailing list if you can read
%%% \news{comp.graphics.apps.gnuplot} directly. If you post a
%%% question there, it is considered good form to solicit e-mail
%%% replies and post a summary.
Ƥ˼Ԥ顢\gnuplot{} κǿǤ˹롢
뤤Ϲ褦ƥԤ˰ϤƤ
Ƽ˥塼롼 \news{comp.graphics.apps.gnuplot} %
뤫ޤϥꥹ %
\mailto{gnuplot-info@lists.sourceforge.net} ˥äƤ
ΥꥹȤ̤˼ƤޤŪ spam 뤿ᡢ
ƤˤΥꥹȤ˻ (subscribe) ʤФޤ
äˡϡgnuplot Υޥ˥奢ʸˤޤ
ݤϡСֹȥڥ졼ƥƥʻ뤳Ȥ
˺ʤǤ
ΥꥹȤɤʤСURL %
\http{lists.sourceforge.net/lists/listinfo/gnuplot-info}
ȤƤ
˥塼롼 \news{comp.graphics.apps.gnuplot} %
ľɤʤСʤǤ
Υ˥塼롼פƤС
ϥǤֻ᤹롢
뤤Ƥɤȸʤޤ
%%% \subsection{How do I print out my graphs?}
\subsection{ɤä饰դץȥȤǤޤ}
%%% The kind of output produced is determined by the \verb+set terminal+
%%% command; for example, \verb+set terminal postscript+ will produce
%%% the graph in PostScript format. Output can be redirected using
%%% the \verb+set output+ command.
Ϥμ \verb+set terminal+ ޥɤޤ
㤨 \\
\verb+set terminal postscript+
դ PostScript ǽϤޤ
Ϥ \verb+set output+ ޥɤǥ쥯ȤǤޤ
%%% As an example, the following prints out a graph of sin(x) on a
%%% Unix machine running the X-Window System.
X-Windows System ưƤ Unix ޥ %
sin(x) ΥդץȥȤޤ
%%% \begin{verbatim}
%%% gnuplot> plot [-6:6] sin(x)
%%% gnuplot> set terminal postscript
%%% Terminal type set to 'postscript'
%%% Options are 'landscape monochrome "Courier" 14'
%%% gnuplot> set output "sin.ps"
%%% gnuplot> replot
%%% gnuplot> set output # set output back to default
%%% gnuplot> set terminal x11 # ditto for terminal type
%%% gnuplot> ! lp -ops sin.ps # print PS File (site dependent)
%%% request id is lprint-3433 (standard input)
%%% lp: printed file sin.ps on fg20.rz.uni-karlsruhe.de (5068 Byte)
%%% !
%%% gnuplot>
%%% \end{verbatim}
\begin{verbatim}
gnuplot> plot [-6:6] sin(x)
gnuplot> set terminal postscript
Terminal type set to 'postscript'
Options are 'landscape monochrome "Courier" 14'
gnuplot> set output "sin.ps"
gnuplot> replot
gnuplot> set output # ǥեȤ᤹
gnuplot> set terminal x11 # ϷǥեȤ᤹
gnuplot> ! lp -ops sin.ps # PS եץȥ (͏)
request id is lprint-3433 (standard input)
lp: printed file sin.ps on fg20.rz.uni-karlsruhe.de (5068 Byte)
!
gnuplot>
\end{verbatim}
%%% Using the platform-independent way of restoring terminal by \texttt{set term
%%% push/pop} commands, do it by
ץåȥե˰¸ʤϷϡ
ޥ \texttt{set term push/pop} ˤäưʲΤ褦˹Ԥʤޤ
%% end Japanese
\begin{verbatim}
gnuplot> set terminal postscript eps color lw 15 "Helvetica" 20
gnuplot> set out 'a.eps'
gnuplot> replot
gnuplot> set term pop
\end{verbatim}
%%% The command \texttt{set term pop} without a previous
%%% corresponding \texttt{set
%%% term push} switches the terminal back to the startup terminal,
%%% e.g. x11, pm or
%%% win.
\texttt{set term pop} ޥɤϡ
б \texttt{set term push} ¹ԤƤʤϡ
ưνϷ㤨 x11, pm, win ޤ
%%% Using the \texttt{windows} terminal, you can print your graph by clicking
%%% on the
%%% printer icon on the terminals toolbar, or by issuing \texttt{screendump}
%%% on the
%%% command line.
\texttt{windows} ϷǤϡΥġСξΥץ
å롢뤤ϥޥɥ饤 \texttt{screendump} ¹Ԥ뤳Ȥ
դץȥȤǤޤ
%%% \subsection{How do I include my graphs in <word processor>?}
\subsection{ɤä饰դץեȤ˼ޤ}
%%% Basically, you save your plot to a file in a format your word
%%% processor can understand (using \verb+set term+ and \verb+set output+,
%%% see above), and then you read in the plot from your word processor. Vector
%%% formats (PostScript, emf, svg, pdf, \TeX{}, \LaTeX{}, etc)
%%% should be preferred,
%%% as you can scale your graph later to the right size.
ŪˡդΥץեȤǤΥե¸ %
(\verb+set term+ \verb+set output+ ȤޤƤ) %
ΥץեȤɤ߹ळȤǤǤ礦
ѴǤȤ
٥ȥΥեޥå %
(PostScript, emf, svg, pdf, \TeX{}, \LaTeX{} ʤ) Ǥ礦
%%% Details depend on which word processor you use; use \verb+set term+ to get a
%%% list of available file formats.
٤ȤϤΥץեȤ˰¸ޤ
\verb+set term+ ȤƻѤǤեΥꥹȤƤ
%%% Many word processors can use Encapsulated PostScript for graphs.
%%% This can be generated by the
%%% \verb+set terminal postscript eps [color]+
%%% command.
¿ΥץեȤ Encapsulated PostScript (EPS) Υդޤ
\\
\verb+set terminal postscript eps [color]+ %
ȤޥɤǤޤ
%% end Japanese
%%% Note that it is a good idea to check and correct the bounding box of the
%%% graphs in the eps files (manually or by the fixbb script from gnuplot
%%% webpage), as you have to correct this box for any eps figure produced by
%%% whichever program.
դƤޤEPS եΥդ bounding box Ĵ١
ȤǤ礦 %
(ư뤤 gnuplot Web ڡˤ fixbb ץȤˤä)
%% end Japanese
%%% Some (most?) word processors do not preview the actual image in the eps
%%% file, and you have to add the preview image yourself. You can use the GSView
%%% viewer for this (available for OS/2, Windows and X11), or some Unix ps
%%% tool. Note that the preview image increases size of the eps file; the
%%% smallest increase you may get by choosing Tiff 6 Packbits.
Ĥ ( ?) ץեȤϡ
EPS ե˴ޤޤºݤβɽޤΤǡ
ɽʤȤɲäɬפޤ
ŪΤˤϡGSView ӥ塼 %
(OS/2, Windows, X11 Ѥޤ)
뤤ϤĤ Unix ps ġ뤬Ȥޤ
դƤޤɽѤβ EPS եΥ礵ޤ
Tiff 6 ѥåӥåȤкǤ⤽ä뤳ȤǤޤ
%%% Some Windows office applications, including OpenOffice.org, can handle
%%% vector images in EMF format. These can be either produced by the emf
%%% terminal, or by selecting 'Save as EMF...' from the toolbar of the graph
%%% window of the windows terminal.
OpenOffice.org Windows Υեץꥱˤϡ
EMF Υ٥ȥǤΤޤ
Τ褦ʲե emf ϷǤޤ
windows ϷΥեɥΥġС %
'Save as EMF...' 뤳ȤǤޤ
%%% OpenOffice.org can also read SVG, as well as AutoCAD's dxf format.
OpenOffice.org SVG ⡢AutoCAD dxf ɤߤळȤǤޤ
%%% There are many ways to use gnuplot to produce graphs for inclusion in a
%%% \TeX\ or \LaTeX\ document.
%%% Some terminals produce *.tex fragments for direct inclusion; others
%%% produce *.eps, *.pdf, *.png output to be included using the \\includgraphics
%%% command. The epslatex and cairolatex terminals produce both a graphics
%%% file (*.eps or *.pdf) and a *.tex document file that refers to it.
%%% Gnuplot version 4.6 has a tikz terminal type that produces full text and
%%% graphics when the output is processed with pdflatex.
gnuplot Ȥä \TeX\ \LaTeX\ ʸ˼िΥդˡ
̤⤢ޤ
*.tex եҤľϷ⤢ޤ
\\includegraphics ޥɤȤäƼि *.eps, *.pdf, *.png Ϥ
Τ⤢ޤ
epslatex cairolatex Ϸϡե (*.eps *.pdf)
Ȥ *.tex ʸեξޤ
gnuplot 4.6 ˤ tikz ϷꡢϤ pdflatex ǽ
ǥƥȤȥǤޤ
%%% Most word processors can import bitmap images (png, pbm, etc).
%%% The disadvantage of this approach is that the resolution of your
%%% plot is limited by the size of the plot at the time it is generated
%%% by gnuplot, which is generally a much lower resolution than the
%%% document will eventually be printed in.
ΥץեȤϥӥåȥޥåײ (png, pbm ) %
ळȤǤޤ
ˡûϡ
Υդ gnuplot ˤä줿ȤΥˤä
β٤¤ƤޤȤǤ
̤ˡʸǽŪ˥ץȥȤ٤
β٤Ϥʤ㤯ʤޤ
%%% The mif terminal type produces output for FrameMaker.
mif Ϸ FrameMaker ѤνϤޤ
%%% \subsection{How do I edit or post-process a \gnuplot{} graph?}
\subsection{ɤä \gnuplot{} ΥդԽǤޤ}
%%% This depends on the terminal type you use.
ϤʤȤϷ˰¸ޤ
\begin{itemize}
%%% \item X11 toolkits: You can use the terminal type fig
%%% and use the \textbf{xfig} drawing program to edit the
%%% plot afterwards. You can obtain the xfig program from its web site
%%% \http{www.xfig.org}. More information about the text-format used
%%% for fig can be found in the fig-package.
\item X11 ġ륭å:
fig ϷȤäơθǤԽ뤿ץ %
\textbf{xfig} ȤФǤ礦
xfig ץϤ Web \http{www.xfig.org} Ǥޤ
fig ˻ȤƥȥեޥåȤ˴ؤ롢
ܤˤĤƤϤ fig ѥå˴ޤޤƤޤ
%%% You may use the tgif terminal, which creates output suitable for
%%% reading within \texttt{tgif} (\http{http://bourbon.usc.edu/tgif/}),
%%% an interactive 2-D drawing tool under X11.
tgif ϷȤȤǤޤ
X11 ư÷ 2 ġ \texttt{tgif}
(\http{http://bourbon.usc.edu/tgif/}) %
ɤޤΤŬϤޤ
%%% \item You may use the svg terminal (scalable vector graphics), which can
%%% be further edited by a svg editor, e.g.
%%% \textbf{Inkscape} (\http{www.inkscape.org}),
%%% \textbf{Skencil} (\http{www.skencil.org}) or
%%% \textbf{Dia} (\http{projects.gnome.org/dia/}), or loaded
%%% into \textbf{OpenOffice.org} with an on-fly conversion into OO.o Draw
%%% primitives.
\item svg Ϸ (scalable vector graphics) ȤȤǤޤ
%
\textbf{Inkscape} (\http{www.inkscape.org}),
\textbf{Skencil} (\http{www.skencil.org}),
\textbf{Dia} (\http{projects.gnome.org/dia/}), %
Τ褦 svg ǥǹʤԽԤʤޤ
\textbf{OpenOffice.org} (OO.o Draw ץߥƥ֤ؤѴˤä) %
˼ळȤǤޤ
%%% \item PostScript or PDF output can be edited directly by tools such
%%% as Adobe Illustrator or Acrobat, or can be converted to a variety
%%% of other editable vector formats by the \textbf{pstoedit} package.
%%% Pstoedit is available at \http{www.pstoedit.net}.
\item PostScript PDF ϤϡAdobe Illustrator Acrobat %
Τ褦ʥġľԽǤޤ
\textbf{pstoedit} ѥå¾οԽǽʥ٥ȥ
Ѵ뤳ȤǽǤ
pstoedit \http{www.pstoedit.net} ˤޤ
%%% \item The mif terminal type produces an editable FrameMaker document.
\item mif Ϸ FrameMaker ԽǤʸޤ
%%% \item The DXF format is the AutoCAD's format, editable by several
%%% other applications.
\item DXF Ϸ AutoCAD νǡ¾ΤĤΥץꥱǤ
ԽǤޤ
%%% \item Bitmapped graphics (e.g. png, jpeg, pbm) can be edited using
%%% tools such as ImageMagick or Gimp.
\item ӥåȥޥåβ (png, jpeg, pbm ) ImageMagick %
Gimp ͤʥġԽ뤳ȤǤޤ
%% end Japanese
%%% In general, you should use a vector graphics program to post-process
%%% vector graphic formats, and a pixel-based editing program
%%% to post-process pixel graphics.
̤ˡ٥ȥ륰եåθԤʤˤ
٥ȥ륰եåץ (ɥϥġ)
ԥˤϥԥϤΥץ (ڥȷϥġ) %
Ȥɬפޤ
\end{itemize}
%%% \subsection{How do I change symbol size, line thickness and the like?}
\subsection{ɤä鵭礭ʤɤѹǤޤ}
%%% Gnuplot offers a variety of commands to set line and point properties,
%%% including color, thickness, point shape, etc. The command \verb+test+ will
%%% display a test page for the currently selected terminal type showing
%%% the available pre-defined combinations of color, size, shape, etc.
%%% The \verb+set style+ command can be used to define additional combinations.
gnuplot ϡ㤨пηʤɤΡ
ο°ꤹ뤿͡ʥޥɤƤޤ
ޥ \verb+test+ ϡƤϷѤΡ
ѲǽѤߤοʤɤȹ礻
ƥȥڡϤޤ
%%% \subsection{Can I animate my graphs?}
\subsection{դ˥Ǥޤ}
%%% First have a look at animate.dem in the demo directory
%%% of \gnuplot. Basically, animated graphs are a sequence of
%%% plots in a suitable format.
ǽˡ\gnuplot{} demo ǥ쥯ȥˤ animate.dem Ƥ
Ū˥դΥ˥ϡ
ŬʥեޥåȤʣɽޤ
%%% If your installation of \gnuplot{} is linked with gd 2.0.29 or newer (see
%%% previous entry), the gif terminal can generate directly an animated GIF.
ʤ \gnuplot{} gd 2.0.29 ʹ (ľι) %
ƺ줿ΤǤС
gif Ϸľܥ˥ GIF Ǥޤ
%%% Otherwise, have a look at the tool whirlgif 3.04. It reads run-length
%%% encoded GIF files and packs them into a minimal animation.
%%% On the web-pages you will find a manual and an example.
ǤʤСwhirlgif 3.04 ȤġꤷƤ
ϥ̤줿ʣ GIF եɤǡ
ǾΥ˥եˤޤȤޤ
ޥ˥奢ϡ Web ڡǻȤǤޤ
%%% You can also write a small script to get \gnuplot{} to output a family
%%% of GIF files, then have it execute some animator such as gifsicle:
%%% \http{www.lcdf.org/~eddietwo/gifsicle}
%%% or gifmerge
%%% \http{the-labs.com/GIFMerge}.
ޤʥץȤ %
\gnuplot{} ʣ GIF ե뤳ȤǤޤ
gifsicle (\http{www.lcdf.org/~eddietwo/gifsicle}) %
gifmerge (\http{the-labs.com/GIFMerge}) Τ褦
¾Υ˥ġȤȤǤޤ
%%% mpeg\_encode will encode a sequence of images into an mpeg format movie.
mpeg\_encode Ȥ %
mpeg եޥåȤưˤޤȤ뤳ȤǤǤ礦
%%% \subsection{How do I plot implicit defined graphs?}
\subsection{ɤä鱢ؿΥդޤ}
%%% Implicit graphs or curves cannot be plotted directly in \gnuplot.
%%% However there is a workaround.
\gnuplot{} ǤϱؿΥդľܤǤޤ
κϤޤ
%% end Japanese
%%% \begin{verbatim}
%%% gnuplot> # An example. Place your definition in the following line:
%%% gnuplot> f(x,y) = y - x**2 / tan(y)
%%% gnuplot> set contour base
%%% gnuplot> set cntrparam levels discrete 0.0
%%% gnuplot> unset surface
%%% gnuplot> set table 'curve.dat'
%%% gnuplot> splot f(x,y)
%%% gnuplot> unset table
%%% gnuplot> plot 'curve.dat' w l
%%% \end{verbatim}
\begin{verbatim}
gnuplot> # : ιԤŬ֤Ƥ
gnuplot> f(x,y) = y - x**2 / tan(y)
gnuplot> set contour base
gnuplot> set cntrparam levels discrete 0.0
gnuplot> unset surface
gnuplot> set table 'curve.dat'
gnuplot> splot f(x,y)
gnuplot> unset table
gnuplot> plot 'curve.dat' w l
\end{verbatim}
%% end Japanese
%%% The trick is to draw the single contour line z=0 of the surface
%%% z=f(x,y), and store the resulting contour curve to a \gnuplot{} datafile.
λųݤϡ z=f(x,y) 1 ܤ z=0
Υǡե˥֤뤳Ȥˤޤ
%%% \subsection{How to fill an area between two curves}
\subsection{2 Ĥζ֤ΰɤĤ֤ˤ}
%%% A plot with filled area between two given curves can be easily obtained using
%%% the pseudo file '+' with \texttt{filledcurves closed}. The example below
%%% demonstrates this for two curves f(x) and g(x):
2 ĤͿ줿δ֤ɤĤ֤ϡ
ե '+' \verb+filledcurves closed+ ȤдñˤǤޤ
ʲϡ2 Ĥζ f(x) g(x) ФǥǤ:
%% end Japanese
\begin{verbatim}
f(x)=cos(x)
g(x)=sin(x)
xmax=pi/4
set xrange [0:xmax]
plot '+' using 1:(f($1)):(g($1)) with filledcurves closed
\end{verbatim}
%%% Note that the above code fills area between the two curves, not
%%% area satisfying
%%% inequality g(x)<f(x). If you want the latter, you should use the ternary
%%% operator in \texttt{using} statement to return an undefined value (0/0)
%%% if the
%%% inequality is not satisfied.
դƤ餤ΤǤ
2 Ĥζδ֤ΰɤĤ֤ΤǤäơ
g(x)<f(x) ΰɤĤ֤ΤǤϤޤ
⤷ԤԤʤʤ顢
\verb+using+ ʬ 3 黻ҤȤäơ
ʤ̤ (0/0) %
֤褦ˤɬפޤ
%%% See the documentation for \texttt{help filledcurves},
%%% \texttt{help special-filenames}, and \texttt{help ternary} and see
%%% \texttt{fillbetween.dem} in the \texttt{demos} directory.
texttt{help filledcurves}, \texttt{help special-filenames},
\texttt{help ternary} ˴ؤɥȤȤƤ
\texttt{demos} ǥ쥯ȥ \texttt{fillbetween.dem} ⻲ȤƤ
%%% \subsection{Pm3d splot from a datafile does not draw anything}
\subsection{pm3d ˤǡե splot Dzɽޤ}
%% end Japanese
\label{blank1}
%%% You do \verb+set pm3d; splot 'a.dat'+ and no plot but colorbox appears.
%%% Perhaps there is no blank line in between two subsequent
%%% scans (isolines) in
%%% the data file? Add blank lines! If you are curious what this means,
%%% then don't
%%% hesitate to look to files like \verb+demo/glass.dat+ or
%%% \verb+demo/triangle.dat+
%%% in the gnuplot demo directory.
\verb+set pm3d; splot 'a.dat'+ ȤäƤ⡢
顼ܥåɽΤΥդɽʤȤ顢
⤷ 2 ĤΤĤʤäƤ (Ω) ʬΥԤ
ʤΤǤ ? Ԥʤ ! %
줬̣Τ˶̣ʤ顢
gnuplot demo ǥ쥯ȥˤ \verb+demo/glass.dat+ %
\verb+demo/triangle.dat+ ʤɤΥեä긫Ƥ
%%% You can find useful the following awk script (call it e.g.
%%% \verb+addblanks.awk+)
%%% which adds blank lines to a data file whenever number in the first column
%%% changes:
ʲ awk ץ %
(㤨 \verb+addblanks.awk+ ȸƤ֤Ȥˤޤ) %
ͭѤǡǡեˡ
1 ܤοѹȤ˶ԤɲäƤޤ
%% end Japanese
%%% \begin{verbatim}
%%% /^[[:blank:]]*#/ {next} # ignore comments (lines starting with #)
%%% NF < 3 {next} # ignore lines which don't have at least 3 columns
%%% $1 != prev {printf "\n"; prev=$1} # print blank line
%%% {print} # print the line
%%% \end{verbatim}
\begin{verbatim}
/^[[:blank:]]*#/ {next} # ȹ (# ǻϤޤ) ̵
NF < 3 {next} # 3 ̤ʤԤ̵
$1 != prev {printf "\n"; prev=$1} # Ԥ
{print} # ιԼΤ
\end{verbatim}
%% end Japanese
%%% Then, either preprocess your data file by command
%%% \verb+awk -f addblanks.awk <a.dat+ or plot the datafile under a
%%% unixish platform
%%% by \verb+gnuplot> splot "<awk -f addblanks.awk a.dat"+.
ˤꡢǡեޥ \verb+awk -f addblanks.awk <a.dat+ %
ˤä뤫
unix ߴΥץåȥեǥǡե %
\verb+gnuplot> splot "<awk -f addblanks.awk a.dat"+ Τ褦褹뤫
Τɤ餫ԤäƤ
%%% \subsection{Drawing a (color) map, i.e. 2D projection of 3D data}
\subsection{() Ͽޥաʤ 3 ǡ 2 ͱƤ褹ˤ}
%%% Use \texttt{set view map; unset surface} or \texttt{set pm3d map} rather than
%%% \texttt{set view 180,0}. The latter facilitates drawing matrices
%%% or data files
%%% as maps, even without the necessity for matrix-like data organization
%%% (gridding). It is possible to decrease the output postscript file size by
%%% postprocessing it by \texttt{pm3dCompress.awk} or
%%% \texttt{pm3dConvertToImage.awk}.
\texttt{set view 180,0} Ȥ⡢ष %
\texttt{set view map; unset surface}
\texttt{set pm3d map} ȤäƤ
ԤϹǡեϿޥդڤˤƤޤ
⡢ǡι (ʻҲ) ɬפ⤢ޤ
\texttt{pm3dCompress.awk} \texttt{pm3dConvertToImage.awk} %
ˤˤäơ
postscript եΥ뤳ȤǽǤ
%%% There are also plotting styles \verb+with image+ and \verb+with rgbimage+
%%% for plotting 2D color images.
2 Υ顼Ѥˤϡ襹 \verb+with image+ %
\verb+with rgbimage+ ʤɤѰդƤޤ
%%% \subsection{How to overlay dots/points scatter plot onto a pm3d map/surface}
\subsection{pm3d Ͽ/̾ dots/points λۿޤŤͤˤ}
%%% Use the explicit (see also implicit) switch of the pm3d style:
pm3d explicit å (implicit ⻲ȤΤ) ȤäƤ:
%% end Japanese
\begin{verbatim}
gnuplot> set pm3d explicit
gnuplot> splot x with pm3d, x*y with points
\end{verbatim}
%%% \subsection{How to draw black contour plot, and contours with labels}
\subsection{衢ޤϥ٥Ĥ褹ˤ}
%%% Well, it is very simple even though it is hard to discover:
%%% \verb+unset clabel+.
äȡĤΤ⤷ޤϼ¤˴ñ:
\verb+unset clabel+
%% end Japanese
\begin{verbatim}
set contour both; set cntr levels 100
unset clabel
unset surface
splot x*y with line lt -1
pause -1
splot x*y with line palette
\end{verbatim}
%%% Another solution requires to write contours into a temporary file using
%%% \verb+set table+.
¾ΤȤƤϡ\verb+set table+ Ѥ
ե˽Ф꤬ޤ:
%% end Japanese
\begin{verbatim}
set contour base; set cntrparam levels 15; unset surface; set view map
splot x*x+y*y; pause -1
set table 'contour.dat'
replot
unset table
\end{verbatim}
%%% Now, for drawing it in 2D, do
θǡ2 褹ˤϼΤ褦ˤޤ
%% end Japanese
\begin{verbatim}
reset
plot 'contour.dat' with line -1
\end{verbatim}
%%% and for contours in 3D do
3 褹ϼΤ褦ˤޤ
%% end Japanese
%%% \begin{verbatim}
%%% reset
%%% # Change single blank lines to double blank lines
%%% !awk "NF<2{printf\"\n\"}{print}" <contour.dat >contour1.dat
%%% splot 'contour1.dat' with line -1
%%% \end{verbatim}
\begin{verbatim}
reset
# 1 ԤζԤ 2 ԤζԤѴ
!awk "NF<2{printf\"\n\"}{print}" <contour.dat >contour1.dat
splot 'contour1.dat' with line -1
\end{verbatim}
%% end Japanese
%%% See also the following question "How to overlay contour plot over
%%% pm3d map/surface".
"pm3d Ͽ/̥դŤͤˤ" ⻲ȤƤ
%%% Labelling contours by their z-value can be achieved by a suitable script
%%% generating automatically the appropriate \verb+set label+ commands;
%%% you can find
%%% one at gnuplot scripts page
%%% \http{gnuplot.sourceforge.net/scripts/index.html\#tricks-here}.
z ͤˤΥ٥ϡ
Ŭ \verb+set label+ ޥɤ
ưŪƤŬʥץȤǼ¸ǤǤ礦
Τ褦ʰĤ gnuplot ץȤΥڡ %
\http{gnuplot.sourceforge.net/scripts/index.html\#tricks-here} %
ˤޤ
%%% \subsection{How to overlay contour plot over pm3d map/surface}
\subsection{pm3d Ͽ/̥դŤͤˤ}
%%% This requires you to write contours into a temporary file
%%% using the table
%%% terminal, and then use this file in the final drawing without set contours.
%%% The following example demonstrates this for a map; for surface, remove
%%% \verb+set pm3d map+ and put \verb+set ticslevel 0+.
ϡ table ϷѤưե˽Ф
Ƥ set contours Ȥ鷺褹ɬפޤ
ϿϿޥդΥǥǤ
̥դξ %
\verb+set pm3d map+ \verb+set ticslevel 0+ ޤ
%% end Japanese
%%% \begin{verbatim}
%%% # Write contours of function x*x-y*y to a (temporary) file
%%% set contour base; set cntrparam level 20
%%% unset surface
%%% set table 'contour.dat'
%%% splot x*x-y*y
%%% unset table
%%%
%%% # Change single blank lines to double blank lines
%%% !awk "NF<2{printf\"\n\"}{print}" <contour.dat >contour1.dat
%%%
%%% # Draw the plot
%%% reset
%%% set palette gray
%%% set palette gamma 2.5
%%% set pm3d map
%%% set pm3d explicit
%%% splot x*x+y*y with pm3d, 'contour1.dat' with line lt -1
%%% !rm contour.dat contour1.dat
%%% \end{verbatim}
%% begin Japanese
\begin{verbatim}
# ؿ x*x-y*y ե˽Ф
set contour base; set cntrparam level 20
unset surface
set table 'contour.dat'
splot x*x-y*y
unset table
# 1 ԤζԤ 2 ԤζԤѴ
!awk "NF<2{printf\"\n\"}{print}" <contour.dat >contour1.dat
# դ
reset
set palette gray
set palette gamma 2.5
set pm3d map
set pm3d explicit
splot x*x+y*y with pm3d, 'contour1.dat' with line lt -1
!rm contour.dat contour1.dat
\end{verbatim}
%% end Japanese
%%% The last command deletes the two temporary files.
ǸΥޥɤ 2 Ĥΰեޤ
%%% \subsection{Color facets with pm3d}
\subsection{pm3d ˤ뿧Ĥ¿}
%%% It is possible to draw colors facets of a 3D objects, organized in
%%% such a file:
3 ʪΤ̤˿Ĥ褹ˤϡ
եʲΤ褦ʷǺвǽǤ
%%% \begin{verbatim}
%%% # triangle 1
%%% x0 y0 z0 <c0>
%%% x1 y1 z1 <c1>
%%%
%%% x2 y2 z2 <c2>
%%% x2 y2 z2 <c2>
%%%
%%%
%%% # triangle 2
%%% x y z
%%% ...
%%% \end{verbatim}
%% begin Japanese
\begin{verbatim}
# ѷ 1
x0 y0 z0 <c0>
x1 y1 z1 <c1>
x2 y2 z2 <c2>
x2 y2 z2 <c2>
# ѷ 2
x y z
...
\end{verbatim}
%% end Japanese
%%% Notice the positioning single and double blank line. \texttt{<c>}
%%% is an optional
%%% color.
1 ԤζԤ 2 ԤζԤΰ֤դƤ
\texttt{<c>} ϥץοǤ
%%% Then plot it by (either of splot's):
ʲΤ褦ˤ褷ޤ (ɤ餫 splot ):
%% end Japanese
\begin{verbatim}
set pm3d
set style data pm3d
splot 'facets.dat'
splot 'facets_with_color.dat' using 1:2:3:4
\end{verbatim}
%%% Note that you avoid surface lines by \texttt{set style data pm3d} or
%%% \texttt{splot ... with pm3d}.
̤ϡ
\texttt{set style data pm3d} \texttt{splot ... with pm3d} %
̵ˤǤ뤳ȤդƤ
%%% In the above example, pm3d displays triangles as independent surfaces.
%%% They are plotted one surface after another, as found in the data file.
%%% Parts overlapping in 2D projection are overdrawn.
Ǥϡpm3d ϻѷ줾Ωʶ̤Ȥ褷ޤ
ϡǡե¾ΤΤĤäȤ
θǰĤζ̤ޤ
Ťʤʬ 2 ͱƤǤϽŤʤä褵Ƥޤޤ
%%% Gnuplot is not 3D modeling program. Its hidden routines apply for points and
%%% lines, but not for faces.
%%% Without handling the data as a collection of faces, there would be no surface
%%% anything could be hidden behind. The 'hidden3d' algorithm works by using the
%%% input data in two ways: first, to set up a collection of triangles
%%% (made from a
%%% mesh of quadrangles) that form the surface, second as a collection of
%%% edges. It
%%% then goes through all those edges, checking what parts of them are not hidden
%%% behind any faces, and draws those.
gnuplot 3 ǥץǤϤʤ
롼ˤŬѤޤ̤ˤŬѤޤ
̤νޤȤƤΥǡνʤˤϡ
Ƥ˱̤뤳ȤϤǤޤ
'hidden3d' 르ꥺϡϥǡ 2 ĤˡǻȤäƼ¹ԤƤޤ: %
Ĥϡ̤뻰ѷ (ʻλͳѷ) %
νޤåȥåפ뤳ȡ
⤦ĤüνޤǤ
ƤΤ٤ƤüФơ
ɤʬ¾̤θ˱ʤΤå
Ƥ褷Ƥޤ
%%% Consequently, gnuplot won't draw your surface or 3D object as
%%% a virtual reality.
%%% It works OK for \texttt{set pm3d map} but for true 3D you would
%%% be probably more
%%% happy writing a convertor of your facets into a VRML file.
̤Ȥơ
gnuplot ϶̤ 3 ʪΤ۸¤ȤƤ褷ޤ
\texttt{set pm3d map} ФƤϤƯޤ
3 ˤʤ顢
¿Υǡ VRML եѴ륽եȤ⤷ޤ
%%% \subsection{Palette for printing my color map on color as well
%%% as black\&white
%%% printer?}
\subsection{ϿޤΥΥץǤȰ褦ʥѥåȤ}
%%% Try \texttt{set palette cubehelix}.
\texttt{set palette cubehelix} Ƥ
%%% \section{Wanted features}
\section{ߤǽ (Wanted features)}
%%% \subsection{What's new in \gnuplot{} 4.2, 4.4 etc?}
\subsection{\gnuplot{} 4.2, 4.4 ǿʤäȤ}
%%% Too many things to be named here.
%%% Please refer to the \texttt{NEWS} file in the source distribution, or the
%%% "New features" section in the gnuplot documentation.
˵ˤ¿ޤ
ʪ˴ޤޤե \texttt{NEWS}
뤤 gnuplot ΥإץɥȤ "New features" Υ
ȤƤ
%%% \subsection{Does \gnuplot{} support a driver for <graphics format>?}
\subsection{\gnuplot{} ϲեޥåѤΥɥ饤ФݡȤƤޤ}
%%% To see a list of the available graphic drivers for your installation of
%%% \gnuplot{}, type \verb+set term+.
ȡѤ \gnuplot{} ѤǤ륰եåɥ饤Фΰˤϡ
\verb+set term+ ȥפƤ
%%% Some graphics drivers are included in the normal distribution,
%%% but are not built by default. If you want to use them, you'll
%%% have to change file \verb+gnuplot/src/term.h+, and recompile.
̾ʪˤϴޤޤƤƤ⡢
ǥեȤǤϻȤʤ褦ˤʤäƤ륰եåɥ饤Ф⤢ޤ
餬ȤС\verb+gnuplot/src/term.h+
ѥ뤷ľɬפޤ
%%% \subsection{Does \gnuplot{} have hidden line removal?}
\subsection{\gnuplot{} ϱǤޤ}
%%% Yes.
%%% \subsection{Does \gnuplot{} support bar-charts/histograms/boxes?}
\subsection{\gnuplot{} /ҥȥ/Ȣդޤ}
%%% Various clustered and stacked histogram styles are supported in \gnuplot\
%%% version 4.2 and later as separate style types.
\gnuplot\ version 4.2 ʹߤǤϡ¤ӷ (clustered) %
Ѥ߾夲 (stacked) Υҥȥॹ뤬
̡Υ뷿ȤƥݡȤƤޤ
%%% \subsection{Does \gnuplot{} support pie charts?}
\subsection{\gnuplot{} ϱߥդޤ}
%%% It's sort of difficult in \gnuplot, see
%%% \http{http://gnuplot-tricks.blogspot.com/2009/08/pie-charts-entirely-in-gnuplot.html},
%%% or have a look at
%%% \http{www.usf.uni-osnabrueck.de/~breiter/tools/piechart/piecharts.en.html}.
\gnuplot ǤϤäݤǤʲƤ
\http{http://gnuplot-tricks.blogspot.com/2009/08/pie-charts-entirely-in-gnuplot.html}
ޤϡʲȤƤ
\http{www.usf.uni-osnabrueck.de/~breiter/tools/piechart/piecharts.en.html}
%%% \subsection{Does \gnuplot{} quarterly time charts?}
\subsection{\gnuplot{} ϻȾ㡼Ȥޤ}
%%% It's not possible in \gnuplot, but have a look at
%%% \http{ricardo.ecn.wfu.edu/~cottrell/qplot}. The corresponding
%%% file \verb+qplot.zip+ can be obtained from the contrib directory
%%% on any \gnuplot{} server.
\gnuplot{} ǤϤϤǤޤʲƤ
\http{ricardo.ecn.wfu.edu/~cottrell/qplot} %
Υե \verb+qplot.zip+ \gnuplot{} ۥȤ %
contrib ǥ쥯ȥ꤫Ǥޤ
%%% \subsection{Can I put multiple pages on one page?}
\subsection{ĤΥڡʣΥդޤ}
%%% Yes. \verb+set multiplot+.
Ϥ\verb+set multiplot+ ȤƤ
%%% \subsection{Does \gnuplot{} support multiple y-axes on a single plot?}
\subsection{\gnuplot{} ϰĤΥդʣ y Ȥޤ}
%%% Yes. You can have 2 x- and 2 y-axes per plot. The additional axes are called
%%% x2 and y2. See \verb+help plot+.
Ϥ1 ĤФ 2 Ĥ x 2 Ĥ y Ȥޤ
Τ줾 2 ܤμ x2, y2 ȸƤФޤ
\verb+help plot+ ȤƤ
%%% \subsection{Can I put both commands and data into a single file?}
\subsection{ĤΥե gnuplot Υޥɤȥǡξޤ}
%%% This is possible by the new \verb+plot "-"+ possibility. The
%%% \verb+plot "-"+ command allows to read the data to be plot from
%%% standard input or the current batch job.
\verb+plot "-"+ ȤǽȤвǽǤ
\verb+plot "-"+ ޥɤ褹ǡɸϡ
ޤϸߤΥХå֤ɤ߹ߤޤ
\begin{verbatim}
gnuplot> plot "-"
1 1
2 4
3 9
e
\end{verbatim}
%%% \subsection{Can I put Greek letters and super/subscripts into my labels?}
\subsection{٥˥ꥷʸ/դʸȤޤ}
%%% Most terminal types (output device drivers) support an "enhanced text" mode.
%%% This lets you use sub- and superscripts. It also allows to use Greek
%%% letters and math symbols to the extent that these are supported by the fonts
%%% installed on your system.
¿νϷ (ϥǥХɥ饤) ǡֳĥʸץ⡼ %
("enhanced text" ⡼) ݡȤƤơ
Ǿդդʸޤ
ξ硢ʤΥƥ˥ȡ뤵ƤեȤ
ݡȤϰǡꥷʸ䡢صʸⰷޤ
%%% You might try using the \LaTeX{} terminal type and putting text
%%% like \verb+"\\alpha_{3}"+ or \verb+'\alpha_{3}'+ .
\LaTeX{} ϤԤʤϷȤä \verb+"\\alpha_{3}"+ %
\verb+'\alpha_{3}'+ Τ褦ˤƤߤƤ
%% end Japanese
%%% If you include your \gnuplot-graphs into a \LaTeX{} document
%%% you can use the \LaTeX{}-package psfrag to typeset any characters
%%% into your graphs.
\gnuplot{} Υդ \LaTeX{} ʸĥˤϡ
\LaTeX{} ѥå psfrag Ȥ
ǤդʸȤȤǤޤ
%%% One more possibility is to use the MetaPost terminal. It supports \TeX{}
%%% syntax and is converted onto encapsulated PostScript by mpost.
⤦Ĥβǽ MetaPost ϤǤ \TeX{} ɽˡݡȤ
mpost ˤä encapsulated PostScript (EPS) Ѵޤ
%%% \subsection{How do I include accented characters}
\subsection{ɤ饢դʸϤǤޤ}
%% end Japanese
% \subsection{Can I type labels in Czech, French, Hungarian, Russian...}
%%% To obtain accented characters like \"u or \^n in your labels you should use
%%% 8bit character codes together with the appropriate encoding option.
%%% See the following example:
\"u (u 饦; u ξ 2 ĤΥ) %
\^n Τ褦ʸ٥˴ޤˤϡ
Ŭڤʥɥץꤷ
8bit ʸɤѤʤФޤ
㤨мΤ褦ˤޤ
\begin{verbatim}
gnuplot> set encoding iso_8859_1
gnuplot> set title "M\374nchner Bierverbrauch \374ber die Jahre"
gnuplot> plot "bier.dat" u 1:2
\end{verbatim}
%%% Consequently, you can type labels in Czech, French, Hungarian, Russian... by
%%% means of an appropriate \texttt{set encoding}. However, you cannot mix two
%%% encodings in one file (e.g. accents for west and east latin encodings).
ˤꡢŬڤ \texttt{set encoding} ˤꡢ
졢ʩ졢ϥ졢ϪʤɤΥ٥ǤФȤǤޤ
2 Υ (㤨ƥɤƥ) %
ĤΥե˺뤳ȤϤǤޤ
%%% A more general solution is to use UTF-8 encoded fonts, and type the
%%% UTF-8 characters directly into gnuplot. This works for many terminal types
%%% but not, unfortunately, PostScript. Update: Version 4.4 contains
%%% more complete support for UTF-8, including PostScript.
UTF-8 ǥեȤȤΤŪʤϡ
\gnuplot{} ľ UTF-8 ʸϤ뤳ȤǤ
¿νϷưޤǰʤ PostScript ǤϤǤ
: С 4.4 gnuplot ǤϡPostScript ޤ괰 %
UTF-8 ΥݡȤʤƤޤ
%%% \subsection{Can I do 1:1 scaling of axes?}
\subsection{ĤȲμ 1:1 ˤǤޤ}
%%% Try \verb+set size square+
%%% or \verb+set view equal xy+.
\verb+set size square+ %
\verb+set view equal xy+ ȤƤߤƤ
%%% \subsection{Can I put different text sizes into my plots?}
\subsection{ۤʤ륵ΥƥȤĤΥդǽϤǤޤ}
%%% Some terminals can, others can't. Some allow you to choose
%%% a font size for the
%%% entire plot. Terminals supporting the "enhanced text" mode
%%% allow you to change fonts and text sizes within a plot. Look at
%%% the help for these terminals.
ǽʽϷ⤢ޤǤʤΤ⤢ޤ
ΤΥեȥǤ褦ʤΤ⤢ޤ
"enhanced text" ⡼ɤݡȤƤϷǤ
ǥƥȥȥեȤѹԤʤޤ
줾νϷΥإפȤƤ
%%% \subsection{How do I skip data points?}
\subsection{ɤǡåפǤޤ}
%%% By specifying \texttt{?} as a data value, as in
ʲΤ褦˥ǡͤȤ \texttt{?} ꤹФǤޤ
%% end Japanese
\begin{verbatim}
1 2
2 3
3 ?
4 5
\end{verbatim}
%%% See also \texttt{set missing}.
%%% See also \texttt{set datafile commentschars} for specifying comment
%%% characters in
%%% data files.
\texttt{set missing} ⻲ȤƤ
ǡեΥʸꤹˤϡ
\texttt{set datafile commentschars} ȤƤ
%%% \subsection{How do I plot every nth point?}
\subsection{ɤ n ˥ǡޤ}
%%% This can be specified with various options for the command \verb+plot+,
%%% for example \verb+plot 'a.dat' every 2+. If you want to draw a line
%%% through every point but only draw a point symbol at every nth point,
%%% then try \verb+plot 'a.dat' with linespoints pointinterval n+.
ϡ㤨 \verb+plot 'a.dat' every 2+ Τ褦ˡ
\verb+plot+ ޥɤ˿ʥץꤹ뤳ȤǤǤޤ
٤Ƥ̤ε n ˽ϡ
\verb+plot 'a.dat' with linespoints pointinterval n+ ȤƤߤƤ
%%% \subsection{How do I plot a vertical line?}
\subsection{ɤľޤ}
%%% Depending on context, the main methods are:
ˤޤˡϰʲ̤Ǥ:
%% end Japanese
\begin{itemize}
%%% \item \verb+set arrow .... .... nohead+ where you have to compute
%%% explicitly the start and the end of the arrow.
%%% \item generate (inlined) datapoints and plot them
%%% \item switch to parametric mode
\item \verb+set arrow .... .... nohead+ ξ硢
ΤʳȽλΰ֤Ƥɬפޤ
\item ǡä (饤Ǥλ)
\item ѥ⡼ɤˤ
%% end Japanese
\end{itemize}
%%% \subsection{How do I plot data files}
\subsection{ɤǡեǤޤ}
%%% Easily: by a command \texttt{plot 'a.dat'}. In 3D, use
%%% \texttt{splot 'a.dat'} --
%%% but don't forget to put a blank line in between two subsequent
%%% scans (isolines),
%%% otherwise you will get an error that the data is not gridded;
%%% see also question
%%% \ref{blank1}. If your data are not gridded, then use
%%% \texttt{set dgrid3d \{many
%%% options\}}.
ñǤޥ \texttt{plot 'a.dat'} ǤǤޤ
3 ξ \texttt{splot 'a.dat'} Ǥ
2 ĤΤĤʤäƤ (Ω) ʬΥΤ
ԤϤΤ˺ʤǤ
ʤȡǡʻҾ (grid) ǤʤȤ顼Ф뤫Τޤ
\ref{blank1} ⻲ȤƤ
ǡʻҾǤʤϡ
\texttt{set dgrid3d \{ʥץ\}} ѤƤ
%%% \subsection{How do I replot multiplot drawing}
\subsection{ɤ multiplot replot Ǥޤ}
%%% You cannot directly: gnuplot supports \verb+replot+ command, not
%%% \verb+remultiplot+. You have to write the complete sequence of commands since
%%% \verb+set multiplot+ till \verb+unset multiplot+ into a script file. Then
%%% you can \verb+load+ the script into gnuplot as many times as you need for
%%% replotting the drawing to different terminals or output files.
ľܤϤǤޤ:
gnuplot \verb+replot+ ޥɤϥݡȤƤޤ
\verb+remultiplot+ ޥɤϤޤ
äơץȥե %
\verb+set multiplot+ \verb+unset multiplot+ %
ޤǤΤ٤ƤΥޥɬפޤ
ΥץȤ gnuplot \verb+load+ ƤС
ɬפʲۤʤϷۤʤϥե replot Ǥޤ
%%% \section{Miscellaneous}
\section{¾}
%%% \subsection{I've found a bug, what do I do?}
\subsection{ХĤΤǤɤɤǤ}
%%% First, try to see whether it actually is a bug, or whether it
%%% is a feature which may be turned off by some obscure set--command.
ǽˡ줬˥ХʤΤ
Ȥ⤢ set--command ݤȤǤħʤΤˤƤ
%%% Next, see whether you have an old version of \gnuplot{}; if you do,
%%% chances are the bug has been fixed in a newer release.
ˡʤȤäƤ \gnuplot{} ŤǤǤϤʤΤƤ
⤷ʤ顢
꿷ǤǤϤοХϼƤǽޤ
%%% The {CVS} development version may already contain fixes for bugs reported
%%% since the release of the current version.
%%% Before submitting a bug report, please check whether the bug in question
%%% has already been fixed.
{CVS} ȯǤϡߤΥǰʸ𤵤줿Хν
˻äƤǽޤݡȤˡ
ΥХ˽ƤʤåƤߤƤ
%%% If, after checking these things, you still are convinced that there is a
%%% bug, proceed as follows. If you have a fairly general sort of bug
%%% report, posting to \news{comp.graphics.apps.gnuplot} is probably
%%% the way to go. If you have investigated a problem in detail, especially
%%% if you can provide a simple script that reproduces the error, please
%%% upload it to the bug-tracker at
%%% \http{sourceforge.net/tracker/?group_id=2055&atid=102055}.
åǤʤ줬ХǤȳοʤ顢
ʲ˿ʤǤ
⤷ʤŪʼΥХݡȤäʤС
¿ʬ˥塼롼 \news{comp.graphics.apps.gnuplot} %
ؤƤ٤ƻǤ礦
⤷ξܺ٤Ĵ̤ʤС
äˤΥ顼ݸ¤ñʥץȤǤʤС
\http{sourceforge.net/tracker/?group_id=2055&atid=102055}
bug-tracker ˥åץɤƤ
%%% The tracker on sourceforge is for reporting bugs and collecting bug fixes
%%% that will appear in a subsequent release.
%%% The \news{comp.graphics.apps.gnuplot} newsgroup will be more help for
%%% finding work arounds or actually solving \gnuplot{} related problems. If
%%% you do send in a bug report, be sure and include the version of \gnuplot{}
%%% (including patchlevel) as shown by the command \verb+show version long+,
%%% terminal driver, operating system, an exact description of the bug and
%%% input which can reproduce the bug. Failure to indicate these details can
%%% render a solution to your problem almost impossible. Also, any context
%%% diffs should be referenced against the latest official version of
%%% \gnuplot{} if at all possible.
souceforge tracker ϡХΥݡȡ
ΥȿǤ뤿ΥХνμΤΤΤǤ
˥塼롼 \news{comp.graphics.apps.gnuplot} %
\gnuplot{} ˴ؤФĤ롢
뤤Ϥºݤ˲褹ΤΤΤǤ
⤷ХݡȤȤϡ\verb+show version long+ ޥɤǸ %
\gnuplot{} ΥС (ѥå٥ޤ)
ϷΥɥ饤̾ (terminal driver)ڥ졼ƥƥࡢ
ХΤʵҤȥХƸ뤿ϡ
ǧݡȤƤ
ξܺ٤ƤʤС
βͿ뤳ȤϤۤȤԲǽǤ
ơǿθǤ \gnuplot{} ФƤʬ (context diff) ⡢
ǽʤФ٤ưѤ٤Ǥ
%%% \subsection{Can I use \gnuplot{} routines for my own programs?}
\subsection{Υץ \gnuplot{} Υ롼ѤǤޤ}
%%% On systems supporting pipes, you can pipe commands to \gnuplot{} from other
%%% programs. Many applications with gnuplot as the graphics engine, like Octave
%%% (\http{www.octave.org}), uses this method. This also works from a
%%% cgi script to
%%% drive \gnuplot{} from a forms-based web page.
ѥפݡȤƤ륷ƥǤϡ
¾Υץफѥͳ \gnuplot{} ˥ޥɤϤȤǤޤ
Octave (\http{www.octave.org}) Τ褦ˡ
gnuplot եåȤƻѤƤ¿Υץꥱ
ˡѤƤޤ
ϡform ١ Web ڡ \gnuplot{} ư cgi ץȤǤ
ѤǤޤ
%%% John Campbell (\mailto{jdc@nauvax.ucc.nau.edu}) modified a much earlier
%%% version of \gnuplot{} (3.5) to be a library of C subroutines callable
%%% from a C program. Gnuplot itself has changed radically since then,
%%% and we are not aware of any plans to create a similar library based on
%%% the current version.
John Campbell (\mailto{jdc@nauvax.ucc.nau.edu}) ϡ
ʤ (3.5) \gnuplot{} ɤơ
C ץफƤӽФ C Υ֥롼饤֥˺夲ޤ
gnuplot ϤθŪѲޤ
ߤǤ˴ŤƱͤΥ饤֥褦ʷײϲ桹Τޤ
%%% \subsection{What extensions have people made to \gnuplot? Where can I get
%%% them?}
\subsection{ɤɲäĥʤƤޤϤɤޤ}
%%% Many extensions or patches are available on the "Patches" page of the
%%% gnuplot development site
%%% \http{sourceforge.net/tracker/?group_id=2055&atid=302055}.
%%% The current development version will generally include some of these
%%% being debugged for inclusion in a later official release of gnuplot.
γĥѥågnuplot γȯ %
\http{sourceforge.net/tracker/?group_id=2055&atid=302055} %
"Patches" ڡˤޤ
ǿγȯǤϡ
gnuplot κ˴ޤޤ뤿ΥǥХåʤ顢
ΤĤޤǤޤ
%%% Older extensions, which may or may not work with the current version,
%%% are available from \ftp{ftp.ucc.ie}{/pub/gnuplot/contrib/}.
ߤǤǤưɤʬޤ
Ťĥ \ftp{ftp.ucc.ie}{/pub/gnuplot/contrib/} ˤޤ %
(: (03/14 2005) ϤˤϤʤ褦Ǥ)
%%% Some extensions available:
߰ʲΤ褦ʳĥʤƤޤ:
%% end Japanese
\begin{itemize}
%%% \item \texttt{date-errorbar}: allows dates in the hi/lo fields for
%%% errorbars.
%%% \item \texttt{perltk}: A perl/tk canvas widget.
%%% \item \texttt{Gnuplot.py}: A python package to create graphs from
%%% within python. More information at
%%% \http{gnuplot-py.sourceforge.net}.
\item \texttt{date-errorbar}: 顼Сξ岼ξեǡȤ
\item \texttt{perltk}: perl/tk Хѥå
\item \texttt{Gnuplot.py}: Python ǥդ뤿 %
Python ѥåܤϰʲ:
\http{gnuplot-py.sourceforge.net}.
%% end Japanese
\end{itemize}
%%% \subsection{I need an integration, fft, iir-filter,...!}
\subsection{ʬ FFT IIR ե륿ʤɤߤΤǤ}
%%% \Gnuplot{} has been and is a plotting program, not a data
%%% processing or mathematical program suite. Therefore \gnuplot{}
%%% can't do that. Look into the demo file "bivariat.dem" for a basic
%%% implementation of an integration.
\gnuplot{} ϺޤǤ⡢ƸߤץǤꡢǡ
ץǤϤޤäƤΤ褦ʤȤϤǤޤʬ
ŪʼˤĤƤ demo "bivariat.dem" Ƥ
%%% For more sophisticated data-processing read the next section.
ʥǡˤĤƤϼΥɤǤ
%%% \subsection{Can I do heavy-duty data processing with \gnuplot? or
%%% What is beyond \gnuplot?}
\subsection{"heavy-duty" ǡ \gnuplot{} ǻȤޤ
ޤ \gnuplot{} ѤΤϤʤǤ}
%%% \gnuplot{} alone is not suited very well for this. One thing you might try
%%% is \texttt{fudgit}, an interactive multi-purpose fitting program written by
%%% Martin-D. Lacasse. It can use \gnuplot{} as its graphics back end.
\gnuplot{} ñȤǤϤޤꤽˤŬƤޤ
\texttt{fudgit} ƤߤȤǤ礦 Martin-D.Lacasse ˤä
줿÷¿ŪƤϤץǤ
ظǥեåϤΤ \gnuplot{} Ѥޤ
%%% Michael Courtney has written a program called lsqrft, which uses the
%%% Levenberg-Marquardt - algorithm for fitting data to a function. It is
%%% available from
%%% \ftp{hobbes.nmsu.edu}{/pub/os2/apps/analysis/lsqrft15.zip};
%%% sources, which should compile on Unix, and executables for MS-DOS and
%%% OS/2 are available. There is an interface to the OS/2 presentation
%%% manager.
Michael Courtney lsqrft ȸƤФץޤ
ϥǡؿƤϤΤ Levenberg-Marquardt %
르ꥺѤޤ
Unix ǥѥǽʥ MS-DOS, OS/2 Ѥμ¹ԥХʥ %
\ftp{hobbes.nmsu.edu}{/pub/os2/apps/analysis/lsqrft15.zip} ˤޤ
OS/2 ץ쥼ơޥ͡Ф륤ե⤢ޤ
%%% You might also want to look at the applications developed by
%%% the Software Tools Group (STG) at the National Center for
%%% Supercomputing Applications. Ftp to ftp.ncsa.uiuc.edu
%%% and get the file README.BROCHURE for more information.
NCSA (National Center for Supercomputing Applications) STG
(Software Tools Group) ˤäƳȯ줿ץꥱС
ܺ٤ ftp.ncsa.uiuc.edu ftp ơREADME.BROCHURE Ƥ
%%% You can also try pgperl, an integration of the PGPLOT plotting
%%% package with Perl 5. Information can be found at
%%% \http{www.ast.cam.ac.uk/AAO/local/www/kgb/pgperl}, the source is
%%% available from \ftp{ftp.ast.cam.ac.uk}{/pub/kgb/pgperl/} or
%%% \ftp{linux.nrao.edu}{/pub/packages/pgperl/}.
pgperl Ƥ⤤Ǥ礦
Perl 5 ˤä PGPLOT ץåȥѥå礷ΤǤ
˴ؤ %
\http{www.ast.cam.ac.uk/AAO/local/www/kgb/pgperl} ǸĤޤ
\ftp{ftp.ast.cam.ac.uk}{/pub/kgb/pgperl/}
ޤ \ftp{linux.nrao.edu}{/pub/packages/pgperl/} ˤޤ
%%% Another possibility is \textbf{Octave}. To quote from its README: Octave is a
%%% high-level language, primarily intended for numerical computations. Octave is
%%% licensed under GPL, and in principle, it is a free Matlab clone.
%%% It provides a
%%% convenient command line interface for solving linear and nonlinear problems
%%% numerically. The latest released version of Octave is always available from
%%% \http{www.octave.org}. By the way, octave uses \gnuplot{} as its plotting
%%% engine, so you get a data-processing program on top of \gnuplot{}.
¾ˡȤ Octave ޤREADME Ѥޤ:
Octave Ϲǡ˿ͷѤǤ
Octave GPL 饤˽§Ū˥ե Matlab Ǥ
Ū˲Τ
ޥɥ饤եƤޤ
Octave κǿǤϾ \http{www.octave.org} ˤޤ
Ȥǡoctave \gnuplot{} 襨ȤƻȤޤΤǡ
\gnuplot{} ɲäǡץ뤳Ȥˤʤޤ
%%% Finally, there is \texttt{scilab} at \http{www.scilab.org}
%%% doing about the same as matlab. It is free but copyrighted software.
Ǹˡ\texttt{scilab} \http{www.scilab.org} ˤޤ
matlab ȤۤƱͤưޤ
եǤƤʤ (GPL ǤϤʤ) եȥǤ
%%% \subsection{Mouse in my interactive terminal does not work}
\subsection{÷ߥʥǤϥޥޤ}
%%% If your mouse is not working, try to hit 'm' in the interactive terminal to
%%% switch mousing on/off. See below for the list of supported interactive
%%% terminals.
ޥʤ硢÷ߥʥ 'm' ǤäƤߤƤ
ϥޥǽ On/Off Ԥʤޤ
ݡȤƤ÷ߥʥΰˤĤƤϰʲȤƤ
%%% If it still does not run, then either gnuplot has not been configured or
%%% compiled with mouse support, or you have not properly installed it,
%%% or running
%%% an older version of gnuplot (check your \texttt{PATH}).
Ǥޤưʤ硢
gnuplot ޥǽݡȤ褦 configure ʤä
ѥ뤵ʤä
ȥȡ뤷ʤä
뤤 gnuplot θŤСȤäƤ뤫 %
(ʤ \texttt{PATH} åƤߤƤ) Ǥ礦
%%% If your gnuplot is running as the plotting engine of Octave under X11, then
%%% please put \texttt{set mouse} into your \texttt{\$HOME/.gnuplot} (preferred
%%% than putting \texttt{gset mouse} into \texttt{\$HOME/.octaverc}). This is
%%% needed only for gnuplot 4.0: according to its \texttt{help x11\_mouse},
%%% gnuplot 4.0 under x11 running through a pipe needs \texttt{set mouse} to be
%%% executed before launching the x11 plot window.
gnuplot X11 Octave 襨ȤưƤϡ
ʤ \texttt{\$HOME/.gnuplot} %
\texttt{set mouse} Ƥ %
(\texttt{\$HOME/.octaverc} \texttt{gset mouse} %
ȤꤤǤ礦)
ʲ gnuplot 4.0 ˤΤߴؤ뤳ȤǤ \texttt{help x11\_mouse} %
ˤСx11 ǥѥפ̤ gnuplot ưƤ %
x11 襦ɥư \texttt{set mouse} %
¹Ԥɬפ褦Ǥ
%%% \subsection{How to use hotkeys in my interactive terminals}
\subsection{÷ߥʥǤɤΤ褦˥ۥåȥȤФǤ}
%%% There are several hotkeys available in interactive terminals.
%%% Currently the following interactive terminals support hotkeys and mousing:
%%% OS/2 Presentation Manager, X11, Windows, WX, and GGI. Hit 'h'
%%% in the terminal
%%% to get list of hotkeys.
÷ߥʥǤϤĤΥۥåȥͭˤʤäƤޤ
ߤϼ÷ߥʥ뤬ۥåȥȥޥǽݡȤƤޤ:
OS/2 ץ쥼ơޥ͡ (pm), X11, Windows, WX, GGI
'h' ΥߥʥǤĤȡۥåȥΰɽޤ
%% end Japanese
%%% See \texttt{help new-features} or the \textbf{Features introduced
%%% in version 4.0}
%%% section in the docs for a brief guide over mousing and hotkeys.
%%% Further, you may read \texttt{help mouse} and \texttt{help bind} for more
%%% information.
ޥǽۥåȥ˴ؤ복פϡ
\texttt{help new-features} ɥȤ %
\textbf{Features introduced in version 4.0} ȤƤ
ˡ
\texttt{help mouse} \texttt{help bind} Ǥ礦
%%% \subsection{I have ported \gnuplot{} to another system, or patched it. What
%%% do I do?}
\subsection{\gnuplot{} ¾Υƥ˰ܿޤϥѥåޤ
ɤ餤Ǥ}
%%% The preferred way of submitting, commenting and upgrading patches is
%%% via 'Patches' section on
%%% \http{sourceforge.net/tracker/?group_id=2055&atid=302055}.
%%% You may want to send a note to \mailto{gnuplot-beta@lists.sourceforge.net}
%%% for
%%% more lively discussion.
Ƥष
\http{sourceforge.net/tracker/?group_id=2055&atid=302055} %
'Patches' ̤ƥȤ뤫
ѥå˾ޤǤ
\mailto{gnuplot-beta@lists.sourceforge.net} ϡ
ȯʵΤäĺȤ꤬Ǥ
%%% \subsection{I want to help in developing the next version of \gnuplot.
%%% What can I do?}
\subsection{\gnuplot{} μСγȯˤĤΤꤿΤǤ
ɤ餤Ǥ}
%%% Join the \gnuplot{} beta test mailing list by sending a mail
%%% containing the line
%%% \verb+subscribe gnuplot-beta+
%%% in the body (not the subject) of the mail to
%%% \mailto{Majordomo@lists.sourceforge.net}.
\gnuplot{} Υ١ƥȥꥹȤäƤ
ʸ (륿ȥǤϤʤ) \verb+subscribe gnuplot-beta+ %
Ƚƥ %
\mailto{Majordomo@lists.sourceforge.net} äƤ
%%% \subsection{Open questions for inclusion into the FAQ?}
\subsection{FAQ ˴ޤޤ褦̤μ ?}
% \mailto{gnuplot-beta@lists.sourceforge.net}.
%%% Please submit your questions (along with the answer) to
%%% \mailto{gnuplot-beta@lists.sourceforge.net}.
μ (Ȱ)
\mailto{gnuplot-beta@lists.sourceforge.net} äƤ
%%% \section{Making life easier}
\section{ޤˤ (Making life easier)}
%%% \subsection{How do I plot two functions in non-overlapping regions?}
\subsection{ɤ 2 ĤδؿŤʤʤ褦˽ޤ}
%%% Use a parametric plot. An example:
ѥ (parametric) Ѥ褹ФǤ礦:
%% end Japanese
\begin{verbatim}
gnuplot> set parametric
gnuplot> a=1
gnuplot> b=3
gnuplot> c=2
gnuplot> d=4
gnuplot> x1(t) = a+(b-a)*t
gnuplot> x2(t) = c+(d-c)*t
gnuplot> f1(x) = sin(x)
gnuplot> f2(x) = x**2/8
gnuplot> plot [t=0:1] x1(t),f1(x1(t)) title "f1", x2(t), f2(x2(t)) title "f2"
\end{verbatim}
%%% You can also use \gnuplot's ability to ignore mathematically undefined
%%% expressions: the expression \verb+1/0+ is silently ignored, thus a
%%% construction like
\gnuplot{} ΡŪʤ̵뤹뵡ǽȤȤǤޤ
\verb+1/0+ Ȥۤä̵뤷ޤΤǡ㤨
%% end Japanese
\begin{verbatim}
gnuplot> set xran [-10:10]
gnuplot> plot (abs(x)>0.5?1/0: x**2)
\end{verbatim}
%%% plots a quadratic function only for \verb+|x| < 0.5+.
Τ褦ˤ 2 δؿ \verb+|x| < 0.5+ ϰϤǤΤ褷ޤ
%%% \subsection{How do I run my data through a filter before plotting?}
\subsection{ɤ˥ǡ˥ե륿ޤ}
%%% If your system supports the popen() function, as Unix does, you
%%% should be able to run the output through another process, for
%%% example a short awk program, such as
ΥƥबUnix Τ褦 popen() ؿݡȤƤʤ顢
¾ΥץνϤȤäƼ¹Ԥ뤳ȤǽǤ
㤨СΤ褦 awk ûץबȤޤ:
\begin{verbatim}
gnuplot> plot "< awk ' { print $1, $3/$2 } ' file.in"
\end{verbatim}
%$
%%% The plot command is very powerful and is able to do some
%%% arithmetic on datafiles. See \verb+help plot+.
plot ޥɤϤȤƤϤǡ
ǡեФ뤢ǽǤ
\verb+help plot+ ȤƤ
%%% The above filtering works seamlessly under Unixes and OS/2. On Windows, this
%%% is only supported by the console version \texttt{gnuplot} or the GUI version
%%% \texttt{wgnuplot\_pipes}, which has an additional text console attached. The
%%% Cygwin version of gnuplot naturally supports pipes as well.
Υե륿ϡUnix 䤽θߴ OSOS/2 Ǥϥࡼưޤ
Windows ǤϡϥǤ \texttt{gnuplot}
ƥȥ뤬ɲä줿 GUI Ǥ \texttt{wgnuplot\_pipes} %
ΤߤݡȤޤ
Cygwin Ǥ gnuplot ⡢ѥפݡȤƤޤ
%%% \subsection{How do I make it easier to use \gnuplot{} with \LaTeX{}?}
\subsection{ɤ \gnuplot{} βڤ \LaTeX{} ǰޤ}
%%% There is a set of \LaTeX{} macros and shell scripts that are meant
%%% to make your life easier when using \gnuplot{} with \LaTeX{}. This
%%% package can be found on \ftp{ftp.dartmouth.edu}{pub/gnuplot/latex.shar},
%%% by David Kotz.
%%% For example, the program "plotskel" can turn a gnuplot-output
%%% file plot.tex into a skeleton file skel.tex, that has the same
%%% size as the original plot but contains no graph. With the right
%%% macros, the skeleton can be used for preliminary \LaTeX{} passes,
%%% reserving the full graph for later passes, saving tremendous
%%% amounts of time.
\LaTeX{} ȤȤ \gnuplot{} Ȥ硢
ڤˤƤ褦 %
\LaTeX{} Υޥȥ륹ץȤΥåȤޤ
Υѥå David Kotz ˤΤǡ
\ftp{ftp.dartmouth.edu}{pub/gnuplot/latex.shar} ˤޤ
(: (03/14 2005) ϤˤϤʤ褦Ǥ
archie gnuplot-latex.shar ȤեõƤߤƤ) %
㤨 "plotskel" \gnuplot{} νϤե plot.tex %
ȤߤΥե skel.tex ޤ
ϸΥդƱǤʬޤ
ιȤߤŬڤʥޥȶ \LaTeX{} ѥΥƥȤǻȤȤǤ
ϸ˹ԤʤդȴޤѥνΩ
襳ѥˤ¿λ֤Ƥޤ
%%% \subsection{How do I save and restore my settings?}
\subsection{ɤ¸/ѤǤޤ}
%%% Use the \verb+save+ and \verb+load+ commands for this; see \verb+help save+
%%% and \verb+help load+ for details.
ˤ\verb+save+ \verb+load+ ΥޥɤȤäƤ
ܺ٤\verb+help save+ \verb+help load+ ȤƤ
%%% You can save the current terminal and restore it later without touching the
%%% filesystem by \texttt{set term push} and \texttt{set term pop}, respectively.
\texttt{set term push} \texttt{set term pop} ȤС
ե륷ƥ뤳Ȥʤ
줾츽ߤνϷ¸ȤθǤޤ
%%% \subsection{How do I plot lines (not grids) using splot?}
\subsection{ɤ splot Ƕ (ʻҤǤʤ) ޤ}
%%% If the data in a data file for splot is arranged in such a way
%%% that each one has the same number of data points (using blank
%%% lines as delimiters, as usual), splot will plot the data with a
%%% grid. If you want to plot just lines, use a different number of
%%% data entries (you can do this by doubling the last data point,
%%% for example).
splot ΥǡեΥǡƱΥǡĤ褦 %
(ڤϤĤΤ褦˶Ԥ) ·Ƥ硢
splot ϥǡʻҤ褷ޤ
ñ˶ǽʤСǡȥθĿۤʤ褦 %
(㤨кǸƱΤ 2 ĤĤȤ) Ƥ
%%% \subsection{How do I plot a function f(x,y) that is bounded by other
%%% functions in the x-y plane?}
\subsection{ɤ x-y ʿ̾¾δؿ¤Ƥ f(x,y)
դޤ}
%%% An example:
:
%% end Japanese
\begin{verbatim}
gnuplot> f(x,y) = x**2 + y **2
gnuplot> x(u) = 3*u
gnuplot> yu(x) = x**2
gnuplot> yl(x) = -x**2
gnuplot> set parametric
gnuplot> set cont
gnuplot> splot [0:1] [0:1] u,yl(x(u))+(yu(x(u)) - yl(x(u)))*v,\
> f(x(u), (yu(x(u)) - yl(x(u)))*v)
\end{verbatim}
%%% \subsection{How do I turn off <feature> in a plot?}
\subsection{ɤ̵ˤǤޤ}
%%% Most gnuplot features are controlled by a corresponding set/unset command.
%%% If a feature is enabled by default, or by using \verb+set <feature>+,
%%% then you
%%% should be able to turn it by using \verb+set no<feature>+. However,
%%% the preferred
%%% syntax since version 4.0 is \verb+unset <feature>+.
Ƥ gnuplot εǽϡб set/unset ޥɤǤޤ
ǥեȤͭˤʤäƤ뵡ǽ
뤤 \verb+set <feature>+ ͭˤǽϡ
\verb+set no<feature>+ ̵ˤǤޤ
version 4.0 ϤνϤष \verb+unset <feature>+ %
Ȥ٤Ǥ
%%% \subsection{How do I call \gnuplot{} from my own programs?}
\subsection{ɤץफ \gnuplot{} ƤӽФޤ}
%%% On unix-like systems, commands to gnuplot can be piped via stdin.
%%% Output from \gnuplot{}'s \verb+print+ command can be read via a named pipe.
unix ߴƥʤСgnuplot ؤΥޥɤɸ (stdin) %
ѥפϤޤ
\gnuplot{} \verb+print+ ޥɤϡ
̾Ĥѥפɤ߽ФȤǤޤ
%% end Japanese
%%% On Windows, due to the lacking standard input (stdin) in GUI programs,
%%% you either need to use the console version \texttt{gnuplot} (recommended),
%%% or use \texttt{wgnuplot\_pipes}, which has an additional console window
%%% attached. The old helper program \texttt{pgnuplot} is still included
%%% in the distribution package.
Windows ǤϡGUI ץɸ (stdin) Ȥʤᡢ
Ǥ \texttt{gnuplot} (侩)
ƥȥ뤬ɲä줿 GUI Ǥ \texttt{wgnuplot\_pipes} %
Τ줫Ȥɬפޤ
Ť \texttt{pgnuplot} Ȥإѡץ
ޤեå˴ޤޤƤޤ
%%% \subsection{What if I need h-bar (Planck's constant)?}
\subsection{Planck (h ˲) ɬפʤȤϤɤ餤Ǥ}
%%% The most straightforward way is to use a UTF-8 font, and type in the
%%% $\hbar$ character (Unicode code point \#x210F) directly.
Ǥ⼫ˡϡUTF-8 եȤȤʸ $\hbar$ (Unicode
ݥ \#x210F) ľϤ뤳ȤǤ
%%% This does not work in PostScript, however, so you must use approximations
%%% like
%%% \verb+ @{/=56 -} {/=24 h}+ or
%%% \verb+ {/=8 @{/Symbol=24 -} _{/=14 h}}+
%%% In the latter, the "-" (a long one in /Symbol) is non-spacing and 24-pt.
%%% The 14-pt "h" is offset by an 8-pt space (which is the space preceding
%%% the "\_") but smaller, since it's written as a subscript.
%%% But these don't look too much like the hbar we're used to, since the bar
%%% is horizontal instead of sloped. I don't see a way to get that. I
%%% tried using an accent (character 264 in iso-latin-1 encoding),
%%% but I haven't found a
%%% way to scale and position the pieces correctly.
%%% One more possibility would be \verb+{/=14 @^{/Symbol=10 -}{/=14 h}}+.
PostScript ǤϤޤޤΤǡ㤨мΤ褦
κѤɬפޤ:
\verb+ @{/=56 -} {/=24 h}+ ޤ \verb+{/=8 @{/Symbol=24 -} _{/=14 h}}+ %
ԤǤ 24pt (ݥ) "-"
(/Symbol եȤĹϥե) ڡʤǻȤޤ
14pt "h" 8pt Υڡ ("\_" ˤ륹ڡ) %
餵֤ޤ
ϲդʸȤƽΤǾʸˤʤޤ
̾桹ѤץεȤϰäƤơ
ϼǤϤʤʿˤʤޤ
ȵʤɤȤäƤߤޤ %
(iso-latin-1 ǥʸ 264 ʤ)
礭Ȱ֤ˡĤ뤳ȤϤǤޤǤ
⤦Ĥˡ \verb+{/=14 @^{/Symbol=10 -}{/=14 h}}+ Ȥ뤳ȤǤ
%%% The reduced Planck's constant can be set very easily by using the
%%% AMS-LaTeX PostScript fonts which are available from
%%% \http{www.ams.org/tex/amsfonts.html} (also included in many LaTeX
%%% distributions). \Gnuplot{} (see \verb+help fontpath+) and the
%%% PostScript interpreter (usually Ghostscript) have to know where the
%%% file \verb+ msbm10.pfb+ (or \verb+ msbm10.pfa+) resides. Use
%%% \verb+ {/MSBM10 \175}+ to produce \verb+ \hslash+ which is a "h"
%%% superimposed by a sloped bar. The standard \verb+ \hbar+ (horizontal
%%% bar) has the octal code 176. Please note that h-bar exists only as an
%%% italic type.
AMS-LaTeX PostScript ե%
(\http{www.ams.org/tex/amsfonts.html} ˤꡢ
¿ LaTeX ۤˤޤޤƤޤ) ȤС
ȤƤñ˾ Planck åȤ뤳ȤǤޤ%
\gnuplot{} (\verb+help fontpath+ ) ȡ
PostScript ץ (̾ Ghostscript)
ե \verb+ msbm10.pfb+ (ޤ \verb+ msbm10.pfa+)
ɤˤ뤫Τɬפޤ%
"h" ˷ФΤĤŤͤ \verb+ \hslash+ ˤ%
\verb+ {/MSBM10 \175}+ ȤäƤ
̾ \verb+ \hbar+ (ʿβ) 8 ʿ 176 Ǥ
ʿβϥåΤȤƤ¸ߤʤȤդƤ
%%% \subsection{What if I need the Solar math symbol?}
\subsection{ۤΤ褦ʿص (ݤ) ɬפʤȤϤɤ餤Ǥ}
%%% As with Planck's constant, the most straightforward way is to use a
%%% UTF-8 font, and type in the $\odot$ character (Unicode code point
%%% \#x2299 ; "circled dot operator") directly.
%%% The very similar glyph at code point \#x2609 ; "sun" may be even
%%% better, but not many fonts have it.
Planck Ʊ͡Ǥ⼫ˡ UTF-8 եȤȤʸ $\odot$ %
(Unicode ɥݥ \#2299; "circled dot operator") %
ľϤ뤳ȤǤ
ˤ褯դɥݥ \#x2609 ˤ⤢ޤ
"sun" ǡꤤ⤷ޤ
ĥեȤ¿Ϥޤ
%%% \subsection{How do I produce blank output page?}
\subsection{ʤڡϤˤ}
%%% Well, you probably don't want a blank page, but page with a just a title
%%% (overprinting title in another graph in multiplot page):
¿ʬϤʤ櫓ǤϤʤơ
ȥΤΤϤʤǤ礦 %
(multiplot Υڡ¾Υդ˽Ťͤ褦):
\begin{verbatim}
reset; unset xtics; unset ytics
unset border; unset key
set title 'Title on an empty page'
plot [][0:1] 2
\end{verbatim}
%%% \subsection{How do I produce graph of an exact border size?}
\subsection{ΰ֤٤˹碌ƥդˤ}
%%% Specify the position of the top, bottom, left, and right borders in
%%% terms of their fractional position within the page:
塢ζ֤ڡΰ֤Ȥƾñ̤ǻꤷƤ:
\begin{verbatim}
set lmargin at screen 0.05
set bmargin at screen 0.05
set rmargin at screen 0.95
set tmargin at screen 0.95
\end{verbatim}
%%% \section{Common problems}
\section{̤}
%%% \subsection{Help! None of my fonts work.}
\subsection{! ΥեȤȤʤ}
%%% Gnuplot does not do font handling by itself; it must necessarily leave
%%% that to the individual device support libraries. Unfortunately, this
%%% means that different terminal types need different help in finding
%%% fonts. Here are some quick hints. For more detailed information please
%%% see the gnuplot documentation for the specific terminal type you are
%%% having problems with.
gnuplot ϡ켫ȤǤϥեȽԤޤΤǡ
ɬŪ˸ġΥǥХݡȤ饤֥Ǥ뤳Ȥˤʤޤ
ǰʤ餳ϡեȤθФˤƤϡۤʤϷˤ
ۤʤɬפȤȤ̣ޤΤǡ
ǤϡñʥҥȤĤ夲Ƥޤ
ܤˤĤƤϡʤˤƤϷѤ %
gnuplot ΥɥȤȤƤ
\begin{description}
%%% \item [{png/jpeg/gif}] These terminal types use the libgd support
%%% library, which
%%% searches for fonts in the directories given in the environmental variable
%%% GDFONTPATH. Once you get libgd fontpaths sorted out, you will probably
%%% want to set a default font for gnuplot.
%%% For example: \verb+setenv GNUPLOT_DEFAULT_GDFONT verdana+
\item [{png/jpeg/gif}]
νϷϡlibgd Ȥݡȥ饤֥Ѥ
ϴĶѿ GDFONTPATH Ϳǥ쥯ȥ˥եȤõޤ
Τ褦 libgd Υեȥѥꤹȡ
٤ gnuplot ΥǥեȥեȤꤷ⤷ޤ
: \verb+setenv GNUPLOT_DEFAULT_GDFONT verdana+
%% end Japanese
%%% \item [{pdf}] The libpdf support library should have come with an associated
%%% font configuration file, usually installed as /usr/local/share/pdflib.upr.
%%% The environmental variable PDFLIBRESOURCE should point to this file.
\item [{pdf}]
Υݡȥ饤֥ libpdf ϡϢեեȤޤ
̾綠 /usr/local/share/pdflib.upr Ȥƥȡ뤵ޤ
Ķѿ PDFLIBRESOURCE ϡΥեΰ֤ޤ
%% end Japanese
%%% \item [{post}] PostScript font names are not resolved until the document
%%% is printed. Gnuplot does not know what fonts are available to your
%%% printer, so it will accept any font name you give it. However, it
%%% is possible to bundle a font with the gnuplot output; please see the
%%% instructions given by gnuplot's internal command {}``help set term
%%% post fontfile''.
\item [{post}]
PostScript ե̾ϡʸޤǻȤޤ顢
ʤΥץǤɤΥեȤͭǤ뤫 gnuplot Τޤ
äơɤʥե̾Ǥꤹ뤳ȤǤޤ
gnuplot νϤ˥եȤळȤϲǽǤˤĤƤϡ
gnuplot ޥ ``help set term post fontfile''
ؼȤƤ
%% end Japanese
%%% \item [{svg}] Font handling is viewer-dependent.
\item [{svg}] եȽϡӥ塼¸Ǥ
%% end Japanese
%%% \item [{x11}] The x11 terminal uses the normal x11 font server mechanism.
%%% The only tricky bit is that in order to use multi-byte fonts you must
%%% explicitly say so:
\item [{x11}]
x11 Ϸϡ̾ x11 եȥеѤޤ
ȥåꡢޥХȥեȤѤ뤿ˤϡ
Ū˰ʲΤ褦˻ꤹɬפޤ:
%% end Japanese
\begin{verbatim}
set term x11 font "mbfont:sazanami mincho,vera,20"
\end{verbatim}
%%% \item [{win}] Select "Choose font..." from the "Options" pull-down menu
%%% in the toolbar.
\item [{win}]
ġС "Options" Υץ˥塼 "Choose font..." ޤ
%% end Japanese
%%% \item [{wxt}] On linux systems, the wxt terminal can find fonts indexed
%%% by the fontconfig utility.
\item [{wxt}]
Linux ƥǤϡwxt Ϸ fontconfig ǴƤեȤ
Ĥ뤳ȤǤޤ
%% end Japanese
\end{description}
%%% \subsection{\Gnuplot{} is not plotting any points under X11! How come?}
\subsection{X11 \gnuplot{} ɤ褷ޤɤ餤Ǥ}
%% end Japanese
%%%%
%%%%Very probably, you still are using an old version of
%%%%gnuplot\_x11. Remove that, then do a full installation.
%%%%
%%% On VMS, you need to make several symbols:
VMS ǤϤĤεʤФޤ:
\begin{verbatim}
$ gnuplot_x11 :== $disk:[directory]gnuplot_x11
$ gnuplot :== $disk:[directory]gnuplot.exe
$ def/job GNUPLOT$HELP disk:[directory]gnuplot.hlb
\end{verbatim}
%%% Then run \gnuplot{} from your command line, and use
%%% \verb+set term x11+.
\gnuplot{} ޥɥ饤鵯ư
\verb+set term x11+ ȤƤ
%%% If you run \gnuplot{} on Unix systems, be sure that the newest
%%% \verb+gnuplot_x11+ is the first in your search path.
%%% Command \verb+which gnuplot_x11+ will help you.
Unix \gnuplot{} ưϡ
ǿ \verb+gnuplot_x11+ ѥκǽ˸Ƥ뤫ǧƤ
ޥ \verb+which gnuplot_x11+ ͤˤʤǤ礦
%%% \subsection{Why does \gnuplot{} ignore my very small numbers?}
\subsection{ʤ \gnuplot{} ϤȤƤ⾮Υǡ̵뤹ΤǤ}
%%% \Gnuplot{} treats all numbers less than 1e-08 as zero, by default.
%%% Thus, if you are trying to plot a collection of very small
%%% numbers, they may be plotted as zero. Worse, if you're plotting
%%% on a log scale, they will be off scale. Or, if the whole set of
%%% numbers is "zero", your range may be considered empty:
\gnuplot{} ϥǥեȤǤ 1e-08 꾮Ƥο 0 Ȥưޤ
äƤȤƤ⾮νޤ褷褦Ȥ
0 Ȥ褵Ƥޤޤ
п褹ϡ
äȤҤɤȤˤ꤫ϤƤޤޤ
ޤƤο "0" Ǥ硢
ϰϤ϶ǤȤߤʤޤ (: \gnuplot{} 3.6 λ):
\begin{verbatim}
gnuplot> plot 'test1'
Warning: empty y range [4.047e-19:3e-11], adjusting to [-1:1]
gnuplot> set yrange [4e-19:3e-11]
gnuplot> plot 'test1'
^
y range is less than `zero`
\end{verbatim}
%%% The solution is to change \gnuplot's idea of "zero":
к \gnuplot{} "zero" γǰѹ뤳ȤǤ
%% end Japanese
\begin{verbatim}
gnuplot> set zero 1e-20
\end{verbatim}
%%% For more information, type \verb+help set zero+.
ܤˤĤƤ \verb+help set zero+ ȤƤ
%%% \subsection{\Gnuplot{} is not plotting on the screen when run from command
%%% line via '\texttt{gnuplot filename.gp}'}
\subsection{ޥɥ饤 '\texttt{gnuplot filename.gp}' ȤƤ
ɽƤޤ}
%%% Obviously, it draws (unless there is an error in the script file),
%%% but the plot
%%% dissappears immediately when the script is completed.
ϤƤǤ %
(ץȥե˥顼ʤ)
ץȤλȤ褬˾äƤ롢
ȤȤǤ
%%% Solution 1: Put a \verb+pause -1+ after the plot command in the file,
%%% or at the
%%% file end.
1: եΡplot ޥɤβ pause -1 ɲäƤ
%%% Solution 2: Use command \verb+gnuplot filename.gp -+ (yes, dash is the last
%%% parameter) to stay in the interactive regime when the script completes.
2: \verb+gnuplot filename.gp -+
(åǸΰˤޤ) ȤäƤ
ˤꡢץȤλ÷⡼ɤ˰ܹԤޤ
%%% Solution 3A: On an X-Window System system, you can also use the
%%% \verb+-persist+
%%% option, the X11 window is then not closed. Close the X11 window by typing "q"
%%% when the focus is on it.
3A: X-Window System ʤС
gnuplot \verb+-persist+ ץȤȤǤޤ
ξ硢X11 襦ɥϳޤޤˤʤޤ
ΥɥĤˤϤξ˥եäƹԤä %
"q" פƤ
%%% Solution 3B: On M\$ Windows, you can also use either \verb+-persist+ or
%%% \verb+/noend+.
3B: M\$ Windows Ǥϡ\verb+-persist+ ץ
뤤 \verb+/noend+ ץȤޤ
%%% Solution 4: For OS/2 PM terminal, use \verb+set term pm persist+ or
%%% \verb+set term pm server+. For X11 terminal, use \verb+set term x11 persist+.
4: OS/2 PM ϷǤϡ\verb+set term pm persist+
ޤ \verb+set term pm server+ ѤƤ
X11 ϷǤ \verb+set term x11 persist+ ȤƤߤƤ
%%% \subsection{My formulas (like 1/3) are giving me nonsense results!
%%% What's going on?}
\subsection{ (1/3 ʤ) ̣Τʤ̤ϤƤޤޤ}
%%% \Gnuplot{} does integer, and not floating point, arithmetic on
%%% integer expressions. For example, the expression 1/3 evaluates
%%% to zero. If you want floating point expressions, supply
%%% trailing dots for your floating point numbers. Example:
\gnuplot{} μξ硢¿黻ǤϤʤ黻Ԥʤޤ
㤨м 1/3 0 ɾޤ
⤷¿ͤߤʤСοθ˥ɥå "." ĤƤ
:
\begin{verbatim}
gnuplot> print 1/3
0
gnuplot> print 1./3.
0.333333
\end{verbatim}
%%% This way of evaluating integer expressions is shared by both C and Fortran.
μΤ褦ˤɾ %
C Fortran ǤԤʤƤޤ
%%% \subsection{My output files are incomplete!}
\subsection{νϤԴǤ!}
%%% You may need to flush the output with a closing \verb+set output+.
%%% Some output formats (postscript, pdf, latex, svg, ...) can include several
%%% pages of plots in a single output file. For these output modes, gnuplot
%%% leaves the file open after each plot so that you can add additional plots
%%% to it. The file is not completed and made available to external applications
%%% until you explicitly close it (\verb+set output+ or \verb+unset output+),
%%% or select a different terminal type (\verb+set term+) or exit gnuplot.
%%% Output formats that contain only a single 'page' (png, svg, emf, ...)
%%% should not suffer from this problem.
\verb+set output+ ˤäƽϤơ
ޤäƤϤǤФɬפ뤫Τޤ
ϷˤäƤϡĤνϥեʣΥڡޤޤƤޤ %
(postscript, pdf, latex, svg, ...)
νϥ⡼ɤǤϡgnuplot ϤʤɲäǤ褦
˥եץޤޤˤƤޤ
äƤʤŪˤ (\verb+set output+ ޤ %
\verb+unset output+) ۤʤϷ (\verb+set term+)
ޤ gnuplot λޤǤϡΥեϴǤϤʤ
ΥץꥱǤϻѤǤ褦ˤϤʤäƤޤ
ñ 'ڡ' ΤߤĽϷ (png, emf, ...) Ǥ
Τ褦Ǻޤ뤳ȤϤʤǤ礦
%%% \subsection{When using the \LaTeX--terminal, there is an error during
%%% the \LaTeX--run!}
\subsection{\LaTeX--terminal νϤ \LaTeX{} μ¹Ԥǥ顼Фޤ}
%%% The \LaTeX 2e-core no longer includes the commands
%%% "$\backslash$Diamond" and "$\backslash$Box"; they are included in
%%% the latexsym package.
%%% Other symbols are taken from the amssymb package.
%%% Both of these are part of the base distribution and thus part of any LaTeX
%%% implementation. Please remember to include these packages in your
%%% LaTeX document.
%% for LaTeX, html (but make image)
% \LaTeX 2$\epsilon$ Ϻϥޥ %
%"$\backslash$Diamond" "$\backslash$Box" äƤ餺
%% for latex2html
\LaTeXe{} Ϻϥޥ %
"\textbackslash{}Diamond" "\textbackslash{}Box" äƤ餺
Ϻ latexsym ѥåäƤޤ
ޤamssymb ѥå¾εȤޤ
Ϥ \LaTeX{} δʪˤϴޤޤƤơ
äǤդ \LaTeX{} ƥˤϴޤޤƤޤ
Υѥåʤʸ뤳Ȥ˺ʤǤ
%%% \subsection{Calling \gnuplot{} in a pipe or with a \gnuplot-script
%%% doesn't produce a plot!}
\subsection{ѥפ \gnuplot{} ƤӽФ \gnuplot{} ץȤȤä
դޤ}
%%% You can call \gnuplot{} by using a short Perl-script like the
%%% following:
Τ褦û Perl ץȤȤä \gnuplot{} ƤӽФޤ:
%% end Japanese
\begin{verbatim}
#!/usr/local/bin/perl -w
open (GP, "|/usr/local/bin/gnuplot -persist") or die "no gnuplot";
# force buffer to flush after each write
use FileHandle;
GP->autoflush(1);
print GP,"set term x11;plot '/tmp/data.dat' with lines\n";
close GP
\end{verbatim}
%%% \Gnuplot{} closes its plot window on exit. The \verb+close GP+
%%% command is executed, and the plot window is closed even before you have
%%% a chance to look at it.
\gnuplot{} Ͻλˤ襦ɥĤޤ
\verb+close GP+ ޥɤ¹Ԥȡ
襦ɥܤˤǤĤƤޤޤ
%%% There are three solutions to this: first, use the \verb+pause -1+
%%% command in \gnuplot{} before closing the pipe. Second, close the pipe
%%% only if you are sure that you don't need \gnuplot{} and its plot window
%%% anymore. Last, you can use the command line option \verb+-persist+: this
%%% option leaves the X-Window System plot window open.
Фн 3 Ĥޤ:
1 ܤϡgnuplot \verb+pause -1+ ޥɤ
ѥפĤ˻Ѥ뤳ȡ
2 ܤϡ\gnuplot{} 襦ɥפˤʤäȤˤΤ
ѥפĤ褦ˤ뤳ȡ
3 ܤϥޥɥ饤ץ \verb+-persist+ ȤȤǤ
Υץ X-Window System 襦ɥޤĤޤ
%%% \section{Credits}
\section{°}
%%% \Gnuplot{} 3.7's main contributors are (in alphabetical order)
\gnuplot{} 3.7 μʴͿԤ (ե٥åȽ)
%% end Japanese
Hans-Bernhard Broeker, John Campbell, Robert Cunningham, David Denholm,
Gershon Elber, Roger Fearick, Carsten Grammes, Lucas Hart, Lars Hecking,
Thomas Koenig, David Kotz, Ed Kubaitis, Russell Lang, Alexander Lehmann,
Alexander Mai, Carsten Steger, Tom Tkacik, Jos Van der Woude, James R.
%%% Van Zandt, and Alex Woo. Additional substantial contributors to version 4.0
%%% include Ethan Merritt, Petr Mikul\'{\i}k and Johannes Zellner.
%%% Version 4.2, 4.4 and 4.6 releases was coordinated by Ethan Merritt.
Van Zandt, Alex Woo Ǥ
version 4.0 ؤνפʴͿԤȤơ
include Ethan Merritt, Petr Mikul\'{\i}k, Johannes Zellner ޤ
version 4.2, 4.4, 4.6 Υ Ethan Merritt ޤȤޤ
%%% This list was initially compiled by John Fletcher with contributions
%%% from Russell Lang, John Campbell, David Kotz, Rob Cunningham, Daniel
%%% Lewart and Alex Woo. Reworked by Thomas Koenig from a draft
%%% by Alex Woo, with corrections and additions from Alex Woo, John
%%% Campbell, Russell Lang, David Kotz and many corrections from Daniel
%%% Lewart.
ΥꥹȤ %
Russell Lang, John Campbell, David Kotz, Rob Cunningham, Daniel Lewart,
Alex Woo %
δͿ John Fletcher ǽˤޤȤΤǤ
ơAlex Woo Ƥˤꡢ
Alex Woo, John Campbell, Russell Lang, David Kotz νɲá
Daniel Lewart ˤ¿ν Thomas Koenig ˤޤȤľޤ
%% end Japanese
%%% Again reworked for \gnuplot{} 3.7 by Alexander Mai and Juergen v.Hagen
%%% with corrections by Lars Hecking, Hans-Bernhard Broecker and other
%%% people.
ơ\gnuplot{} 3.7 Ѥ˺Ƥ %
Lars Hecking, Hans-Bernhard Broecker Ӥ¾ο͡ˤ뽤 %
Alexander Mai Juergen v.Hagen ˤޤȤľޤ
%% end Japanese
%%% Revised for \gnuplot{} 4.0 release by Petr Mikul\'{\i}k and Ethan Merritt.
\gnuplot{} 4.0 Ѥνϡ
Petr Mikul\'{\i}k Ethan Merritt ˤԤʤޤ
%% end Japanese
%%% Revised for \gnuplot{} 4.2 release by Petr Mikul\'{\i}k and Ethan Merritt.
\gnuplot{} 4.2 Ѥνϡ
Petr Mikul\'{\i}k Ethan Merritt ˤԤʤޤ
%% end Japanese
%%% Revised for \gnuplot{} 4.4 release by Ethan Merritt.
\gnuplot{} 4.4 Ѥνϡ
Ethan Merritt ˤԤʤޤ
%%%
(: ܸ Shigeharu TAKENO (\mailto{shige@iee.niit.ac.jp}) ˤ
Ԥʤޤ)
%% end Japanese
\end{document}
|