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
|
%% Don't forget to change the paper format in the next line
%
% $Id: faq-ja.tex,v 1.6.2.1 2014/09/08 17:24:49 sfeam Exp $
% translated to Japanese by Shigeharu TAKENO
% Original: Id: faq.tex,v 1.53 2014/08/21 15:05:33 sfeam Exp
%
%%% \documentclass[a4paper,11pt]{article}
\documentclass[a4paper,11pt]{jarticle}
%% end Japanese
\usepackage[margin=2cm]{geometry}
\usepackage[T1]{fontenc}
\usepackage[hyphens]{url}
\urlstyle{sf}
\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
\usepackage{color}
\definecolor{darkblue}{rgb}{0,0,0.5}
\hypersetup{
colorlinks = true, %Colours links instead of ugly boxes
linkcolor = darkblue, %Colour of internal links
urlcolor = blue %Colour for external hyperlinks
}
% 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{{\small\href{http://#1}{\url{#1}}}}
\def\mailto#1{{\small\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{\textit{#1}}}%
{news:#1}%
}
\newcommand{\ftp}[2]%
%%% {\htmladdnormallink{\latex{\url{#1}{} in \url{#2}}%
%%% \html{\textit{#1} in \textit{#2}}}%
{\htmladdnormallink{\latex{\url{#1}{} \url{#2}}%
\html{\textit{#1} \textit{#2}}}%
%% end Japanese
{ftp://#1#2}%
}
\newcommand{\mailto}[1]%
{\htmladdnormallink{\latex{\url{<#1>}}\html{\textit{#1}}}%
{mailto:#1}%
}
\newcommand{\http}[1]%
{\htmladdnormallink{\latex{\url{http://#1}}%
\html{\textit{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
\noindent
%%% This document refers both to \gnuplot{} version 4 (latest release 4.6.5)
%%% and version 5 (planned release Fall 2014).
ʸϡ\gnuplot{} С 4 (ǽ 4.6.5)
С 5 (2014 ˥ͽ) ξоݤȤƤޤ
%% end Japanese
\\
%%% FAQ version
%%% \verb+Revision: 1.53 +, dated
%%% \verb+Date: 2014/08/21 15:05:33 +.
% <== \verb++ ¦ $ ĤƤ
FAQ ΥС %
\verb+$+\verb+Revision: 1.53 $+,
\verb+$+\verb+Date: 2014/08/21 15:05:33 $+ Ǥ
% ٹʤ 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 Data-driven model fitting using Marquardt-Levenberg minimization
%%% \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 Marquardt-Levenberg ŬˡѤǡưζ
\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 ʹߤǤϸŤץåȥۡǤ
ŰŪʥƥȤϹԤƤޤ
%%% You should be able to compile the \gnuplot{} source more or
%%% less out of the box in any reasonably standard (ANSI/ISO C, POSIX)
%%% environment.
\gnuplot{} ΥϡʤɸŪ (ANSI/ISO C, POSIX ) ʴĶ
¿줿ΤξǤ⥳ѥǤǤ礦
%%% \subsection{Legalities}
\subsection{饤ˤĤ}
%%% \Gnuplot{} is 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 no warranty whatsoever. Use at your
%%% own risk.
%%% Citing from the README of a mathematical subroutine package by R. Freund:
\gnuplot{} ϥܥƥνĤˤäƺ줿ΤǤ
\gnuplotӤλѤεġ
ԵĤ˴ؤˡŪʸǤޤޤݾڤ⤢ޤ
ʬȤǤǻѤƤ
ʲϡ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\@. At one
%%% time it
%%% was distributed by the FSF but this is no longer true. \Gnuplot{}
%%% as a whole
%%% is not covered by the GNU General Public License (GPL).
\gnuplot{} FSF äΤǤ FSF ƥʥƤΤǤ⤢ޤ
FSF ۤƤȤ⤢ޤ
ߤϤޤ
\gnuplot{} ϡGNU General Public License (GPL) ݸƤޤ
%%% \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 modification and redistribution terms in
%%% the \textit{Copyright} file.
\gnuplot{} ϡ̵Ǥȸ̣ǥեǤ
ʤѤΤͳۤ뤳Ȥǧ뤫
ȤȤ˴ؤƤϥեǤϤޤ
\textit{Copyright} Ȥե modification ()
redistribution () ιܤɤǤǧƤ
%%% \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, released in
%%% March 2012.
%%% Incremental versions (patchlevel 1, 2, ...) are typically released
%%% every six months.
%%% The development version of \gnuplot{} is currently 5.0.
\gnuplot{} κǿǤϡ2012 ǯ 3 4.6 Ǥ
С (ѥå٥ 1, 2, ...) ϡ 6
ޤ
\gnuplot{} γȯǤϡߤ 5.0 ȤʤäƤޤ
%%% \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
%%%% % \textit{graphics/gnuplot} directory. See
% ŤǤ \gnuplot{} ʪ CTAN
% (the Comprehensive TeX Archive Network) \\
% \textit{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
\small
\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}
\normalsize
%%% or (in bash)
ޤ (bash Ǥ)
%% end Japanese
\small
\begin{verbatim}
export CVSROOT=:pserver:anonymous@gnuplot.cvs.sourceforge.net:/cvsroot/gnuplot
cvs login
cvs -z3 checkout gnuplot
\end{verbatim}
\normalsize
%%% Hit \verb+<return>+ when asked for a password.
ѥɤʹ줿 \verb+<return>+ Ǥޤ
%%% Further, before the \textit{./configure} command of gnuplot
%%% compilation phase,
%%% you have to execute \textit{./prepare} to create the up-to-date
%%% configure files.
θ塢gnuplot Υѥʳ \textit{./configure} ˡ
\textit{./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 \textit{README.1ST},
%%% \textit{README}, and \textit{INSTALL}.
¾ΥեȤΥȡƱͤǤ\textit{README.1ST}, \textit{README},
\textit{INSTALL} եɤǤ
\begin{itemize}
\item
%%% For Unix, use \textit{./configure} (or \textit{./configure
%%% {-}{-}prefix=\$HOME/usr}
%%% for an installation for a single user), \textit{make} and finally
%%% \textit{make install} or \textit{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 \textit{checkinstall} or \textit{checkinstall
%%% make install-strip}, supposing the package \textit{checkinstall} on your
%%% machine.
Unix Ǥϡ\textit{./configure}
(ñ桼Υȡʤ \\
\textit{./configure {-}{-}prefix=\$HOME/usr}) %
Ȥ\textit{make} ¹Ԥ
Ǹ \textit{make install} ޤ \textit{make install-strip} Ȥޤ
ԤϥǥХå꾮ʼ¹ԥեȡ뤷ޤ
RPM ѥåꤿʤ顢ǸΥƥåפ %
\textit{checkinstall} ޤ \textit{checkinstall make install-strip} %
֤ޤ
ʤΥޥ \textit{checkinstall} ѥå
ݡȤƤɬפޤ
%% end Japanese
\item
%%% On Windows, makefiles can be found in \textit{config/mingw},
%%% \textit{config/msvc},
%%% \textit{config/watcom}, and \textit{config/cygwin}. Update the options
%%% in the
%%% makefile's header and run the appropriate \textit{make} tool in the same
%%% directory
%%% as the makefile. Additional instructions can be found in the makefiles.
Windows Ǥϡmakefile \textit{config/mingw}, \textit{config/msvc},
\textit{config/watcom}, \textit{config/cygwin} ˤޤ
makefile Ƭ˽Ƥ륪ץ
makefile ֤ƤΤƱǥ쥯ȥ
Ŭ \textit{make} ġ¹ԤƤ
ɲ⡢makefile ˽Ƥޤ
%% end Japanese
\item
%%% For DOS, if you are using bash and DJGPP, you can just run
%%% \textit{djconfig.sh}.
DOS Ǥϡbash DJGPP ȤäƤʤ \textit{djconfig.sh} %
¹ԤǤ
%% end Japanese
\item
%%% For other platforms, copy the relevant makefile (e.g.
%%% \textit{makefile.os2} for
%%% OS/2) from \textit{config/} to \textit{src/}, optionally update options
%%% in the
%%% makefile's header, then change directory to \textit{src} and run
%%% \textit{make}.
¾ΥץåȥեǤϡŬڤ makefile
(㤨 OS/2 ʤ \textit{makefile.os2}) %
\textit{config/} ǥ쥯ȥ꤫ \textit{src/} ˥ԡơ
makefile Υإåˤ륪ץɬפʤ鹹ơ
\textit{src} ˥ǥ쥯ȥươ
\textit{make} ¹ԤƤ
%% end Japanese
\end{itemize}
%%% \subsection{What documentation is there, and how do I get it?}
\subsection{ɥȤϤɤǤƤɤޤ}
%%% Full documentation is included in the source distribution.
%%% Individual sections can be browsed from inside a gnuplot session
%%% by typing \textit{help {\em keyword}}.
%%% Look in the docs and tutorial subdirectories, where you'll find
%%% files to produce
%%% PDF or HTML versions of the User Manual.
ɥȤϤ٤ƥʪ˴ޤޤƤޤ
ġΥϡgnuplot κ \textit{help {\em }}
ǤĤȤǸ뤳ȤǤޤ
֥ǥ쥯ȥ docs tutorial Ƥ
ˤϡPDF HTML ǤΥ桼ޥ˥奢ե뤬ޤ
%%% Online copies are available at
%%% \http{gnuplot.sourceforge.net/documentation.html}.
\http{gnuplot.sourceforge.net/documentation.html} ˡ
Υԡ֤Ƥޤ
%%% \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 \textit{patch} utility, and possibly
%%% also the \textit{automake} and \textit{autoconf} tools.
%%% A typical command for applying a patch is
%%% \verb+patch -p0 <newfunctionality.diff+.
ѥåƤϡ\textit{patch} 桼ƥƥɬפǡ
⤷ \textit{automake}, \textit{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+ ޥɤǡ
줬ѥ뤵줿Ȥ˻Ѥ줿ѥ륪ץ %
(̾ѥ쥤ץӥɥץ) ΰɽǤޤ
\small
\begin{verbatim}
gnuplot> show version long
\end{verbatim}
\normalsize
%%% \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 first plots a graph of sin(x) to the
%%% screen and then redraws that same plot as a PostScript output file.
ʲϡޤ sin(x) Υդ褷
Ʊդ PostScript ϥեȤƺ褷ޤ
%%% \small
%%% \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> unset output # set output back to default
%%% gnuplot> unset terminal # ditto for terminal type
%%% gnuplot> system("print sin.ps") # print PS File (site dependent)
%%% gnuplot>
%%% \end{verbatim}
%%% \normalsize
\small
\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> unset output # ǥեȤ᤹
gnuplot> unset terminal # ϷǥեȤ᤹
gnuplot> system("print sin.ps") # PS եץȥ (Ķ¸)
gnuplot>
\end{verbatim}
\normalsize
%%% Using the platform-independent way of restoring terminal by \textit{set term
%%% push/pop} commands, do it by
ץåȥե˰¸ʤϷϡ
ޥ \textit{set term push/pop} ˤäưʲΤ褦˹Ԥʤޤ
%% end Japanese
\small
\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}
\normalsize
%%% The command \textit{set term pop} without a previous
%%% corresponding \textit{set
%%% term push} switches the terminal back to the startup terminal.
%%% The same thing happens if you say \textit{unset terminal}.
\textit{set term pop} ޥɤϡ
б \textit{set term push} ¹ԤƤʤϡ
ưνϷޤ
\textit{unset terminal} ¹ԤƱǤ
%%% Some interactive terminal types (\textit{win, wxt, qt})
%%% provide a printer icon
%%% on the terminal's toolbar. This tool prints the current plot
%%% or saves it to file
%%% using generic system tools rather than by using a different
%%% gnuplot terminal type.
%%% That is, the file you get by selecting "save to png"
%%% in the print menu will be
%%% different than the file you get from \textit{set term png; replot;}.
÷ϷˤϤΥġС˥ץ
Τ⤢ޤ (\textit{win, wxt, qt} )
ϡ¾νϷѤΤǤϤʤ
ƥѰդƤŪʥƥġȤ
ߤΥդ뤫ޤϥե¸ޤ
ʤ˥塼 "save to png" եϡ
\textit{set term png; replot;} ˤäեȤ
㤦Τˤʤޤ
%%% \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 (*.eps) for graphs.
%%% You can select eps output in \gnuplot{} using the
%%% \verb+set terminal postscript eps+
¿ΥץեȤ Encapsulated PostScript (*.eps) Υդޤ
\gnuplot{} Ǥϡ\\
\verb+set terminal postscript eps+ %
ȤȤ eps ϤǤޤ
%% 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.
Ĥ ( ?) ץեȤϡ
EPS ե˴ޤޤºݤβɽޤΤǡ
ɽʤȤɲäɬפޤ
ŪΤˤϡGSView ӥ塼 %
(OS/2, Windows, X11 Ѥޤ)
뤤ϤĤ Unix ps ġ뤬Ȥޤ
%%% 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
%%% \textbackslash{}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 եҤľϷ⤢ޤ
\textbackslash{}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 \textbf{svg} terminal (scalable vector graphics) output 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 \textbf{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.
%%% You can use the command \textit{set linetype} to change this or
%%% define additional combinations.
gnuplot ϡ㤨пηʤɤΡ
ο°ꤹ뤿͡ʥޥɤƤޤ
ޥ \verb+test+ ϡƤϷѤΡ
ѲǽѤߤοʤɤȹ礻
ƥȥڡϤޤ
ޥ \textit{set linetype} ȤȤ
ѹꡢ餿ȤɲǤޤ
%%% \subsection{Can I animate my graphs?}
\subsection{դ˥Ǥޤ}
%%% Only \gnuplot{} terminal type directly outputs an animated file:
\gnuplot{} Ϸľܥ˥եϤǤΤ
ʲΤΤǤ:
%% end Japanese
\begin{verbatim}
set terminal gif animate {delay <time>} {loop <N>} {optimize}
\end{verbatim}
%%% Have a look at
%%% \http{http://gnuplot.sourceforge.net/demo/animate.html}
%%% in the demo collection.
ǥ
\http{http://gnuplot.sourceforge.net/demo/animate.html}
⻲ȤƤ
%%% \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
%%% \small
%%% \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}
%%% \normalsize
\small
\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}
\normalsize
%% 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 \textit{filledcurves closed}. The example below
%%% demonstrates this for two curves f(x) and g(x):
2 ĤͿ줿δ֤ɤĤ֤ϡ
ե '+' \textit{filledcurves closed} ȤдñˤǤޤ
ʲϡ2 Ĥζ f(x) g(x) ФǥǤ:
%% end Japanese
\small
\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}
\normalsize
%%% 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 \textit{using} statement to return an undefined value (0/0)
%%% if the
%%% inequality is not satisfied.
դƤ餤ΤǤ
2 Ĥζδ֤ΰɤĤ֤ΤǤäơ
g(x)<f(x) ΰɤĤ֤ΤǤϤޤ
⤷ԤԤʤʤ顢
\textit{using} ʬ 3 黻ҤȤäơ
ʤ̤ (0/0) %
֤褦ˤɬפޤ
%%% See the documentation for \textit{help filledcurves},
%%% \textit{help special-filenames}, and \textit{help ternary} and see
%%% \textit{fillbetween.dem} in the \textit{demos} directory.
textit{help filledcurves}, \textit{help special-filenames},
\textit{help ternary} ˴ؤɥȤȤƤ
\textit{demos} ǥ쥯ȥ \textit{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
%%% \small
%%% \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}
%%% \normalsize
\small
\begin{verbatim}
/^[[:blank:]]*#/ {next} # ȹ (# ǻϤޤ) ̵
NF < 3 {next} # 3 ̤ʤԤ̵
$1 != prev {printf "\n"; prev=$1} # Ԥ
{print} # ιԼΤ
\end{verbatim}
\normalsize
%% 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 2D projection of 3D data}
\subsection{3 ǡ 2 ͱƤ褹ˤ}
%%% Use \textit{set view map}
%%% There are also plotting styles \verb+with image+ and \verb+with rgbimage+
%%% for plotting 2D color images.
\textit{set view map} ѤƤ
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
\small
\begin{verbatim}
gnuplot> set pm3d explicit
gnuplot> splot x with pm3d, x*y with points
\end{verbatim}
\normalsize
%%% \subsection{How to produce labeled contours}
\subsection{٥Ĥ褹ˤ}
%%% Labeling individual contous in a contour plot required special
%%% tricks and extra processing steps in \gnuplot{} version 4.
%%% See
%%% \http{gnuplot.sourceforge.net/scripts/index.html\#tricks-here}.
ġ˥٥Ĥդϡ\gnuplot{} С 4 Ǥ
;ʬʽ礬ɬפǤʲȤƤ:
\http{gnuplot.sourceforge.net/scripts/index.html\#tricks-here}
%%% In version 5 the procedure is much simpler. Plot the contours twice,
%%% once "with lines" and once "with labels". To make the labels stand out
%%% it may help set use
С 5 ǤϡμϤȤƤñǤ
1 ܤ "with lines" ǡ2 ܤ "with labels" %
2 褹Ǥ
Ωĥ٥ϡʲΤ褦ѤȤǤ礦
%% end Japanese
\begin{verbatim}
set style textbox opaque noborder
set contours
splot 'DATA' with line, 'DATA' with labels boxed
\end{verbatim}
%%% \subsection{How to overlay contour plot over pm3d map/surface}
\subsection{pm3d Ͽ/̥դŤͤˤ}
%%% [Not needed any more?]
%%% 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
%%% \small
%%% \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}
%%% \normalsize
%% begin Japanese
\small
\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}
\normalsize
%% 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 ʪΤ̤˿Ĥ褹ˤϡ
եʲΤ褦ʷǺвǽǤ
%%% \small
%%% \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}
%%% \normalsize
%% begin Japanese
\small
\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}
\normalsize
%% end Japanese
%%% Notice the positioning single and double blank line. \textit{<c>}
%%% is an optional
%%% color.
1 ԤζԤ 2 ԤζԤΰ֤դƤ
\textit{<c>} ϥץοǤ
%%% Then plot it by (either of splot's):
ʲΤ褦ˤ褷ޤ (ɤ餫 splot ):
%% end Japanese
\small
\begin{verbatim}
set pm3d
set style data pm3d
splot 'facets.dat'
splot 'facets_with_color.dat' using 1:2:3:4
\end{verbatim}
\normalsize
%%% Note that you avoid surface lines by \textit{set style data pm3d} or
%%% \textit{splot ... with pm3d}.
̤ϡ
\textit{set style data pm3d} \textit{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 \textit{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 ʪΤ۸¤ȤƤ褷ޤ
\textit{set pm3d map} ФƤϤƯޤ
3 ˤʤ顢
¿Υǡ VRML եѴ륽եȤ⤷ޤ
%%% \subsection{Palette for printing my color map on color as well
%%% as black\&white
%%% printer?}
\subsection{ϿޤΥΥץǤȰ褦ʥѥåȤ}
%%% Try \textit{set palette cubehelix}.
\textit{set palette cubehelix} Ƥ
%%% \section{Wanted features}
\section{ߤǽ (Wanted features)}
%%% \subsection{What's new in \gnuplot{} 4.6, 5.0 etc?}
\subsection{\gnuplot{} 4.6, 5.0 ǿʤäȤ}
%%% Too many things to list here.
%%% Please refer to the \textit{NEWS} file in the source distribution, or the
%%% "New features" section in the gnuplot documentation.
ˤˤ¿ޤ
ʪ˴ޤޤե \textit{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{} /ҥȥ/Ȣդޤ}
%%% \Gnuplot{} supports various clustered and stacked histogram styles
%%% to display
%%% pretabulated data. It also offers a few options for accummulating
%%% raw data
%%% into bins, which can in turn be displayed as a bar chart. See the
%%% documentation
%%% for \textit{smooth frequency}.
\gnuplot{} ϡ餫ɽˤ줿ǡɽ뤿Ρ
ޤޤʲ¤ӷ (clustered) Ѥ߾夲 (stacked)
ҥȥॹݡȤƤޤ
ޤΥǡѤ뤿ΤĤΥץƤơ
ڤؤդȤɽ뤳ȤǽǤ
ޥ˥奢 \textit{smooth frequency} ʬȤƤ
%%% \subsection{Does \gnuplot{} support pie charts? quarterly time charts?}
\subsection{\gnuplot{} ϱߥդޤȾդϤɤǤ}
%%% Pie charts are sort of difficult in \gnuplot, but see
%%% \http{http://gnuplot.sourceforge.net/demo/circles.html},
%%% or have a look at
%%% \http{http://gnuplot-tricks.blogspot.com/2009/08/pie-charts-entirely-in-gnuplot.html}.
ߥդ \gnuplot{} ǤϤäݤǤʲƤ
\http{http://gnuplot.sourceforge.net/demo/circles.html}
ޤϡʲȤƤ
\http{http://gnuplot-tricks.blogspot.com/2009/08/pie-charts-entirely-in-gnuplot.html}
%%% The demo collection contains an example of a simple Gantt chart.
%%% This capability
%%% is new in \gnuplot{} version 5.
ǥˤñʥȥ㡼Ȥ㤬ޤ
ϡ\gnuplot{} С 5 οǽǤ
%%% \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. 2D plots can have separate x axes at the bottom (x1) and top (x2),
%%% and separate y axes at the left (y1) and right (y2). Version 5 offers a
%%% plot mode \textit{with parallelaxes} that allows additional y axes to be
%%% defined.
Ϥ2 դǤ̡ x (x1) Ⱦ (x2)
ĤȤǤޤ̡ y (y1) ȱ (y2) ˻ĤȤǤޤ
С 5 Ǥϡ\textit{with parallelaxes} Ȥ⡼ɤ
y ɲä뤳ȤǤޤ
%%% \subsection{Can I put both commands and data into a single file?}
\subsection{ĤΥե gnuplot Υޥɤȥǡξޤ}
%%% Version 5 supports named blocks of data in "here document" format:
С 5 Ǥϡ֥ҥɥȡǤ̾դǡ֥å
ݡȤƤޤ:
%% end Japanese
\small
\begin{verbatim}
gnuplot> $DATABLOCK << EOD
cats 4 2
dogs 1 4
EOD
gnuplot> plot $DATABLOCK using 2:3:1 with labels
\end{verbatim}
\normalsize
%%% Once the named block has been defined, it can be used as many times
%%% as you like.
̾դǡ֥åϰС٤ǤȤȤǤޤ
%%% Data can also be provided in-line as part of a plot command using the
%%% pseudo-file \verb+plot "-"+. In this case the data can only be used
%%% once.
ǡϡplot ޥɾǵե \verb+plot "-"+
Ԥäƥ饤Ϳ뤳ȤǤޤ
ξϡǡϰ٤Ȥޤ
\small
\begin{verbatim}
gnuplot> plot "-"
1 1
2 4
3 9
e
\end{verbatim}
\normalsize
%%% \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. The simplest way to enter special characters of
%%% any sort, if your system supports it, is to select UTF-8 encoding. This
%%% obviates the need to change fonts.
¿νϷ (ϥǥХɥ饤) ǡֳĥʸץ⡼ %
("enhanced text" ⡼) ݡȤƤơ
Ǿդդʸޤ
ξ硢ʤΥƥ˥ȡ뤵ƤեȤ
ݡȤϰǡꥷʸ䡢صʸⰷޤ
üʸϤǤñˡϡ
ʤΥƥबݡȤƤФǤ
UTF-8 ǥѤ뤳ȤǤ
ˤꡢեȤѹɬפʤʤޤ
%%% The various \LaTeX{} terminal types (\textit{latex, epslatex, tikz,
%%% context, cairolatex})
%%% hand off text generation to \LaTeX{}. In this case you can
%%% use normal \LaTeX{}
%%% markup like \verb+"\\alpha_{3}"+ or \verb+'\alpha_{3}'+ .
Ĥ \LaTeX{} ϽϷ (\textit{latex, epslatex, tikz,
context, cairolatex}) ϡʸ \LaTeX{} Ϥޤ
ξϡ\verb+"\\alpha_{3}"+ \verb+'\alpha_{3}'+ Τ褦
̾ \LaTeX{} εҤѤǤޤ
%%% \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 ʸɤѤʤФޤ
㤨мΤ褦ˤޤ
\small
\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}
\normalsize
%%% Consequently, you can type labels in Czech, French, Hungarian, Russian... by
%%% means of an appropriate \textit{set encoding}. However, you cannot mix two
%%% encodings in one file (e.g. accents for west and east latin encodings).
ˤꡢŬڤ \textit{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 is very cumbersome for PostScript.
UTF-8 ǥեȤȤΤŪʤϡ
\gnuplot{} ľ UTF-8 ʸϤ뤳ȤǤ
¿νϷưޤ
PostScript ǤϤȤƤǤ
%%% \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{ۤʤ륵ΥƥȤĤΥդǽϤǤޤ}
%%% Most terminal types allow you to specify a starting font face and size.
%%% The "enhanced text" mode allows you to change fonts, text sizes, bold and
%%% italic styles within a plot.
ƤνϷǤϡǥեȥեȤ̾ȥǤޤ
ֳĥʸץ⡼ ("enhanced text") Ǥϡեȡ
ʸܡɡåνΤĤΥ
ѹǤޤ
%%% \subsection{How do I skip data points?}
\subsection{ɤǡåפǤޤ}
%%% By specifying \textit{?} as a data value, as in
ʲΤ褦˥ǡͤȤ \textit{?} ꤹФǤޤ
%% end Japanese
\small
\begin{verbatim}
1 2
2 3
3 ?
4 5
\end{verbatim}
\normalsize
%%% See also \textit{set missing}.
%%% See also \textit{set datafile commentschars} for specifying comment
%%% characters in
%%% data files.
\textit{set missing} ⻲ȤƤ
ǡեΥʸꤹˤϡ
\textit{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 \verb+set arrow .... .... nohead+ ξ硢
ΤʳȽλΰ֤Ƥɬפޤ
\item ǡä (饤Ǥλ)
%% end Japanese
\end{itemize}
%%% \subsection{How do I plot data files}
\subsection{ɤǡեǤޤ}
%%% Easily: by a command \textit{plot 'a.dat'}. In 3D, use
%%% \textit{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
%%% \textit{set dgrid3d \{many
%%% options\}}.
ñǤޥ \textit{plot 'a.dat'} ǤǤޤ
3 ξ \textit{splot 'a.dat'} Ǥ
2 ĤΤĤʤäƤ (Ω) ʬΥΤ
ԤϤΤ˺ʤǤ
ʤȡǡʻҾ (grid) ǤʤȤ顼Ф뤫Τޤ
\ref{blank1} ⻲ȤƤ
ǡʻҾǤʤϡ
\textit{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{ɤɲäĥʤƤޤϤɤޤ}
%%% 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 features that are
%%% not yet part of the most recent official release of gnuplot.
ĥѥåϡgnuplot γȯ %
\http{sourceforge.net/tracker/?group_id=2055&atid=302055} %
"Patches" ڡˤޤ
ŪˡߤγȯǤϡǽǤ gnuplot ˤ
ޤäƤʤǽäƤޤ
%%% \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. However \gnuplot{} version 5 does
%%% support calling functions from a dynamically loaded external shared
%%% object, i.e. a plugin. So if you want to code up some complicated
%%% function in C or another language with compatible calling conventions,
%%% you can compile it into a plugin for \gnuplot{} to import.
\gnuplot{} ϺޤǤ⡢ƸߤץǤꡢǡ
ץǤϤޤäƤΤ褦ʤȤϤǤޤʬ
ŪʼˤĤƤ demo "bivariat.dem" Ƥ
\gnuplot{} С 5 ϡưŪ֥ͭȤδؿ
ƤӽФ֥ץ饰פݡȤƤޤ
äơC 뤤¾θˤʣʴؿ
줿ƤӽФͼ˽äƽС
\gnuplot{} ݡȤǤץ饰Ȥʤ褦
ѥ뤹뤳ȤǤޤ
%%% \subsection{Can I do heavy-duty data processing with \gnuplot? or
%%% What is beyond \gnuplot?}
\subsection{"heavy-duty" ǡ \gnuplot{} ǻȤޤ
ޤ \gnuplot{} ѤΤϤʤǤ}
%%% \gnuplot{} by itself is not suited very well for heavy
%%% numerical computation.
%%% On the other hand it can handle very large data sets.
\gnuplot{} 켫ȤϡɤͷˤϤޤƤޤ
ʤ礭ʥǡνϲǽǤ
%%% One thing you might try is \textit{fudgit}, an interactive multi-purpose
%%% fitting program written by Martin-D. Lacasse.
%%% It can use \gnuplot{} as its graphics back end.
Martin-D. Lacasse ÷¿Ūץ %
\textit{fudgit} ƤߤƤ
ϡսѤ \gnuplot{} Ȥޤ
%%% You might also want to look at the applications developed by
%%% the Software Tools Group (STG) at the National Center for
%%% Supercomputing Applications \http{ncsa.uiuc.edu}.
NCSA (National Center for Supercomputing Applications)
STG (Software Tools Group) ˤäƳȯ줿ץꥱ
⤢ޤ: \http{ncsa.uiuc.edu}
%%% 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 \textit{scilab} (\http{www.scilab.org}), an open source
%%% alternative to \textit{matlab}.
Ǹˡ\textit{matlab} Ȥơץ \textit{scilab} %
(\http{www.scilab.org}) ⤢ޤ
%%% \subsection{How to use hotkeys in my interactive terminals}
\subsection{÷ߥʥǤɤΤ褦˥ۥåȥȤФǤ}
%%% Most of the interactive terminals support both pre-defined and user-defined
%%% hotkeys to replot, toggle plot elements, change axis scaling, and so on.
%%% Hit \textit{h} in an active gnuplot plot window to get list of hotkeys.
%%% Read \textit{help mouse} and \textit{help bind} for more information.
ۤȤɤ÷ϷǤϡ衢ǤΥȥ롢
ΥѹʤɤԤˡ餫ꤵ줿
ӥ桼ǽʥۥåȥξݡȤƤޤ
ͭ gnuplot 襦ɥ \textit{h} ǤĤȡ
ۥåȥΰɽޤ
ʤˤĤƤϡ\textit{help mouse} \textit{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 ĤδؿŤʤʤ褦˽ޤ}
%%% This used to be complicated. In version 5 it is easy - place the
%%% desired range immediately before each function being plotted.
%%% For example, to plot experimental data and two different functional
%%% models f1 and f2 covering two different portions of the domain:
ϡʣǤС 5 ǤϤϴñǤ
褹ƴؿľɬפϰϤ֤ޤ
㤨С¸ǡȡΰ 2 ĤΰۤʤʬС
ۤʤ 2 Ĥΰۤʤؿǥ f1, f2 褹ˤ:
%% end Japanese
%%% \small
%%% \begin{verbatim}
%%% gnuplot> set autoscale x # get x range from the data
%%% gnuplot> plot "data", [-100:0] f1(x), [0:100] f2(x)
%%% \end{verbatim}
%%% \normalsize
%% begin Japanese
%%% \small
\begin{verbatim}
gnuplot> set autoscale x # x ϰϤǡ
gnuplot> plot "data", [-100:0] f1(x), [0:100] f2(x)
\end{verbatim}
\normalsize
%%% \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 ûץबȤޤ:
\small
\begin{verbatim}
gnuplot> plot "< awk ' { print $1, $3/$2 } ' file.in"
\end{verbatim}
%$
\normalsize
%%% 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 default in \textit{gnuplot} version 5, but required a
%% separate program \textit{wgnuplot\_pipes} in some earlier versions.
Υե륿ϡUnix 䤽θߴ OSOS/2 Ǥʤưޤ
Windows ǤϡϥǥեȤǤ \textit{gnuplot} С 5 Τߤ
ݡȤޤΥСǤϡ̤Υץ %
\textit{wgnuplot\_pipes} ɬפˤʤޤ
%%% \subsection{How do I save and restore my current 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 \textit{set term push} and \textit{set term pop}, respectively.
\textit{set term push} \textit{set term pop} ȤС
ե륷ƥ뤳Ȥʤ
줾츽ߤνϷ¸ȤθǤޤ
%%% \subsection{How do I plot lines (not grids) using splot?}
\subsection{ɤ splot Ƕ (ʻҤǤʤ) ޤ}
%%% If the data input to splot is arranged such that each line contains
%%% the same number of data points (using blank lines as delimiters, as usual),
%%% splot will by default treat the data as describing a surface.
%%% If you want to draw individual lines instead, try some combination of
%%% \textit{unset surface}, \textit{set surface explicit},
%%% \textit{plot ... nosurface}.
splot ؤϥǡƹԤƱǡ (̾϶ԤʬΥƤ) %
Ĥ褦·äƤСsplot ϥǥեȤǤϤΥǡ
̤ҤΤȤưޤ
Ǥʤġζ褷С
\textit{unset surface}, \textit{set surface explicit},
\textit{plot ... nosurface} ʤɤȤ߹碌ƤߤƤ
%%% \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)
դޤ}
%%% Here is one way:
ʲϰĤˡǤ:
%% end Japanese
\small
\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}
\normalsize
%%% \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 \textit{gnuplot} (recommended),
%%% or use \textit{wgnuplot\_pipes}, which has an additional console window
%%% attached. The old helper program \textit{pgnuplot} is still included
%%% in the distribution package.
Windows ǤϡGUI ץɸ (stdin) Ȥʤᡢ
Ǥ \textit{gnuplot} (侩)
ƥȥ뤬ɲä줿 GUI Ǥ \textit{wgnuplot\_pipes} %
Τ줫Ȥɬפޤ
Ť \textit{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 Υڡ¾Υդ˽Ťͤ褦):
\small
\begin{verbatim}
reset; unset xtics; unset ytics
unset border; unset key
set title 'Title on an empty page'
plot [][0:1] 2
\end{verbatim}
\normalsize
%%% \subsection{How do I give exact positions for the graph borders
%%% on the page?}
\subsection{ΰ֤٤˹碌ƥդˤ}
%%% Specify the position of the top, bottom, left, and right borders in
%%% terms of their fractional position within the page:
塢ζ֤ڡΰ֤Ȥƾñ̤ǻꤷƤ:
\small
\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}
\normalsize
%%% \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
\small
\begin{verbatim}
set term x11 font "mbfont:sazanami mincho,vera,20"
\end{verbatim}
\normalsize
%%% \item [{win}] Select "Choose font..." from the "Options" pull-down menu
%%% in the toolbar.
\item [{win}]
ġС "Options" Υץ˥塼 "Choose font..." ޤ
%% end Japanese
%%% \item [{wxt, qt}] On linux systems these terminals rely on fonts provided
%%% by the system's \textit{fontconfig} utility.
\item [{wxt, qt}]
Linux ƥǤϡνϷϥƥ fontconfig 桼ƥƥ
եȤѤޤ
%% end Japanese
\end{description}
%%% \subsection{\Gnuplot{} does not open a plot windoe for x11 or qt. Why?}
\subsection{x11 ޤ qt \gnuplot{} 襦ɥޤʤǤ}
%% end Japanese
%%% On VMS, you need to make several symbols:
VMS ǤϤĤεʤФޤ:
\small
\begin{verbatim}
$ gnuplot_x11 :== $disk:[directory]gnuplot_x11
$ gnuplot :== $disk:[directory]gnuplot.exe
$ def/job GNUPLOT$HELP disk:[directory]gnuplot.hlb
\end{verbatim}
\normalsize
%%% Then run \gnuplot{} from your command line, and use
%%% \verb+set term x11+.
\gnuplot{} ޥɥ饤鵯ư
\verb+set term x11+ ȤƤ
%%% On Unix systems the x11 and qt terminals require installation of
%%% separate helper programs \textit{gnuplot\_x11} and \textit{gnuplot\_qt}.
%%% These are usually installed in a directory
%%% \textit{/usr/libexec/gnuplot/5.0/}
%%% and \gnuplot{} knows to look for them there.
%%% If they are installed somewhere
%%% else or gnuplot is having trouble finding them,
%%% try setting the environmental
%%% variable \verb+GNUPLOT_DRIVER_DIR+.
Unix Ǥϡx11 qt ϷϡʬΥ줿إѡץ %
\textit{gnuplot\_x11}, \textit{gnuplot\_qt} Υȡ뤬ɬפǤ
̾ \textit{/usr/libexec/gnuplot/5.0/} Ȥǥ쥯ȥ
ȡ뤵졢\gnuplot{} ϤξõȤΤäƤޤ
ʳξ˥ȡ뤷ꡢ
Ĥݤ꤬ϡ
Ķѿ \verb+GNUPLOT_DRIVER_DIR+ ꤷƤߤƤ
%%% \subsection{Why does \gnuplot{} ignore my very small numbers?}
\subsection{ʤ \gnuplot{} ϤȤƤ⾮Υǡ̵뤹ΤǤ}
%%% For some purposes \Gnuplot{} treats numbers less than 1e-08 as being zero.
%%% 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 λ):
\small
\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}
\normalsize
%%% The solution is to change \gnuplot's idea of "zero":
к \gnuplot{} "zero" γǰѹ뤳ȤǤ
%% end Japanese
\small
\begin{verbatim}
gnuplot> set zero 1e-20
\end{verbatim}
\normalsize
%%% For more information, type \verb+help set zero+.
ܤˤĤƤ \verb+help set zero+ ȤƤ
%%% \subsection{When I run \gnuplot{} from the shell or a script,
%%% the resulting plot flashes by on the screen and then disappears}
\subsection{䥹ץȤ \gnuplot{} ¹ԤƤ
̤ΥդϥǰֽФǤΤȽФƤޤ}
%%% \begin{enumerate}
%%% \item Put a \verb+pause -1+ after the plot command in the file,
%%% or at the file end.
\begin{enumerate}
\item ե plot ޥɤθ塢ޤϥեκǸ %
\verb+pause -1+ ˡޤ
%%% \item Use command \verb+gnuplot filename.gp -+ (yes, dash is the last
%%% parameter) to stay in the interactive regime when the script completes.
\item ץȤνλ÷ʬˤ褦ˤˤ %
\verb+gnuplot filename.gp -+ (ǸΥѥϥޥʥ) Ѥޤ
%%% \item Run \gnuplot{} as \textit{gnuplot -persist}
\item \gnuplot{} \textit{gnuplot -persist} ȼ¹Ԥˡޤ
%%% \item On Windows you can also use either \verb+-persist+ or \verb+/noend+.
\item Windows ʤ顢\verb+-persist+ \verb+/noend+ ΤɤǤ
빽Ǥ
%%% \item Give the \textit{persist} option as part of the
%%% \textit{set terminal} command.
\item ޥ \textit{set terminal} ΰʬȤ
ץ \textit{persist} ͿƤ빽Ǥ
%% end Japanese
\end{enumerate}
%%% \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 ɾޤ
⤷¿ͤߤʤСοθ˥ɥå "." ĤƤ
:
\small
\begin{verbatim}
gnuplot> print 1/3
0
gnuplot> print 1./3.
0.333333
\end{verbatim}
\normalsize
%%% 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
\small
\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}
\normalsize
%%% \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, 4.6 and 5.0 releases were 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, 5.0 Υ 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 and 4.6 releases by Ethan Merritt.
\gnuplot{} 4.4 4.6 Ѥνϡ
Ethan Merritt ˤԤʤޤ
%% end Japanese
%%% Revised for \gnuplot{} 5.0 by Ethan Merritt.
\gnuplot{} 5.0 Ѥνϡ
Ethan Merritt ˤԤʤޤ
%%%
(: ܸ Shigeharu TAKENO (\mailto{shige@iee.niit.ac.jp}) ˤ
Ԥʤޤ)
%% end Japanese
\end{document}
|