Initial release of Maemo 5 port of gnuplot
[gnuplot] / docs / faq-ja.tex
1 %% Don't forget to change the paper format in the next line
2 %
3 % $Id: faq-ja.tex,v 1.2.2.1 2007/08/26 06:14:42 sfeam Exp $
4 % translated to Japanese by Shigeharu TAKENO 2005/03/14
5 % Original: Id: faq.tex,v 1.16.2.2 2007/02/25 13:18:34 (for 4.2)
6 %
7 %
8 %%% \documentclass[a4paper,11pt]{article}
9 \documentclass[a4paper,11pt]{jarticle}
10 %% end Japanese
11 \usepackage[margin=2cm]{geometry}
12 \usepackage[T1]{fontenc}
13 %\usepackage[hyphens,T1]{url}
14 \usepackage[hyphens]{url}
15
16 \ifx\pdfoutput\undefined
17     % latex or latex2html output
18     \usepackage{times,mathptmx}
19     \usepackage[
20         hypertex,
21         hyperindex,
22         bookmarks,
23         bookmarksnumbered=true,
24         pdftitle={gnuplot faq},
25         pdfauthor={gnuplot},
26         pdfsubject={see www.gnuplot.info}
27         % , pdfcreator={}
28         % , pdfkeywords={...}
29     ]{hyperref}
30 \else % *** pdflatex output
31     \usepackage{times,mathptmx}
32     \usepackage[
33         pdftex,
34         hyperindex,
35         bookmarks,
36         bookmarksnumbered=true,
37         pdftitle={gnuplot faq},
38         pdfauthor={gnuplot},
39         pdfsubject={see www.gnuplot.info}
40         % , pdfcreator={}
41         % , pdfkeywords={...}
42     ]{hyperref}
43 \fi
44
45
46 % There may be incompatibilities between different versions of
47 % url.sty, html.sty and hyperref.sty -- it seems there are machines which
48 % cannot combine them together with simultaneous output to dvi, pdf, html.
49 % Thus do it this way:
50 \ifx\html\undefined
51     % Not running this file by latex2html:
52     \def\http#1{\href{http://#1}{\url{#1}}}
53     \def\mailto#1{\href{mailto://#1}{\url{#1}}}
54     \def\news#1{\href{news://#1}{\url{#1}}}
55 %%%  \def\ftp#1#2{\href{ftp://#1#2}{\url{#1} in \url{#2}}}
56     \def\ftp#1#2{\href{ftp://#1#2}{\url{#1} ¤Î \url{#2}}}
57 %% end Japanese
58 \else
59     % Running this file by latex2html:
60     \usepackage{html}
61 %    \html{
62         \newcommand{\news}[1]%
63             {\def~{\~{}}\htmladdnormallink{\latex{\url{#1}}\html{\texttt{#1}}}%
64                 {news:#1}%
65             }
66         \newcommand{\ftp}[2]%
67 %%%          {\htmladdnormallink{\latex{\url{#1}{} in \url{#2}}%
68 %%%                  \html{\texttt{#1} in \texttt{#2}}}%
69             {\htmladdnormallink{\latex{\url{#1}{} ¤Î \url{#2}}%
70                     \html{\texttt{#1} ¤Î \texttt{#2}}}%
71 %% end Japanese
72                 {ftp://#1#2}%
73             }
74         \newcommand{\mailto}[1]%
75             {\htmladdnormallink{\latex{\url{<#1>}}\html{\texttt{#1}}}%
76                 {mailto:#1}%
77             }
78         \newcommand{\http}[1]%
79             {\htmladdnormallink{\latex{\url{http://#1}}%
80                     \html{\texttt{http://#1}}}%
81                 {http://#1}%
82             }
83 %   }
84 \fi
85
86
87 % comments and discussions:
88 % version 1.4 dated 99/10/07
89 % am: comment out obviously outdated stuff and wait for complaints
90 % jvh: re: I accept
91 % hbb: need expires and posting-frequency headers
92 % jvh: re: expires is ok, but I still post it manually so
93 %       I've got to see how I could get the posting frequency header
94 % am: shouldn't we have document release and date in the title
95 % jvh: re: I guess it would overload the title. I would
96 %       accept the inclusion into 0.1. I still hope that
97 %       the FAQ will experience a slightly lower release
98 %       cycle in the near future :)
99
100 %
101 \newcommand{\gnuplot}{\textbf{gnuplot}}
102 \newcommand{\Gnuplot}{\textbf{Gnuplot}}
103
104
105 \begin{document}
106 \title{\Gnuplot{} FAQ}
107 \author{}
108 \date{}
109 \maketitle
110
111 % This document deals with \gnuplot{} version 4.2 which is the
112 % latest official release as of \today. References to bug-fix
113 % versions or (recent) beta versions are explicitly marked.
114
115 \noindent
116 %%% This document deals with \gnuplot{} version 4.2 which is the
117 %%% latest official release as of February 2007.
118 ¤³¤Îʸ½ñ¤Ç¤Ï¡¢2007 Ç¯ 2 ·î¤Ë¥ê¥ê¡¼¥¹¤µ¤ì¤¿ \gnuplot{} ¤ÎÀµ¼°ºÇ¿·ÈǤǤ¢¤ë %
119 version 4.2 ¤ò¼è¤ê°·¤Ã¤Æ¤¤¤Þ¤¹¡£
120 %% end Japanese
121         \\
122 %%% Its version is 
123 %%% \verb+Revision: 1.16.2.2 +, dated
124 %%% \verb+Date: 2007/02/25 13:18:34 +.
125 % <== ËÜÅö¤Ï \verb++ ¤ÎÆ⦤ˠ$ ¤¬¤Ä¤¤¤Æ¤¤¤ë
126 ¤³¤Îʸ½ñ¤Î¥Ð¡¼¥¸¥ç¥ó¤Ï %
127 \verb+$+\verb+Revision: 1.16.2.2 $+,
128 \verb+$+\verb+Date: 2007/02/25 13:18:34 $+ ¤Ç¤¹¡£
129 % ¾¯¤·ºÙ¹©¤ò¤·¤Ê¤¤¤È RCS ¤Ë½ñ¤­´¹¤¨¤é¤ì¤Æ¤·¤Þ¤¦¡£
130
131 \tableofcontents
132
133
134 \setcounter{section}{-1}
135 %%% \section{Meta -- Questions}
136 \section{¥á¥¿¤Ê¼ÁÌä}
137
138 %%% \subsection{Where do I get this document?}
139 \subsection{¤³¤Î¥É¥­¥å¥á¥ó¥È¤Ï¤É¤³¤Ç¼ê¤ËÆþ¤ì¤é¤ì¤Þ¤¹¤«}
140
141 %%% The newest version of this document is on the web at
142 %%% \http{www.gnuplot.info/faq/}.
143 ¤³¤Î¥É¥­¥å¥á¥ó¥È¤ÎºÇ¿·ÈǤϠ%
144 \http{www.gnuplot.info/faq/} %
145 ¤Î Web ¾å¤Ë¤¢¤ê¤Þ¤¹¡£
146
147 %%% This document was/is posted sometimes to the newsgroups
148 %%% \news{comp.graphics.apps.gnuplot}.
149 ¤³¤Îʸ½ñ¤Ï¡¢¥Ë¥å¡¼¥¹¥°¥ë¡¼¥× %
150 \news{comp.graphics.apps.gnuplot} ¤Ë¤â»þ¡¹Åê¹Æ¤µ¤ì¤Æ¤¤¤Þ¤·¤¿/¤¤¤Þ¤¹¡£
151
152 % Its newest (plaintext) version is available via anonymous ftp from
153 % \ftp{ftp.gnuplot.info}{/pub/gnuplot/faq/faq.txt}.
154
155
156 %%% \subsection{Where do I send comments about this document?}
157 \subsection{¤³¤Î¥É¥­¥å¥á¥ó¥È¤Ë´Ø¤¹¤ë¥³¥á¥ó¥È¤Ï¤É¤³¤ËÁ÷¤ì¤ÐÎɤ¤¤Ç¤¹¤«}
158
159 %%% Send comments, suggestions etc via email to the developer mailing list
160 %%% \mailto{gnuplot-beta@lists.sourceforge.net}.
161 %%% Please contribute your suggestions with respect to the file \verb+faq.tex+ 
162 %%% available from \http{cvs.sourceforge.net/viewcvs.py/gnuplot/faq/}.
163 ¥³¥á¥ó¥È¡¢Äó°ÆÅù¤ÏÅŻҥ᡼¥ë¤Ç³«È¯¼Ô¸þ¤±¥á¡¼¥ê¥ó¥°¥ê¥¹¥È %
164 \mailto{gnuplot-beta@lists.sourceforge.net} ¤ËÁ÷¤Ã¤Æ¤¯¤À¤µ¤¤¡£
165 \verb+faq.tex+ ¤Ë´Ø¤¹¤ëÄó°Æ¤ò¤ª´ó¤»¤¯¤À¤µ¤¤¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ï %
166 \http{cvs.sourceforge.net/viewcvs.py/gnuplot/faq/} %
167 ¤Ë¤¢¤ê¤Þ¤¹¡£
168
169 %%% \section{General Information}
170 \section{°ìÈÌŪ¤Ê¼ÁÌä}
171
172
173 %%% \subsection{What is \gnuplot?}
174 \subsection{\gnuplot{} ¤È¤Ï²¿¤Ç¤¹¤«}
175
176 %%% \gnuplot{} is a command-driven interactive function plotting
177 %%% program. It can be used to plot functions and data points in
178 %%% both two- and three-dimensional plots in many different
179 %%% formats. It is designed primarily for the visual display of
180 %%% scientific data.
181 \gnuplot{} ¤Ï¥³¥Þ¥ó¥É¶îÆ°·¿¤ÎÂÐÏ÷¿´Ø¿ôÉÁ²è¥×¥í¥°¥é¥à¤Ç¤¹¡£´Ø¿ô¤ÎÉÁ²è¡¢
182 ¤ª¤è¤Ó¥Ç¡¼¥¿ÅÀ¤ÎÉÁ²è¤ò 2 ¼¡¸µ¡¢3 ¼¡¸µ¤ÎξÊý¤Ç¡¢
183 ÍÍ¡¹¤Ê°Û¤Ê¤ë½ñ¼°¤Ç¹Ô¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
184 ¤³¤ì¤Ï¼ç¤Ë²Ê³ØŪ¤Ê¥Ç¡¼¥¿¤ò²èÌÌɽ¼¨¤¹¤ë¤â¤Î¤È¤·¤ÆÀ߷פµ¤ì¤Æ¤¤¤Þ¤¹¡£
185 %%% \gnuplot{} is copyrighted, but freely distributable;
186 %%% you don't have to pay for it.
187 \gnuplot{} ¤ÎÃøºî¸¢¤ÏÊݸ¤ì¤Æ¤¤¤Þ¤¹¤¬¡¢¼«Í³¤ËÇÛÉۤǤ­¡¢
188 Âå¶â¤òʧ¤¦É¬ÍפϤ¢¤ê¤Þ¤»¤ó¡£
189
190
191 %%% \subsection{How did it come about and why is it called \gnuplot?}
192 \subsection{¤½¤ì¤Ï¤É¤³¤«¤éÍè¤Æ¡¢¤½¤·¤Æ¤Ê¤¼ \gnuplot{} ¤È¸Æ¤Ð¤ì¤Æ¤¤¤ë¤Î¤Ç¤¹¤«}
193
194 %%% The authors of \gnuplot{} are:
195 %%% Thomas Williams, Colin Kelley, Russell Lang, Dave Kotz, John
196 %%% Campbell, Gershon Elber, Alexander Woo and many others.
197 \gnuplot{} ¤Îºî¼Ô¤Ï Thomas Williams, Colin Kelley, Russell Lang,
198 Dave Kotz, John Campbell, Gershon Elber, Alexander Woo¡¢
199 ¤½¤·¤Æ¿¤¯¤Î¶¨ÎϼԤǤ¹¡£
200
201 %%% The following quote comes from Thomas Williams:
202 °Ê²¼¤Ï Thomas Williams ¤Ë¤è¤ê¤Þ¤¹:
203 %% end Japanese
204 \begin{quote}
205 %%%      I was taking a differential equation class and Colin was taking
206 %%%      Electromagnetics, we both thought it'd be helpful to visualize the
207 %%%      mathematics behind them. We were both working as sys admin for an
208 %%%      EE VLSI lab, so we had the graphics terminals and the time to do
209 %%%      some coding. The posting was better received than we expected, and
210 %%%      prompted us to add some, albeit lame, support for file data.
211      »ä¤ÏÈùʬÊýÄø¼°¤Î¹ÖµÁ¤ò¡¢¤½¤·¤Æ Colin ¤ÏÅż§µ¤³Ø¤Î¹ÖµÁ¤ò¼è¤Ã¤Æ¤¤¤Æ¡¢
212      2 ¿Í¤È¤â¤½¤ì¤é¤Ë´Ø¤¹¤ë¿ô³Ø¤¬»ë³Ð²½¤Ç¤­¤ì¤Ð¤Ê¤¢¤È¹Í¤¨¤Æ¤¤¤Þ¤·¤¿¡£
213      »äã¤Ï¤¢¤ë EE (Engineering Electronics) VLSI ¸¦¤Î
214      ¥·¥¹¥Æ¥à´ÉÍý¼Ô¤È¤·¤ÆƯ¤¤¤Æ¤¤¤Æ¡¢¤½¤·¤Æ¡¢
215      ¥°¥é¥Õ¥£¥Ã¥¯Ã¼Ëö¤È¥³¡¼¥Ç¥£¥ó¥°¤ò¹Ô¤Ê¤¦»þ´Ö¤¬¤¢¤ê¤Þ¤·¤¿¡£
216      ¤½¤ÎÅê¹Æ¤Ï²æ¡¹¤Î´üÂ԰ʾå¤ËÎɤ¯¼õ¤±Æþ¤ì¤é¤ì¡¢¤½¤·¤Æ¡¢ÉÔ´°Á´¤Ç¤·¤¿¤¬¡¢
217      ¥Õ¥¡¥¤¥ë¥Ç¡¼¥¿¤Ë´Ø¤¹¤ë¤¤¤¯¤Ä¤«¤Î¥µ¥Ý¡¼¥È¤Ë²æ¡¹¤ò¶î¤êΩ¤Æ¤Þ¤·¤¿¡£
218
219 %%%      Any reference to GNUplot is incorrect. The real name of the program
220 %%%      is "\gnuplot". You see people use "\Gnuplot" quite a bit because many
221 %%%      of us have an aversion to starting a sentence with a lower case
222 %%%      letter, even in the case of proper nouns and titles. \gnuplot{} is not
223 %%%      related to the GNU project or the FSF in any but the most
224 %%%      peripheral sense. Our software was designed completely
225 %%%      independently and the name "\gnuplot" was actually a compromise. I
226 %%%      wanted to call it "llamaplot" and Colin wanted to call it "nplot."
227 %%%      We agreed that "newplot" was acceptable but, we then discovered
228 %%%      that there was an absolutely ghastly pascal program of that name
229 %%%      that the Computer Science Dept.\ occasionally used. I decided that
230 %%%      "\gnuplot" would make a nice pun and after a fashion Colin agreed.
231      GNUplot ¤È¤¤¤¦¾Ò²ð¤Ï¤É¤ó¤Ê¤â¤Î¤âÀµ¤·¤¯¤Ï¤¢¤ê¤Þ¤»¤ó¡£
232      ¤³¤Î¥×¥í¥°¥é¥à¤ÎËÜÅö¤Î̾Á°¤Ï "\gnuplot" ¤Ç¤¹¡£
233      ¤º¤¤¤Ö¤ó¤È "\Gnuplot" ¤È½ñ¤«¤ì¤Æ¤¤¤ë¤Î¤ò¸«¤ë¤Ç¤·¤ç¤¦¤¬¡¢
234      ¤½¤ì¤Ï²æ¡¹¤ÎÂçȾ¤¬¡¢¸Çͭ̾»ì¤ä¥¿¥¤¥È¥ë¤Ç¤¢¤Ã¤Æ¤â¡¢
235      Ê¸¾Ï¤ò¾®Ê¸»ú¤Ç³«»Ï¤¹¤ë¤³¤È¤Ë·ù°­¤ò»ý¤Ã¤Æ¤¤¤ë¤«¤é¤Ç¤¹¡£
236      \gnuplot{} ¤Ï GNU ¥×¥í¥¸¥§¥¯¥È¤ä FSF ¤È¤Ï¡¢
237      ¶Ë¤ï¤º¤«¤Î°ÕÌ£¤ò½ü¤±¤Ð¾¯¤·¤â´Ø·¸¤¢¤ê¤Þ¤»¤ó¡£
238      ²æ¡¹¤Î¥½¥Õ¥È¥¦¥§¥¢¤Ï´°Á´¤ËÆÈΩ¤Ë¥Ç¥¶¥¤¥ó¤µ¤ì¤¿¤â¤Î¤Ç¡¢
239      ¤½¤·¤Æ "\gnuplot" ¤È¤¤¤¦Ì¾Á°¤Ï¼Â¤ÏÂŶ¨¤Ë¤è¤ë¤â¤Î¤Ç¤¹¡£
240      »ä¤Ï "llamaplot" ¤È¸Æ¤Ó¤¿¤«¤Ã¤¿¤·¡¢
241      Colin ¤Ï "nplot" ¤È¸Æ¤Ó¤¿¤«¤Ã¤¿¤Î¤Ç¤¹¡£
242      ¤½¤·¤Æ¡¢²æ¡¹¤Ï "newplot" ¤¬¤¤¤¤¤À¤í¤¦¤È¤¤¤¦¤³¤È¤Ç¹ç°Õ¤·¤Þ¤·¤¿¤¬¡¢
243      ¤·¤«¤·¤½¤Î¤È¤­¤½¤Î̾Á°¤ò»ý¤Ä¡¢ÀäÂÐŪ¤Ë¤ª¤¾¤Þ¤·¤¤ Pascal ¤Î¥×¥í¥°¥é¥à¤ò
244      ·×»»µ¡²Ê³ØÉô¤Ç¤¿¤Þ¤Ë»È¤Ã¤Æ¤¤¤ë¤³¤È¤òÃΤê¤Þ¤·¤¿¡£
245      ¤½¤ì¤Ç»ä¤Ï "\gnuplot" ¤¬¤¤¤¤¤´¤í¹ç¤ï¤»¤Ë¤Ê¤ë¤È¤·¤Æ¡¢
246      ¸å¤Ç Colin ¤â¤½¤ì¤ËƱ°Õ¤·¤¿¤Î¤Ç¤¹¡£
247 %% end Japanese
248 \end{quote}
249
250  
251 %%% \subsection{What does \gnuplot{} offer?}
252 \subsection{\gnuplot{} ¤Ï²¿¤òÄ󶡤·¤Æ¤¯¤ì¤Þ¤¹¤«}
253
254 \begin{itemize}
255 %%% \item Plotting two-dimensional functions and data points in many
256 %%% different styles (points, lines, error bars)
257 %%% \item Plotting three-dimensional data points and surfaces in
258 %%% many different styles (contour plot, mesh)
259 %%% \item Algebraic computation in integer, float and complex arithmetic
260 %%% \item User-defined functions and hot-keys
261 %%% \item Support for a large number of operating systems, graphics
262 %%% file formats and output devices
263 %%% \item Extensive on-line help
264 %%% \item \TeX{}-like text formatting for labels, titles, axes, data points
265 %%% \item Interactive command line editing and history (most platforms)
266 \item 2 ¼¡¸µ¤Ç¤Î´Ø¿ô¤ä¥Ç¡¼¥¿¤Î¡¢¤¿¤¯¤µ¤ó¤Î¥¹¥¿¥¤¥ë (ÅÀ¡¢ÀÞ¤ìÀþ¡¢¸íº¹É½¼¨) %
267 ¤Ë¤è¤ëÉÁ²è
268 \item 3 ¼¡¸µ¤Ç¤Î¥Ç¡¼¥¿¤ä¶ÊÌ̤Τ¿¤¯¤µ¤ó¤Î¥¹¥¿¥¤¥ë (Åù¹âÀþÉÁ²è¡¢ÌÖ¤«¤±) %
269 ¤Ë¤è¤ëÉÁ²è
270 \item À°¿ô¡¢¼Â¿ô¡¢Ê£ÁÇ¿ô¤Ç¤ÎÂå¿ô±é»»
271 \item ´Ø¿ôÄêµÁ¡¢¥Û¥Ã¥È¥­¡¼ÄêµÁ¤¬²Äǽ
272 \item Â¿¤¯¤Î¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¡¢Â¿¤¯¤Î¥°¥é¥Õ¥£¥Ã¥¯¥Õ¥¡¥¤¥ë·Á¼°½ÐÎÏ¡¢
273 ¤½¤·¤Æ¿¤¯¤Î½ÐÎÏÁõÃ֤Υµ¥Ý¡¼¥È
274 \item ¹­ÈϰϤˤ錄¤ë¥ª¥ó¥é¥¤¥ó¥Ø¥ë¥×
275 \item ¥é¥Ù¥ë¡¢¥¿¥¤¥È¥ë¡¢¼´¡¢¥Ç¡¼¥¿ÅÀ¤Ø¤Î \TeX{} ¥é¥¤¥¯¤Ê½ñ¼°¤Ë¤è¤ë¸«½Ð¤·ÉÕ¤±
276 \item ÂÐÏ÷¿ÆþÎÏ·Á¼°¤Î¥¨¥Ç¥£¥Ã¥Èµ¡Ç½¤È¥Ò¥¹¥È¥ê (ÍúÎò) µ¡Ç½¤Î¥µ¥Ý¡¼¥È %
277 (¿¤¯¤Î¥×¥é¥Ã¥È¥Û¡¼¥à¾å¤Ç)
278 %% end Japanese
279 \end{itemize}
280
281
282 %%% \subsection{Is \gnuplot{} suitable for scripting?}
283 \subsection{\gnuplot{} ¤Ï¥¹¥¯¥ê¥×¥È¤ËŬ¤·¤Æ¤¤¤Þ¤¹¤«}
284
285 %%% Yes. Gnuplot can read in files containing additional commands during
286 %%% an interactive session, or it can be run in batch mode by piping a
287 %%% pre-existing file or a stream of commands to stdin. Gnuplot is used
288 %%% as a back-end graphics driver by such higher-level mathematical 
289 %%% packages as Octave, and can easily be wrapped in a cgi script for
290 %%% use as a web-driven plot generator.
291 ¤¨¤¨¡£gnuplot ¤ÏÂÐÏ÷¿¼Â¹ÔÃæ¤Ë
292 Äɲå³¥Þ¥ó¥É¤ò´Þ¤à¥Õ¥¡¥¤¥ë¤òÆɤ߹þ¤à¤³¤È¤¬¤Ç¤­¤Þ¤¹¤·¡¢
293 ´û¤Ë¸ºß¤¹¤ë¥Õ¥¡¥¤¥ë¤äɸ½àÆþÎϤ«¤é¤Î¥³¥Þ¥ó¥ÉÎó¤ò
294 ¥Ñ¥¤¥×¤ò»È¤Ã¤Æ¥Ð¥Ã¥Á¥â¡¼¥É¤Ç¤½¤ì¤ò½èÍý¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£
295 gnuplot ¤Ï¡¢Octave ¤Î¤è¤¦¤Ê¹â¿å½à¤Ê¿ô³Ø¥Ñ¥Ã¥±¡¼¥¸¤ÎÇظå¤Ç¼Â¹Ô¤¹¤ë
296 ¥°¥é¥Õ¥£¥Ã¥¯¥É¥é¥¤¥Ð¤È¤·¤Æ»È¤ï¤ì¤Æ¤¤¤Þ¤¹¤·¡¢
297 cgi ¥¹¥¯¥ê¥×¥È¤Ç¥é¥Ã¥×¤¹¤ë¤³¤È¤Ç
298 ÍưפˠWeb µ¯Æ°·¿¤ÎÉÁ²èÀ¸À®¥Ä¡¼¥ë¤È¤·¤Æ»È¤¦¤³¤È¤â¤Ç¤­¤Þ¤¹¡£
299
300
301 %%% \subsection{Can I run \gnuplot{} on my computer?}
302 \subsection{\gnuplot{} ¤Ï»ä¤Î¥³¥ó¥Ô¥å¡¼¥¿¤ÇÆ°¤«¤¹¤³¤È¤¬¤Ç¤­¤Þ¤¹¤«}
303
304 %%% \Gnuplot{} is available for a number of platforms. These are: Unix
305 %%% (X11 and NeXTSTEP), Linux, VMS, OS/2, MS-DOS, Amiga, MS-Windows,
306 %%% OS-9/68k, Atari ST, BeOS, and Macintosh.
307 \gnuplot{} ¤Ï¿¤¯¤Î¥×¥é¥Ã¥È¥Û¡¼¥à¾å¤ÇÍøÍѲÄǽ¤Ç¤¹¡£
308 ¸½ºß¤Ï UNIX (X11 ¤ª¤è¤Ó NeXTSTEP)¡¢VAX/VMS, OS/2, MS-DOS, Amiga, 
309 MS-Windows, OS-9/68k, Atari ST, BeOS, Macintosh ¤ÇÆ°ºî¤·¤Þ¤¹¡£
310
311 %%% Please notify the FAQ-maintainer of any further ports you
312 %%% might be aware of.
313 ¾¤Î¥×¥é¥Ã¥È¥Û¡¼¥à¤Ç¤âÆ°¤¯¤³¤È¤òÃΤäƤ¤¤¿¤é¡¢
314 FAQ ¤Î¥á¥ó¥Æ¥Ê¤Ë¶µ¤¨¤Æ¤¯¤À¤µ¤¤¡£
315
316 %%% You should be able to compile the \gnuplot{} source more or
317 %%% less out of the box on any reasonable standard (ANSI/ISO C, POSIX)
318 %%% environment.
319 \gnuplot{} ¤Î¥½¡¼¥¹¤Ï¡¢É¸½àŪ (ANSI/ISO C, POSIX Åù) ¤Ê´Ä¶­¤«¤é
320 ¿¾¯³°¤ì¤¿¤â¤Î¤Î¾å¤Ç¤â¥³¥ó¥Ñ¥¤¥ë¤Ç¤­¤ë¤Ç¤·¤ç¤¦¡£
321
322 %%% \subsection{Legalities}
323 \subsection{¥é¥¤¥»¥ó¥¹¤Ë¤Ä¤¤¤Æ}
324
325 %%% \Gnuplot{} is freeware authored by a collection of volunteers, who cannot
326 %%% make any legal statement about the compliance or non-compliance of
327 %%% \gnuplot{} or its uses. There is also no warranty whatsoever. Use at your
328 %%% own risk.
329 \gnuplot{} ¤Ï¥Ü¥é¥ó¥Æ¥£¥¢¤Î½¸ÃĤˤè¤Ã¤Æºî¤é¤ì¤¿¥Õ¥ê¡¼¥¦¥§¥¢¤Ç¤¹¡£
330 Èà¤é¤Ï \gnuplot¡¢¤ª¤è¤Ó¤½¤Î»ÈÍѤεö²Ä¡¢
331 ÉÔµö²Ä¤Ë´Ø¤¹¤ëˡŪ¤Êʸ½ñ¤òºîÀ®¤Ç¤­¤Þ¤»¤ó¡£¤Þ¤¿²¿¤ÎÊݾڤ⤢¤ê¤Þ¤»¤ó¡£
332 ¼«Ê¬¼«¿È¤ÎÀÕǤ¤Ç»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£
333
334 %%% Citing from the README of a mathematical subroutine package by R. Freund:
335 °Ê²¼¤Ï¡¢R. Freund ¤Ë¤è¤ë¿ô³Ø´Ø¿ô¤Î¥µ¥Ö¥ë¡¼¥Á¥ó¥Ñ¥Ã¥±¡¼¥¸¤Î README %
336 ¤«¤é¤Î°úÍѤǤ¹:
337
338 \begin{quote}
339 %%% For all intent and purpose, any description of what the codes are doing
340 %%% should be construed as being a note of what we thought the codes did on
341 %%% our machine on a particular Tuesday of last year.  If you're really
342 %%% lucky, they might do the same for you someday.  Then again, do you
343 %%% really feel *that* lucky?
344 Á´¤Æ¤Î°Õ¿Þ¡¢ÌÜŪ¤Ë´Ø¤·¤Æ¡¢¤½¤Î¥³¡¼¥É¤¬¤ä¤ë¤³¤È¤ËÂФ¹¤ëǤ°Õ¤Îµ­½Ò¤Ï
345 ¤½¤Î¥³¡¼¥É¤¬²æ¡¹¤Î¥Þ¥·¥ó¤Î¾å¤Çºòǯ¤Î¤¢¤ë²ÐÍËÆü¤Ë¤¿¤Þ¤¿¤Þ¹Ô¤Ê¤Ã¤¿¤³
346 ¤È¤ËÂФ·¤Æ²æ¡¹¤¬¹Í¤¨¤¿¤³¤È¡¢¤È²ò¼á¤µ¤ì¤ë¤Ù¤­¤Ç¤¹¡£¤â¤·¤Ä¤¤¤Æ¤¤¤ì¤Ð
347 ¤½¤Î¥³¡¼¥É¤Ïµ®Êý¤ËÂФ·¤Æ¤â¤¢¤ëÆüƱ¤¸¤³¤È¤ò¤¹¤ë¤Ç¤·¤ç¤¦¡£·«¤êÊÖ¤·¤Þ
348 ¤¹¤¬¡Ö¤½¤ì¡×¤ò¤Ä¤¤¤Æ¤¤¤ë¤À¤±¤À¤ÈËÜÅö¤Ë»×¤¨¤Þ¤¹¤« ?
349 %% end Japanese
350 \end{quote}
351
352
353 %%% \subsection{Does \gnuplot{} have anything to do with the FSF and the GNU
354 %%% project?}
355 \subsection{\gnuplot{} ¤Ï FSF ¤ä GNU ¥×¥í¥¸¥§¥¯¥È¤È²¿¤«´Ø·¸¤¬¤¢¤ë¤Î¤Ç¤¹¤«}
356
357 %%% \Gnuplot{} is neither written nor maintained by the FSF\@. It is not
358 %%% covered by the General Public License, either. It used to be distributed
359 %%% by the FSF, however, due to licensing issues it is no longer.
360 \gnuplot{} ¤Ï FSF ¤¬ºî¤Ã¤¿¤Î¤Ç¤â FSF ¤¬¥á¥ó¥Æ¥Ê¥ó¥¹¤·¤Æ¤¤¤ë¤Î¤Ç¤â¤¢¤ê¤Þ¤»¤ó¡£
361 ¤½¤·¤Æ GNU GPL (General Public License) ¤ËÊݸ¤ì¤Æ¤â¤¤¤Þ¤»¤ó¡£
362 º£¤Ç¤Ï FSF ¤«¤éÇÛÉÛ¤µ¤ì¤Æ¤â¤¤¤Þ¤¹¤¬¡¢
363 ¤·¤«¤·¡¢¤½¤ì¤ÏÈǸ¢¤Î¤¿¤á¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£
364
365 %%% \Gnuplot{} is freeware in the sense that you don't have to pay
366 %%% for it. However it is not freeware in the sense that you would be
367 %%% allowed to distribute a modified version of your \gnuplot{} freely.
368 %%% Please read and accept the \texttt{Copyright} file in your distribution.
369 \gnuplot{} ¤Ï¡¢Ìµ½þ¤Ç¤¢¤ë¤È¸À¤¦°ÕÌ£¤Ç¥Õ¥ê¡¼¥¦¥§¥¢¤Ç¤¹¡£
370 ¤·¤«¤·¡¢¤¢¤Ê¤¿¤¬²þÊѤ·¤¿¤â¤Î¤ò¼«Í³¤ËÇÛÉÛ¤¹¤ë¤³¤È¤¬Ç§¤á¤é¤ì¤ë¤«¡¢
371 ¤È¤¤¤¦¤³¤È¤Ë´Ø¤·¤Æ¤Ï¥Õ¥ê¡¼¥¦¥§¥¢¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£
372 ÇÛÉÛʪ¤Ë´Þ¤Þ¤ì¤ë \texttt{Copyright} ¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤òÆɤó¤Ç
373 ¤½¤ì¤ò¾µÇ§¤·¤Æ¤¯¤À¤µ¤¤¡£
374
375
376 %%% \subsection{Where do I get further information?}
377 \subsection{¹¹¤Ê¤ë¾ðÊó¤Ï¤É¤³¤Ç¼ê¤ËÆþ¤ê¤Þ¤¹¤«}
378
379 %%% See the main gnuplot web page \http{www.gnuplot.info} and references therein,
380 %%% mainly gnuplot links \http{gnuplot.sourceforge.net/links.html}.
381 gnuplot Web ¥Ú¡¼¥¸ \http{www.gnuplot.info} ¤È¡¢
382 ¤½¤ÎÃæ¤Ç»²¾È¤µ¤ì¤Æ¤¤¤ë¤â¤Î¡¢
383 Æäˠgnuplot ¥ê¥ó¥¯ \http{gnuplot.sourceforge.net/links.html} %
384 ¤ò¸«¤Æ¤¯¤À¤µ¤¤¡£
385
386 %%% Some documentation and tutorials are available in other languages 
387 %%% than English.
388 %%% See \http{gnuplot.sourceforge.net/help.html}, section "Localized 
389 %%% learning pages
390 %%% about gnuplot", for the most up-to-date list.
391 ±Ñ¸ì°Ê³°¤Î¾¤Î¸À¸ì¤Ç¤Îʸ½ñ¤äÆþÌç½ñ¤â¤¢¤ê¤Þ¤¹¡£
392 ºÇ¿·¤Î¥ê¥¹¥È¤Ë¤Ä¤¤¤Æ¤Ï¡¢\http{gnuplot.sourceforge.net/help.html} ¤Î %
393 "Localized learning pages about gnuplot" ¤ÎÀá¤ò¤´Í÷¤¯¤À¤µ¤¤¡£
394
395
396 %%% \section{Setting it up}
397 \section{¥¤¥ó¥¹¥È¡¼¥ë}
398
399 %%% \subsection{What is the current version of \gnuplot?}
400 \subsection{\gnuplot{} ¤ÎºÇ¿·¥Ð¡¼¥¸¥ç¥ó¤Ï ?}
401
402 %%% The current released version of \gnuplot{} is 4.2.
403 \gnuplot{} ¤ÎºÇ¿·¤ÎÀµ¼°¥ê¥ê¡¼¥¹ÈǤϠ4.2 ¤Ç¤¹¡£
404
405 % The current development series consists of a series of snapshots
406 % with version labels 3.8a through 3.8k.
407
408
409 %%% \subsection{Where can I get \gnuplot?}
410 \subsection{\gnuplot{} ¤Ï¤É¤³¤Ç¼ê¤ËÆþ¤ì¤é¤ì¤Þ¤¹¤«}
411 %% end Japanese
412 \label{where-get-gnuplot}
413
414 %%% The best place is definitely \http{www.gnuplot.info}. From there
415 %%% you find various pointers to other sites.
416 ºÇ¤âŬ¤¹¤ë¾ì½ê¤Ï \http{www.gnuplot.info} ¤Ç¤¹¡£
417 ¤³¤³¤«¤é¾¤Î¥µ¥¤¥È¤Ø¤Î¿§¤ó¤Ê½õ¸À¤ò¸«¤Ä¤±¤é¤ì¤ë¤Ç¤·¤ç¤¦¡£
418
419 %%% The source distribution ("gnuplot-4.2.0.tar.gz" or a similar name) is
420 %%% available from the official distribution site and its mirrors.
421 ¥½¡¼¥¹ÇÛÉÛʪ ("gnuplot-4.2.0.tar.gz" ¤Þ¤¿¤ÏƱÍͤÎ̾Á°) %
422 ¤Ï¸ø¼°¤ÎÇÛÉÛ¥µ¥¤¥È¤ä¤½¤Î¥ß¥é¡¼¥µ¥¤¥È¤Ë¤¢¤ê¤Þ¤¹¡£
423
424 %%% The main server is \ftp{ftp.gnuplot.info}{/pub/gnuplot/}. This server is
425 %%% mirrored by several others, among those are
426 ÂçËܤΥµ¡¼¥Ð¥µ¥¤¥È¤Ï \ftp{ftp.gnuplot.info}{/pub/gnuplot/} %
427 ¤Ç¤¹¡£¤³¤Î¥µ¡¼¥Ð¤Ï¾¤Î¥µ¥¤¥È¤Ç¥ß¥é¡¼¤µ¤ì¤Æ¤¤¤ÆÎ㤨¤Ð°Ê²¼¤¬¤½¤¦¤Ç¤¹:
428 %% end Japanese
429 \begin{itemize}
430    \item \ftp{mirror.aarnet.edu.au}{/pub/gnuplot/}
431    \item \ftp{ftp.dartmouth.edu}{/pub/gnuplot/}
432    \item \ftp{ftp.irisa.fr}{/pub/gnuplot/}
433    \item \ftp{ftp.gnuplot.vt.edu}{/pub/gnuplot/}
434 \end{itemize}
435
436
437 %%% As of June 1999, the \gnuplot{} distribution is also mirrored
438 %%% at the Comprehensive TeX Archive Network (CTAN) in the
439 %%% \texttt{graphics/gnuplot} directory. See
440 1999 Ç¯ 6 ·î¸½ºß¡¢\gnuplot{} ¤ÎÇÛÉÛʪ¤Ï CTAN 
441 (the Comprehensive TeX Archive Network) ¤Î \\
442 \texttt{graphics/gnuplot} %
443 ¥Ç¥£¥ì¥¯¥È¥ê¤Ç¤â¥ß¥é¡¼¥ê¥ó¥°¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
444 °Ê²¼¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
445 %% end Japanese
446 \begin{itemize}
447 %%% \item \http{www.ctan.org/}.
448 \item \http{www.ctan.org/}
449 %% end Japanese
450 \end{itemize}
451
452
453
454 %%% The following platform-specific sites below still exist, but may
455 %%% or may not still hold gnuplot executables. 
456 °Ê²¼¤Î¥×¥é¥Ã¥È¥Õ¥©¡¼¥àÊ̤Υµ¥¤¥È¤Ïº£¤â°ì±þ¤Ï¤¢¤ê¤Þ¤¹¤¬¡¢
457 gnuplot ¤Î¼Â¹Ô¥Õ¥¡¥¤¥ë¤Ïº£¤â»ý¤Ã¤Æ¤¤¤ë¤«¤É¤¦¤«¤Ïʬ¤«¤ê¤Þ¤»¤ó¡£
458
459 \begin{itemize}
460
461 %%% \item Source and binary distributions for the Amiga are available on
462 %%% Aminet \ftp{ftp.wustl.edu}{~aminet/} and its mirrors, for example
463 %%% ftp.uni-kl.de, oes.orst.edu or ftp.luth.se.
464 \item Amiga ÍѤΥ½¡¼¥¹¡¢¤ª¤è¤Ó¥Ð¥¤¥Ê¥êÇÛÉÛʪ¤Ï Aminet 
465 \ftp{ftp.wustl.edu}{~aminet/} ¤ª¤è¤Ó¤½¤Î¥ß¥é¡¼¥µ¥¤¥È¡¢
466 Î㤨¤Ð ftp.uni-kl.de, oes.orst.edu, ftp.luth.se ¤Ê¤É¤Ë¤¢¤ê¤Þ¤¹¡£
467
468 %%% \item MS-DOS and MS-Windows binaries are available from
469 %%% the above servers and are called for example
470 %%% gp37dos.zip, gp37dj.zip, gp37w16.zip, gp37mgw.zip, gnuplot3.7cyg.zip.
471 %%% OS/2 binaries are called gp37os2.zip.
472 \item MS-DOS ¤È MS-Windows ÍѤΥХ¤¥Ê¥ê¤Ï¾åµ­¤Î¥µ¡¼¥Ð¤Ë¤¢¤ë %
473 gp37dos.zip, gp37dj.zip, gp37w16.zip, gp37mgw.zip, gnuplot3.7cyg.zip %
474 ¤¬¤½¤¦¤Ç¤¹¡£OS/2 ¤Î¥Ð¥¤¥Ê¥ê¤Ï gp37os2.zip ¤Ç¤¹¡£
475
476 %%% \item The NeXTSTEP front end can be found at
477 %%% \ftp{next-ftp.peak.org}{/pub/next/binaries/plotting/Gnuplot1.2_bin.tar.Z}.
478 \item NeXTSTEP ¤Î¥Õ¥í¥ó¥È¥¨¥ó¥É¤Ï %
479 \ftp{next-ftp.peak.org}{/pub/next/binaries/plotting/Gnuplot1.2_bin.tar.Z} %
480  ¤¬¤½¤ì¤Ç¤¹ %
481 (ÌõÃí: ¸½ºß (03/14 2005) ¤Ï %
482 \ftp{next-ftp.peak.org}{/next/apps/graphics/plotting/Gnuplot1.2.bin.tar.gz} %
483 ¤Î¤è¤¦)¡£
484
485 %%% \item A version for OS-9/68K can be found at
486 %%% \ftp{cabrales.cs.wisc.edu}{/pub/OSK/GRAPHICS/gnuplot32x.tar.Z}; it
487 %%% includes both an X-Window Systems and a non - X-Window Systems
488 %%% version. 
489 \item OS-9/68K ÍѤϠ%
490 \ftp{cabrales.cs.wisc.edu}{/pub/OSK/GRAPHICS/gnuplot32x.tar.Z} ¤Ç¤¹ %
491 (ÌõÃí: ¸½ºß (03/14 2005) ¤Ï¤³¤Î¥µ¥¤¥È¤Ï¤Ê¤¤¤è¤¦¤Ç¤¹)¡£
492 ¤½¤ì¤Ï X-Windows Systems ÍѤΤâ¤Î¤È¤½¤¦¤Ç¤Ê¤¤¤â¤Î¤ÎξÊý¤ò´Þ¤ó¤Ç¤¤¤Þ¤¹¡£
493
494 %%% \item Versions for the Atari ST and TT, which include some GEM
495 %%% windowing support, are available from
496 %%% \ftp{ftp.uni-kl.de}{/pub/atari/graphics/}, as gplt35st.zip
497 %%% and gplt35tt.zip. They work best under MiNT.
498 \item Atari ST, TT ÍѤΡ¢Â¿¾¯ GEM ¥¦¥£¥ó¥É¥¦¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ëÈǤϠ%
499 \ftp{ftp.uni-kl.de}{/pub/atari/graphics/} ¤Ë gplt35st.zip, 
500 gplt35tt.zip ¤È¤·¤Æ¤¢¤ê¤Þ¤¹ (ÌõÃí: ¸½ºß (03/14 2005) ¤³¤³¤Ë¤Ï¤Ê¤¤¤è¤¦¤Ç¤¹)¡£
501 ¤³¤ì¤é¤Ï MiNT ¾å¤Ç¤Á¤ã¤ó¤ÈÆ°¤­¤Þ¤¹¡£
502
503 %%% \item Executable files, plus documentation in Japanese, exist for the
504 %%% X680x0 on
505 %%% \ftp{ftp.csis.oita-u.ac.jp}{/pub/x68k/fj.binaries.x68000/vol2}.
506 X680x0 ÍѤμ¹ԥե¡¥¤¥ë¤ÈÆüËܸì¤Î¥É¥­¥å¥á¥ó¥È¤¬ %
507 \ftp{ftp.csis.oita-u.ac.jp}{/pub/x68k/fj.binaries.x68000/vol2} %
508 ¤Ë¸ºß¤·¤Þ¤¹ (ÌõÃí: ¸½ºß (03/14 2005) ¤Ï¤Ê¤¤¤è¤¦¤Ç¤¹)¡£
509
510 \end{itemize}
511
512
513 %%% \subsection{Where can I get current development version of \gnuplot?}
514 \subsection{\gnuplot{} ¤ÎºÇ¿·¤Î³«È¯ÈǤϤɤ³¤Ç¼ê¤ËÆþ¤ì¤é¤ì¤Þ¤¹¤«}
515
516 %%% The development version of gnuplot is availble as a cvs source 
517 %%% tree online for
518 %%% direct browsing from \http{www.sourceforge.net/projects/gnuplot/}, section
519 %%% "CVS". You can download all current sources according to the documentation
520 %%% therein; for example by a sequence of commands like
521 gnuplot ¤Î³«È¯ÈǤϡ¢cvs ¥½¡¼¥¹¥Ä¥ê¡¼¤Î·Á¤Ç¡¢¥ª¥ó¥é¥¤¥ó¤ÇľÀÜ %
522 \http{www.sourceforge.net/projects/gnuplot/} %
523 ¤Î "CVS" ¥»¥¯¥·¥ç¥ó¤«¤é»²¾È¤Ç¤­¤Þ¤¹¡£
524 ¤½¤³¤Ë´Þ¤Þ¤ì¤Æ¤¤¤ë¥É¥­¥å¥á¥ó¥È¤Ë½¾¤Ã¤Æ¡¢
525 Î㤨¤Ð¡¢°Ê²¼¤Î¤è¤¦¤Ê¥³¥Þ¥ó¥ÉÎó¤Ë¤è¤Ã¤Æ
526 ºÇ¿·¤Î¥½¡¼¥¹¤ò¤¹¤Ù¤Æ¥À¥¦¥ó¥í¡¼¥É¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£
527 %% end Japanese
528 \begin{verbatim}
529   cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gnuplot login
530   cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gnuplot co -P gnuplot
531 \end{verbatim}
532 %%% or (in bash)
533 ¤Þ¤¿¤Ï (bash ¤Ç¤Ï)
534 %% end Japanese
535 \begin{verbatim}
536   export CVSROOT=:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gnuplot
537   cvs login
538   cvs -z3 checkout gnuplot
539 \end{verbatim}
540
541 %%% Further, before the \texttt{./configure} command of gnuplot 
542 %%% compilation phase,
543 %%% you have to execute \texttt{./prepare} to create the up-to-date 
544 %%% configure files.
545 ¤½¤Î¸å¡¢gnuplot ¤Î¥³¥ó¥Ñ¥¤¥ë¤ÎÃʳ¬¤Î \texttt{./configure} ¤ÎÁ°¤Ë¡¢
546 \texttt{./prepare} ¤ò¼Â¹Ô¤·¤Æ
547 ºÇ¿·¤Î configure ÍѤΥե¡¥¤¥ë¤òºîÀ®¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
548
549 %%% There are no official preliminary binary releases of gnuplot: you have to
550 %%% compile it yourself. However, you may find unofficial binary 
551 %%% releases for some
552 %%% platforms, like OS/2, Windows or Macintosh. 
553 ¸ø¼°¤Î gnuplot ¤Î³«È¯ÈǤλÃÄêŪ¤Ê¥Ð¥¤¥Ê¥ê¥ê¥ê¡¼¥¹¤Ï¤¢¤ê¤Þ¤»¤ó¤Î¤Ç¡¢
554 ¼«Ê¬¼«¿È¤Ç¥³¥ó¥Ñ¥¤¥ë¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
555 ¤·¤«¤·¡¢OS/2, Windows, Macintosh ¤Ê¤É¤Î¤¤¤¯¤Ä¤«¤Î¥×¥é¥Ã¥È¥Õ¥©¡¼¥àÍѤÎ
556 Èó¸ø¼°¤Ê¥Ð¥¤¥Ê¥êÈǤϤɤ³¤«¤Ë¸«¤Ä¤«¤ë¤«¤âÃΤì¤Þ¤»¤ó¡£
557
558 %%% Important note: questions related to the development version should go to
559 %%% \mailto{gnuplot-beta@lists.sourceforge.net}.
560 ½ÅÍפÊÃí°Õ: ³«È¯ÈǤËÂФ¹¤ë¼ÁÌä¤Ïɬ¤º %
561 \mailto{gnuplot-beta@lists.sourceforge.net} ¤ËÁ÷¤Ã¤Æ¤¯¤À¤µ¤¤¡£
562
563
564 %%% \subsection{How do I get \gnuplot{} to compile on my system?}
565 \subsection{\gnuplot{} ¤Ï»ä¤Î¥·¥¹¥Æ¥à¤Ç¤Ï¤É¤¦¥³¥ó¥Ñ¥¤¥ë¤¹¤ì¤ÐÎɤ¤¤Ç¤¹¤«}
566
567 %%% As you would any other installation. Read the files \texttt{README.1ST}
568 %%% and \texttt{README}. 
569 ¾¤Î¥½¥Õ¥È¤Î¥¤¥ó¥¹¥È¡¼¥ë¤ÈƱÍͤǤ¹¡£\texttt{README.1ST} ¤È \texttt{README} %
570 ¥Õ¥¡¥¤¥ë¤òÆɤó¤Ç¤¯¤À¤µ¤¤¡£
571
572 \begin{itemize}
573 \item
574 %%% For Unix, use \texttt{./configure} (or \texttt{./configure 
575 %%% {-}{-}prefix=\$HOME/usr}
576 %%% for an installation for a single user), \texttt{make} and finally
577 %%% \texttt{make install} or \texttt{make install-strip}, the latter for smaller
578 %%% executables without debugging information. If you want to make a RPM package,
579 %%% then replace the latest step by \texttt{checkinstall} or \texttt{checkinstall
580 %%% make install-strip}, supposing the package \texttt{checkinstall} on your
581 %%% machine.
582 Unix ¤Ç¤Ï¡¢\texttt{./configure} 
583 (ñ°ì¥æ¡¼¥¶¤Î¥¤¥ó¥¹¥È¡¼¥ë¤Ê¤é¤Ð \\
584 \texttt{./configure {-}{-}prefix=\$HOME/usr}) %
585 ¤ò»È¤¤¡¢\texttt{make} ¤ò¼Â¹Ô¤·¡¢
586 ºÇ¸å¤Ë \texttt{make install} ¤Þ¤¿¤Ï \texttt{make install-strip} ¤È¤·¤Þ¤¹¡£
587 ¸å¼Ô¤Ï¥Ç¥Ð¥Ã¥°¾ðÊó¤ò½ü¤¤¤¿¡¢¤è¤ê¾®¤µ¤Ê¼Â¹Ô¥Õ¥¡¥¤¥ë¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹¡£
588 RPM ¥Ñ¥Ã¥±¡¼¥¸¤òºî¤ê¤¿¤¤¤Ê¤é¡¢ºÇ¸å¤Î¥¹¥Æ¥Ã¥×¤ò %
589 \texttt{checkinstall} ¤«¤Þ¤¿¤Ï \texttt{checkinstall make install-strip} % 
590 ¤ÇÃÖ¤­´¹¤¨¤Þ¤¹¤¬¡¢
591 ¤¢¤Ê¤¿¤Î¥Þ¥·¥ó¤Ç \texttt{checkinstall} ¥Ñ¥Ã¥±¡¼¥¸¤ò
592 ¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
593 %% end Japanese
594 \item
595 %%% For DOS, if you are using bash and DJGPP, you can just run 
596 %%% \texttt{djconfig.sh}.
597 DOS ¤Ç¤Ï¡¢bash ¤« DJGPP ¤ò»È¤Ã¤Æ¤¤¤ë¤Ê¤é \texttt{djconfig.sh} %
598 ¤ò¼Â¹Ô¤¹¤ë¤À¤±¤Ç¤¹¡£
599 %% end Japanese
600 \item
601 %%% For other platforms, copy the relevant makefile (e.g. 
602 %%% \texttt{makefile.os2} for
603 %%% OS/2, or \texttt{makefile.mgw} or \texttt{makefile.cyg} for Windows) from
604 %%% \texttt{config/} to \texttt{src/}, optionally update options 
605 %%% in the makefile's
606 %%% header, then change directory to \texttt{src} and run \texttt{make}.
607 ¾¤Î¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤Ç¤Ï¡¢Å¬Àڤʠmakefile 
608 (Î㤨¤Ð OS/2 ¤Ê¤é \texttt{makefile.os2}, 
609 Windows ¤Ê¤é \texttt{makefile.mgw} ¤« \texttt{makefile.cyg} Åù) %
610 ¤ò \texttt{config/} ¥Ç¥£¥ì¥¯¥È¥ê¤«¤é \texttt{src/} ¤Ë¥³¥Ô¡¼¤·¤Æ¡¢
611 \texttt{make} ¤ò¼Â¹Ô¤·¤Æ¤¯¤À¤µ¤¤¡£
612 %% end Japanese
613 \end{itemize}
614
615
616 %%% \subsection{What documentation is there, and how do I get it?}
617 \subsection{¥É¥­¥å¥á¥ó¥È¤Ï¤É¤³¤Ç¤¹¤«¡¢¤½¤·¤Æ¤½¤ì¤ò¤É¤¦¼ê¤ËÆþ¤ì¤é¤ì¤Þ¤¹¤«}
618
619 %%% The documentation is included in the source distribution. Look
620 %%% at the docs subdirectory, where you'll find
621 ¥É¥­¥å¥á¥ó¥È¤Ï¥½¡¼¥¹ÇÛÉÛʪ¤Ë´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê docs %
622 ¤ò¸«¤Æ¤¯¤À¤µ¤¤¡£¤½¤³¤Ë¤Ï
623
624 \begin{itemize}
625 %%% \item a Unix man page, which says how to start \gnuplot{}
626 %%% \item a help file, which also can be printed as a manual
627 %%% \item a tutorial on using \gnuplot{} with \LaTeX{}
628 %%% \item a quick reference summary sheet for \TeX{} only
629 \item Unix man ¥Ú¡¼¥¸ (\gnuplot{} ¤ò¤É¤¦Æ°¤«¤¹¤«½ñ¤¤¤Æ¤¢¤ë)
630 \item ¥Ø¥ë¥×¥Õ¥¡¥¤¥ë (¥Þ¥Ë¥å¥¢¥ë¤È¤·¤Æ¤â°õºþ²Äǽ)
631 \item \gnuplot{} ¤Î»È¤¤Êý¥Á¥å¡¼¥È¥ê¥¢¥ë (\LaTeX{} ¤Çµ­½Ò)
632 \item \gnuplot{} ¤Î»È¤¤Êý¤ÎÁḫɽ (¥¯¥¤¥Ã¥¯¥ê¥Õ¥¡¥ì¥ó¥¹; \TeX{} ¤Çµ­½Ò)
633 %% end Japanese
634 \end{itemize}
635
636 %%% The documentation is built during installation if you have \LaTeX{}
637 %%% installed on your system, look in the
638 %%% directories \texttt{docs} and \texttt{tutorial}.
639 ¤â¤·¤¢¤Ê¤¿¤Î¥·¥¹¥Æ¥à¤Ë \LaTeX{} ¤¬¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ì¤Ð¡¢
640 ¥É¥­¥å¥á¥ó¥È¤Ï¥¤¥ó¥¹¥È¡¼¥ë»þ¤Ë¼«Æ°Åª¤ËÀ¸À®¤µ¤ì¤Þ¤¹¡£
641 \texttt{docs} ¤È \texttt{tutorial} ¥Ç¥£¥ì¥¯¥È¥ê¤ÎÃæ¤ò¸«¤Æ¤¯¤À¤µ¤¤¡£
642 %%% \texttt{make pdf} in the docs subdirectory
643 %%% will make a \texttt{gnuplot.pdf} hypertext file ready for browsing 
644 %%% or printing.
645 ¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê docs ¤ÎÃæ¤Ç \texttt{make pdf} ¤È¤¹¤ë¤³¤È¤Ç¡¢
646 ¸«¤ë/°õºþ¤¹¤ë¤¿¤á¤Î¥Ï¥¤¥Ñ¡¼¥Æ¥­¥¹¥È¥Õ¥¡¥¤¥ë \texttt{gnuplot.pdf} %
647 ¤¬ÍÑ°Õ¤µ¤ì¤Þ¤¹¡£
648
649 %%% Online gnuplot documentation is available at
650 %%% \http{gnuplot.sourceforge.net/documentation.html}.
651 \http{gnuplot.sourceforge.net/documentation.html} ¤Ë¡¢
652 gnuplot ¤Î¥ª¥ó¥é¥¤¥ó¥É¥­¥å¥á¥ó¥È¤¬¤¢¤ê¤Þ¤¹¡£
653
654 %%% (Obsolete?)
655 %%% PostScript copies of the documentation can be ftp'd from
656 %%% \ftp{ftp.gnuplot.info}{/pub/gnuplot}, as \texttt{manual.ps.Z} and
657 %%% \texttt{tutorial.ps.Z}.
658 (¸Å¤¤ ?) %
659 ¥É¥­¥å¥á¥ó¥È¤Î PostScript ÈǤϠ%
660 \ftp{ftp.gnuplot.info}{/pub/gnuplot} ¤«¤é ftp ¤ÇÆþ¼ê¤Ç¤­¤Þ¤¹¡£ 
661 \texttt{manual.ps.Z}, \texttt{tutorial.ps.Z} ¤¬¤½¤ì¤Ç¤¹¡£
662 %%% Documentation about \gnuplot{} is available at the \gnuplot{} 
663 %%% distribution sites 
664 %%% in the files \texttt{gpdoc.zip} and \texttt{gpdoc2.zip}.
665 \gnuplot{} ¤Ë´Ø¤¹¤ë¥É¥­¥å¥á¥ó¥È¤Ï¡¢\gnuplot{} ¤ÎÇÛÉÛ¥µ¥¤¥È¤Î %
666 \texttt{gpdoc.zip}, \texttt{gpdoc2.zip} ¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤ÎÃæ¤Ë¤¢¤ê¤Þ¤¹¡£
667
668
669 %%% \subsection{Worked examples}
670 \subsection{Æ°ºî¤¹¤ë¥µ¥ó¥×¥ë}
671
672 %%% There is a directory of worked examples in the the source distribution.
673 %%% These examples, and the resulting plots, may also be found at
674 %%% \http{gnuplot.sourceforge.net/demo/}.
675 ¥½¡¼¥¹ÇÛÉÛʪ¤Ë¤ÏÆ°ºî¤¹¤ë¥µ¥ó¥×¥ë¤Î¥Ç¥£¥ì¥¯¥È¥ê¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£
676 ¤³¤ì¤é¥µ¥ó¥×¥ë¡¢¤ª¤è¤Ó¤½¤Î·ë²Ì¤ÎÉÁ²è¥°¥é¥Õ¤Ï %
677 \http{gnuplot.sourceforge.net/demo/} ¤Ç¤â¸«¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
678
679
680 %%% \subsection{How do I modify \gnuplot, and apply 'patches'?}
681 \subsection{¤É¤¦¤·¤¿¤é \gnuplot{} ¤ò½¤Àµ¡¢¤Þ¤¿¤Ï¥Ñ¥Ã¥Á¤òÅö¤Æ¤é¤ì¤Þ¤¹¤«}
682
683 %%% For this, you will need to recompile \gnuplot.
684 ¤³¤Î¤¿¤á¤Ë¤Ï \gnuplot{} ¤ò¥³¥ó¥Ñ¥¤¥ë¤·Ä¾¤¹É¬Íפ¬¤¢¤ê¤Þ¤¹¡£
685
686 %%% Modifications people make are either done by replacing files,
687 %%% such as terminal drivers, or by 'patching'. If a file is a
688 %%% replacement, it will probably tell you in its README or in the
689 %%% lines at the beginning.
690 ÍÍ¡¹¤Ê¿Í¡¹¤¬ºî¤Ã¤¿½¤Àµ¤Ï¡¢
691 ½ÐÎϥɥ饤¥Ð¤Î¤è¤¦¤Ê¥Õ¥¡¥¤¥ë¤òÃÖ¤­´¹¤¨¤ë¤³¤È¤Ç¹Ô¤Ê¤¦¤«¡¢
692 ¤Þ¤¿¤Ï '¥Ñ¥Ã¥ÁÅö¤Æ' ¤Ç¹Ô¤Ê¤¤¤Þ¤¹¡£
693 ¥Õ¥¡¥¤¥ë¤ÎÃÖ¤­´¹¤¨¤Î¾ì¹ç¡¢¤½¤ìÍѤΠREADME ¥Õ¥¡¥¤¥ë¡¢
694 ¤Þ¤¿¤Ï¤½¤Î¥Õ¥¡¥¤¥ë¤ÎºÇ½é¤Î¹Ô¤Ë²¿¤«¾ðÊ󤬤¢¤ë¤«¤âÃΤì¤Þ¤»¤ó¡£
695
696 %%% To patch a file, you need the \texttt{patch} utility, and possibly
697 %%% also \texttt{automake} and \texttt{autoconf}. On many UNIX systems
698 %%% these will already be installed; If they aren't, you can find 
699 %%% them wherever GNU software is archived. Typical command for applying a patch
700 %%% is \verb+patch -p0 <newfunctionality.diff+.
701 ¥Ñ¥Ã¥Á¤òÅö¤Æ¤ë¾ì¹ç¤Ï¡¢\texttt{patch} ¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤¬É¬Íפǡ¢
702 ¤â¤·¤«¤·¤¿¤é \texttt{automake}, \texttt{autoconf} ¤âɬÍפ«¤â¤·¤ì¤Þ¤»¤ó¡£
703 ¿¤¯¤Î UNIX ¥·¥¹¥Æ¥à¤Ç¤Ï¤³¤ì¤é¤Ï´û¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤Ç¤·¤ç¤¦¡£
704 ¤â¤·¤½¤¦¤Ç¤Ê¤±¤ì¤Ð¡¢
705 ¤½¤ì¤é¤Ï GNU ¤Î¥½¥Õ¥È¥¦¥§¥¢¤¬ÃÖ¤«¤ì¤Æ¤¤¤ë¾ì½ê¤Ê¤é¤É¤³¤Ç¤â¸«¤Ä¤«¤ë¤Ç¤·¤ç¤¦¡£
706 ¥Ñ¥Ã¥Á¤òŬÍѤ¹¤ë¾ì¹ç¤Îŵ·¿Åª¤Ê¤ä¤êÊý¤Ï %
707 \verb+patch -p0 <newfunctionality.diff+ ¤Ç¤¹¡£
708
709 %%% There is repository of contributed patches in the "Patches" section 
710 %%% on gnuplot's
711 %%% sourceforge site http://www.sourceforge.net/projects/gnuplot/.
712 ´ó¹Æ¤µ¤ì¤¿¥Ñ¥Ã¥Á¤ÎÃÖ¤­¾ì½ê¤Ï gnuplot ¤Î sourceforge ¥µ¥¤¥È %
713 \http{www.sourceforge.net/projects/gnuplot/} %
714 ¤Î "Patches" ¥»¥¯¥·¥ç¥ó¤Ë¤¢¤ê¤Þ¤¹¡£
715
716
717 %%% \section{Working with it.}
718 \section{Æ°ºî (Working with it)}
719
720 %%% \subsection{How do I get help?}
721 \subsection{¥Ø¥ë¥×¤Ï¤É¤¦¤ä¤Ã¤Æ¼ê¤ËÆþ¤ì¤é¤ì¤Þ¤¹¤«}
722
723 %%% Read this document.
724 ¤³¤Î¥É¥­¥å¥á¥ó¥È¤òÆɤó¤Ç¤¯¤À¤µ¤¤¡£
725
726 %%% Give the \verb+help+ command at the initial prompt. After that, keep
727 %%% looking through the keywords. Good starting points are \verb+plot+
728 %%% and \verb+set+.
729 ½é´ü¥×¥í¥ó¥×¥È¤Ç \verb+help+ ¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Æ¤¯¤À¤µ¤¤¡£
730 ¤½¤Î¸å¥­¡¼¥ï¡¼¥É¤ò¤¿¤É¤Ã¤Æ¤¤¤Ã¤Æ¤¯¤À¤µ¤¤¡£
731 \verb+plot+ ¤ä \verb+set+ ¤«¤é»Ï¤á¤ë¤Î¤¬¤¤¤¤¤Ç¤·¤ç¤¦¡£
732
733 %%% Read the manual, if you have it.
734 ¤â¤·¡¢»ý¤Ã¤Æ¤¤¤ë¤Ê¤é¥Þ¥Ë¥å¥¢¥ë¤òÆɤó¤Ç¤¯¤À¤µ¤¤
735
736 %%% Look through the demo subdirectory; it should give you some ideas.
737 demo ¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤ò¸«¤Æ¤¯¤À¤µ¤¤¡£¥Ò¥ó¥È¤òÍ¿¤¨¤Æ¤¯¤ì¤ë¤Ç¤·¤ç¤¦¡£
738
739 %%% Ask your colleagues, the system administrator or the person who
740 %%% set up \gnuplot.
741 ¥·¥¹¥Æ¥à´ÉÍý¼Ô¡¢¤Þ¤¿¤Ï \gnuplot{} ¤òÀßÄꤷ¤¿Æ±Î½¤Ë¿Ò¤Í¤Æ¤¯¤À¤µ¤¤¡£
742
743 %%% If all these fail, please upgrade to the newest version of \gnuplot{}
744 %%% or urge your system-administrator to do so. Then
745 %%% post a question to \news{comp.graphics.apps.gnuplot} or send mail
746 %%% to the gatewayed mailing list \mailto{gnuplot-info@lists.sourceforge.net}.
747 %%% Do not forget to cite the version number and the operating system.
748 %%% If you want to subscribe to the mailing list, send a mail to
749 %%% \mailto{majordomo@lists.sourceforge.net} with the body of the message being
750 %%% \verb+subscribe info-gnuplot+. Please don't do this if you can get
751 %%% \news{comp.graphics.apps.gnuplot} directly. If you post a
752 %%% question there, it is considered good form to solicit e-mail
753 %%% replies and post a summary.
754 ¤½¤ì¤éÁ´¤Æ¤Ë¼ºÇÔ¤·¤¿¤é¡¢\gnuplot{} ¤ÎºÇ¿·ÈǤ˹¹¿·¤¹¤ë¡¢
755 ¤¢¤ë¤¤¤Ï¹¹¿·¤¹¤ë¤è¤¦¥·¥¹¥Æ¥à´ÉÍý¼Ô¤Ë°µÎϤò¤«¤±¤Æ¤¯¤À¤µ¤¤¡£
756 ¤½¤·¤Æ¼ÁÌä¤ò¥Ë¥å¡¼¥¹¥°¥ë¡¼¥× \news{comp.graphics.apps.gnuplot} %
757 ¤ËÅê½ñ¤¹¤ë¤«¡¢¤Þ¤¿¤Ï¥á¡¼¥ê¥ó¥°¥ê¥¹¥È %
758 \mailto{gnuplot-info@lists.sourceforge.net} ¤Ë¥á¡¼¥ë¤òÁ÷¤Ã¤Æ¤¯¤À¤µ¤¤¡£
759 ¤½¤ÎºÝ¡¢¥Ð¡¼¥¸¥ç¥óÈÖ¹æ¤È¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤òÊ»µ­¤¹¤ë¤³¤È¤ò
760 ˺¤ì¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£
761 ¤½¤Î¥á¡¼¥ê¥ó¥°¥ê¥¹¥È¤ò¹ØÆɤ·¤¿¤¤¤Ê¤é¤Ð¡¢
762 \mailto{majordomo@lists.sourceforge.net} ¤Ë¡¢ËÜʸ¤Ë %
763 \verb+subscribe info-gnuplot+ ¤È¤À¤±½ñ¤¤¤¿¥á¡¼¥ë¤òÁ÷¤Ã¤Æ¤¯¤À¤µ¤¤¡£
764 ¤·¤«¤·¥Ë¥å¡¼¥¹¥°¥ë¡¼¥× \news{comp.graphics.apps.gnuplot} %
765 ¤¬Ä¾ÀÜÆɤá¤ë¤Ê¤é¤Ð¡¢¤½¤¦¤·¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£
766 ¼ÁÌä¤ò¤½¤Î¥Ë¥å¡¼¥¹¥°¥ë¡¼¥×¤ËÅê¹Æ¤¹¤ì¤Ð¡¢
767 ¤½¤ì¤Ï¥á¡¼¥ë¤Ç¤ÎÊÖ»ö¤òÀÁµá¤¹¤ë¡¢
768 ¤¢¤ë¤¤¤ÏÍ×Ìó¤òÅê¹Æ¤¹¤ëÎɤ¤·Á¼°¤È¸«¤Ê¤µ¤ì¤Þ¤¹¡£
769
770
771 %%% \subsection{How do I print out my graphs?}
772 \subsection{¤É¤¦¤ä¤Ã¤¿¤é¥°¥é¥Õ¤ò¥×¥ê¥ó¥È¥¢¥¦¥È¤Ç¤­¤Þ¤¹¤«}
773
774 %%% The kind of output produced is determined by the \verb+set terminal+
775 %%% command; for example, \verb+set terminal postscript+ will produce
776 %%% the graph in PostScript format. Output can be redirected using
777 %%% the \verb+set output+ command.
778 À¸À®¤µ¤ì¤ë½ÐÎϤμïÎà¤Ï \verb+set terminal+ ¥³¥Þ¥ó¥É¤ÇÄêµÁ¤·¤Þ¤¹¡£
779 Î㤨¤Ð \\
780 \verb+set terminal postscript+ ¤Ï
781 ¥°¥é¥Õ¤ò PostScript ·Á¼°¤Ç½ÐÎϤ·¤Þ¤¹¡£
782 ½ÐÎϤϠ\verb+set output+ ¥³¥Þ¥ó¥É¤Ç¥ê¥À¥¤¥ì¥¯¥È¤Ç¤­¤Þ¤¹¡£
783
784 %%% As an example, the following prints out a graph of sin(x) on a
785 %%% Unix machine running the X-Window System.
786 ¼¡¤ÎÎã¤Ï X-Windows System ¤ÎÆ°¤¤¤Æ¤¤¤ë Unix ¥Þ¥·¥ó¾å¤Ç %
787 sin(x) ¤Î¥°¥é¥Õ¤ò¥×¥ê¥ó¥È¥¢¥¦¥È¤·¤Þ¤¹¡£
788
789 %%% \begin{verbatim}
790 %%% gnuplot> plot [-6:6] sin(x)
791 %%% gnuplot> set terminal postscript
792 %%% Terminal type set to 'postscript'
793 %%% Options are 'landscape monochrome "Courier" 14'
794 %%% gnuplot> set output "sin.ps"
795 %%% gnuplot> replot
796 %%% gnuplot> set output              # set output back to default
797 %%% gnuplot> set terminal x11        # ditto for terminal type
798 %%% gnuplot> ! lp -ops sin.ps        # print PS File (site dependent)
799 %%% request id is lprint-3433 (standard input)
800 %%% lp: printed file sin.ps on fg20.rz.uni-karlsruhe.de (5068 Byte)
801 %%% !
802 %%% gnuplot>
803 %%% \end{verbatim}
804 \begin{verbatim}
805 gnuplot> plot [-6:6] sin(x)
806 gnuplot> set terminal postscript
807 Terminal type set to 'postscript'
808 Options are 'landscape monochrome "Courier" 14'
809 gnuplot> set output "sin.ps"
810 gnuplot> replot
811 gnuplot> set output              # ½ÐÎÏÀè¤ò¥Ç¥Õ¥©¥ë¥È¤ËÌ᤹
812 gnuplot> set terminal x11        # ½ÐÎÏ·Á¼°¤ò¥Ç¥Õ¥©¥ë¥È¤ËÌ᤹
813 gnuplot> ! lp -ops sin.ps        # PS ¥Õ¥¡¥¤¥ë¤ò¥×¥ê¥ó¥È¥¢¥¦¥È (´Ä¶­°Í¸)
814 request id is lprint-3433 (standard input)
815 lp: printed file sin.ps on fg20.rz.uni-karlsruhe.de (5068 Byte)
816 !
817 gnuplot>
818 \end{verbatim}
819
820 %%% Using the platform-independent way of restoring terminal by \texttt{set term
821 %%% push/pop} commands, do it by
822 ¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤Ë°Í¸¤·¤Ê¤¤½ÐÎÏ·Á¼°¤ÎÉüµ¢¤Ï¡¢
823 ¥³¥Þ¥ó¥É \texttt{set term push/pop} ¤Ë¤è¤Ã¤Æ°Ê²¼¤Î¤è¤¦¤Ë¹Ô¤Ê¤¨¤Þ¤¹¡£
824 %% end Japanese
825 \begin{verbatim}
826 gnuplot> set terminal postscript eps color lw 15 "Helvetica" 20
827 gnuplot> set out 'a.eps'
828 gnuplot> replot
829 gnuplot> set term pop
830 \end{verbatim}
831 %%% The command \texttt{set term pop} without a previous 
832 %%% corresponding \texttt{set
833 %%% term push} switches the terminal back to the startup terminal, 
834 %%% e.g. x11, pm or
835 %%% win.
836 \texttt{set term pop} ¥³¥Þ¥ó¥É¤Ï¡¢
837 ¤½¤ÎÁ°¤ËÂбþ¤¹¤ë \texttt{set term push} ¤ò¼Â¹Ô¤·¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ï¡¢
838 µ¯Æ°»þ¤Î½ÐÎÏ·Á¼°¡¢Î㤨¤Ð x11, pm, win Åù¤ËÉüµ¢¤·¤Þ¤¹¡£
839
840 %%% In Microschrott Windows you click in the upper left
841 %%% corner of the graph window and print directly from there.
842 Microschrott Windows ¤Ç¤Ï¥°¥é¥Õ¥¦¥£¥ó¥É¥¦¤Îº¸¾å¶ù¤ò¥¯¥ê¥Ã¥¯¤¹¤ë¤È
843 ¤½¤ì¤òľÀÜ¥×¥ê¥ó¥È¥¢¥¦¥È¤·¤Þ¤¹¡£
844
845
846 %%% \subsection{How do I include my graphs in <word processor>?}
847 \subsection{¤É¤¦¤ä¤Ã¤¿¤é¥°¥é¥Õ¤ò¥ï¡¼¥×¥í¥½¥Õ¥È¤Ë¼è¤ê¹þ¤á¤Þ¤¹¤«}
848
849 %%% Basically, you save your plot to a file in a format your word
850 %%% processor can understand (using \verb+set term+ and \verb+set output+,
851 %%% see above), and then you read in the plot from your word processor. Vector
852 %%% formats (PostScript, emf, svg, pdf, \TeX{}, \LaTeX{}, etc) 
853 %%% should be preferred,
854 %%% as you can scale your graph later to the right size.
855 ´ðËÜŪ¤Ë¡¢¥°¥é¥Õ¤ò¤½¤Î¥ï¡¼¥×¥í¥½¥Õ¥È¤¬Íý²ò¤Ç¤­¤ë·Á¼°¤Î¥Õ¥¡¥¤¥ë¤ËÊݸ¤¹¤ì¤Ð %
856 (\verb+set term+ ¤È \verb+set output+ ¤ò»È¤¤¤Þ¤¹¡£¾å¤ò¸«¤Æ¤¯¤À¤µ¤¤) %
857 ¤½¤Î¥ï¡¼¥×¥í¥½¥Õ¥È¤ÇÆɤ߹þ¤à¤³¤È¤¬¤Ç¤­¤ë¤Ç¤·¤ç¤¦¡£
858 ¸å¤ÇÀµ¤·¤¤¥µ¥¤¥º¤ËÊÑ´¹¤â¤Ç¤­¤ë¤È¤¤¤¦ÅÀ¤Ç
859 ¥Ù¥¯¥È¥ë·Á¼°¤Î¥Õ¥©¡¼¥Þ¥Ã¥È %
860 (PostScript, emf, svg, pdf, \TeX{}, \LaTeX{} ¤Ê¤É) ¤ÎÊý¤¬¤¤¤¤¤Ç¤·¤ç¤¦¡£
861
862 %%% Details depend on which word processor you use; use \verb+set term+ to get a
863 %%% list of available file formats.
864 ºÙ¤«¤¤¤³¤È¤Ï¤½¤Î¥ï¡¼¥×¥í¥½¥Õ¥È¤Ë°Í¸¤·¤Þ¤¹¡£
865 \verb+set term+ ¤È¤·¤Æ»ÈÍѤǤ­¤ë¥Õ¥¡¥¤¥ë·Á¼°¤Î¥ê¥¹¥È¤ò¸«¤Æ¤¯¤À¤µ¤¤¡£
866
867 %%% Many word processors can use Encapsulated PostScript for graphs. 
868 %%% This can be generated by the \verb+set terminal postscript eps [color]+ 
869 %%% command.
870 ¿¤¯¤Î¥ï¡¼¥×¥í¥½¥Õ¥È¤Ï Encapsulated PostScript (EPS) ¤Î¥°¥é¥Õ¤ò¼è¤ê¹þ¤á¤Þ¤¹¡£
871 ¤³¤ì¤Ï \\
872 \verb+set terminal postscript eps [color]+ %
873 ¤È¤¤¤¦¥³¥Þ¥ó¥É¤ÇÀ¸À®¤Ç¤­¤Þ¤¹¡£
874 %%% Note that it is a good idea to check and correct the bounding box of the
875 %%% graphs in the eps files (manually or by the fixbb script from gnuplot
876 %%% webpage), as you have to correct this box for any eps figure produced by
877 %%% whichever program.
878 Ãí°Õ¤·¤Æ¤ª¤­¤Þ¤¹¤¬¡¢EPS ¥Õ¥¡¥¤¥ë¤Î¥°¥é¥Õ¤Î bounding box ¤òÄ´¤Ù¡¢
879 ½¤Àµ¤¹¤ë¤È¤¤¤¤¤Ç¤·¤ç¤¦ %
880 (¼êÆ°¡¢¤¢¤ë¤¤¤Ï gnuplot Web ¥Ú¡¼¥¸¤Ë¤¢¤ë fixbb ¥¹¥¯¥ê¥×¥È¤Ë¤è¤Ã¤Æ)¡£
881 %%% Some (most?) word processors do not preview the actual image in the eps
882 %%% file, and you have to add the preview image yourself. You can use the GSView
883 %%% viewer for this (available for OS/2, Windows and X11), or some Unix ps
884 %%% tool. Note that the preview image increases size of the eps file; the
885 %%% smallest increase you may get by choosing Tiff 6 Packbits.
886 ¤¤¤¯¤Ä¤«¤Î (ÂçÄñ¤Î ?) ¥ï¡¼¥×¥í¥½¥Õ¥È¤Ï¡¢
887 EPS ¥Õ¥¡¥¤¥ë¤Ë´Þ¤Þ¤ì¤ë¼ÂºÝ¤Î²èÁü¤òɽ¼¨¤·¤Þ¤»¤ó¤Î¤Ç¡¢
888 ɽ¼¨¥¤¥á¡¼¥¸¤ò¤¢¤Ê¤¿¼«¿È¤ÇÄɲ乤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
889 ¤½¤ÎÌÜŪ¤Î¤¿¤á¤Ë¤Ï¡¢GSView ¥Ó¥å¡¼¥ï %
890 (OS/2, Windows, X11 ÍѤ¬¤¢¤ê¤Þ¤¹)¡¢
891 ¤¢¤ë¤¤¤Ï¤¤¤¯¤Ä¤«¤Î Unix ¾å¤Î ps ¥Ä¡¼¥ë¤¬»È¤¨¤Þ¤¹¡£
892 Ãí°Õ¤·¤Æ¤ª¤­¤Þ¤¹¤¬¡¢É½¼¨ÍѤβèÁü¤Ï EPS ¥Õ¥¡¥¤¥ë¤Î¥µ¥¤¥º¤òÁýÂ礵¤»¤Þ¤¹¡£
893 Tiff 6 ¥Ñ¥Ã¥¯¥Ó¥Ã¥È¤òÁªÂò¤¹¤ì¤ÐºÇ¤â¤½¤ÎÁý²Ã¤ò²¡¤¨¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
894
895 %%% Some office Windows applications, also OpenOffice.org, 
896 %%% can handle vector images produces by the emf terminal.
897 %%% OpenOffice.org can also read AutoCAD's dxf format, as well as SVG
898 %%% thanks to SVG Import Filter
899 %%% \http{www.ipd.uni-karlsruhe.de/~hauma/svg-import/}.
900 ¥ª¥Õ¥£¥¹ Windows ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ë¤Ï¡¢
901 emf ½ÐÎÏ·Á¼°¤ÇÀ¸À®¤µ¤ì¤ë¥Ù¥¯¥È¥ë²èÁü¤ò»ÈÍѤ¹¤ë¤³¤È¤¬¤Ç¤­¤ë¤â¤Î¤¬¤¢¤ê¤Þ¤¹ %
902 (OpenOffice.org ¤â¤½¤¦¤Ç¤¹)¡£
903 OpenOffice.org ¤Ï AutoCAD ¤Î dxf ·Á¼°¤âÆɤߤ³¤à¤³¤È¤â¤Ç¤­¡¢
904 SVG Æɤ߹þ¤ß¥Õ¥£¥ë¥¿ %
905 \http{www.ipd.uni-karlsruhe.de/~hauma/svg-import/} %
906 ¤Ë¤è¤Ã¤Æ SVG ·Á¼°¤âÆɤ߹þ¤à¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
907
908 %%% With \TeX, it depends on what you use to print your dvi files.
909 %%% If you use dvips or dvi2ps, you can use Encapsulated PostScript. For emTeX
910 %%% (popular for OS/2 and MS-DOS), you can use emTeX, otherwise use the \LaTeX{}
911 %%% terminal type, which generates a picture environment. 
912 \TeX{} ¤Ç¤Ï¡¢¤¢¤Ê¤¿¤¬¤É¤Î¤è¤¦¤Ë dvi ¥Õ¥¡¥¤¥ë¤ò°õºþ¤¹¤ë¤«¤Ë°Í¸¤·¤Þ¤¹¡£
913 ¤â¤· dvips ¤ä dvi2ps ¤ò»È¤¦¤Î¤Ç¤¢¤ì¤Ð EPS ¤¬»È¤¨¤Þ¤¹¡£
914 emTeX (OS/2 ¤ä MS-DOS ¤Ç¤ÏÉáµÚ¤·¤Æ¤¤¤Þ¤¹) ¤Ê¤é¤Ð emTeX ½ÐÎÏ·Á¼°¤¬¡¢
915 ¤½¤¦¤Ç¤Ê¤±¤ì¤Ð \LaTeX{} ½ÐÎÏ·Á¼°¤¬»È¤¨¡¢¤½¤ì¤Ï picture ´Ä¶­¤Î¿Þ¤òÀ¸À®¤·¤Þ¤¹¡£
916 %%% You can also use epslatex
917 %%% to separate the graphics and text parts. Other possibilities include 
918 %%% pslatex or
919 %%% pstex terminals, and metafont or metapost terminals.
920 epslatex ½ÐÎÏ·Á¼°¤â»È¤¨¤Þ¤¹¤¬¡¢¤³¤ì¤Ï²èÁüÉôʬ¤Èʸ»úÉôʬ¤òʬΥ¤·¤Þ¤¹¡£
921 ¾¤Ë¤â¡¢pslatex ¤ä pstex ½ÐÎÏ·Á¼°¡¢
922 metafont ¤ä metapost ½ÐÎÏ·Á¼°¤Ê¤É¤â¤¢¤ê¤Þ¤¹¡£
923
924 %%% With \TeX{} processed by pdftex or pdflatex, you can use png, jpeg and pdf
925 %%% terminal types. You can also use the postscript eps terminal and 
926 %%% convert the eps
927 %%% file externally to pdf by \verb+epstopdf+. Another choice is the epslatex
928 %%% terminal, after converting the eps part to pdf as above (the \TeX{} part can
929 %%% remain unchanged).
930 pdftex ¤ä pdflatex ¤Ç \TeX{} ¤Î½èÍý¤ò¹Ô¤Ê¤¦¾ì¹ç¤Ï¡¢
931 png, jpeg, pdf ½ÐÎÏ·Á¼°¤¬»È¤¨¤Þ¤¹¡£
932 postscript eps ½ÐÎÏ·Á¼°¤ò»È¤Ã¤Æ
933 ¤½¤ì¤ò \verb+epstopdf+ ¤Ç³°Éô¤Ç pdf ¤ËÊÑ´¹¤¹¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£
934 ¾¤Ë¤â¡¢epslatex ½ÐÎÏ·Á¼°¤ò»È¤Ã¤Æ¡¢
935 ¤½¤Î¸å¤Ç¾å¤ÈƱÍͤˠEPS Éôʬ¤ò pdf ¤ËÊÑ´¹¤¹¤ë %
936 (\TeX{} Éôʬ¤ÏÊÑ´¹¤»¤º¤Ë¤ª¤±¤Þ¤¹) ¤È¤¤¤¦¼ê¤â¤¢¤ê¤Þ¤¹¡£
937
938 %%% Most word processors can import bitmap images (png, pbm, etc).
939 %%% The disadvantage of this approach is that the resolution of your
940 %%% plot is limited by the size of the plot at the time it is generated
941 %%% by gnuplot, which is generally a much lower resolution than the
942 %%% document will eventually be printed in.
943 ÂçÄñ¤Î¥ï¡¼¥×¥í¥½¥Õ¥È¤Ï¥Ó¥Ã¥È¥Þ¥Ã¥×²èÁü (png, pbm Åù) %
944 ¤ò¼è¤ê¹þ¤à¤³¤È¤¬¤Ç¤­¤Þ¤¹¤¬¡¢
945 ¤³¤ÎÊýË¡¤Îû½ê¤Ï¡¢
946 ¤½¤Î¥°¥é¥Õ¤¬ gnuplot ¤Ë¤è¤Ã¤ÆÀ¸À®¤µ¤ì¤¿¤È¤­¤Î¥µ¥¤¥º¤Ë¤è¤Ã¤Æ
947 ¤½¤Î²òÁüÅÙ¤¬À©¸Â¤µ¤ì¤Æ¤·¤Þ¤¦¤³¤È¤Ç¤¹¡£
948 °ìÈ̤ˡ¢Ê¸½ñ¤¬ºÇ½ªÅª¤Ë¥×¥ê¥ó¥È¥¢¥¦¥È¤µ¤ì¤ë²òÁüÅÙ¤è¤ê¤â
949 ¤½¤Î²òÁüÅ٤Ϥ«¤Ê¤êÄ㤯¤Ê¤ê¤Þ¤¹¡£
950
951 %%% Under IBM OS/2, MacOS and Micro\$oft Windows you can use the clipboard to
952 %%% copy your graph and paste it into your favourite word processor.
953 IBM OS/2,  MacOS, Micro\$oft Windows ¤Ç¤Ï¡¢
954 ¥¯¥ê¥Ã¥×¥Ü¡¼¥É¤ò»È¤¨¤Ð¤½¤Î¾å¤Ç¥°¥é¥Õ¤ò¥³¥Ô¡¼¡¢¥Ú¡¼¥¹¥È¤·¤Æ
955 ¥ï¡¼¥×¥í¥½¥Õ¥È¤Ë¼è¤ê¹þ¤à¤³¤È¤¬¤Ç¤­¤ë¤Ç¤·¤ç¤¦¡£
956
957 %%% The mif terminal type produces output for FrameMaker.
958 mif ½ÐÎÏ·Á¼°¤Ï FrameMaker ÍѤνÐÎϤòÀ¸À®¤·¤Þ¤¹¡£
959
960
961 %%% \subsection{How do I edit or post-process a \gnuplot{} graph?}
962 \subsection{¤É¤¦¤ä¤Ã¤¿¤é \gnuplot{} ¤Î¥°¥é¥Õ¤òÊÔ½¸¤ä¸å½èÍý¤Ç¤­¤Þ¤¹¤«}
963
964 %%% This depends on the terminal type you use.
965 ¤³¤ì¤Ï¤¢¤Ê¤¿¤¬»È¤¦½ÐÎÏ·Á¼°¤Ë°Í¸¤·¤Þ¤¹¡£
966
967 \begin{itemize}
968
969 %%% \item X11 toolkits: You can use the terminal type fig
970 %%% and use the \textbf{xfig} drawing program to edit the
971 %%% plot afterwards. You can obtain the xfig program from its web site
972 %%% \http{www.xfig.org}. More information about the text-format used
973 %%% for fig can be found in the fig-package.
974 \item X11 ¥Ä¡¼¥ë¥­¥Ã¥È:
975 fig ½ÐÎÏ·Á¼°¤ò»È¤Ã¤Æ¡¢¤½¤Î¸å¤Ç¤½¤ÎÉÁ²è¤òÊÔ½¸¤¹¤ë¤¿¤á¤ËÉÁ²è¥×¥í¥°¥é¥à %
976 \textbf{xfig} ¤ò»È¤¨¤Ð¤¤¤¤¤Ç¤·¤ç¤¦¡£
977 xfig ¥×¥í¥°¥é¥à¤Ï¤½¤Î Web ¥µ¥¤¥È \http{www.xfig.org} ¤«¤éÆþ¼ê¤Ç¤­¤Þ¤¹¡£
978 fig ¤Ë»È¤ï¤ì¤ë¥Æ¥­¥¹¥È¥Õ¥©¡¼¥Þ¥Ã¥È¤Ë´Ø¤¹¤ë¡¢
979 ¤è¤ê¾Ü¤·¤¤¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¤½¤Î fig ¥Ñ¥Ã¥±¡¼¥¸¤Ë´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£
980
981 %%% You may use the tgif terminal, which creates output suitable for
982 %%% reading within \texttt{tgif} (\http{bourbon.cs.umd.edu:8001/tgif/}),
983 %%% an interactive 2-D drawing tool under X11.
984 tgif ½ÐÎÏ·Á¼°¤ò»È¤¦¤³¤È¤â¤Ç¤­¤Þ¤¹¡£
985 ¤³¤ì¤Ï X11 ¤ÇÆ°¤¯ÂÐÏ÷¿ 2 ¼¡¸µÉÁ²è¥Ä¡¼¥ë \texttt{tgif}
986 (\http{bourbon.cs.umd.edu:8001/tgif/}) %
987 ¤ËÆɤޤ»¤ë¤Î¤ËŬ¤·¤¿½ÐÎϤòÀ¸À®¤·¤Þ¤¹¡£
988
989 %%% \item You may use the svg terminal (scalable vector graphics), which can
990 %%% be further edited by a svg editor, e.g. 
991 %%% \textbf{Inkscape} (\http{www.inkscape.org}),
992 %%% \textbf{Sodipodi} (\http{sodipodi.sourceforge.net}),
993 %%% \textbf{Sketch} (\http{sketch.sourceforge.net}) or
994 %%% \textbf{Dia} (\http{www.lysator.liu.se/~alla/dia}), or loaded
995 %%% into \textbf{OpenOffice.org} with an on-fly conversion into OO.o Draw
996 %%% primitives.
997 \item svg ½ÐÎÏ·Á¼° (scalable vector graphics) ¤ò»È¤¦¤³¤È¤â¤Ç¤­¤Þ¤¹¡£
998 ¤³¤ì¤Ï %
999 \textbf{Inkscape} (\http{www.inkscape.org}),
1000 \textbf{Sodipodi} (\http{sodipodi.sourceforge.net}),
1001 \textbf{Sketch} (\http{sketch.sourceforge.net}), 
1002 \textbf{Dia} (\http{www.lysator.liu.se/~alla/dia}) %
1003 ¤Î¤è¤¦¤Ê svg ¥¨¥Ç¥£¥¿¤Ç¹¹¤Ê¤ëÊÔ½¸¤â¹Ô¤Ê¤¨¤Þ¤¹¤·¡¢
1004 \textbf{OpenOffice.org} (OO.o Draw ¥×¥ê¥ß¥Æ¥£¥Ö¤Ø¤ÎÊÑ´¹¤Ë¤è¤Ã¤Æ) %
1005 ¤ÎÃæ¤Ë¼è¤ê¹þ¤à¤³¤È¤â¤Ç¤­¤Þ¤¹¡£
1006
1007 %%% \item PostScript or PDF output can be edited directly by tools such
1008 %%% as Adobe Illustrator or Acrobat, or can be converted to a variety
1009 %%% of other editable vector formats by the \textbf{pstoedit} package.
1010 %%% Pstoedit is available at \http{www.pstoedit.net}.
1011 \item PostScript ¤ä PDF ½ÐÎϤϡ¢Adobe Illustrator ¤ä Acrobat %
1012 ¤Î¤è¤¦¤Ê¥Ä¡¼¥ë¤ÇľÀÜÊÔ½¸¤Ç¤­¤Þ¤¹¤·¡¢
1013 \textbf{pstoedit} ¥Ñ¥Ã¥±¡¼¥¸¤Ç¾¤Î¿§¡¹¤ÊÊÔ½¸²Äǽ¤Ê¥Ù¥¯¥È¥ë·Á¼°¤Ë
1014 ÊÑ´¹¤¹¤ë¤³¤È¤â²Äǽ¤Ç¤¹¡£
1015 pstoedit ¤Ï \http{www.pstoedit.net} ¤Ë¤¢¤ê¤Þ¤¹¡£
1016
1017 %%% \item The mif terminal type produces an editable FrameMaker document.
1018 \item mif ½ÐÎÏ·Á¼°¤Ï FrameMaker ¤ÇÊÔ½¸¤Ç¤­¤ëʸ½ñ¤òÀ¸À®¤·¤Þ¤¹¡£
1019
1020 %%% \item The DXF format is the AutoCAD's format, editable by several
1021 %%% other applications.
1022 \item DXF ½ÐÎÏ·Á¼°¤Ï AutoCAD ¤Î½ñ¼°¤Ç¡¢Â¾¤Î¤¤¤¯¤Ä¤«¤Î¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ç¤â
1023 ÊÔ½¸¤Ç¤­¤Þ¤¹¡£
1024
1025 %%% \item Bitmapped graphics (e.g. png, jpeg, pbm) can be edited using
1026 %%% tools such as ImageMagick or Gimp.  
1027 \item ¥Ó¥Ã¥È¥Þ¥Ã¥×·Á¼°¤Î²èÁü (png, jpeg, pbm Åù) ¤Ï ImageMagick ¤ä %
1028 Gimp ¤ÎÍͤʥġ¼¥ë¤ÇÊÔ½¸¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
1029 %%% In general, you should use a vector graphics program to post-process
1030 %%% vector graphic formats, and a pixel-based editing program 
1031 %%% to post-process pixel graphics.
1032 °ìÈ̤ˡ¢¥Ù¥¯¥È¥ë¥°¥é¥Õ¥£¥Ã¥¯·Á¼°¤Î¸å½èÍý¤ò¹Ô¤Ê¤¦¤Ë¤Ï
1033 ¥Ù¥¯¥È¥ë¥°¥é¥Õ¥£¥Ã¥¯¥×¥í¥°¥é¥à (¥É¥í¡¼·Ï¥Ä¡¼¥ë) ¤ò¡¢
1034 ¥Ô¥¯¥»¥ë²èÁü¤Ë¤Ï¥Ô¥¯¥»¥ë²èÁü·Ï¤Î¥×¥í¥°¥é¥à (¥Ú¥¤¥ó¥È·Ï¥Ä¡¼¥ë) %
1035 ¤ò»È¤¦É¬Íפ¬¤¢¤ê¤Þ¤¹¡£
1036
1037 \end{itemize}
1038
1039
1040 %%% \subsection{How do I change symbol size, line thickness and the like?}
1041 \subsection{¤É¤¦¤ä¤Ã¤¿¤éµ­¹æ¤ÎÂ礭¤µ¤äÀþ¤ÎÂÀ¤µ¤Ê¤É¤òÊѹ¹¤Ç¤­¤Þ¤¹¤«}
1042
1043 %%% Gnuplot offers a variety of commands to set line and point properties,
1044 %%% including color, thickness, point shape, etc.  The command \verb+test+ will
1045 %%% display a test page for the currently selected terminal type showing
1046 %%% the available pre-defined combinations of color, size, shape, etc.
1047 %%% The \verb+set style+ command can be used to define additional combinations.
1048 gnuplot ¤Ï¡¢Î㤨¤Ð¿§¤äÂÀ¤µ¤äÅÀ¤Î·Á¤Ê¤É¤Î¡¢
1049 Àþ¤äÅÀ¤Î¿§¡¹¤Ê°À­¤òÀßÄꤹ¤ë¤¿¤á¤ÎÍÍ¡¹¤Ê¥³¥Þ¥ó¥É¤òÄ󶡤·¤Æ¤¤¤Þ¤¹¡£
1050 ¥³¥Þ¥ó¥É \verb+test+ ¤Ï¡¢¸½ºßÁªÂò¤µ¤ì¤Æ¤¤¤ë½ÐÎÏ·Á¼°ÍѤΡ¢
1051 ÍøÍѲÄǽ¤ÊÄêµÁºÑ¤ß¤Î¿§¡¢¥µ¥¤¥º¡¢·Á¤Ê¤É¤ÎÁȹ礻¤ò¼¨¤¹
1052 ¥Æ¥¹¥È¥Ú¡¼¥¸¤ò½ÐÎϤ·¤Þ¤¹¡£
1053
1054
1055 %%% \subsection{How do I generate plots in GIF format?}
1056 \subsection{¤É¤¦¤ä¤Ã¤¿¤é GIF ¥Õ¥©¡¼¥Þ¥Ã¥È¤Î²èÁü¤òºî¤ì¤Þ¤¹¤«}
1057
1058 %%% GIF support is provided by an external library, libgd
1059 %%% (\http{www.libgd.org}).
1060 %%% Old versions of gd (versions 1.2 to 1.4) produce only GIF output. 
1061 %%% Versions 1.6
1062 %%% to 2.0.27 did not support GIF output because of patent concerns. However
1063 %%% versions 1.6 and newer support PNG outputs, and 1.7 and newer support JPEG
1064 %%% outputs. Version 2.0.28 of the Boutell gd library restored GIF 
1065 %%% functionality,
1066 %%% and 2.0.29 added support for GIF animation. If your installation of 
1067 %%% \gnuplot{} is
1068 %%% linked to the gd library, you will get support for whatever formats 
1069 %%% (GIF, PNG,
1070 %%% JPEG) are in that version of gd.
1071 GIF ¤Î¥µ¥Ý¡¼¥È¤Ï³°Éô¤Î¥é¥¤¥Ö¥é¥ê¤Ç¤¢¤ë libgd (\http{www.libgd.org}) %
1072 ¤ÇÍ¿¤¨¤é¤ì¤Æ¤¤¤Þ¤¹¡£
1073 ¸Å¤¤¥Ð¡¼¥¸¥ç¥ó¤Î gd (¥Ð¡¼¥¸¥ç¥ó 1.2 ¤«¤é 1.4 ¤Þ¤Ç) ¤Ï GIF ½ÐÎϤΤß
1074 À¸À®¤·¤Æ¤¤¤Þ¤·¤¿¤¬¡¢
1075 ¥Ð¡¼¥¸¥ç¥ó 1.6 ¤«¤é 2.0.27 ¤Þ¤Ç¤ÏÆõö¤ÎÌäÂê¤Ç GIF ½ÐÎϤò
1076 ¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤»¤ó¤Ç¤·¤¿¡£
1077 ¤·¤«¤·¡¢¥Ð¡¼¥¸¥ç¥ó 1.6 °Ê¹ß¤Ï PNG ½ÐÎϤò¥µ¥Ý¡¼¥È¤·¡¢
1078 1.7 °Ê¹ß¤Ï JPEG ½ÐÎϤ⥵¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£
1079 Boutell ¤Î gd ¥é¥¤¥Ö¥é¥ê¤Î¥Ð¡¼¥¸¥ç¥ó 2.0.28 ¤Ç¤Ï GIF ½ÐÎϤòÉü³è¤·¡¢
1080 2.0.29 ¤Ç¤Ï GIF ¥¢¥Ë¥á¡¼¥·¥ç¥ó¤Î¥µ¥Ý¡¼¥È¤âÄɲ䵤ì¤Þ¤·¤¿¡£
1081 ¤¢¤Ê¤¿¤Î»ÈÍѤ·¤Æ¤¤¤ë \gnuplot{} ¤¬ %
1082 gd ¥é¥¤¥Ö¥é¥ê¤ò¥ê¥ó¥¯¤·¤Æºî¤é¤ì¤¿¤â¤Î¤Ê¤é¤Ð¡¢
1083 ¤½¤ÎÈǤΠgd ¤Ç¤Ï¤¤¤º¤ì¤Î·Á¼° (GIF, PNG, JPEG) ¤â´Þ¤Þ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢
1084 ¤½¤ì¤é¤Ï¤¤¤º¤ì¤â¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
1085
1086 %%% In any case, it is easy to convert from one format to another. To convert 
1087 %%% a PNG
1088 %%% output into GIF, you can either use the command line (e.g.
1089 %%% \verb+convert f.png f.gif+ or \verb+nconvert -out gif f.png+) or any GUI
1090 %%% program. Another possibility is to output the image as (encapsulated)
1091 %%% postscript and convert (export) it into GIF or PNG by ghostscript, e.g.
1092 %%% \verb+convert -density 150 f.eps f.gif+ or by any ghostscript-based GUI like
1093 %%% gsview, gv or kghostview.
1094 ¤¤¤º¤ì¤Ë¤»¤è¡¢¤¢¤ë²èÁü·Á¼°¤«¤é¾¤Î·Á¼°¤ØÊÑ´¹¤¹¤ë¤Î¤âÌÌÅݤǤϤ¢¤ê¤Þ¤»¤ó¡£
1095 Î㤨¤Ð PNG ½ÐÎϤò GIF ¤ËÊÑ´¹¤¹¤ë¤Ë¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤«¤é %
1096 (Î㤨¤Ð \verb+convert f.png f.gif+ ¤ä \verb+nconvert -out gif f.png+ ¤Ê¤É) %
1097 ¤Ç¤â¡¢Å¬Åö¤Ê GUI ¥Ä¡¼¥ë¤«¤é¤Ç¤â¤Ç¤­¤ë¤Ç¤·¤ç¤¦¡£
1098 ¾¤Ë¤â¡¢postscript (EPS) ²èÁü¤È¤·¤Æ½ÐÎϤµ¤»¡¢
1099 ¤½¤ì¤ò ghostscript ¤Ë¤è¤Ã¤Æ¡¢
1100 Î㤨¤Ð \verb+convert -density 150 f.eps f.gif+ ¤Î¤è¤¦¤Ë¤·¤Æ¡¢
1101 ¤¢¤ë¤¤¤Ï gsview, gv, kghostview ¤Ê¤É¤Î ghostscript ¥Ù¡¼¥¹¤Î GUI ¥Ä¡¼¥ë¤Ë¤è¤Ã¤Æ %
1102 GIF ¤ä PNG ¤ËÊÑ´¹¤¹¤ë¤È¤¤¤¦¼ê¤¬¤¢¤ê¤Þ¤¹¡£
1103
1104
1105 %%% \subsection{Can I animate my graphs?}
1106 \subsection{¥°¥é¥Õ¤ò¥¢¥Ë¥á¡¼¥·¥ç¥ó²½¤Ç¤­¤Þ¤¹¤«}
1107
1108 %%% First have a look at animate.dem in the demo directory
1109 %%% of \gnuplot. Basically, animated graphs are a sequence of
1110 %%% plots in a suitable format.
1111 ºÇ½é¤Ë¡¢\gnuplot{} ¤Î demo ¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ë animate.dem ¤ò¸«¤Æ¤¯¤À¤µ¤¤¡£
1112 ´ðËÜŪ¤Ë¥°¥é¥Õ¤Î¥¢¥Ë¥á¡¼¥·¥ç¥ó¤Ï¡¢
1113 ŬÅö¤Ê¥Õ¥©¡¼¥Þ¥Ã¥È¤ÎÊ£¿ô¤ÎÉÁ²è¤ÎÎó¤Çɽ¸½¤µ¤ì¤Þ¤¹¡£
1114
1115 %%% If your installation of \gnuplot{} is linked with gd 2.0.29 or newer (see
1116 %%% previous entry), the gif terminal can generate directly an animated GIF.
1117 ¤¢¤Ê¤¿¤Î \gnuplot{} ¤¬ gd 2.0.29 °Ê¹ß (ľÁ°¤Î¹à»²¾È) %
1118 ¤ò¥ê¥ó¥¯¤·¤Æºî¤é¤ì¤¿¤â¤Î¤Ç¤¢¤ì¤Ð¡¢
1119 gif ½ÐÎÏ·Á¼°¤ÇľÀÜ¥¢¥Ë¥á¡¼¥·¥ç¥ó GIF ²èÁü¤òºîÀ®¤Ç¤­¤Þ¤¹¡£ 
1120
1121 %%% Otherwise, have a look at the tool whirlgif 3.04, available at
1122 %%% \http{www.danbbs.dk/~dino/whirlgif}. It reads run-length 
1123 %%% encoded GIF files and packs them into a minimal animation.
1124 %%% On the web-pages you will find a manual and an example.
1125 ¤½¤¦¤Ç¤Ê¤±¤ì¤Ð¡¢\http{www.danbbs.dk/~dino/whirlgif} ¤Ë¤¢¤ë %
1126 whirlgif 3.04 ¤È¤¤¤¦¥Ä¡¼¥ë¤òÆþ¼ê¤·¤Æ¤¯¤À¤µ¤¤¡£
1127 ¤½¤ì¤Ï¥é¥ó¥ì¥ó¥°¥¹°µ½Ì¤µ¤ì¤¿Ê£¿ô¤Î GIF ¥Õ¥¡¥¤¥ë¤òÆɤó¤Ç¡¢
1128 ¤½¤ì¤é¤òºÇ¾®¤Î¥¢¥Ë¥á¡¼¥·¥ç¥ó¥Õ¥¡¥¤¥ë¤Ë¤Þ¤È¤á¤Þ¤¹¡£ 
1129 ¥Þ¥Ë¥å¥¢¥ë¤äÎã¤Ï¡¢¤½¤Î Web ¥Ú¡¼¥¸¤Ç»²¾È¤Ç¤­¤Þ¤¹¡£
1130
1131 %%% You can also write a small script to get \gnuplot{} to output a family
1132 %%% of GIF files, then have it execute some animator such as gifsicle:
1133 %%% \http{www.lcdf.org/~eddietwo/gifsicle}
1134 %%% or gifmerge
1135 %%% \http{the-labs.com/GIFMerge}.
1136 ¤Þ¤¿¡¢¾®¤µ¤Ê¥¹¥¯¥ê¥×¥È¤ò½ñ¤¤¤Æ %
1137 \gnuplot{} ¤ËÊ£¿ô¤Î GIF ¥Õ¥¡¥¤¥ë¤òÀ¸À®¤µ¤»¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£
1138 ¤½¤·¤Æ gifsicle (\http{www.lcdf.org/~eddietwo/gifsicle}) ¤ä %
1139 gifmerge (\http{the-labs.com/GIFMerge}) ¤Î¤è¤¦¤Ê
1140 ¾¤Î¥¢¥Ë¥á¡¼¥·¥ç¥óºîÀ®¥Ä¡¼¥ë¤ò»È¤¦¤³¤È¤â¤Ç¤­¤Þ¤¹¡£
1141
1142 %%% mpeg\_encode will encode a sequence of images into an mpeg format movie.
1143 mpeg\_encode ¤ò»È¤¨¤Ð %
1144 mpeg ¥Õ¥©¡¼¥Þ¥Ã¥È¤ÎÆ°²èÁü¤Ë¤Þ¤È¤á¤ë¤³¤È¤â¤Ç¤­¤ë¤Ç¤·¤ç¤¦¡£
1145
1146
1147 %%% \subsection{How do I plot implicit defined graphs?}
1148 \subsection{¤É¤¦¤ä¤Ã¤¿¤é±¢´Ø¿ô¤Î¥°¥é¥Õ¤¬½ñ¤±¤Þ¤¹¤«}
1149
1150 %%% Implicit graphs or curves cannot be plotted directly in \gnuplot.
1151 %%% However there is a workaround. 
1152 \gnuplot{} ¤Ç¤Ï±¢´Ø¿ô¤Î¥°¥é¥Õ¤ä¶ÊÀþ¤ÏľÀܤÏÉÁ²è¤Ç¤­¤Þ¤»¤ó¡£
1153 ¤·¤«¤·¡¢¼¡Á±¤Îºö¤Ï¤¢¤ê¤Þ¤¹¡£
1154 %%% \begin{verbatim}
1155 %%% gnuplot> # An example. Place your definition in the following line:
1156 %%% gnuplot> f(x,y) = y - x**2 / tan(y)
1157 %%% gnuplot> set contour base
1158 %%% gnuplot> set cntrparam levels discrete 0.0
1159 %%% gnuplot> unset surface
1160 %%% gnuplot> set table 'curve.dat'
1161 %%% gnuplot> splot f(x,y)
1162 %%% gnuplot> unset table
1163 %%% gnuplot> plot 'curve.dat' w l
1164 %%% \end{verbatim}
1165 \begin{verbatim}
1166 gnuplot> # Îã: ¼¡¤Î¹Ô¤òŬÅö¤ÊÄêµÁ¤ËÃÖ¤­´¹¤¨¤Æ¤¯¤À¤µ¤¤¡£
1167 gnuplot> f(x,y) = y - x**2 / tan(y)
1168 gnuplot> set contour base
1169 gnuplot> set cntrparam levels discrete 0.0
1170 gnuplot> unset surface
1171 gnuplot> set table 'curve.dat'
1172 gnuplot> splot f(x,y)
1173 gnuplot> unset table
1174 gnuplot> plot 'curve.dat' w l
1175 \end{verbatim}
1176 %%% The trick is to draw the single contour line z=0 of the surface
1177 %%% z=f(x,y), and store the resulting contour curve to a \gnuplot{} datafile.
1178 ¤½¤Î»Å³Ý¤±¤Ï¡¢¶ÊÌÌ z=f(x,y) ¤Î 1 ËܤÎÅù¹âÀþ z=0 ¤òÉÁ¤­¡¢
1179 ¤½¤ÎÅù¹âÀþ¤Î¥Ç¡¼¥¿¤ò¥Õ¥¡¥¤¥ë¤Ë¥»¡¼¥Ö¤¹¤ë¤³¤È¤Ë¤¢¤ê¤Þ¤¹¡£
1180  
1181
1182 %%% \subsection{How to fill an area between two curves}
1183 \subsection{2 ¤Ä¤Î¶ÊÀþ´Ö¤ÎÎΰè¤òÅɤê¤Ä¤Ö¤¹¤Ë¤Ï}
1184
1185 %%% A plot with filled area between two given curves requires a parametric 
1186 %%% plot with
1187 %%% \verb+filledcurves closed+.
1188 %%% The example below demonstrates this for two curves f(x) and g(x) with a tricky
1189 %%% "folded" parameter \verb+t+:
1190 2 ¤Ä¤ÎÍ¿¤¨¤é¤ì¤¿¶ÊÀþ¤Î´Ö¤òÅɤê¤Ä¤Ö¤¹ÉÁ²è¤Ï¡¢
1191 parametric ¥â¡¼¥É¤Ç¤Î \verb+filledcurves closed+ ¤Ë¤è¤ë plot ¤Ç¹Ô¤Ê¤¨¤Þ¤¹¡£
1192 °Ê²¼¤ÎÎã¤Ï¡¢2 ¤Ä¤Î¶ÊÀþ f(x) ¤È g(x) ¤ËÂФ¹¤ë "ÀÞ¤ê¾ö¤Þ¤ì¤¿ (folded)" %
1193 ¥È¥ê¥Ã¥­¡¼¤Ê¥Ñ¥é¥á¡¼¥¿ \verb+t+ ¤Ë¤è¤ë¥Ç¥â¤Ç¤¹:
1194
1195 \begin{verbatim}
1196 set parametric
1197 f(x)=cos(x)
1198 g(x)=sin(x)
1199 xmax=pi/4
1200 set xrange [0:xmax]
1201 set trange [0:2*xmax]
1202 path(t) = ( t<= xmax ? f(t) : g(2*xmax-t) )
1203 fold(t) = (t <=xmax ? t : 2*xmax - t)
1204 plot fold(t),path(t) with filledcurves closed
1205 \end{verbatim}
1206
1207 %%% Note that the above code fills area between the two curves, not 
1208 %%% area satisfying
1209 %%% inequality g(x)<f(x). If you want the latter, you should use the ternary
1210 %%% operator in \verb+path(t)+ to return an undefined value (0/0) if 
1211 %%% the inequality
1212 %%% is not satisfied.
1213 Ãí°Õ¤·¤Æ¤â¤é¤¤¤¿¤¤¤Î¤Ç¤¹¤¬¡¢
1214 ¾å¤ÎÎã¤Ï 2 ¤Ä¤Î¶ÊÀþ¤Î´Ö¤ÎÎΰè¤òÅɤê¤Ä¤Ö¤¹¤â¤Î¤Ç¤¢¤Ã¤Æ¡¢
1215 ÉÔÅù¼° g(x)<f(x) ¤òËþ¤¿¤¹Îΰè¤òÅɤê¤Ä¤Ö¤¹¤â¤Î¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£
1216 ¤â¤·¡¢¸å¼Ô¤ò¹Ô¤Ê¤¤¤¿¤¤¤Ê¤é¡¢
1217 \verb+path(t)+ ¤ÎÄêµÁ¤Ç 3 ¹à±é»»»Ò¤ò»È¤Ã¤Æ¡¢
1218 ¤½¤ÎÉÔÅù¼°¤¬Ëþ¤¿¤µ¤ì¤Ê¤¤¾ì¹ç¤Ï̤ÄêµÁÃÍ (0/0) %
1219 ¤òÊÖ¤¹¤è¤¦¤Ë¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
1220
1221 %%% See the documentation for \verb+help parametric+, \verb+help filledcurves+, 
1222 %%% and
1223 %%% \verb+help ternary+.
1224 \verb+help parametric+, \verb+help filledcurves+, \verb+help ternary+ %
1225 ¤Ë´Ø¤¹¤ë¥É¥­¥å¥á¥ó¥È¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
1226
1227
1228 %%% \subsection{Pm3d splot from a datafile does not draw anything}
1229 \subsection{pm3d ¤Ë¤è¤ë¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Î splot ¤Ç²¿¤âɽ¼¨¤µ¤ì¤Þ¤»¤ó}
1230 %% end Japanese
1231 \label{blank1}
1232
1233 %%% You do \verb+set pm3d; splot 'a.dat'+ and no plot but colorbox appears.
1234 %%% Obviously, there is no blank line in between two subsequent 
1235 %%% scans (isolines) in
1236 %%% the data file. Add blank lines! If you are curious what this means, 
1237 %%% then don't
1238 %%% hesitate to look to files like \verb+demo/glass.dat+ or 
1239 %%% \verb+demo/triangle.dat+
1240 %%% in the gnuplot demo directory.
1241 \verb+set pm3d; splot 'a.dat'+ ¤È¤ä¤Ã¤Æ¤â¡¢
1242 ¥«¥é¡¼¥Ü¥Ã¥¯¥¹¤Ïɽ¼¨¤µ¤ì¤ë¤â¤Î¤Î¥°¥é¥Õ¤Ïɽ¼¨¤µ¤ì¤Ê¤¤¤È¤·¤¿¤é¡¢
1243 ¤½¤ì¤ÏÌÀ¤é¤«¤Ë 2 ¤Ä¤Î¤Ä¤Ê¤¬¤Ã¤Æ¤¤¤ëÀþ (¸ÉΩÀþ) %
1244 ¤òʬΥ¤¹¤ë¶õ¹Ô¤¬¤Ê¤¤¤Î¤Ç¤·¤ç¤¦¡£
1245 ¶õ¹Ô¤òÆþ¤ì¤Ê¤µ¤¤ ! %
1246 ¤³¤ì¤¬²¿¤ò°ÕÌ£¤¹¤ë¤Î¤«¤Ë¶½Ì£¤¬¤¢¤ë¤Ê¤é¡¢
1247 gnuplot ¤Î demo ¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ë \verb+demo/glass.dat+ ¤ä %
1248 \verb+demo/triangle.dat+ ¤Ê¤É¤Î¥Õ¥¡¥¤¥ë¤ò¤¸¤Ã¤¯¤ê¸«¤Æ¤¯¤À¤µ¤¤¡£
1249
1250 %%% You can find useful the following awk script (call it e.g. 
1251 %%% \verb+addblanks.awk+)
1252 %%% which adds blank lines to a data file whenever number in the first column
1253 %%% changes:
1254 °Ê²¼¤Î awk ¥¹¥¯¥ê¥×¥È %
1255 (Î㤨¤Ð \verb+addblanks.awk+ ¤È¸Æ¤Ö¤³¤È¤Ë¤·¤Þ¤¹) %
1256 ¤ÏÍ­ÍѤǡ¢¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Ë¡¢
1257 Âè 1 ÎóÌܤοô¤¬Êѹ¹¤·¤¿¤È¤­¤Ë¶õ¹Ô¤òÄɲ䷤Ƥ¯¤ì¤Þ¤¹¡£
1258 %%% \begin{verbatim}
1259 %%% /^[[:blank:]]*#/ {next} # ignore comments (lines starting with #)
1260 %%% NF < 3 {next} # ignore lines which don't have at least 3 columns
1261 %%% $1 != prev {printf "\n"; prev=$1} # print blank line
1262 %%% {print} # print the line
1263 %%% \end{verbatim}
1264 \begin{verbatim}
1265 /^[[:blank:]]*#/ {next} # ¥³¥á¥ó¥È¹Ô (# ¤Ç»Ï¤Þ¤ë¹Ô) ¤Ï̵»ë
1266 NF < 3 {next} # 3 Îó̤Ëþ¤·¤«¤Ê¤¤¹Ô¤â̵»ë
1267 $1 != prev {printf "\n"; prev=$1} # ¶õ¹Ô¤ò½ÐÎÏ
1268 {print} # ¤½¤Î¹Ô¼«ÂΤò½ÐÎÏ
1269 \end{verbatim}
1270 %%% Then, either preprocess your data file by command
1271 %%% \verb+awk -f addblanks.awk <a.dat+ or plot the datafile under a 
1272 %%% unixish platform
1273 %%% by \verb+gnuplot> splot "<awk -f addblanks.awk a.dat"+.
1274 ¤³¤ì¤Ë¤è¤ê¡¢¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤ò¥³¥Þ¥ó¥É \verb+awk -f addblanks.awk <a.dat+ %
1275 ¤Ë¤è¤Ã¤ÆÁ°½èÍý¤¹¤ë¤«¡¢
1276 unix ¸ß´¹¤Î¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¾å¤Ç¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤ò %
1277 \verb+gnuplot> splot "<awk -f addblanks.awk a.dat"+ ¤Î¤è¤¦¤ËÉÁ²è¤¹¤ë¤«¡¢
1278 ¤Î¤É¤Á¤é¤«¤ò¹Ô¤Ã¤Æ¤¯¤À¤µ¤¤¡£
1279
1280
1281 %%% \subsection{Drawing a (color) map, i.e. 2D projection of 3D data}
1282 \subsection{(¿§) ÃÏ¿Þ¥°¥é¥Õ¡¢¤¹¤Ê¤ï¤Á 3 ¼¡¸µ¥Ç¡¼¥¿¤Î 2 ¼¡¸µ¼Í±Æ¤òÉÁ²è¤¹¤ë¤Ë¤Ï}
1283
1284 %%% Use \texttt{set view map; unset surface} or \texttt{set pm3d map} rather than
1285 %%% \texttt{set view 180,0}. The latter facilitates drawing matrices
1286 %%% or data files
1287 %%% as maps, even without the necessity for matrix-like data organization
1288 %%% (gridding). It is possible to decrease the output postscript file size by
1289 %%% postprocessing it by \texttt{pm3dCompress.awk} or
1290 %%% \texttt{pm3dConvertToImage.awk}.
1291 \texttt{set view 180,0} ¤È¤¹¤ë¤è¤ê¤â¡¢¤à¤·¤í %
1292 \texttt{set view map; unset surface} ¤«¡¢
1293 \texttt{set pm3d map} ¤ò»È¤Ã¤Æ¤¯¤À¤µ¤¤¡£
1294 ¸å¼Ô¤Ï¹ÔÎó¤ä¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤ÎÃÏ¿Þ¥°¥é¥Õ¤ÎÉÁ²è¤ò³Ú¤Ë¤·¤Æ¤¯¤ì¤Þ¤¹¡£
1295 ¤·¤«¤â¡¢¥Ç¡¼¥¿¤Î¹ÔÎó²½ (³Ê»Ò²½) ¤ÎɬÍפ⤢¤ê¤Þ¤»¤ó¡£
1296 \texttt{pm3dCompress.awk} ¤ä \texttt{pm3dConvertToImage.awk} %
1297 ¤Ë¤è¤ë¸å½èÍý¤Ë¤è¤Ã¤Æ¡¢
1298 À¸À®¤µ¤ì¤ë postscript ¥Õ¥¡¥¤¥ë¤Î¥µ¥¤¥º¤ò¾®¤µ¤¯¤¹¤ë¤³¤È¤â²Äǽ¤Ç¤¹¡£
1299
1300 %%% Note there is a new plotting style \verb+with image+ for plotting 2D color
1301 %%% images with support for almost arbitrary text or binary files in "Patches"
1302 %%% section on gnuplot's sourceforge site
1303 %%% \http{www.sourceforge.net/projects/gnuplot/}.
1304 ¿·¤·¤¤ 2 ¼¡¸µ¥«¥é¡¼²èÁü¤ÎÉÁ²è¥¹¥¿¥¤¥ë \verb+with image+ ¤Ë¤âα°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
1305 ¤³¤ì¤ÏÂçÄñ¤ÎǤ°Õ¤Î¥Æ¥­¥¹¥È¤ä¥Ð¥¤¥Ê¥ê¥Õ¥¡¥¤¥ë¤â¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Æ¡¢
1306 gnuplot ¤Î sourceforge ¥µ¥¤¥È %
1307 \http{www.sourceforge.net/projects/gnuplot/} %
1308 ¤Î "Patches" ¥»¥¯¥·¥ç¥ó¤Ë¤¢¤ê¤Þ¤¹¡£
1309
1310
1311 %%% \subsection{How to overlay dots/points scatter plot onto a pm3d map/surface}
1312 \subsection{pm3d ¿§ÃÏ¿Þ/¶ÊÌ̾å¤Ë dots/points ¤Î»¶ÉÛ¿Þ¤ò½Å¤Í¤ë¤Ë¤Ï}
1313
1314 %%% Use the explicit (see also implicit) switch of the pm3d style:
1315 pm3d ¥¹¥¿¥¤¥ë¤Î explicit ¥¹¥¤¥Ã¥Á (implicit ¤â»²¾È¤Î¤³¤È) ¤ò»È¤Ã¤Æ¤¯¤À¤µ¤¤:
1316 %% end Japanese
1317 \begin{verbatim}
1318 gnuplot> set pm3d explicit
1319 gnuplot> splot x with pm3d, x*y with points
1320 \end{verbatim}
1321
1322
1323 %%% \subsection{How to draw black contour plot, and contours with labels}
1324 \subsection{¹õ¤ÎÅù¹âÀþÉÁ²è¡¢¤Þ¤¿¤Ï¥é¥Ù¥ë¤Ä¤­¤ÎÅù¹âÀþ¤òÉÁ²è¤¹¤ë¤Ë¤Ï}
1325
1326 %%% Well, it is very simple even though it is hard to discover: 
1327 %%% \verb+unset clabel+.
1328 ¤¨¤Ã¤È¡¢¸«¤Ä¤±¤ë¤Î¤ÏÆñ¤·¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¤¬¡¢¤½¤ì¤Ï¼Â¤Ë´Êñ: 
1329 \verb+unset clabel+
1330 %% end Japanese
1331 \begin{verbatim}
1332 set contour both; set cntr levels 100
1333 unset clabel
1334 unset surface
1335 splot x*y with line lt -1
1336 pause -1
1337 splot x*y with line palette
1338 \end{verbatim}
1339 %%% Another solution requires to write contours into a temporary file using the
1340 %%% table terminal:
1341 ¾¤Î¤ä¤êÊý¤È¤·¤Æ¤Ï¡¢Åù¹âÀþ¤ò table ½ÐÎÏ·Á¼°¤òÍøÍѤ·¤Æ°ì»þ¥Õ¥¡¥¤¥ë¤Ë½ñ¤­½Ð¤¹
1342 ¼ê¤¬¤¢¤ê¤Þ¤¹:
1343 %% end Japanese
1344 \begin{verbatim}
1345 set contour base; set cntrparam levels 15; unset surface; set view map
1346 splot x*x+y*y; pause -1
1347 set table 'contour.dat'
1348 replot
1349 unset table
1350 \end{verbatim}
1351 %%% Now, for drawing it in 2D, do
1352 ¤³¤Î¸å¤Ç¡¢2 ¼¡¸µÉÁ²è¤¹¤ë¤Ë¤Ï¼¡¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡£
1353 %% end Japanese
1354 \begin{verbatim}
1355 reset
1356 plot 'contour.dat' with line -1
1357 \end{verbatim}
1358 %%% and for contours in 3D do
1359 3 ¼¡¸µÉÁ²è¤¹¤ë¾ì¹ç¤Ï¼¡¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡£
1360 %%% \begin{verbatim}
1361 %%% reset
1362 %%% # Change single blank lines to double blank lines
1363 %%% !awk "NF<2{printf\"\n\"}{print}" <contour.dat >contour1.dat
1364 %%% splot 'contour1.dat' with line -1
1365 %%% \end{verbatim}
1366 \begin{verbatim}
1367 reset
1368 # 1 ¹Ô¤Î¶õ¹Ô¤ò 2 ¹Ô¤Î¶õ¹Ô¤ËÊÑ´¹
1369 !awk "NF<2{printf\"\n\"}{print}" <contour.dat >contour1.dat
1370 splot 'contour1.dat' with line -1
1371 \end{verbatim}
1372 %%% See also the following question "How to overlay contour plot over 
1373 %%% pm3d map/surface".
1374 ¼ÁÌä "pm3d ¿§ÃÏ¿Þ/¶ÊÌÌ¥°¥é¥Õ¤ËÅù¹âÀþ¤ò½Å¤Í¤ë¤Ë¤Ï" ¤â»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
1375
1376 %%% Labelling contours by their z-value can be achieved by a suitable script
1377 %%% generating automatically the appropriate \verb+set label+ commands; 
1378 %%% you can find
1379 %%% one at gnuplot scripts page
1380 %%% \http{gnuplot.sourceforge.net/scripts/index.html\#tricks-here}.
1381 z ¤ÎÃͤˤè¤ëÅù¹âÀþ¤Î¥é¥Ù¥ë¤Ï¡¢
1382 ŬÅö¤Ê \verb+set label+ ¥³¥Þ¥ó¥É¤ò
1383 ¼«Æ°Åª¤ËÀ¸À®¤·¤Æ¤¯¤ì¤ëŬÅö¤Ê¥¹¥¯¥ê¥×¥È¤Ç¼Â¸½¤Ç¤­¤ë¤Ç¤·¤ç¤¦¡£
1384 ¤½¤Î¤è¤¦¤Ê°ì¤Ä¤¬ gnuplot ¥¹¥¯¥ê¥×¥È¤Î¥Ú¡¼¥¸ %
1385 \http{gnuplot.sourceforge.net/scripts/index.html\#tricks-here} %
1386 ¤Ë¤¢¤ê¤Þ¤¹¡£
1387
1388
1389 %%% \subsection{How to overlay contour plot over pm3d map/surface}
1390 \subsection{pm3d ¿§ÃÏ¿Þ/¶ÊÌÌ¥°¥é¥Õ¤ËÅù¹âÀþ¤ò½Å¤Í¤ë¤Ë¤Ï}
1391
1392 %%% This requires you to write contours into a temporary file 
1393 %%% using the table
1394 %%% terminal, and then use this file in the final drawing without set contours.
1395 %%% The following example demonstrates this for a map; for surface, remove 
1396 %%% \verb+set pm3d map+ and put \verb+set ticslevel 0+.
1397 ¤³¤ì¤Ï¡¢Åù¹âÀþ¤ò table ½ÐÎÏ·Á¼°¤òÍøÍѤ·¤Æ°ì»þ¥Õ¥¡¥¤¥ë¤Ë½ñ¤­½Ð¤·¡¢
1398 ¤½¤·¤Æ¤½¤ì¤ò set contours ¤ò»È¤ï¤º¤ËÉÁ²è¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
1399 ¼¡¤ÎÎã¤Ï¿§ÃÏ¿Þ¥°¥é¥Õ¤Î¥Ç¥â¤Ç¤¹¤¬¡¢
1400 ¶ÊÌÌ¥°¥é¥Õ¤Î¾ì¹ç¤Ï %
1401 \verb+set pm3d map+ ¤òºï½ü¤·¤Æ \verb+set ticslevel 0+ ¤òÆþ¤ì¤Þ¤¹¡£
1402 %%% \begin{verbatim}
1403 %%% # Write contours of function  x*x-y*y  to a (temporary) file
1404 %%% set contour base; set cntrparam level 20
1405 %%% unset surface
1406 %%% set table 'contour.dat'
1407 %%% splot x*x-y*y
1408 %%% unset table
1409 %%% 
1410 %%% # Change single blank lines to double blank lines
1411 %%% !awk "NF<2{printf\"\n\"}{print}" <contour.dat >contour1.dat
1412 %%% 
1413 %%% # Draw the plot
1414 %%% reset
1415 %%% set palette gray
1416 %%% set palette gamma 2.5
1417 %%% set pm3d map
1418 %%% set pm3d explicit
1419 %%% splot x*x+y*y with pm3d, 'contour1.dat' with line lt -1
1420 %%% !rm contour.dat contour1.dat
1421 %%% \end{verbatim}
1422 %% begin Japanese
1423 \begin{verbatim}
1424 # ´Ø¿ô x*x-y*y ¤ÎÅù¹âÀþ¤ò°ì»þ¥Õ¥¡¥¤¥ë¤Ë½ñ¤­½Ð¤¹
1425 set contour base; set cntrparam level 20
1426 unset surface
1427 set table 'contour.dat'
1428 splot x*x-y*y
1429 unset table
1430
1431 # 1 ¹Ô¤Î¶õ¹Ô¤ò 2 ¹Ô¤Î¶õ¹Ô¤ËÊÑ´¹
1432 !awk "NF<2{printf\"\n\"}{print}" <contour.dat >contour1.dat
1433
1434 # ¥°¥é¥Õ¤ÎÉÁ²è
1435 reset
1436 set palette gray
1437 set palette gamma 2.5
1438 set pm3d map
1439 set pm3d explicit
1440 splot x*x+y*y with pm3d, 'contour1.dat' with line lt -1
1441 !rm contour.dat contour1.dat
1442 \end{verbatim}
1443 %% end Japanese
1444 %%% The last command deletes the two temporary files.
1445 ºÇ¸å¤Î¥³¥Þ¥ó¥É¤Ï 2 ¤Ä¤Î°ì»þ¥Õ¥¡¥¤¥ë¤òºï½ü¤·¤Þ¤¹¡£
1446
1447
1448 %%% \subsection{Color facets with pm3d}
1449 \subsection{pm3d ¤Ë¤è¤ë¿§¤Ä¤­¤Î¿ÌÌÂÎÉÁ²è¤Ï}
1450
1451 %%% It is possible to draw colors facets of a 3D objects, organized in 
1452 %%% such a file:
1453 3 ¼¡¸µÊªÂΤÎÌ̤˿§¤ò¤Ä¤±¤ÆÉÁ²è¤¹¤ë¤Ë¤Ï¡¢
1454 ¥Õ¥¡¥¤¥ë¤ò°Ê²¼¤Î¤è¤¦¤Ê·Á¼°¤ÇºîÀ®¤¹¤ì¤Ð²Äǽ¤Ç¤¹¡£
1455
1456 %%% \begin{verbatim}
1457 %%% # triangle 1
1458 %%% x0 y0 z0 <c0>
1459 %%% x1 y1 z1 <c1>
1460 %%% 
1461 %%% x2 y2 z2 <c2>
1462 %%% x2 y2 z2 <c2>
1463 %%% 
1464 %%% 
1465 %%% # triangle 2
1466 %%% x y z
1467 %%% ...
1468 %%% \end{verbatim}
1469 %% begin Japanese
1470 \begin{verbatim}
1471 # »°³Ñ·Á 1
1472 x0 y0 z0 <c0>
1473 x1 y1 z1 <c1>
1474
1475 x2 y2 z2 <c2>
1476 x2 y2 z2 <c2>
1477
1478
1479 # »°³Ñ·Á 2
1480 x y z
1481 ...
1482 \end{verbatim}
1483 %% end Japanese
1484
1485 %%% Notice the positioning single and double blank line. \texttt{<c>} 
1486 %%% is an optional
1487 %%% color.
1488 1 ¹Ô¤Î¶õ¹Ô¤È 2 ¹Ô¤Î¶õ¹Ô¤Î°ÌÃÖ¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
1489 \texttt{<c>} ¤Ï¥ª¥×¥·¥ç¥ó¤Î¿§»ØÄê¤Ç¤¹¡£
1490
1491 %%% Then plot it by (either of splot's):
1492 ¤³¤ì¤ò°Ê²¼¤Î¤è¤¦¤Ë¤·¤ÆÉÁ²è¤·¤Þ¤¹ (¤É¤Á¤é¤«¤Î splot ¤Ç):
1493 %% end Japanese
1494 \begin{verbatim}
1495 set pm3d
1496 set style data pm3d
1497 splot 'facets.dat'
1498 splot 'facets_with_color.dat' using 1:2:3:4
1499 \end{verbatim}
1500
1501 %%% Note that you avoid surface lines by \texttt{set style data pm3d} or 
1502 %%% \texttt{splot ... with pm3d}.
1503 ¶ÊÌ̤ÎÀþ¤Ï¡¢
1504 \texttt{set style data pm3d} ¤«¡¢\texttt{splot ... with pm3d} %
1505 ¤Ç̵¸ú¤Ë¤Ç¤­¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
1506
1507 %%% In the above example, pm3d displays triangles as independent surfaces.
1508 %%% They are plotted one surface after another, as found in the data file.
1509 %%% Parts overlapping in 2D projection are overdrawn.
1510 ¾å¤ÎÎã¤Ç¤Ï¡¢pm3d ¤Ï»°³Ñ·Á¤ò¤½¤ì¤¾¤ìÆÈΩ¤Ê¶ÊÌ̤Ȥ·¤ÆÉÁ²è¤·¤Þ¤¹¡£
1511 ¤½¤ì¤é¤Ï¡¢¥Ç¡¼¥¿¥Õ¥¡¥¤¥ëÃæ¤Ë¾¤Î¤â¤Î¤¬¸«¤Ä¤«¤Ã¤¿¸å¤Ç°ì¤Ä¤Î¶ÊÌ̤ËÉÁ¤«¤ì¤Þ¤¹¡£
1512 ½Å¤Ê¤ëÉôʬ¤Ï 2 ¼¡¸µ¼Í±Æ¤Ç¤Ï½Å¤Ê¤Ã¤ÆÉÁ²è¤µ¤ì¤Æ¤·¤Þ¤¤¤Þ¤¹
1513
1514 %%% Gnuplot is not 3D modeling program. Its hidden routines apply for points and
1515 %%% lines, but not for faces. 
1516 %%% Without handling the data as a collection of faces, there would be no surface
1517 %%% anything could be hidden behind.  The 'hidden3d' algorithm works by using the
1518 %%% input data in two ways: first, to set up a collection of triangles 
1519 %%% (made from a
1520 %%% mesh of quadrangles) that form the surface, second as a collection of 
1521 %%% edges.  It
1522 %%% then goes through all those edges, checking what parts of them are not hidden
1523 %%% behind any faces, and draws those.
1524 gnuplot ¤Ï 3 ¼¡¸µ¥â¥Ç¥ê¥ó¥°¥×¥í¥°¥é¥à¤Ç¤Ï¤Ê¤¯¡¢
1525 ±£Àþ½èÍý¥ë¡¼¥Á¥ó¤ÏÅÀ¡¢Àþ¤Ë¤ÏŬÍѤµ¤ì¤Þ¤¹¤¬¡¢Ì̤ˤÏŬÍѤµ¤ì¤Þ¤»¤ó¡£
1526 Ì̤ν¸¤Þ¤ê¤È¤·¤Æ¤Î¥Ç¡¼¥¿¤Î½èÍý¤Ê¤·¤Ë¤Ï¡¢
1527 ±Æ¤Ë±£¤ì¤ëÌ̤òºî¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£
1528 'hidden3d' ¥¢¥ë¥´¥ê¥º¥à¤Ï¡¢ÆþÎϥǡ¼¥¿¤ò 2 ¤Ä¤ÎÊýË¡¤Ç»È¤Ã¤Æ¼Â¹Ô¤µ¤ì¤Æ¤¤¤Þ¤¹: %
1529 °ì¤Ä¤Ï¡¢¶ÊÌ̤ò¹½À®¤¹¤ë»°³Ñ·Á (³Ê»ÒÅÀ¤Î»Í³Ñ·Á¤«¤éºî¤é¤ì¤ë) %
1530 ¤Î½¸¤Þ¤ê¤ò¥»¥Ã¥È¥¢¥Ã¥×¤¹¤ë¤³¤È¡¢
1531 ¤â¤¦°ì¤Ä¤Ïü¤Î½¸¤Þ¤ê¤Ç¤¹¡£
1532 ¤½¤·¤Æ¤½¤Î¤¹¤Ù¤Æ¤Îü¤ËÂФ·¤Æ¡¢
1533 ¤É¤ÎÉôʬ¤¬Â¾¤ÎÌ̤θå¤í¤Ë±£¤ì¤Ê¤¤¤Î¤«¤ò¥Á¥§¥Ã¥¯¤·¡¢
1534 ¤½¤·¤Æ¤½¤ì¤é¤òÉÁ²è¤·¤Æ¤¤¤Þ¤¹¡£
1535
1536 %%% Consequently, gnuplot won't draw your surface or 3D object as 
1537 %%% a virtual reality.
1538 %%% It works OK for \texttt{set pm3d map} but for true 3D you would 
1539 %%% be probably more
1540 %%% happy writing a convertor of your facets into a VRML file.
1541 ·ë²Ì¤È¤·¤Æ¡¢
1542 gnuplot ¤Ï¶ÊÌ̤ä 3 ¼¡¸µ¤ÎʪÂΤò²¾ÁÛ¸½¼Â¤È¤·¤Æ¤ÏÉÁ²è¤·¤Þ¤»¤ó¡£
1543 ¤³¤ì¤Ï \texttt{set pm3d map} ¤ËÂФ·¤Æ¤Ï¤Á¤ã¤ó¤ÈƯ¤­¤Þ¤¹¤¬¡¢
1544 ËÜÅö¤Î 3 ¼¡¸µ¤Ë¤·¤¿¤¤¤Ê¤é¡¢
1545 ¿ÌÌÂΥǡ¼¥¿¤ò VRML ¥Õ¥¡¥¤¥ë¤ËÊÑ´¹¤¹¤ë¥½¥Õ¥È¤ò½ñ¤¯Êý¤¬¤¤¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£
1546
1547
1548 %%% \subsection{Palette for printing my color map on color as well 
1549 %%% as black\&white
1550 %%% printer?}
1551 \subsection{¿§ÃÏ¿Þ¤ò¥â¥Î¥¯¥í¤Î¥×¥ê¥ó¥¿¤Ç¤â¤Á¤ã¤ó¤È°õ»ú¤¹¤ë¤è¤¦¤Ê¥Ñ¥ì¥Ã¥È¤Ï}
1552
1553 %%% I think it is this one, for example: 
1554 %%% \texttt{set palette rgbformulae -25,-24,-32}.
1555 %%% Can somebody prove this?
1556 Î㤨¤Ð¼¡¤Î¤â¤Î¤¬¤½¤ì¤Ë³ºÅö¤¹¤ë¤È»×¤¤¤Þ¤¹:
1557 \texttt{set palette rgbformulae -25,-24,-32} %
1558 狼¸¡¾Ú¤·¤Æ¤â¤é¤¨¤Þ¤»¤ó¤« ?
1559
1560
1561 %%% \section{Wanted features}
1562 \section{Íߤ·¤¤µ¡Ç½ (Wanted features)}
1563
1564 %%% \subsection{What's new in \gnuplot{} 3.7, 4.0, 4.2 etc?}
1565 \subsection{\gnuplot{} 3.7, 4.0, 4.2 Åù¤Ç¿·¤·¤¯¤Ê¤Ã¤¿¤³¤È¤Ï}
1566
1567 %%% Too many things to be named here.
1568 %%% Please refer to the \texttt{NEWS} file in the source distribution, or the
1569 %%% "New features" section in the gnuplot documentation.
1570 ¤³¤³¤Ëµ­¤¹¤Ë¤Ï¿¤¹¤®¤Þ¤¹¡£
1571 ¥½¡¼¥¹ÇÛÉÛʪ¤Ë´Þ¤Þ¤ì¤ë¥Õ¥¡¥¤¥ë \texttt{NEWS}¡¢
1572 ¤¢¤ë¤¤¤Ï gnuplot ¤Î¥Ø¥ë¥×¥É¥­¥å¥á¥ó¥È¤Î "New features" ¤Î¥»¥¯¥·¥ç¥ó¤ò
1573 »²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
1574
1575
1576 %%% \subsection{Does \gnuplot{} support a driver for <graphics format>?}
1577 \subsection{\gnuplot{} ¤Ï²èÁü¥Õ¥©¡¼¥Þ¥Ã¥ÈÍѤΥɥ饤¥Ð¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¤«}
1578
1579 %%% To see a list of the available graphic drivers for your installation of
1580 %%% \gnuplot{}, type \verb+set term+.
1581 ¥¤¥ó¥¹¥È¡¼¥ëºÑ¤Î \gnuplot{} ¤¬»ÈÍѤǤ­¤ë¥°¥é¥Õ¥£¥Ã¥¯¥É¥é¥¤¥Ð¤Î°ìÍ÷¤ò¸«¤ë¤Ë¤Ï¡¢
1582 \verb+set term+ ¤È¥¿¥¤¥×¤·¤Æ¤¯¤À¤µ¤¤¡£
1583
1584 %%% Some graphics drivers are included in the normal distribution,
1585 %%% but are uncommented by default. If you want to use them, you'll
1586 %%% have to change file \verb+gnuplot/src/term.h+, and recompile.
1587 Ä̾ï¤ÎÇÛÉÛʪ¤Ë¤Ï´Þ¤Þ¤ì¤Æ¤¤¤Æ¤â¡¢
1588 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï»È¤¨¤Ê¤¤¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤ë¥°¥é¥Õ¥£¥Ã¥¯¥É¥é¥¤¥Ð¤â¤¢¤ê¤Þ¤¹¡£
1589 ¤½¤ì¤é¤¬»È¤¤¤¿¤±¤ì¤Ð¡¢\verb+gnuplot/src/term.h+ ¤ò½¤Àµ¤·¤Æ
1590 ¥³¥ó¥Ñ¥¤¥ë¤·Ä¾¤¹É¬Íפ¬¤¢¤ê¤Þ¤¹¡£
1591
1592
1593 %%% \subsection{Does \gnuplot{} have hidden line removal?}
1594 \subsection{\gnuplot{} ¤Ï±£Àþ½èÍý¤Ç¤­¤Þ¤¹¤«}
1595
1596 %%% Yes.
1597 ¤¨¤¨¡£
1598
1599 %%% \subsection{Does \gnuplot{} support bar-charts/histograms/boxes?}
1600 \subsection{\gnuplot{} ¤ÏËÀ¥°¥é¥Õ/¥Ò¥¹¥È¥°¥é¥à/È¢·¿¥°¥é¥Õ¤¬½ñ¤±¤Þ¤¹¤«}
1601
1602 %%% Various clustered and stacked histogram styles are supported in \gnuplot
1603 %%% version 4.2 as separate style types.
1604 \gnuplot{} version 4.2 ¤Ç¤Ï¡¢²£Ê¤ӷ¿ (clustered) ¤ÈÀѤ߾夲·¿ (stacked) %
1605 ¤Î¥Ò¥¹¥È¥°¥é¥à¥¹¥¿¥¤¥ë¤¬¡¢ÊÌ¡¹¤Î¥¹¥¿¥¤¥ë·¿¤È¤·¤Æ¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
1606
1607 %%% In older \gnuplot{} versions you can use the style \verb+with boxes+ 
1608 %%% for bar charts.
1609 %%% To get filled boxes, use \verb+set style fill+.
1610 %%% Bernhard Reiter wrote an AWK script to post-process fig-terminal output.
1611 %%% This may be useful with older versions of \gnuplot. Please have a look at
1612 %%% \http{www.usf.uni-osnabrueck.de/~breiter/tools/gnuplot/barchart.en.html}.
1613 ¸Å¤¤¥Ð¡¼¥¸¥ç¥ó¤Î \gnuplot{} ¤Ç¤ÏËÀ¥°¥é¥ÕÍѤˠ\verb+with boxes+ ¥¹¥¿¥¤¥ë¤¬
1614 ÍøÍѤǤ­¤Þ¤¹¡£
1615 ËÀ¤òÅɤê¤Ä¤Ö¤¹¤Ë¤Ï¡¢\verb+set style fill+ ¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£
1616 Bernhard Reiter ¤Ï fig ½ÐÎÏ·Á¼°¤Î¸å½èÍýÍѤΠAWK ¥¹¥¯¥ê¥×¥È¤ò½ñ¤­¤Þ¤·¤¿¡£
1617 ¤³¤ì¤Ï¡¢¸Å¤¤ÈǤΠ\gnuplot{} ¤Ç¤ÏÍ­ÍѤǤ·¤ç¤¦¡£
1618 \http{www.usf.uni-osnabrueck.de/~breiter/tools/gnuplot/barchart.en.html} %
1619 ¤ò¸«¤Æ¤¯¤À¤µ¤¤
1620
1621 %%% \subsection{Does \gnuplot{} support pie charts?}
1622 \subsection{\gnuplot{} ¤Ï±ß¥°¥é¥Õ¤¬½ñ¤±¤Þ¤¹¤«}
1623
1624 %%% It's not possible in \gnuplot, but have a look at
1625 %%% \http{www.usf.uni-osnabrueck.de/~breiter/tools/piechart/piecharts.en.html}
1626 \gnuplot{} ¤Ç¤Ï¤½¤ì¤Ï¤Ç¤­¤Þ¤»¤ó¡£¤·¤«¤·¡¢°Ê²¼¤ò¸«¤Æ¤¯¤À¤µ¤¤¡£
1627 \http{www.usf.uni-osnabrueck.de/~breiter/tools/piechart/piecharts.en.html}
1628
1629
1630 %%% \subsection{Does \gnuplot{} quarterly time charts?}
1631 \subsection{\gnuplot{} ¤Ï»ÍȾ´ü¥Á¥ã¡¼¥È¤¬½ñ¤±¤Þ¤¹¤«}
1632
1633 %%% It's not possible in \gnuplot, but have a look at
1634 %%% \http{ricardo.ecn.wfu.edu/~cottrell/qplot}. The corresponding
1635 %%% file \verb+qplot.zip+ can be obtained from the contrib directory
1636 %%% on any \gnuplot{} server.
1637 \gnuplot{} ¤Ç¤Ï¤½¤ì¤Ï¤Ç¤­¤Þ¤»¤ó¡£¤·¤«¤·¡¢°Ê²¼¤ò¸«¤Æ¤¯¤À¤µ¤¤¡£
1638 \http{ricardo.ecn.wfu.edu/~cottrell/qplot} %
1639 ¤½¤Î¥Õ¥¡¥¤¥ë \verb+qplot.zip+ ¤Ï \gnuplot{} ¤ÎÇÛÉÛ¥µ¥¤¥È¤Î %
1640 contrib ¥Ç¥£¥ì¥¯¥È¥ê¤«¤é¼èÆÀ¤Ç¤­¤Þ¤¹¡£
1641
1642
1643 %%% \subsection{Can I put multiple pages on one page?}
1644 \subsection{°ì¤Ä¤Î¥Ú¡¼¥¸¤ËÊ£¿ô¤Î¥°¥é¥Õ¤¬½ñ¤±¤Þ¤¹¤«}
1645
1646 %%% Yes. \verb+set multiplot+.
1647 ¤Ï¤¤¡£\verb+set multiplot+ ¤È¤·¤Æ¤¯¤À¤µ¤¤¡£
1648
1649 %%% If you use the postscript terminal and plot one graph per page you can
1650 %%% use the program mpage (\http{www.mesa.nl/pub/mpage}) to print
1651 %%% multiple logical pages per physical page. A similar program is
1652 %%% the psnup program in the psutils package. This package is available at
1653 %%% any CTAN mirror.
1654 postscript terminal ¤ò»È¤Ã¤Æ¤¤¤Æ¡¢
1655 1 ¥Ú¡¼¥¸¤Ë 1 ¤Ä¤Î¥°¥é¥Õ¤ò½ÐÎϤ·¤Æ¤¤¤ë¾ì¹ç¤Ï mpage ¤È¤¤¤¦¥×¥í¥°¥é¥à %
1656 (\http{www.mesa.nl/pub/mpage}) ¤ò»È¤Ã¤Æ
1657 Ê£¿ô¤ÎÏÀÍý¥Ú¡¼¥¸¤òʪÍý¥Ú¡¼¥¸ 1 ¥Ú¡¼¥¸¤Ë¤Þ¤È¤á¤ë¤³¤È¤¬²Äǽ¤Ç¤¹¡£
1658 ƱÍÍ¤Î¥×¥í¥°¥é¥à¤Ë¡¢psutils ¥Ñ¥Ã¥±¡¼¥¸Æâ¤Î psnup ¤¬¤¢¤ê¤Þ¤¹¡£
1659 ¤½¤Î¥Ñ¥Ã¥±¡¼¥¸¤Ï CTAN ¤Î¥ß¥é¡¼¥µ¥¤¥È¤Ë¤¢¤ê¤Þ¤¹¡£
1660
1661
1662 %%% \subsection{Does \gnuplot{} support multiple y-axes on a single plot?}
1663 \subsection{\gnuplot{} ¤Ï°ì¤Ä¤Î¥°¥é¥Õ¤ÇÊ£¿ô¤Î y ¼´¤ò»È¤¨¤Þ¤¹¤«}
1664
1665 %%% Yes. You can have 2 x- and 2 y-axes per plot. The additional axes are called
1666 %%% x2 and y2. See \verb+help plot+.
1667 ¤Ï¤¤¡£1 ¤Ä¤ÎÉÁ²è¤ËÂФ·¤Æ 2 ¤Ä¤Î x ¼´¡¢2 ¤Ä¤Î y ¼´¤¬»È¤¨¤Þ¤¹¡£
1668 ¤½¤Î¤½¤ì¤¾¤ì¤Î 2 ¤ÄÌܤμ´¤Ï x2, y2 ¼´¤È¸Æ¤Ð¤ì¤Þ¤¹¡£
1669 \verb+help plot+ ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
1670
1671
1672 %%% \subsection{Can I put both commands and data into a single file?}
1673 \subsection{°ì¤Ä¤Î¥Õ¥¡¥¤¥ë¤Ë gnuplot ¤Î¥³¥Þ¥ó¥É¤È¥Ç¡¼¥¿¤ÎξÊý¤ò½ñ¤±¤Þ¤¹¤«}
1674
1675 %%% This is possible by the new \verb+plot "-"+ possibility. The
1676 %%% \verb+plot "-"+ command allows to read the data to be plot from
1677 %%% standard input or the current batch job.
1678 ¤³¤ì¤Ï \verb+plot "-"+ ¤È¤¤¤¦¿·¤·¤¤µ¡Ç½¤ò»È¤¨¤Ð²Äǽ¤Ç¤¹¡£
1679 \verb+plot "-"+ ¥³¥Þ¥ó¥É¤ÏÉÁ²è¤¹¤ë¥Ç¡¼¥¿¤òɸ½àÆþÎÏ¡¢
1680 ¤Þ¤¿¤Ï¸½ºß¤Î¥Ð¥Ã¥Á¥¸¥ç¥Ö¤«¤éÆɤ߹þ¤ß¤Þ¤¹¡£
1681
1682 \begin{verbatim}
1683 gnuplot> plot "-"
1684 1 1
1685 2 4
1686 3 9
1687 e
1688 \end{verbatim}
1689
1690
1691 %%% \subsection{Can I put Greek letters and super/subscripts into my labels?}
1692 \subsection{¥é¥Ù¥ë¤Ë¥®¥ê¥·¥ãʸ»ú¤ä¾å/²¼ÉÕ¤­¤Îʸ»ú¤ò»È¤¨¤Þ¤¹¤«}
1693
1694 %%% The enhanced option in some terminals (currently postscript, Presentation
1695 %%% Manager, png, pdf, and x11) lets you use sub- and superscripts. 
1696 %%% It also allows to use Greek letters and symbols via symbol fonts, to
1697 %%% the extent that these are supported by the underlying font libraries
1698 %%% on your system.  Versions through 2.0.15 of libgd (needed for png and jpeg)
1699 %%% must be patched in order to handle symbol fonts.
1700 ¤¤¤¯¤Ä¤«¤Î½ÐÎÏ·Á¼° %
1701 (¸½ºß¤Ï¡¢postscript, ¥×¥ì¥¼¥ó¥Æ¡¼¥·¥ç¥ó¥Þ¥Í¡¼¥¸¥ã (pm)¡¢png, pdf, x11) %
1702 ¤Î enhanced ¥ª¥×¥·¥ç¥ó¤Ç¾åÉÕ¤­²¼ÉÕ¤­¤Îʸ»ú¤¬°·¤¨¤Þ¤¹¡£
1703 ¤½¤Î¾ì¹ç¡¢°Å¤Ë»ÈÍѤ·¤Æ¤¤¤ë¤¢¤Ê¤¿¤Î¥·¥¹¥Æ¥à¤Î¥Õ¥©¥ó¥È¥é¥¤¥Ö¥é¥ê¤Î
1704 ¥µ¥Ý¡¼¥È¤¹¤ëÈÏ°ÏÆâ¤Ç¡¢
1705 ¥®¥ê¥·¥ãʸ»ú¤ä¡¢symbol ¥Õ¥©¥ó¥È¤Îµ­¹æʸ»ú¤â°·¤¨¤Þ¤¹¡£
1706 2.0.15 ¤Þ¤Ç¤ÎÈǤΠlibgd (png, jpeg ÍѤËɬÍ×) ¤Ç¤Ï¡¢
1707 symbol ¥Õ¥©¥ó¥È¤ò»È¤¦¤¿¤á¤Ë¤Ï¥Ñ¥Ã¥Á¤¬É¬ÍפǤ¹¡£
1708
1709 %%% You might try using the \LaTeX{} terminal type and putting text
1710 %%% like \verb+"\\alpha_{3}"+ or \verb+'\alpha_{3}'+ .
1711 \LaTeX{} ½ÐÎϤò¹Ô¤Ê¤¦½ÐÎÏ·Á¼°¤ò»È¤Ã¤Æ \verb+"\\alpha_{3}"+ ¤ä %
1712 \verb+'\alpha_{3}'+ ¤Î¤è¤¦¤Ë¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£
1713 %%% If you include your \gnuplot-graphs into a \LaTeX{} document
1714 %%% you can use the \LaTeX{}-package psfrag to typeset any characters
1715 %%% into your graphs.
1716 \gnuplot{} ¤Î¥°¥é¥Õ¤ò \LaTeX{} ¤Îʸ½ñ¤ËÄ¥¤ê¹þ¤à¾ì¹ç¤Ë¤Ï¡¢
1717 \LaTeX{} ¥Ñ¥Ã¥±¡¼¥¸¤Î psfrag ¤ò»È¤¨¤Ð
1718 ¥°¥é¥ÕÆâ¤ÇǤ°Õ¤Îʸ»ú¤ò»È¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
1719
1720 %%% One more possibility is to use the MetaPost terminal. It supports \TeX{}
1721 %%% syntax and is converted onto encapsulated PostScript by mpost.
1722 ¤â¤¦°ì¤Ä¤Î²ÄǽÀ­¤Ï MetaPost ½ÐÎϤǤ¹¡£¤½¤ì¤Ï \TeX{} ¤Îɽµ­Ë¡¤ò¥µ¥Ý¡¼¥È¤·¡¢
1723 mpost ¤Ë¤è¤Ã¤Æ encapsulated PostScript (EPS) ¤ËÊÑ´¹¤·¤Þ¤¹¡£
1724
1725
1726 %%% \subsection{How do I include accented characters}
1727 \subsection{¤É¤¦¤·¤¿¤é¥¢¥¯¥»¥ó¥ÈÉÕ¤­¤Îʸ»ú¤ò½ÐÎϤǤ­¤Þ¤¹¤«}
1728 % \subsection{Can I type labels in Czech, French, Hungarian, Russian...}
1729
1730 %%% To obtain accented characters like \"u or \^n in your labels you should use
1731 %%% 8bit character codes together with the appropriate encoding option.
1732 %%% See the following example:
1733 \"u (u ¥¦¥à¥é¥¦¥È; u ¤Î¾å¤ËÅÀ 2 ¤Ä¤Î¥¢¥¯¥»¥ó¥È) ¤ä %
1734 \^n ¤Î¤è¤¦¤Êʸ»ú¤ò¥é¥Ù¥ë¤Ë´Þ¤á¤ë¤Ë¤Ï¡¢
1735 ŬÀڤʥ¨¥ó¥³¡¼¥É¥ª¥×¥·¥ç¥ó¤òÀßÄꤷ¡¢
1736 8bit Ê¸»ú¥³¡¼¥É¤ò»ÈÍѤ·¤Ê¤±¤ì¤Ð¤¤¤±¤Þ¤»¤ó¡£
1737 Î㤨¤Ð¼¡¤Î¤è¤¦¤Ë¤·¤Þ¤¹¡£
1738
1739 \begin{verbatim}
1740 gnuplot> set encoding iso_8859_1
1741 gnuplot> set title "M\374nchner Bierverbrauch \374ber die Jahre"
1742 gnuplot> plot "bier.dat" u 1:2
1743 \end{verbatim}
1744
1745 %%% Consequently, you can type labels in Czech, French, Hungarian, Russian... by
1746 %%% means of an appropriate \texttt{set encoding}. However, you cannot mix two
1747 %%% encodings in one file (e.g. accents for west and east latin encodings). 
1748 ¤³¤ì¤Ë¤è¤ê¡¢Å¬Àڤʠ\texttt{set encoding} ¤Ë¤è¤ê¡¢
1749 ¥Á¥§¥³¸ì¡¢Ê©¸ì¡¢¥Ï¥ó¥¬¥ê¡¼¸ì¡¢Ïª¸ì¤Ê¤É¤Î¥é¥Ù¥ë¤òÂǤÁ½Ð¤¹¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
1750 ¤·¤«¤·¡¢2 ¼ïÎà¤Î¥¨¥ó¥³¡¼¥É (Î㤨¤ÐÀ¾¥é¥Æ¥ó¥¨¥ó¥³¡¼¥É¤ÈÅì¥é¥Æ¥ó¥¨¥ó¥³¡¼¥É) %
1751 ¤ò°ì¤Ä¤Î¥Õ¥¡¥¤¥ë¤Ëº®¤¼¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£
1752
1753 %%% A more general solution is to use UTF-8 encoded fonts, and type the 
1754 %%% UTF-8 characters directly into gnuplot. This works for many terminal types
1755 %%% but not, unfortunately, PostScript.
1756 UTF-8 ¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°¥Õ¥©¥ó¥È¤ò»È¤¦¤¿¤á¤Î¤è¤ê°ìÈÌŪ¤Ê¤ä¤êÊý¤Ï¡¢
1757 \gnuplot{} Æâ¤ÇľÀÜ UTF-8 ¤Îʸ»ú¤òÆþÎϤ¹¤ë¤³¤È¤Ç¤¹¡£
1758 ¤³¤ì¤Ï¿¤¯¤Î½ÐÎÏ·Á¼°¤ÇÆ°ºî¤·¤Þ¤¹¤¬¡¢»ÄÇ°¤Ê¤¬¤é PostScript ¤Ç¤Ï¤À¤á¤Ç¤¹¡£
1759
1760
1761 %%% \subsection{Can I do 1:1 scaling of axes?}
1762 \subsection{½Ä¤È²£¤Î¼´¤ò 1:1 ¤Ë¤Ç¤­¤Þ¤¹¤«}
1763
1764 %%% Use \verb+set size square+.
1765 \verb+set size square+ ¤ò»È¤Ã¤Æ¤¯¤À¤µ¤¤¡£
1766
1767
1768 %%% \subsection{Can I put different text sizes into my plots?}
1769 \subsection{°Û¤Ê¤ë¥µ¥¤¥º¤Î¥Æ¥­¥¹¥È¤ò°ì¤Ä¤Î¥°¥é¥Õ¤Ç½ÐÎϤǤ­¤Þ¤¹¤«}
1770
1771 %%% Some terminals can, others can't. Some allow you to choose a font size for the
1772 %%% entire plot. Terminals supporting the "enhanced text" mode (like 
1773 %%% postscript, pm,
1774 %%% x11, png, pdf) allow you to change fonts and text sizes within a plot. Look at
1775 %%% the help for these terminals.
1776 ²Äǽ¤Ê½ÐÎÏ·Á¼°¤â¤¢¤ê¤Þ¤¹¤·¡¢¤½¤¦¤Ç¤Ê¤¤¤â¤Î¤â¤¢¤ê¤Þ¤¹¡£
1777 ÉÁ²èÁ´ÂΤΥե©¥ó¥È¥µ¥¤¥º¤òÁªÂò¤Ç¤­¤ë¤è¤¦¤Ê¤â¤Î¤â¤¢¤ê¤Þ¤¹¡£
1778 "enhanced text" ¥â¡¼¥É¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë½ÐÎÏ·Á¼° %
1779 (postscript, pm, x11, png, pdf ¤Ê¤É) %
1780 ¤Ç¤ÏÉÁ²èÆâ¤Ç¥Æ¥­¥¹¥È¥µ¥¤¥º¤È¥Õ¥©¥ó¥È¤ÎÊѹ¹¤¬¹Ô¤Ê¤¨¤Þ¤¹¡£
1781 ¤½¤ì¤¾¤ì¤Î½ÐÎÏ·Á¼°¤Î¥Ø¥ë¥×¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
1782
1783
1784 %%% \subsection{How do I skip data points?}
1785 \subsection{¤É¤¦¤·¤¿¤é¥Ç¡¼¥¿ÅÀ¤ò¥¹¥­¥Ã¥×¤Ç¤­¤Þ¤¹¤«}
1786
1787 %%% By specifying \texttt{?} as a data value, as in
1788 °Ê²¼¤Î¤è¤¦¤Ë¥Ç¡¼¥¿ÃͤȤ·¤Æ \texttt{?} ¤ò»ØÄꤹ¤ì¤Ð¤Ç¤­¤Þ¤¹¡£
1789 %% end Japanese
1790 \begin{verbatim}
1791         1 2
1792         2 3
1793         3 ?
1794         4 5
1795 \end{verbatim}
1796
1797 %%% See also \texttt{set missing}.
1798 %%% See also \texttt{set datafile commentschars} for specifying comment 
1799 %%% characters in
1800 %%% data files.
1801 \texttt{set missing} ¤â»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
1802 ¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Î¥³¥á¥ó¥Èʸ»ú¤ò»ØÄꤹ¤ë¤Ë¤Ï¡¢
1803 \texttt{set datafile commentschars} ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
1804
1805
1806 %%% \subsection{How do I plot every nth point?}
1807 \subsection{¤É¤¦¤·¤¿¤é n ÅÀËè¤Ë¥Ç¡¼¥¿¤ò°·¤¨¤Þ¤¹¤«}
1808
1809 %%% This can be specified with various options for the command \verb+plot+,
1810 %%% for example \verb+plot 'a.dat' every 2+.
1811 ¤³¤ì¤Ï¡¢Î㤨¤Ð \verb+plot 'a.dat' every 2+ ¤Î¤è¤¦¤Ë¡¢
1812 \verb+plot+ ¥³¥Þ¥ó¥É¤Ë¿§¡¹¤Ê¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤³¤È¤Ç¤Ç¤­¤Þ¤¹¡£
1813
1814
1815 %%% \subsection{How do I plot a vertical line?}
1816 \subsection{¤É¤¦¤·¤¿¤é±ôľÀþ¤ò½ñ¤±¤Þ¤¹¤«}
1817
1818 %%% Depending on context, the main methods are:
1819 ¾õ¶·¤Ë¤è¤ê¤Þ¤¹¤¬¡¢¼ç¤ÊÊýË¡¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹:
1820 %% end Japanese
1821 \begin{itemize}
1822 %%% \item \verb+set arrow .... .... nohead+ where you have to compute
1823 %%% explicitly the start and the end of the arrow.
1824 %%% \item generate (inlined) datapoints and plot them
1825 %%% \item switch to parametric mode
1826 \item \verb+set arrow .... .... nohead+  ¤³¤Î¾ì¹ç¡¢
1827 Ìð¤ÎÀµ³Î¤Ê³«»ÏÅÀ¤È½ªÎ»ÅÀ¤Î°ÌÃÖ¤ò·×»»¤·¤Æ¤ª¤¯É¬Íפ¬¤¢¤ê¤Þ¤¹¡£ 
1828 \item ¥Ç¡¼¥¿ÅÀ¤òºî¤Ã¤Æ (¥¤¥ó¥é¥¤¥ó¤Ç¤Î»ØÄê¤â²Ä) ¤½¤ì¤òÉÁ²è
1829 \item ¥Ñ¥é¥á¡¼¥¿¥â¡¼¥É¤Ë¤¹¤ë
1830 %% end Japanese
1831 \end{itemize}
1832
1833
1834 %%% \subsection{How do I plot data files}
1835 \subsection{¤É¤¦¤·¤¿¤é¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤òÉÁ²è¤Ç¤­¤Þ¤¹¤«}
1836
1837 %%% Easily: by a command \texttt{plot 'a.dat'}. In 3D, use 
1838 %%% \texttt{splot 'a.dat'} --
1839 %%% but don't forget to put a blank line in between two subsequent 
1840 %%% scans (isolines),
1841 %%% otherwise you will get an error that the data is not gridded; 
1842 %%% see also question 
1843 %%% \ref{blank1}. If your data are not gridded, then use 
1844 %%% \texttt{set dgrid3d \{many
1845 %%% options\}}.
1846 ´Êñ¤Ç¤¹¡£¥³¥Þ¥ó¥É \texttt{plot 'a.dat'} ¤Ç¤Ç¤­¤Þ¤¹¡£
1847 3 ¼¡¸µÉÁ²è¤Î¾ì¹ç¤Ï \texttt{splot 'a.dat'} ¤Ç¤¹¡£
1848 ¤¿¤À¤·¡¢2 ¤Ä¤Î¤Ä¤Ê¤¬¤Ã¤Æ¤¤¤ëÀþ (¸ÉΩÀþ) ¤òʬΥ¤¹¤ë¤Î¤Ë
1849 ¶õ¹Ô¤ò½ÐÎϤ¹¤ë¤Î¤ò˺¤ì¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£
1850 ¤µ¤â¤Ê¤¤¤È¡¢¥Ç¡¼¥¿¤¬³Ê»Ò¾õ (grid) ¤Ç¤Ê¤¤¤È¤¤¤¦¥¨¥é¡¼¤¬½Ð¤ë¤«¤âÃΤì¤Þ¤»¤ó¡£
1851 ¼ÁÌä \ref{blank1} ¤â»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
1852 ¥Ç¡¼¥¿¤¬³Ê»Ò¾õ¤Ç¤Ê¤¤¾ì¹ç¤Ï¡¢
1853 \texttt{set dgrid3d \{¿§¤ó¤Ê¥ª¥×¥·¥ç¥ó\}} ¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£
1854
1855
1856 %%% \subsection{How do I replot multiplot drawing}
1857 \subsection{¤É¤¦¤·¤¿¤é multiplot ¤ÎÉÁ²è¤ò replot ¤Ç¤­¤Þ¤¹¤«}
1858
1859 %%% You cannot directly: gnuplot supports \verb+replot+ command, not
1860 %%% \verb+remultiplot+. You have to write the complete sequence of commands since
1861 %%% \verb+set multiplot+ till \verb+unset multiplot+ into a script file. Then
1862 %%% you can \verb+load+ the script into gnuplot as many times as you need for
1863 %%% replotting the drawing to different terminals or output files.
1864 ľÀܤϤǤ­¤Þ¤»¤ó: 
1865 gnuplot ¤Ï \verb+replot+ ¥³¥Þ¥ó¥É¤Ï¥µ¥Ý¡¼¥È¤·¤Æ¤Þ¤¹¤¬¡¢
1866 \verb+remultiplot+ ¥³¥Þ¥ó¥É¤Ï¤¢¤ê¤Þ¤»¤ó¡£
1867 ¤è¤Ã¤Æ¡¢¥¹¥¯¥ê¥×¥È¥Õ¥¡¥¤¥ëÆâ¤Ë %
1868 \verb+set multiplot+ ¤«¤é \verb+unset multiplot+ %
1869 ¤Þ¤Ç¤Î¤¹¤Ù¤Æ¤Î¥³¥Þ¥ó¥ÉÎó¤ò½ñ¤¯É¬Íפ¬¤¢¤ê¤Þ¤¹¡£
1870 ¤½¤Î¥¹¥¯¥ê¥×¥È¤ò gnuplot ¤Ë \verb+load+ ¤·¤Æ¤ä¤ì¤Ð¡¢
1871 ɬÍפʲó¿ô¤À¤±¡¢°Û¤Ê¤ë½ÐÎÏ·Á¼°¡¢°Û¤Ê¤ë½ÐÎÏ¥Õ¥¡¥¤¥ë¤Ë replot ¤Ç¤­¤Þ¤¹¡£
1872
1873
1874 %%% \section{Miscellaneous}
1875 \section{¤½¤Î¾}
1876
1877 %%% \subsection{I've found a bug, what do I do?}
1878 \subsection{¥Ð¥°¤ò¸«¤Ä¤±¤¿¤Î¤Ç¤¹¤¬¤É¤¦¤·¤¿¤éÎɤ¤¤Ç¤¹¤«}
1879
1880 %%% First, try to see whether it actually is a bug, or whether it
1881 %%% is a feature which may be turned off by some obscure set--command.
1882 ºÇ½é¤Ë¡¢¤½¤ì¤¬ËÜÅö¤Ë¥Ð¥°¤Ê¤Î¤«¡¢
1883 ¤½¤ì¤È¤â¤¢¤ë set--command ¤ÇËݤ¹¤³¤È¤¬¤Ç¤­¤ëÆÃħ¤Ê¤Î¤«¤ò¸«¶Ë¤á¤Æ¤¯¤À¤µ¤¤¡£
1884
1885 %%% Next, see whether you have an old version of \gnuplot{}; if you do,
1886 %%% chances are the bug has been fixed in a newer release.
1887 ¼¡¤Ë¡¢¤¢¤Ê¤¿¤¬»È¤Ã¤Æ¤¤¤ë \gnuplot{} ¤¬¸Å¤¤ÈǤǤϤʤ¤¤«³Î¤«¤á¤Æ¤¯¤À¤µ¤¤¡£
1888 ¤â¤·¤½¤¦¤Ê¤é¡¢
1889 ¤è¤ê¿·¤·¤¤ÈǤǤϤ½¤Î¿·¤·¤¤¥Ð¥°¤Ï¼è¤ê½ü¤«¤ì¤Æ¤¤¤ë²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£
1890
1891 %%% Fixes for bugs reported since the release of the current version are
1892 %%% held in the \texttt{patches} directory at \gnuplot{} distribution sites.
1893 %%% Before submitting a bug report, please check whether the bug in question
1894 %%% has already been fixed.
1895 ¸½ºß¤ÎÈǤޤǤËÊó¹ð¤µ¤ì¤¿¥Ð¥°¤Î½¤Àµ¤Ï¡¢\gnuplot{} ¤ÎÇÛÉÛ¥µ¥¤¥È¤Î %
1896 \texttt{patches} ¥Ç¥£¥ì¥¯¥È¥ê¤ËÊÝ»ý¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
1897 ¼ÁÌä¤Ë¤¢¤ë¥Ð¥°¤¬´û¤Ë½¤Àµ¤µ¤ì¤Æ¤¤¤Ê¤¤¤«¥Á¥§¥Ã¥¯¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£
1898
1899 %%% If, after checking these things, you still are convinced that there is a
1900 %%% bug, proceed as follows. If you have a fairly general sort of bug
1901 %%% report, posting to \news{comp.graphics.apps.gnuplot} is probably
1902 %%% the way to go. If you have investigated a problem in detail, especially
1903 %%% if you have a context or unified diff that fixes the problem, please
1904 %%% e-email a report to \mailto{gnuplot-bug@lists.sourceforge.net}.
1905 ¤³¤ì¤é¤ò¥Á¥§¥Ã¥¯¤·¤¿¸å¤Ç¤Ê¤ª¤½¤ì¤¬¥Ð¥°¤Ç¤¢¤ë¤È³Î¿®¤·¤¿¤Ê¤é¡¢
1906 °Ê²¼¤Ë¿Ê¤ó¤Ç¤¯¤À¤µ¤¤¡£
1907 ¤â¤·¤¢¤Ê¤¿¤¬¸øÀµ¤ÇÉáÊ×Ū¤Ê¼ïÎà¤Î¥Ð¥°¥ì¥Ý¡¼¥È¤òºî¤Ã¤¿¤Ê¤é¤Ð¡¢
1908 ¿ʬ¥Ë¥å¡¼¥¹¥°¥ë¡¼¥× \news{comp.graphics.apps.gnuplot} %
1909 ¤Ø¤ÎÅê¹Æ¤¬¼è¤ë¤Ù¤­Æ»¤Ç¤·¤ç¤¦¡£
1910 ¤â¤·ÌäÂê¤Î¾ÜºÙ¤ÊÄ´ºº·ë²Ì¤¬¤¢¤ë¤Ê¤é¤Ð¡¢
1911 Æäˤ½¤ÎÌäÂê¤ò½¤Àµ¤¹¤ëº¹Ê¬ (context diff ¤«¤Þ¤¿¤Ï unified diff) %
1912 ¤¬¤¢¤ë¤Ê¤é¤Ð¡¢
1913 \mailto{gnuplot-bug@lists.sourceforge.net} %
1914 ¤Ø¥á¡¼¥ë¤Ç¥ì¥Ý¡¼¥È¤òÁ÷¤Ã¤Æ¤¯¤À¤µ¤¤¡£
1915
1916 %%% The bug-gnuplot list is for reporting and collecting bug fixes, the
1917 %%% \news{comp.graphics.apps.gnuplot} newsgroup will be more help for
1918 %%% finding work arounds or actually solving \gnuplot{} related problems. If
1919 %%% you do send in a bug report, be sure and include the version of \gnuplot{}
1920 %%% (including patchlevel) as shown by the command \verb+show version long+,
1921 %%% terminal driver, operating system, an exact description of the bug and
1922 %%% input which can reproduce the bug. Failure to indicate these details can
1923 %%% render a solution to your problem almost impossible. Also, any context
1924 %%% diffs should be referenced against the latest official version of
1925 %%% \gnuplot{} if at all possible.
1926 bug-gnuplot ¥á¡¼¥ê¥ó¥°¥ê¥¹¥È¤Ï¥Ð¥°½¤Àµ¤Î¥ì¥Ý¡¼¥È¤È¤½¤Î¼ý½¸¤Î¤¿¤á¤Î¤â¤Î¤Ç¡¢
1927 ¥Ë¥å¡¼¥¹¥°¥ë¡¼¥× \news{comp.graphics.apps.gnuplot} ¤Ï %
1928 \gnuplot{} ¤Ë´Ø¤¹¤ëÌäÂê¤ËÂФ¹¤ë²óÈòºö¤ò¸«¤Ä¤±¤ë¡¢
1929 ¤¢¤ë¤¤¤Ï¤½¤ì¤ò¼ÂºÝ¤Ë²ò·è¤¹¤ë¼ê½õ¤±¤Î¤¿¤á¤Î¤â¤Î¤Ç¤¹¡£
1930 ¤â¤·¥Ð¥°¥ê¥Ý¡¼¥È¤òÁ÷¤ë¤È¤­¤Ï¡¢\verb+show version long+ ¥³¥Þ¥ó¥É¤Ç¸«¤ì¤ë %
1931 \gnuplot{} ¤Î¥Ð¡¼¥¸¥ç¥ó (¥Ñ¥Ã¥Á¥ì¥Ù¥ë¤â´Þ¤á¤Æ)¡¢
1932 ½ÐÎÏ·Á¼°¤Î¥É¥é¥¤¥Ð̾ (terminal driver)¡¢¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¡¢
1933 ¥Ð¥°¤ÎÀµ³Î¤Êµ­½Ò¤È¥Ð¥°¤òºÆ¸½¤¹¤ë¤¿¤á¤ÎÆþÎÏ¡¢
1934 ¤³¤ì¤é¤ò³Îǧ¤·¥ì¥Ý¡¼¥È¤ËÆþ¤ì¤Æ¤¯¤À¤µ¤¤¡£
1935 ¤³¤ì¤é¤Î¾ÜºÙ¤¬¼¨¤µ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¡¢
1936 ¤½¤ÎÌäÂê¤Î²ò¤òÍ¿¤¨¤ë¤³¤È¤Ï¤Û¤È¤ó¤ÉÉÔ²Äǽ¤Ç¤¹¡£
1937 ¤½¤·¤Æ¡¢ºÇ¿·¤Î¸ø¼°ÈǤΠ\gnuplot{} ¤ËÂФ·¤ÆÅö¤Æ¤¿º¹Ê¬ (context diff) ¤â¡¢
1938 ²Äǽ¤Ê¤é¤Ð¤¹¤Ù¤Æ°úÍѤ¹¤Ù¤­¤Ç¤¹¡£
1939
1940
1941 %%% \subsection{Can I use \gnuplot{} routines for my own programs?}
1942 \subsection{»ä¤Î¥×¥í¥°¥é¥à¤Ç \gnuplot{} ¤Î¥ë¡¼¥Á¥ó¤òÍøÍѤǤ­¤Þ¤¹¤«}
1943
1944 %%% On systems supporting pipes, you can pipe commands to \gnuplot{} from other
1945 %%% programs. Many applications with gnuplot as the graphics engine, like Octave
1946 %%% (\http{www.octave.org}), uses this method. This also works from a 
1947 %%% cgi script to
1948 %%% drive \gnuplot{} from a forms-based web page.
1949 ¥Ñ¥¤¥×¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¥·¥¹¥Æ¥à¤Ç¤Ï¡¢
1950 ¾¤Î¥×¥í¥°¥é¥à¤«¤é¥Ñ¥¤¥×·Ðͳ¤Ç \gnuplot{} ¤Ë¥³¥Þ¥ó¥É¤òÅϤ¹¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
1951 Octave (\http{www.octave.org}) ¤Î¤è¤¦¤Ë¡¢
1952 gnuplot ¤ò¥°¥é¥Õ¥£¥Ã¥¯¥¨¥ó¥¸¥ó¤È¤·¤Æ»ÈÍѤ·¤Æ¤¤¤ë¿¤¯¤Î¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤¬
1953 ¤³¤ÎÊýË¡¤ò»ÈÍѤ·¤Æ¤¤¤Þ¤¹¡£
1954 ¤³¤ì¤Ï¡¢form ¥Ù¡¼¥¹¤Î Web ¥Ú¡¼¥¸¤«¤é \gnuplot{} ¤òµ¯Æ°¤¹¤ë cgi ¥¹¥¯¥ê¥×¥È¤Ç¤â
1955 ÍøÍѤǤ­¤Þ¤¹¡£
1956
1957 %%% John Campbell (\mailto{jdc@nauvax.ucc.nau.edu}) modified a much earlier
1958 %%% version of \gnuplot{} (3.5) to be a library of C subroutines callable 
1959 %%% from a C program.  Gnuplot itself has changed radically since then,
1960 %%% and we are not aware of any plans to create a similar library based on
1961 %%% the current version.
1962 John Campbell (\mailto{jdc@nauvax.ucc.nau.edu}) ¤Ï¡¢
1963 ¤«¤Ê¤êÁ°¤ÎÈÇ (3.5) ¤Î \gnuplot{} ¤ò²þÎɤ·¤Æ¡¢
1964 C ¥×¥í¥°¥é¥à¤«¤é¸Æ¤Ó½Ð¤»¤ë C ¤Î¥µ¥Ö¥ë¡¼¥Á¥ó¥é¥¤¥Ö¥é¥ê¤Ëºî¤ê¾å¤²¤Þ¤·¤¿¡£
1965 gnuplot ¤Ï¤½¤Î¸å·àŪ¤ËÊѲ½¤·¤Þ¤·¤¿¤¬¡¢
1966 ¸½ºß¤ÎÈǤ˴ð¤Å¤¯Æ±ÍͤΥ饤¥Ö¥é¥ê¤òºîÀ®¤¹¤ë¤è¤¦¤Ê·×²è¤Ï²æ¡¹¤ÏÃΤê¤Þ¤»¤ó¡£
1967
1968
1969 %%% \subsection{What extensions have people made to \gnuplot? Where can I get
1970 %%% them?}
1971 \subsection{¤É¤¦Äɲää³ÈÄ¥¤¬¤Ê¤µ¤ì¤Æ¤¤¤Þ¤¹¤«¡¢¤½¤ì¤Ï¤É¤¦¼ê¤ËÆþ¤ì¤é¤ì¤Þ¤¹¤«}
1972
1973 %%% Many extensions or patches are available on the "Patches" page of the
1974 %%% gnuplot development site
1975 %%% \http{sourceforge.net/tracker/?group_id=2055&atid=302055}.
1976 %%% The current development version will generally include some of these
1977 %%% being debugged for inclusion in a later official release of gnuplot.
1978 ¤¿¤¯¤µ¤ó¤Î³ÈÄ¥¤ä¥Ñ¥Ã¥Á¤¬¡¢gnuplot ¤Î³«È¯¥µ¥¤¥È %
1979 \http{sourceforge.net/tracker/?group_id=2055&atid=302055} %
1980 ¤Î "Patches" ¥Ú¡¼¥¸¤Ë¤¢¤ê¤Þ¤¹¡£
1981 ºÇ¿·¤Î³«È¯ÈǤϡ¢
1982 gnuplot ¤Îº£¸å¤ÎÀµ¼°¥ê¥ê¡¼¥¹¤Ë´Þ¤Þ¤»¤ë¤¿¤á¤Î¥Ç¥Ð¥Ã¥°¤ò¤·¤Ê¤¬¤é¡¢
1983 ¤À¤¤¤¿¤¤¤³¤ì¤é¤Î¤¤¤¯¤Ä¤«¤ò´Þ¤ó¤Ç¤¤¤­¤Þ¤¹¡£
1984
1985 %%% Older extensions, which may or may not work with the current version,
1986 %%% are available from \ftp{ftp.ucc.ie}{/pub/gnuplot/contrib/}.
1987 ¸½ºß¤ÎÈǤǤÏÆ°¤¯¤«¤É¤¦¤«Ê¬¤«¤ê¤Þ¤»¤ó¤¬¡¢
1988 ¸Å¤¤³ÈÄ¥¤Ï \ftp{ftp.ucc.ie}{/pub/gnuplot/contrib/} ¤Ë¤¢¤ê¤Þ¤¹ %
1989 (ÌõÃí: ¸½ºß (03/14 2005) ¤Ï¤½¤³¤Ë¤Ï¤Ê¤¤¤è¤¦¤Ç¤¹)¡£
1990
1991 %%% Some extensions available:
1992 ¸½ºß°Ê²¼¤Î¤è¤¦¤Ê³ÈÄ¥¤¬¤Ê¤µ¤ì¤Æ¤¤¤Þ¤¹:
1993 %% end Japanese
1994 \begin{itemize}
1995 %%% \item \texttt{date-errorbar}: allows dates in the hi/lo fields for 
1996 %%% errorbars.
1997 %%% \item \texttt{perltk}: A perl/tk canvas widget.
1998 %%% \item \texttt{polyg.patch}: Implements a polygon plotting style.
1999 %%% \item \texttt{xgfe}: graphical front end using the Qt widgets available at
2000 %%%       \http{www.tug.org/tex-archive/graphics/gnuplot/contrib/}.
2001 %%% \item \texttt{Gnuplot.py}: A python package to create graphs from
2002 %%% within python. More information at
2003 %%% \http{gnuplot-py.sourceforge.net}.
2004 \item \texttt{date-errorbar}: ¥¨¥é¡¼¥Ð¡¼¤Î¾å²¼¤Î¾ì½ê¤ËÆüÉեǡ¼¥¿¤ò»È¤¨¤ë
2005 \item \texttt{perltk}: perl/tk ¥­¥ã¥ó¥Ð¥¹ÍÑ¥¦¥£¥¸¥§¥Ã¥È
2006 \item \texttt{polyg.patch}: Â¿³Ñ·ÁÉÁ²è¥¹¥¿¥¤¥ë¤Î¼ÂÁõ
2007 \item \texttt{xgfe}: Qt ¥¦¥£¥¸¥§¥Ã¥È¤òÍѤ¤¤¿¥°¥é¥Õ¥£¥«¥ë¥Õ¥í¥ó¥È¥¨¥ó¥É %
2008       \http{www.tug.org/tex-archive/graphics/gnuplot/contrib/}.
2009 \item \texttt{Gnuplot.py}: Python Æâ¤Ç¥°¥é¥Õ¤òÀ¸À®¤¹¤ë¤¿¤á¤Î %
2010 Python ¥Ñ¥Ã¥±¡¼¥¸¡£¾Ü¤·¤¯¤Ï°Ê²¼¤ò»²¾È:
2011 \http{gnuplot-py.sourceforge.net}.
2012 %% end Japanese
2013 \end{itemize}
2014
2015
2016 %%% \subsection{I need an integration, fft, iir-filter,...!}
2017 \subsection{ÀÑʬ¤ä FFT ¤ä IIR ¥Õ¥£¥ë¥¿¤Ê¤É¤¬Íߤ·¤¤¤Î¤Ç¤¹¤¬}
2018
2019 %%% \Gnuplot{} has been and is a plotting program, not a data
2020 %%% processing or mathematical program suite. Therefore \gnuplot{}
2021 %%% can't do that. Look into the demo file "bivariat.dem" for a basic
2022 %%% implementation of an integration.
2023 \gnuplot{} ¤Ïº£¤Þ¤Ç¤â¡¢¤½¤·¤Æ¸½ºß¤âÉÁ²è¥×¥í¥°¥é¥à¤Ç¤¢¤ê¡¢¥Ç¡¼¥¿½èÍý¤ä¿ô¼°
2024 ½èÍý¥×¥í¥°¥é¥à¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£¤è¤Ã¤Æ¤½¤Î¤è¤¦¤Ê¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£ÀÑʬ¤Î
2025 ´ðËÜŪ¤Ê¼ÂÁõ¤Ë¤Ä¤¤¤Æ¤Ï demo ¤Î "bivariat.dem" ¤ò¸«¤Æ¤¯¤À¤µ¤¤¡£
2026
2027 %%% For more sophisticated data-processing read the next section.
2028 ¤è¤ê¹âµé¤Ê¥Ç¡¼¥¿½èÍý¤Ë¤Ä¤¤¤Æ¤Ï¼¡¤Î¥»¥¯¥·¥ç¥ó¤òÆɤó¤Ç¤¯¤À¤µ¤¤¡£
2029
2030
2031 %%% \subsection{Can I do heavy-duty data processing with \gnuplot? or
2032 %%% What is beyond \gnuplot?}
2033 \subsection{"heavy-duty" ¥Ç¡¼¥¿¤ò \gnuplot{} ¤Ç»È¤¨¤Þ¤¹¤«¡¢
2034 ¤Þ¤¿¤Ï \gnuplot{} ¤ËÊѤï¤ë¤â¤Î¤Ï¤Ê¤¤¤Ç¤¹¤«}
2035
2036 %%% \gnuplot{} alone is not suited very well for this. One thing you might try
2037 %%% is \texttt{fudgit}, an interactive multi-purpose fitting program written by
2038 %%% Martin-D. Lacasse (\texttt{isaac@frodo.physics.mcgill.ca}). It can use
2039 %%% \gnuplot{} as its graphics back end and is available from
2040 %%% \ftp{ftp.physics.mcgill.ca}{/pub/Fudgit/fudgit_2.33.tar.Z} and from
2041 %%% the main Linux server, tsx-11.mit.edu and its numerous mirrors around
2042 %%% the world as \texttt{/pub/linux/sources/usr.bin/fudgit-2.33.tar.z}.
2043 %%% Versions are available for AIX, Data General, HP-UX, IRIX 4, Linux,
2044 %%% NeXT, Sun3, Sun4, Ultrix, OS/2 and MS-DOS\@. The MS-DOS version is
2045 %%% available on simtel20 mirrors (simtel20 itself has closed down) in the
2046 %%% "math" subdirectory as \verb+fudg_231.zip+.
2047 \gnuplot{} Ã±ÆȤǤϤ¢¤Þ¤ê¤½¤ì¤Ë¤ÏŬ¤·¤Æ¤¤¤Þ¤»¤ó¡£
2048 \texttt{fudgit} ¤ò»î¤·¤Æ¤ß¤ë¤È¤¤¤¤¤Ç¤·¤ç¤¦¡£
2049 ¤³¤ì¤Ï Martin-D.Lacasse (\texttt{isaac@frodo.physics.mcgill.ca}) %
2050 ¤Ë¤è¤Ã¤Æ½ñ¤«¤ì¤¿ÂÐÏ÷¿Â¿ÌÜŪ¶ÊÀþÅö¤Æ¤Ï¤á¥×¥í¥°¥é¥à¤Ç¤¹¡£
2051 ¤³¤ì¤ÏÇظå¤Ç¥°¥é¥Õ¥£¥Ã¥¯½ÐÎϤΤ¿¤á¤Ë \gnuplot{} ¤òÍѤ¤¤Þ¤¹¡£
2052 \ftp{ftp.physics.mcgill.ca}{/pub/Fudgit/fudgit_2.33.tar.Z} ¤¬¤½¤ì¤Ç¤¹¡£
2053 ¤Þ¤¿¤Ï¡¢¼ç¤Ê Linux ¥µ¥¤¥È¤Ç¤¢¤ë %
2054 \ftp{tsx-11.mit.edu}{/pub/linux/sources/usr.bin/fudgit-2.33.tar.z} %
2055 ¤Ë¤â¤¢¤ê¤Þ¤¹¡£
2056 AIX, Data General, HP-UX, IRIX 4, Linux, NeXT, Sun3, Sun4, Ultrix, 
2057 OS/2, MS-DOS ¤Î³Æ OS ¤ÇÆ°ºî¤·¡¢
2058 DOS ÈǤϠsimtel20 ¤Î¥ß¥é¡¼¥µ¥¤¥È (simtel20 ¼«¿È¤ÏÊĺ¿¤µ¤ì¤Þ¤·¤¿) ¤Î %
2059 "math" ¥Ç¥£¥ì¥¯¥È¥ê¤Ë \verb+fudg_231.zip+ ¤È¤·¤ÆÃÖ¤¤¤Æ¤¢¤ê¤Þ¤¹¡£
2060
2061 %%% Carsten Grammes has written a fitting program which has been
2062 %%% merged into \gnuplot{} 3.7.
2063 Carsten Grammes ¤¬½ñ¤¤¤¿Åö¤Æ¤Ï¤á¥×¥í¥°¥é¥à¤Ï %
2064 \gnuplot{} 3.7 ¤Ë¼è¤ê¹þ¤Þ¤ì¤Þ¤·¤¿¡£
2065
2066 %%% Michael Courtney has written a program called lsqrft, which uses the
2067 %%% Levenberg-Marquardt - algorithm for fitting data to a function. It is
2068 %%% available from
2069 %%% \ftp{hobbes.nmsu.edu}{/pub/os2/apps/analysis/lsqrft15.zip};
2070 %%% sources, which should compile on Unix, and executables for MS-DOS and
2071 %%% OS/2 are available.  There is an interface to the OS/2 presentation
2072 %%% manager.
2073 Michael Courtney ¤Ï lsqrft ¤È¸Æ¤Ð¤ì¤ë¥×¥í¥°¥é¥à¤ò½ñ¤­¤Þ¤·¤¿¡£
2074 ¤³¤ì¤Ï¥Ç¡¼¥¿¤ò´Ø¿ô¤ËÅö¤Æ¤Ï¤á¤ë¤Î¤Ë Levenberg-Marquardt %
2075 ¥¢¥ë¥´¥ê¥º¥à¤ò»ÈÍѤ·¤Þ¤¹¡£
2076 Unix ¤Ç¥³¥ó¥Ñ¥¤¥ë²Äǽ¤Ê¥½¡¼¥¹¡¢¤½¤·¤Æ MS-DOS, OS/2 ÍѤμ¹ԥХ¤¥Ê¥ê¤Ï %
2077 \ftp{hobbes.nmsu.edu}{/pub/os2/apps/analysis/lsqrft15.zip} ¤Ë¤¢¤ê¤Þ¤¹¡£
2078 OS/2 ¥×¥ì¥¼¥ó¥Æ¡¼¥·¥ç¥ó¥Þ¥Í¡¼¥¸¥ã¤ËÂФ¹¤ë¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤â¤¢¤ê¤Þ¤¹¡£
2079
2080 %%% You might also want to look at the applications developed by
2081 %%% the Software Tools Group (STG) at the National Center for
2082 %%% Supercomputing Applications. Ftp to ftp.ncsa.uiuc.edu
2083 %%% and get the file README.BROCHURE for more information.
2084 NCSA (National Center for Supercomputing Applications) ¤Î STG 
2085 (Software Tools Group) ¤Ë¤è¤Ã¤Æ³«È¯¤µ¤ì¤¿¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤¬¸«¤¿¤±¤ì¤Ð¡¢
2086 ¾ÜºÙ¤Ï ftp.ncsa.uiuc.edu ¤Ë ftp ¤·¤Æ¡¢README.BROCHURE ¤ò¼èÆÀ¤·¤Æ¤¯¤À¤µ¤¤¡£
2087
2088 %%% You can also try pgperl, an integration of the PGPLOT plotting
2089 %%% package with Perl 5. Information can be found at
2090 %%% \http{www.ast.cam.ac.uk/AAO/local/www/kgb/pgperl}, the source is
2091 %%% available from \ftp{ftp.ast.cam.ac.uk}{/pub/kgb/pgperl/} or
2092 %%% \ftp{linux.nrao.edu}{/pub/packages/pgperl/}.
2093 pgperl ¤ò»î¤·¤Æ¤â¤¤¤¤¤Ç¤·¤ç¤¦¡£
2094 ¤³¤ì¤Ï Perl 5 ¤Ë¤è¤Ã¤Æ PGPLOT ¥×¥í¥Ã¥È¥Ñ¥Ã¥±¡¼¥¸¤òÅý¹ç¤·¤¿¤â¤Î¤Ç¤¹¡£
2095 ¤³¤ì¤Ë´Ø¤¹¤ë¾ðÊó¤Ï %
2096 \http{www.ast.cam.ac.uk/AAO/local/www/kgb/pgperl} ¤Ç¸«¤Ä¤«¤ê¤Þ¤¹¤·¡¢
2097 ¥½¡¼¥¹¤Ï \ftp{ftp.ast.cam.ac.uk}{/pub/kgb/pgperl/}¡¢
2098 ¤Þ¤¿¤Ï \ftp{linux.nrao.edu}{/pub/packages/pgperl/} ¤Ë¤¢¤ê¤Þ¤¹¡£
2099
2100 %%% Another possibility is \textbf{Octave}. To quote from its README: Octave is a
2101 %%% high-level language, primarily intended for numerical computations. Octave is
2102 %%% licensed under GPL, and in principle, it is a free Matlab clone. 
2103 %%% It provides a
2104 %%% convenient command line interface for solving linear and nonlinear problems
2105 %%% numerically. The latest released version of Octave is always available from
2106 %%% \http{www.octave.org}. By the way, octave uses \gnuplot{} as its plotting
2107 %%% engine, so you get a data-processing program on top of \gnuplot{}.
2108 ¾¤ÎÊýË¡¤È¤·¤Æ Octave ¤¬¤¢¤ê¤Þ¤¹¡£README ¤ò°úÍѤ·¤Þ¤¹: 
2109 Octave ¤Ï¹â¿å½à¸À¸ì¤Ç¡¢¼ç¤Ë¿ôÃÍ·×»»ÍѤǤ¹¡£
2110 Octave ¤Ï GPL ¥é¥¤¥»¥ó¥¹¤Ë½¾¤¤¡¢¸¶Â§Åª¤Ë¥Õ¥ê¡¼¤Ê Matlab ¥¯¥í¡¼¥ó¤Ç¤¹¡£
2111 Àþ·Á¤äÈóÀþ·Á¤ÎÌäÂê¤ò¿ôÃÍŪ¤Ë²ò¤¯¤Î¤ËÊØÍø¤Ê
2112 ¥³¥Þ¥ó¥É¥é¥¤¥ó¥¤¥ó¥¿¡¼¥Õ¥§¡¼¥¹¤òÈ÷¤¨¤Æ¤¤¤Þ¤¹¡£
2113 Octave ¤ÎºÇ¿·ÈǤϾï¤Ë \http{www.octave.org} ¤Ë¤¢¤ê¤Þ¤¹¡£
2114 ¤È¤³¤í¤Ç¡¢octave ¤Ï \gnuplot{} ¤òÉÁ²è¥¨¥ó¥¸¥ó¤È¤·¤Æ»È¤¤¤Þ¤¹¤Î¤Ç¡¢
2115 \gnuplot{} ¤ËÄɲ乤ë¥Ç¡¼¥¿½èÍý¥×¥í¥°¥é¥à¤ò¼ê¤ËÆþ¤ì¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£
2116
2117 %%% Finally, there is \texttt{scilab} at \http{www-rocq.inria.fr/scilab/}
2118 %%% doing about the same as matlab. It is free but copyrighted
2119 %%% software.
2120 ºÇ¸å¤Ë¡¢\texttt{scilab} ¤â \http{www-rocq.inria.fr/scilab/} ¤Ë¤¢¤ê¤Þ¤¹¡£
2121 ¤³¤ì¤Ï matlab ¤È¤Û¤ÜƱÍͤËÆ°ºî¤·¤Þ¤¹¡£
2122 ¤³¤ì¤â¥Õ¥ê¡¼¤Ç¤¹¤¬Ãøºî¸¢¤ÏÊü´þ¤µ¤ì¤Æ¤¤¤Ê¤¤ (GPL ¤Ç¤Ï¤Ê¤¤) ¥½¥Õ¥È¥¦¥§¥¢¤Ç¤¹¡£
2123
2124
2125 %%% \subsection{Mouse in my interactive terminal does not work}
2126 \subsection{»ä¤ÎÂÐÏ÷¿¥¿¡¼¥ß¥Ê¥ë¤Ç¤Ï¥Þ¥¦¥¹¤¬¸ú¤­¤Þ¤»¤ó}
2127
2128 %%% If your mouse is not working, try to hit 'm' in the interactive terminal to
2129 %%% switch mousing on/off. See below for the list of supported interactive
2130 %%% terminals.
2131 ¥Þ¥¦¥¹¤¬¸ú¤«¤Ê¤¤¾ì¹ç¡¢¤½¤ÎÂÐÏ÷¿¥¿¡¼¥ß¥Ê¥ë¤Ç 'm' ¤òÂǤäƤߤƤ¯¤À¤µ¤¤¡£
2132 ¤³¤ì¤Ï¥Þ¥¦¥¹µ¡Ç½¤Î On/Off ¤ò¹Ô¤Ê¤¤¤Þ¤¹¡£
2133 ¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ëÂÐÏ÷¿¥¿¡¼¥ß¥Ê¥ë¤Î°ìÍ÷¤Ë¤Ä¤¤¤Æ¤Ï°Ê²¼¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
2134
2135 %%% If it still does not run, then either gnuplot has not been configured or
2136 %%% compiled with mouse support, or you have not properly installed it, 
2137 %%% or running
2138 %%% an older version of gnuplot (check your \texttt{PATH}).
2139 ¤½¤ì¤Ç¤â¤Þ¤ÀÆ°ºî¤·¤Ê¤¤¾ì¹ç¡¢
2140 gnuplot ¤¬¥Þ¥¦¥¹µ¡Ç½¤ò¥µ¥Ý¡¼¥È¤¹¤ë¤è¤¦¤Ë configure ¤µ¤ì¤Ê¤«¤Ã¤¿¤«
2141 ¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤Ê¤«¤Ã¤¿¤«¡¢
2142 ¤Á¤ã¤ó¤È¥¤¥ó¥¹¥È¡¼¥ë¤·¤Ê¤«¤Ã¤¿¤«¡¢
2143 ¤¢¤ë¤¤¤Ï gnuplot ¤Î¸Å¤¤¥Ð¡¼¥¸¥ç¥ó¤ò»È¤Ã¤Æ¤¤¤ë¤« %
2144 (¤¢¤Ê¤¿¤Î \texttt{PATH} ¤ò¥Á¥§¥Ã¥¯¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤) ¤Ç¤·¤ç¤¦¡£
2145
2146 %%% If your gnuplot is running as the plotting engine of Octave under X11, then
2147 %%% please put \texttt{set mouse} into your \texttt{\$HOME/.gnuplot} (preferred
2148 %%% than putting \texttt{gset mouse} into \texttt{\$HOME/.octaverc}). This is
2149 %%% needed only for gnuplot 4.0: according to its \texttt{help x11\_mouse},
2150 %%% gnuplot 4.0 under x11 running through a pipe needs \texttt{set mouse} to be
2151 %%% executed before launching the x11 plot window.
2152 gnuplot ¤¬ X11 ¾å¤Î Octave ¤ÎÉÁ²è¥¨¥ó¥¸¥ó¤È¤·¤ÆÆ°ºî¤·¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢
2153 ¤¢¤Ê¤¿¤Î \texttt{\$HOME/.gnuplot} ¤ÎÃæ¤Ë %
2154 \texttt{set mouse} ¤ÈÆþ¤ì¤Æ¤¯¤À¤µ¤¤ %
2155 (\texttt{\$HOME/.octaverc} ¤ÎÃæ¤Ë \texttt{gset mouse} %
2156 ¤È¤¹¤ë¤è¤ê¤¤¤¤¤Ç¤·¤ç¤¦)¡£
2157 °Ê²¼¤Ï gnuplot 4.0 ¤Ë¤Î¤ß´Ø¤¹¤ë¤³¤È¤Ç¤¹¤¬¡¢¤½¤Î \texttt{help x11\_mouse} %
2158 ¤Ë¤è¤ì¤Ð¡¢x11 ¾å¤Ç¥Ñ¥¤¥×¤òÄ̤·¤Æ gnuplot ¤¬µ¯Æ°¤·¤Æ¤¤¤ë¾ì¹ç¤Ï %
2159 x11 ÉÁ²è¥¦¥£¥ó¥É¥¦¤¬µ¯Æ°¤¹¤ëÁ°¤Ë \texttt{set mouse} %
2160 ¤ò¼Â¹Ô¤¹¤ëɬÍפ¬¤¢¤ë¤è¤¦¤Ç¤¹¡£
2161
2162 %%% \subsection{How to use hotkeys in my interactive terminals}
2163 \subsection{»ä¤ÎÂÐÏ÷¿¥¿¡¼¥ß¥Ê¥ë¤Ç¤É¤Î¤è¤¦¤Ë¥Û¥Ã¥È¥­¡¼¤ò»È¤¨¤Ð¤¤¤¤¤Ç¤¹¤«}
2164
2165 %%% There are several hotkeys available in interactive terminals.
2166 %%% Currently the following interactive terminals support hotkeys and mousing:
2167 %%% OS/2 Presentation Manager, X11, Windows, WX, and GGI. Hit 'h' 
2168 %%% in the terminal
2169 %%% to get list of hotkeys. 
2170 ÂÐÏ÷¿¥¿¡¼¥ß¥Ê¥ë¤Ç¤Ï¤¤¤¯¤Ä¤«¤Î¥Û¥Ã¥È¥­¡¼¤¬Í­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£
2171 ¸½ºß¤Ï¼¡¤ÎÂÐÏ÷¿¥¿¡¼¥ß¥Ê¥ë¤¬¥Û¥Ã¥È¥­¡¼¤È¥Þ¥¦¥¹µ¡Ç½¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹:
2172 OS/2 ¥×¥ì¥¼¥ó¥Æ¡¼¥·¥ç¥ó¥Þ¥Í¡¼¥¸¥ã (pm), X11, Windows, WX, GGI¡£
2173 'h' ¤ò¤½¤Î¥¿¡¼¥ß¥Ê¥ë¤ÎÃæ¤ÇÂǤĤȡ¢¥Û¥Ã¥È¥­¡¼¤Î°ìÍ÷¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£
2174 %%% See \texttt{help new-features} or the \textbf{Features introduced 
2175 %%% in version 4.0} 
2176 %%% section in the docs for a brief guide over mousing and hotkeys. 
2177 %%% Further, you may read \texttt{help mouse} and \texttt{help bind} for more
2178 %%% information.
2179 ¥Þ¥¦¥¹µ¡Ç½¤ä¥Û¥Ã¥È¥­¡¼¤Ë´Ø¤¹¤ë³µÍפϡ¢
2180 \texttt{help new-features} ¤ä¥É¥­¥å¥á¥ó¥È¤Î %
2181 \textbf{Features introduced in version 4.0} ¥»¥¯¥·¥ç¥ó¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
2182 ¤µ¤é¤Ë¡¢
2183 \texttt{help mouse} ¤ä \texttt{help bind} ¤«¤é¤â¾ðÊó¤¬ÆÀ¤é¤ì¤ë¤Ç¤·¤ç¤¦¡£
2184
2185
2186 %%% \subsection{I have ported \gnuplot{} to another system, or patched it. What
2187 %%% do I do?}
2188 \subsection{\gnuplot{} ¤ò¾¤Î¥·¥¹¥Æ¥à¤Ë°Ü¿¢¡¢¤Þ¤¿¤Ï¥Ñ¥Ã¥Á¤òºî¤ê¤Þ¤·¤¿¡£
2189 ¤É¤¦¤·¤¿¤é¤¤¤¤¤Ç¤¹¤«}
2190
2191 %%% If your patch is small, mail it to
2192 %%% \mailto{gnuplot-beta@lists.sourceforge.net},
2193 %%% with a thorough description of what the patch is supposed to
2194 %%% do, which version of \gnuplot{} it is relative to, etc. Well, please do it
2195 %%% always with respect to the current development version of gnuplot (see 'cvs'
2196 %%% above).
2197 ¤½¤Î¥Ñ¥Ã¥Á¤¬¾®¤µ¤±¤ì¤Ð¡¢¤½¤Î¥Ñ¥Ã¥Á¤¬²¿¤ò¤·¤è¤¦¤È¤¹¤ë¤Î¤«¡¢
2198 ¤É¤ÎÈǤΠ\gnuplot{} ¤¬Âоݤ«¤Ê¤É¤Î¾Ü¤·¤¤ÀâÌÀ¤ò¤Ä¤±¤Æ %
2199 \mailto{gnuplot-beta@lists.sourceforge.net} ¤Ø¥á¡¼¥ë¤·¤Æ¤¯¤À¤µ¤¤¡£
2200 ¤Ç¤­¤ë¤À¤±¡¢¾ï¤ËºÇ¿·¤Î³«È¯ÈǤΠgnuplot ÍѤ˺î¤Ã¤Æ¤¯¤À¤µ¤¤ %
2201 (¾å¤Î 'cvs' ¤â»²¾È¤·¤Æ¤¯¤À¤µ¤¤)¡£
2202
2203 %%% Nowadays, the preferred way of submitting, commenting and upgrading 
2204 %%% patches are
2205 %%% via 'Patches' section on \http{www.sourceforge.net/projects/gnuplot/}.
2206 %%% You may want to send a note to \mailto{gnuplot-beta@lists.sourceforge.net} for
2207 %%% more lively discussion.
2208 ¸½ºß¤Ï¡¢Åê¹Æ¤è¤ê¤â¤à¤·¤í¡¢
2209 \http{www.sourceforge.net/projects/gnuplot/} %
2210 ¤Î 'Patches' ¥»¥¯¥·¥ç¥ó¤òÄ̤·¤Æ¥³¥á¥ó¥È¤¹¤ë¤«
2211 ¥Ñ¥Ã¥Á¤ò¹¹¿·¤¹¤ëÊý¤¬Ë¾¤Þ¤·¤¤¤Ç¤¹¡£
2212 \mailto{gnuplot-beta@lists.sourceforge.net} ¤Ï¡¢
2213 ¤è¤ê³èȯ¤ÊµÄÏÀ¤Î¤¿¤á¤ÎÏÀÅÀ¤òÁ÷¤Ã¤Æ失¤ë¤È¤¢¤ê¤¬¤¿¤¤¤Ç¤¹¡£
2214
2215
2216 %%% \subsection{I want to help in developing the next version of \gnuplot.
2217 %%% What can I do?}
2218 \subsection{\gnuplot{} ¤Î¼¡´ü¥Ð¡¼¥¸¥ç¥ó¤Î³«È¯¤Ë¤Ä¤¤¤ÆÃΤꤿ¤¤¤Î¤Ç¤¹¤¬
2219 ¤É¤¦¤·¤¿¤é¤¤¤¤¤Ç¤¹¤«}
2220
2221 %%% Join the \gnuplot{} beta test mailing list by sending a mail
2222 %%% containing the line
2223 %%% \verb+subscribe gnuplot-beta+
2224 %%% in the body (not the subject) of the mail to
2225 %%% \mailto{Majordomo@lists.sourceforge.net}.
2226 \gnuplot{} ¤Î¥Ù¡¼¥¿¥Æ¥¹¥È¥á¡¼¥ê¥ó¥°¥ê¥¹¥È¤ËÆþ¤Ã¤Æ¤¯¤À¤µ¤¤¡£
2227 ¥á¡¼¥ëËÜʸ (¥á¡¼¥ë¥¿¥¤¥È¥ë¤Ç¤Ï¤Ê¤¯) ¤Ë \verb+subscribe gnuplot-beta+ %
2228 ¤È½ñ¤¤¤Æ¥á¡¼¥ë¤ò %
2229 \mailto{Majordomo@lists.sourceforge.net} ¤ËÁ÷¤Ã¤Æ¤¯¤À¤µ¤¤¡£
2230
2231 %%% Also check with \http{sourceforge.net/projects/gnuplot} about latest
2232 %%% source for beta releases for development.
2233 ¤Þ¤¿¤Ï \http{sourceforge.net/projects/gnuplot} %
2234 ¤Ë³«È¯¥Ù¡¼¥¿ÈǤκǿ·¥½¡¼¥¹¤¬¤¢¤ê¤Þ¤¹¤Î¤Ç¥Á¥§¥Ã¥¯¤·¤Æ¤¯¤À¤µ¤¤¡£
2235
2236
2237 %%% \subsection{Open questions for inclusion into the FAQ?}
2238 \subsection{FAQ ¤Ë´Þ¤Þ¤ì¤ë¤è¤¦¤Ê̤²ò·è¤Î¼ÁÌä¤Ï ?}
2239
2240
2241 %\mailto{gnuplot-beta@lists.sourceforge.net}¡£
2242
2243 %%% Please submit your questions (along with the answer) to 
2244 %%% \mailto{gnuplot-beta@lists.sourceforge.net}.
2245 ¤½¤Î¼ÁÌä¤ò (²óÅú¤È°ì½ï¤Ë) 
2246 \mailto{gnuplot-beta@lists.sourceforge.net} ¤ØÁ÷¤Ã¤Æ¤¯¤À¤µ¤¤¡£
2247
2248
2249 %%% \section{Making life easier}
2250 \section{¤¦¤Þ¤¯°·¤¦¤Ë¤Ï (Making life easier)}
2251
2252 %%% \subsection{How do I plot two functions in non-overlapping regions?}
2253 \subsection{¤É¤¦¤·¤¿¤é 2 ¤Ä¤Î´Ø¿ô¤ò½Å¤Ê¤é¤Ê¤¤¤è¤¦¤Ë½ñ¤±¤Þ¤¹¤«}
2254
2255 %%% Use a parametric plot. An example:
2256 ¥Ñ¥é¥á¡¼¥¿ (parametric) ¤òÍѤ¤¤ÆÉÁ²è¤¹¤ì¤Ð¤¤¤¤¤Ç¤·¤ç¤¦¡£Îã: 
2257 %% end Japanese
2258 \begin{verbatim}
2259 gnuplot> set parametric
2260 gnuplot> a=1
2261 gnuplot> b=3
2262 gnuplot> c=2
2263 gnuplot> d=4
2264 gnuplot> x1(t) = a+(b-a)*t
2265 gnuplot> x2(t) = c+(d-c)*t
2266 gnuplot> f1(x) = sin(x)
2267 gnuplot> f2(x) = x**2/8
2268 gnuplot> plot [t=0:1] x1(t),f1(x1(t)) title "f1", x2(t), f2(x2(t)) title "f2"
2269 \end{verbatim}
2270
2271 %%% You can also use \gnuplot's ability to ignore mathematically undefined
2272 %%% expressions: the expression \verb+1/0+ is silently ignored, thus a
2273 %%% construction like
2274 \gnuplot{} ¤Î¡¢¿ô³ØŪ¤ËÄêµÁ¤µ¤ì¤Ê¤¤¿ô¼°¤ò̵»ë¤¹¤ëµ¡Ç½¤ò»È¤¦¤³¤È¤â¤Ç¤­¤Þ¤¹¡£
2275 \verb+1/0+ ¤È¤¤¤¦¿ô¼°¤ÏÌۤäÆ̵»ë¤·¤Þ¤¹¤Î¤Ç¡¢Î㤨¤Ð
2276 %% end Japanese
2277 \begin{verbatim}
2278 gnuplot> set xran [-10:10]
2279 gnuplot> plot (abs(x)>0.5?1/0: x**2)
2280 \end{verbatim}
2281 %%% plots a quadratic function only for \verb+|x| < 0.5+.
2282 ¤Î¤è¤¦¤Ë¤¹¤ë¤È 2 ¾è¤Î´Ø¿ô¤ò \verb+|x| < 0.5+ ¤ÎÈϰϤǤΤßÉÁ²è¤·¤Þ¤¹¡£
2283
2284
2285 %%% \subsection{How do I run my data through a filter before plotting?}
2286 \subsection{¤É¤¦¤·¤¿¤éÉÁ²èÁ°¤Ë¥Ç¡¼¥¿¤Ë¥Õ¥£¥ë¥¿¤ò¤«¤±¤é¤ì¤Þ¤¹¤«}
2287
2288 %%% If your system supports the popen() function, as Unix does, you
2289 %%% should be able to run the output through another process, for
2290 %%% example a short awk program, such as
2291 ¤½¤Î¥·¥¹¥Æ¥à¤¬¡¢Unix ¤Î¤è¤¦¤Ë popen() ´Ø¿ô¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¤Ê¤é¡¢
2292 ¾¤Î¥×¥í¥»¥¹¤Î½ÐÎϤò»È¤Ã¤Æ¼Â¹Ô¤¹¤ë¤³¤È¤¬²Äǽ¤Ç¤¹¡£
2293 Î㤨¤Ð¡¢¼¡¤Î¤è¤¦¤Ê awk ¤Îû¤¤¥×¥í¥°¥é¥à¤¬»È¤¨¤Þ¤¹:
2294
2295 \begin{verbatim}
2296 gnuplot> plot "< awk ' { print $1, $3/$2 } ' file.in"
2297 \end{verbatim}
2298 %$
2299
2300 %%% The plot command is very powerful and is able to do some
2301 %%% arithmetic on datafiles. See \verb+help plot+.
2302 plot ¥³¥Þ¥ó¥É¤Ï¤È¤Æ¤â¶¯ÎϤǡ¢
2303 ¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤ËÂФ¹¤ë¤¢¤ë¼ï¤ÎÂå¿ô½èÍý¤â²Äǽ¤Ç¤¹¡£
2304 \verb+help plot+ ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
2305
2306 %%% The above filtering works seamlessly under Unixes and OS/2. It can work
2307 %%% under MS
2308 %%% Windows as well, but that is for experienced users: (A) When gnuplot has been
2309 %%% compiled by cygwin with the unixish way of \verb+./configure+; 
2310 %%% \verb+make+ with
2311 %%% X11 terminal instead of the 'windows' terminal. You have to run this under an
2312 %%% X-server. This procedure is out of knowledge for usual users, but powerful
2313 %%% for others. (B) Compile gnuplot yourself by \verb+makefile.mgw+ or
2314 %%% \verb+makefile.cyg+ and set \verb+PIPES=1+ therein. The drawback is that
2315 %%% each \verb+wgnuplot.exe+ will be accompanied by a boring shell box.
2316 ¾å¤Î¥Õ¥£¥ë¥¿¤Ï¡¢Unix ¤ä¤½¤Î¸ß´¹ OS¡¢OS/2 ¤Ç¤Ï¥¹¥à¡¼¥º¤ËÆ°ºî¤·¤Þ¤¹¡£
2317 MS Windows ¤Ç¤âƱÍͤËÆ°ºî¤Ï¤·¤Þ¤¹¤¬¡¢
2318 ·Ð¸³¤òÀѤó¤À¥æ¡¼¥¶¸þ¤±¤Ç¤¹:
2319 (A) gnuplot ¤¬ cygwin ¤Ç¡¢unix ÁêÅö¤Î sh ¤Ç¡¢
2320 'windows' terminal ¤Ç¤Ï¤Ê¤¯ X11 terminal ¤Ç %
2321 \verb+./configure+; \verb+make+ ¤È¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤¿¾ì¹ç¡£
2322 ¤³¤Î¾ì¹ç¤Ï X-¥µ¡¼¥Ð¾å¤Ç¤³¤ì¤ò¼Â¹Ô¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
2323 ¤³¤Î¼ê³¤­¤ÏÄ̾ï¤Î¥æ¡¼¥¶¤Ë¤È¤Ã¤Æ¤ÏÃ챤ÎÈϰϤò±Û¤¨¤Þ¤¹¤¬¡¢
2324 ¤½¤Î¾¤Î¿Í¤Ë¤È¤Ã¤Æ¤Ï¤È¤Æ¤â¶¯ÎϤǤ¹¡£
2325 (B) \verb+makefile.mgw+ ¤« \verb+makefile.cyg+ ¤ÎÃæ¤Ç \verb+PIPES=1+ %
2326 ¤È¥»¥Ã¥È¤·¤Æ¡¢¤³¤ì¤Ç gnuplot ¤ò¼«Ê¬¼«¿È¤Ç¥³¥ó¥Ñ¥¤¥ë¤·¤¿¾ì¹ç¡£
2327 ¤³¤Î¾ì¹ç¤Î·çÅÀ¤Ï¡¢
2328 ¸Ä¡¹¤Î \verb+wgnuplot.exe+ ¤¬ÉԳʹ¥¤Ê¥·¥§¥ë¥Ü¥Ã¥¯¥¹¤òȼ¤¦¤³¤È¤Ç¤¹¡£
2329
2330
2331 %%% \subsection{How do I make it easier to use \gnuplot{} with \LaTeX{}?}
2332 \subsection{¤É¤¦¤·¤¿¤é \gnuplot{} ¤Î²èÁü¤ò³Ú¤Ë \LaTeX{} ¤Ç°·¤¨¤Þ¤¹¤«}
2333
2334 %%% There is a set of \LaTeX{} macros and shell scripts that are meant
2335 %%% to make your life easier when using \gnuplot{} with \LaTeX{}. This
2336 %%% package can be found on \ftp{ftp.dartmouth.edu}{pub/gnuplot/latex.shar},
2337 %%% by David Kotz.
2338 %%% For example, the program "plotskel" can turn a gnuplot-output
2339 %%% file plot.tex into a skeleton file skel.tex, that has the same
2340 %%% size as the original plot but contains no graph. With the right
2341 %%% macros, the skeleton can be used for preliminary \LaTeX{} passes,
2342 %%% reserving the full graph for later passes, saving tremendous
2343 %%% amounts of time.
2344 \LaTeX{} ¤È¤È¤â¤Ë \gnuplot{} ¤ò»È¤¦¾ì¹ç¡¢
2345 ¤½¤ì¤ò³Ú¤Ë¤·¤Æ¤¯¤ì¤ë¤è¤¦¤Ê %
2346 \LaTeX{} ¤Î¥Þ¥¯¥í¤È¥·¥§¥ë¥¹¥¯¥ê¥×¥È¤Î¥»¥Ã¥È¤¬¤¢¤ê¤Þ¤¹¡£
2347 ¤½¤Î¥Ñ¥Ã¥±¡¼¥¸¤Ï David Kotz ¤Ë¤è¤ë¤â¤Î¤Ç¡¢
2348 \ftp{ftp.dartmouth.edu}{pub/gnuplot/latex.shar} ¤Ë¤¢¤ê¤Þ¤¹¡£
2349 (ÌõÃí: ¸½ºß (03/14 2005) ¤Ï¤½¤³¤Ë¤Ï¤Ê¤¤¤è¤¦¤Ç¤¹¡£
2350 archie ¤Ç gnuplot-latex.shar ¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤òõ¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤) %
2351 Î㤨¤Ð "plotskel" ¤Ï \gnuplot{} ¤Î½ÐÎϤ¹¤ë¥Õ¥¡¥¤¥ë plot.tex %
2352 ¤«¤é¹üÁȤߤΥե¡¥¤¥ë skel.tex ¤òÀ¸À®¤·¤Þ¤¹¡£
2353 ¤½¤ì¤Ï¸µ¤Î¥°¥é¥Õ¤ÈƱ¤¸¥µ¥¤¥º¤Ç¤¹¤¬¡¢²¿¤âÉÁ²èÉôʬ¤ò»ý¤Á¤Þ¤»¤ó¡£
2354 ¤½¤Î¹üÁȤߤÏŬÀڤʥޥ¯¥í¤È¶¦¤Ë \LaTeX{} ¥³¥ó¥Ñ¥¤¥ë¤Î¥Æ¥¹¥È¤Ç»È¤¦¤³¤È¤¬¤Ç¤­¡¢
2355 ¤½¤ì¤Ï¸å¤Ë¹Ô¤Ê¤¦¥°¥é¥Õ¤ò¤Á¤ã¤ó¤È´Þ¤ó¤À¥³¥ó¥Ñ¥¤¥ë¤Î½àÈ÷¤ËÌòΩ¤Á¡¢
2356 ËÜÍ襳¥ó¥Ñ¥¤¥ë¤Ë¤«¤«¤ë¿¤¯¤Î»þ´Ö¤òÀáÌ󤷤Ƥ¯¤ì¤Þ¤¹¡£
2357
2358
2359 %%% \subsection{How do I save and restore my settings?}
2360 \subsection{¤É¤¦¤·¤¿¤éÀßÄê¤òÊݸ/ºÆÍøÍѤǤ­¤Þ¤¹¤«}
2361
2362 %%% Use the \verb+save+ and \verb+load+ commands for this; see \verb+help save+
2363 %%% and \verb+help load+ for details.
2364 ¤½¤ì¤Ë¤Ï\verb+save+ ¤È\verb+load+ ¤Î¥³¥Þ¥ó¥É¤ò»È¤Ã¤Æ¤¯¤À¤µ¤¤¡£
2365 ¾ÜºÙ¤Ï\verb+help save+ ¤È\verb+help load+ ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
2366
2367 %%% You can save the current terminal and restore it later without touching the
2368 %%% filesystem by \texttt{set term push} and \texttt{set term pop}, respectively.
2369 \texttt{set term push} ¤È \texttt{set term pop} ¤ò»È¤¨¤Ð¡¢
2370 ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤ò¿¨¤ë¤³¤È¤Ê¤¯
2371 ¤½¤ì¤¾¤ì¸½ºß¤Î½ÐÎÏ·Á¼°¤ÎÊݸ¤È¤½¤Î¸å¤ÎÉüµ¢¤¬¤Ç¤­¤Þ¤¹¡£
2372
2373
2374 %%% \subsection{How do I plot lines (not grids) using splot?}
2375 \subsection{¤É¤¦¤·¤¿¤é splot ¤Ç¶ÊÀþ (³Ê»Ò¤Ç¤Ê¤¤) ¤ò½ñ¤±¤Þ¤¹¤«}
2376
2377 %%% If the data in a data file for splot is arranged in such a way
2378 %%% that each one has the same number of data points (using blank
2379 %%% lines as delimiters, as usual), splot will plot the data with a
2380 %%% grid. If you want to plot just lines, use a different number of
2381 %%% data entries (you can do this by doubling the last data point,
2382 %%% for example). Don't forget to \texttt{set parametric} mode, of course.
2383 splot ¤Î¥Ç¡¼¥¿¥Õ¥¡¥¤¥ë¤Î¥Ç¡¼¥¿¤¬¤¤¤º¤ì¤âƱ¤¸¿ô¤Î¥Ç¡¼¥¿ÅÀ¤ò»ý¤Ä¤è¤¦¤Ë %
2384 (¶èÀÚ¤ê¤Ï¤¤¤Ä¤â¤Î¤è¤¦¤Ë¶õ¹Ô¤Ç) Â·¤¨¤é¤ì¤Æ¤¤¤ë¾ì¹ç¡¢
2385 splot ¤Ï¥Ç¡¼¥¿¤ò³Ê»Ò¤ÇÉÁ²è¤·¤Þ¤¹¡£
2386 ñ¤Ë¶ÊÀþ¤À¤±¤Ç½ñ¤­¤¿¤¤¤Ê¤é¤Ð¡¢¥Ç¡¼¥¿¥¨¥ó¥È¥ê¤Î¸Ä¿ô¤¬°Û¤Ê¤ë¤è¤¦¤Ë %
2387 (Î㤨¤ÐºÇ¸å¤ÎÅÀ¤À¤±Æ±¤¸¤â¤Î¤ò 2 ¤Ä¤Ä¤±¤ë¤È¤«) ¤·¤Æ¤¯¤À¤µ¤¤¡£
2388 ¤â¤Á¤í¤ó¡¢\texttt{set parametric} ¤ò¥»¥Ã¥È¤¹¤ë¤³¤È¤ò˺¤ì¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£
2389
2390
2391 %%% \subsection{How do I plot a function f(x,y) that is bounded by other
2392 %%%           functions in the x-y plane?}
2393 \subsection{¤É¤¦¤·¤¿¤é x-y Ê¿Ì̾å¤Ç¾¤Î´Ø¿ô¤ËÀ©¸Â¤µ¤ì¤Æ¤¤¤ë f(x,y) ¤Î
2394           ¥°¥é¥Õ¤ò½ñ¤±¤Þ¤¹¤«}
2395
2396 %%% An example:
2397 Îã:
2398 %% end Japanese
2399 \begin{verbatim}
2400 gnuplot> f(x,y) = x**2 + y **2
2401 gnuplot> x(u) = 3*u
2402 gnuplot> yu(x) = x**2
2403 gnuplot> yl(x) = -x**2
2404 gnuplot> set parametric
2405 gnuplot> set cont
2406 gnuplot> splot [0:1] [0:1] u,yl(x(u))+(yu(x(u)) - yl(x(u)))*v,\
2407 > f(x(u), (yu(x(u)) - yl(x(u)))*v)
2408 \end{verbatim}
2409
2410
2411 %%% \subsection{How do I turn off <feature> in a plot?}
2412 \subsection{¤É¤¦¤·¤¿¤éÉÁ²è¤ÎÀßÄê¤ò̵¸ú¤Ë¤Ç¤­¤Þ¤¹¤«}
2413
2414 %%% Most gnuplot features are controlled by a corresponding set/unset command.
2415 %%% If a feature is enabled by default, or by using \verb+set <feature>+, 
2416 %%% then you
2417 %%% should be able to turn it by using \verb+set no<feature>+. However, 
2418 %%% the prefered 
2419 %%% syntax since version 4.0 is \verb+unset <feature>+.
2420 ¤¿¤¤¤Æ¤¤¤Î gnuplot ¤Îµ¡Ç½¤Ï¡¢Âбþ¤¹¤ë set/unset ¥³¥Þ¥ó¥É¤ÇÀ©¸æ¤Ç¤­¤Þ¤¹¡£
2421 ¥Ç¥Õ¥©¥ë¥È¤ÇÍ­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤ëµ¡Ç½¡¢
2422 ¤¢¤ë¤¤¤Ï \verb+set <feature>+ ¤ÇÍ­¸ú¤Ë¤·¤¿µ¡Ç½¤Ï¡¢
2423 ¤½¤ì¤ò \verb+set no<feature>+ ¤Ç̵¸ú¤Ë¤Ç¤­¤Þ¤¹¡£
2424 ¤¿¤À¡¢version 4.0 ¤«¤é¤Ï¤½¤Î½ñ¼°¤Ï¤à¤·¤í \verb+unset <feature>+ %
2425 ¤È¤¹¤Ù¤­¤Ç¤¹¡£
2426
2427
2428 %%% \subsection{How do I call \gnuplot{} from my own programs?}
2429 \subsection{¤É¤¦¤·¤¿¤é¥×¥í¥°¥é¥à¤«¤é \gnuplot{} ¤ò¸Æ¤Ó½Ð¤»¤Þ¤¹¤«}
2430
2431 %%% On unix-like systems, commands to gnuplot can be piped via stdin.
2432 %%% Output from \gnuplot{}'s \verb+print+ command can be read via a named pipe. 
2433 %%% On M\$ Windows platforms, due to the lacking standard
2434 %%% input (stdin) in GUI programs, you need to use the helper program 
2435 %%% \texttt{pgnuplot}
2436 %%% which should be included in your gnuplot for M\$W distribution package.
2437 %%% Reading \gnuplot{} output may be impossible.
2438 unix ¸ß´¹¥·¥¹¥Æ¥à¾å¤Ê¤é¤Ð¡¢gnuplot ¤Ø¤Î¥³¥Þ¥ó¥É¤òɸ½àÆþÎÏ (stdin) %
2439 ¤«¤é¥Ñ¥¤¥×¤ÇÅϤ»¤Þ¤¹¡£
2440 \gnuplot{} ¤«¤é¤Î \verb+print+ ¥³¥Þ¥ó¥É¤Ï¡¢
2441 ̾Á°¤Ä¤­¥Ñ¥¤¥×¤ÇÆɤ߽Ф¹¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
2442 M\$ Windows ¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤Ç¤Ï¡¢GUI ¥×¥í¥°¥é¥à¤Îɸ½àÆþÎÏ (stdin) %
2443 ¤¬»È¤¨¤Ê¤¤¤¿¤á¡¢
2444 \texttt{pgnuplot} ¤È¤¤¤¦¥Ø¥ë¥Ñ¡¼¥×¥í¥°¥é¥à¤ò»È¤¦É¬Íפ¬¤¢¤ê¤Þ¤¹¡£
2445 ¤³¤ì¤Ï¤ª»È¤¤¤Î M\$W ÍѤΠgnuplot ÇÛÉۥѥ屡¼¥¸¤Ë´Þ¤Þ¤ì¤Æ¤¤¤ë¤Ç¤·¤ç¤¦¡£
2446 \gnuplot{} ¤Î½ÐÎϤòÆɤ߽Ф¹¤³¤È¤Ï¿ʬ¤Ç¤­¤Þ¤»¤ó¡£
2447
2448
2449 %%% \subsection{What if I need h-bar (Planck's constant)?}
2450 \subsection{Planck Äê¿ô (h ¤Ë²£Àþ) ¤¬É¬ÍפʤȤ­¤Ï¤É¤¦¤·¤¿¤é¤¤¤¤¤Ç¤¹¤«}
2451
2452 %%% The most straightforward way is to use a UTF-8 font, and type in the
2453 %%% $\hbar$ character (Unicode code point \#x210F) directly. 
2454 ºÇ¤â¼«Á³¤ÊÊýË¡¤Ï¡¢UTF-8 ¥Õ¥©¥ó¥È¤ò»È¤¤¡¢Ê¸»ú $\hbar$ (Unicode ¥³¡¼¥É
2455 ¥Ý¥¤¥ó¥È \#x210F) ¤òľÀÜÆþÎϤ¹¤ë¤³¤È¤Ç¤¹¡£
2456
2457 %%% This does not work in PostScript, however, so you must use approximations
2458 %%% like
2459 %%% \verb+ @{/=56 -} {/=24 h}+ or
2460 %%% \verb+ {/=8 @{/Symbol=24 -} _{/=14 h}}+
2461 %%% In the latter, the "-" (a long one in /Symbol) is non-spacing and 24-pt.
2462 %%% The 14-pt "h" is offset by an 8-pt space (which is the space preceding
2463 %%% the "\_") but smaller, since it's written as a subscript.
2464 %%% But these don't look too much like the hbar we're used to, since the bar
2465 %%% is horizontal instead of sloped.  I don't see a way to get that.  I
2466 %%% tried using an accent (character 264 in iso-latin-1 encoding), 
2467 %%% but I haven't found a
2468 %%% way to scale and position the pieces correctly.
2469 %%% One more possibility would be \verb+{/=14 @^{/Symbol=10 -}{/=14 h}}+.
2470 ¤·¤«¤·¡¢¤³¤ì¤Ï PostScript ¤Ç¤Ï¤¦¤Þ¤¯¤¤¤­¤Þ¤»¤ó¤Î¤Ç¡¢Î㤨¤Ð¼¡¤Î¤è¤¦¤Ê
2471 ¼¡Á±¤Îºö¤òÍѤ¤¤ëɬÍפ¬¤¢¤ê¤Þ¤¹:
2472 \verb+ @{/=56 -} {/=24 h}+ ¤Þ¤¿¤Ï \verb+{/=8 @{/Symbol=24 -} _{/=14 h}}+ %
2473 ¸å¼Ô¤Ç¤Ï 24pt (¥Ý¥¤¥ó¥È) ¤Î "-" 
2474 (/Symbol ¥Õ¥©¥ó¥È¤ÎÃæ¤ÎŤ¤¥Ï¥¤¥Õ¥ó) ¤¬¥¹¥Ú¡¼¥¹¤Ê¤·¤Ç»È¤ï¤ì¤Þ¤¹¡£
2475 14pt ¤Î "h" ¤Ï 8pt ¤Î¥¹¥Ú¡¼¥¹ ("\_" ¤ÎÁ°¤Ë¤¢¤ë¥¹¥Ú¡¼¥¹) %
2476 ¤À¤±¤º¤é¤µ¤ì¤ÆÃÖ¤«¤ì¤Þ¤¹¤¬¡¢
2477 ¤½¤ì¤Ï²¼ÉÕ¤­Ê¸»ú¤È¤·¤Æ½ñ¤«¤ì¤ë¤Î¤Ç¾®¤µ¤¤Ê¸»ú¤Ë¤Ê¤ê¤Þ¤¹¡£
2478 ¤·¤«¤·¤½¤ì¤é¤ÏÄ̾ï²æ¡¹¤¬»ÈÍѤ¹¤ë¥×¥é¥ó¥¯Äê¿ô¤Îµ­¹æ¤È¤Ï°ã¤Ã¤Æ¤¤¤Æ¡¢
2479 ²£Àþ¤Ï¼ÐÀþ¤Ç¤Ï¤Ê¤¯¿åÊ¿Àþ¤Ë¤Ê¤ê¤Þ¤¹¡£
2480 (iso-latin-1 ¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°¤Îʸ»ú 264 ¤Ê¤É)¡¢
2481 ¤½¤ÎÂ礭¤µ¤È°ÌÃÖ¤òÀµ¤·¤¯¤¹¤ëÊýË¡¤ò¸«¤Ä¤±¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¤Ç¤·¤¿¡£
2482 ¤â¤¦°ì¤Ä¤ÎÊýË¡¤Ï \verb+{/=14 @^{/Symbol=10 -}{/=14 h}}+ ¤È¤¹¤ë¤³¤È¤Ç¤¹¡£
2483
2484 %%% The reduced Planck's constant can be set very easily by using the
2485 %%% AMS-LaTeX PostScript fonts which are available from
2486 %%% \http{www.ams.org/tex/amsfonts.html} (also included in many LaTeX
2487 %%% distributions). \Gnuplot{} (confer the help about \verb+ fontpath+) and the
2488 %%% PostScript interpreter (usually Ghostscript) have to know where the
2489 %%% file \verb+ msbm10.pfb+ (or \verb+ msbm10.pfa+) resides. Use
2490 %%% \verb+ {/MSBM10 \175}+ to produce \verb+ \hslash+ which is a "h"
2491 %%% superimposed by a sloped bar. The standard \verb+ \hbar+ (horizontal
2492 %%% bar) has the octal code 176. Please note that h-bar exists only as an
2493 %%% italic type.
2494 AMS-LaTeX ¤Î PostScript ¥Õ¥©¥ó¥È%
2495 (\http{www.ams.org/tex/amsfonts.html} ¤Ë¤¢¤ê¡¢
2496 ¤½¤·¤Æ¿¤¯¤Î LaTeX ÇÛÉۤˤâ´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹) ¤ò»È¤¨¤Ð¡¢
2497 ¤È¤Æ¤â´Êñ¤Ë¾®¤µ¤¤ Planck Äê¿ô¤ò¥»¥Ã¥È¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¤¬¡¢%
2498 \gnuplot{} (\verb+ fontpath+ ¤Ë´Ø¤¹¤ë¥Ø¥ë¥×¤ò¸«¤Æ¤¯¤À¤µ¤¤) ¤È¡¢
2499 PostScript ¥¤¥ó¥¿¡¼¥×¥ê¥¿ (Ä̾ï Ghostscript) ¤¬
2500 ¥Õ¥¡¥¤¥ë \verb+ msbm10.pfb+ (¤Þ¤¿¤Ï \verb+ msbm10.pfa+) ¤¬
2501 ¤É¤³¤Ë¤¢¤ë¤«¤òÃΤëɬÍפ¬¤¢¤ê¤Þ¤¹¡£%
2502 "h" ¤Ë·¹¼Ð¤Î¤Ä¤¤¤¿²£ËÀ¤ò½Å¤Í¤¿ \verb+ \hslash+ ¤òÀ¸À®¤¹¤ë¤Ë¤Ï%
2503 \verb+ {/MSBM10 \175}+ ¤ò»È¤Ã¤Æ¤¯¤À¤µ¤¤¡£
2504 Ä̾ï¤Î \verb+ \hbar+ (¿åÊ¿¤Î²£ËÀ) ¤Ï 8 ¿Ê¿ô¤Î 176 ¤Ç¤¹¡£
2505 ¤¿¤À¤·¡¢¿åÊ¿¤Î²£ËÀ¤Ï¥¤¥¿¥ê¥Ã¥¯ÂΤȤ·¤Æ¤·¤«Â¸ºß¤·¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
2506
2507 %%% \subsection{What if I need the Solar math symbol?}
2508 \subsection{ÂÀÍۤΤ褦¤Ê¿ô³Øµ­¹æ (´Ý¤ËÅÀ) ¤¬É¬ÍפʤȤ­¤Ï¤É¤¦¤·¤¿¤é¤¤¤¤¤Ç¤¹¤«}
2509
2510 %%% As with Planck's constant, the most straightforward way is to use a 
2511 %%% UTF-8 font, and type in the $\odot$ character (Unicode code point 
2512 %%% \#x2299) directly. 
2513 Planck Äê¿ô¤ÈƱÍÍ¡¢ºÇ¤â¼«Á³¤ÊÊýË¡¤Ï UTF-8 ¥Õ¥©¥ó¥È¤ò»È¤¤¡¢Ê¸»ú $\odot$ 
2514 (Unicode ¥³¡¼¥É¥Ý¥¤¥ó¥È \#2299) ¤òľÀÜÆþÎϤ¹¤ë¤³¤È¤Ç¤¹¡£
2515
2516
2517 %%% \subsection{How do I produce blank output page?}
2518 \subsection{Á´¤¯²¿¤â¤Ê¤¤¥Ú¡¼¥¸¤ò½ÐÎϤ¹¤ë¤Ë¤Ï}
2519
2520 %%% Well, you probably don't want a blank page, but page with a just a title 
2521 %%% (overprinting title in another graph in multiplot page):
2522 ¤¦¡¼¤ó¡¢Â¿Ê¬¤½¤ì¤ÏÁ´¤¯²¿¤â½ÐÎϤ·¤¿¤¯¤Ê¤¤¤ï¤±¤Ç¤Ï¤Ê¤¯¤Æ¡¢
2523 ¥¿¥¤¥È¥ë¤À¤±¤Î¤â¤Î¤ò½ÐÎϤ·¤¿¤¤¤¸¤ã¤Ê¤¤¤Ç¤·¤ç¤¦¤« %
2524 (multiplot ¤Î¥Ú¡¼¥¸¤Î¾¤Î¥°¥é¥Õ¤Ë½Å¤Í¤ë¤è¤¦¤Ê):
2525
2526 \begin{verbatim}
2527 reset; unset xtics; unset ytics
2528 unset border; unset key
2529 set title 'Title on an empty page'
2530 plot [][0:1] 2
2531 \end{verbatim}
2532
2533
2534 %%% \section{Common problems}
2535 \section{¶¦Ä̤ÎÌäÂê}
2536
2537
2538 %%% \subsection{Help! None of my fonts work.}
2539 \subsection{½õ¤±¤Æ! »ä¤Î¥Õ¥©¥ó¥È¤¬»È¤¨¤Ê¤¤¡£}
2540
2541 %%% Gnuplot does not do font handling by itself; it must necessarily leave
2542 %%% that to the individual device support libraries. Unfortunately, this
2543 %%% means that different terminal types need different help in finding
2544 %%% fonts. Here are some quick hints. For more detailed information please
2545 %%% see the gnuplot documentation for the specific terminal type you are
2546 %%% having problems with.
2547 gnuplot ¤Ï¡¢¤½¤ì¼«¿È¤Ç¤Ï¥Õ¥©¥ó¥È½èÍý¤ò¹Ô¤¤¤Þ¤»¤ó¤Î¤Ç¡¢
2548 ¤½¤ì¤ÏɬÁ³Åª¤Ë¸Ä¡¹¤Î¥Ç¥Ð¥¤¥¹¤ò¥µ¥Ý¡¼¥È¤¹¤ë¥é¥¤¥Ö¥é¥ê¤ËǤ¤»¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£
2549 »ÄÇ°¤Ê¤¬¤é¤³¤ì¤Ï¡¢¥Õ¥©¥ó¥È¤Î¸¡½Ð¤Ë¤ª¤¤¤Æ¤Ï¡¢°Û¤Ê¤ë½ÐÎÏ·Á¼°¤Ë¤Ï
2550 °Û¤Ê¤ëÀâÌÀ¤¬É¬ÍפÀ¤È¤¤¤¦¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¤Î¤Ç¡¢
2551 ¤³¤³¤Ç¤Ï¡¢´Êñ¤Ê¥Ò¥ó¥È¤ò¤¤¤¯¤Ä¤«¾å¤²¤Æ¤ª¤­¤Þ¤¹¡£
2552 ¾Ü¤·¤¤¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¡¢¤¢¤Ê¤¿¤¬ÌäÂê¤Ë¤·¤Æ¤¤¤ë½ÐÎÏ·Á¼°ÍѤΠ%
2553 gnuplot ¤Î¥É¥­¥å¥á¥ó¥È¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
2554
2555 \begin{description}
2556 %%% \item [{png/jpeg/gif}] These terminal types use the libgd support 
2557 %%% library, which
2558 %%% searches for fonts in the directories given in the environmental variable
2559 %%% GDFONTPATH. Once you get libgd fontpaths sorted out, you will probably
2560 %%% want to set a default font for gnuplot.
2561 %%% For example: \verb+setenv GNUPLOT_DEFAULT_GDFONT verdana+
2562 \item [{png/jpeg/gif}] 
2563 ¤³¤ì¤é¤Î½ÐÎÏ·Á¼°¤Ï¡¢libgd ¤È¤¤¤¦¥µ¥Ý¡¼¥È¥é¥¤¥Ö¥é¥ê¤ò»ÈÍѤ·¡¢
2564 ¤³¤ì¤Ï´Ä¶­ÊÑ¿ô GDFONTPATH ¤ÇÍ¿¤¨¤é¤ì¤ë¥Ç¥£¥ì¥¯¥È¥êÆâ¤Ë¥Õ¥©¥ó¥È¤òõ¤·¤Þ¤¹¡£
2565 ¤½¤Î¤è¤¦¤Ë libgd ¤Î¥Õ¥©¥ó¥È¥Ñ¥¹¤òÀßÄꤹ¤ë¤È¡¢
2566 º£Å٤Ϡgnuplot ¤Î¥Ç¥Õ¥©¥ë¥È¥Õ¥©¥ó¥È¤òÀßÄꤷ¤¿¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£
2567 Îã: \verb+setenv GNUPLOT_DEFAULT_GDFONT verdana+
2568 %%% \item [{pdf}] The libpdf support library should have come with an associated
2569 %%% font configuration file, usually installed as /usr/local/share/pdflib.upr.
2570 %%% The environmental variable PDFLIBRESOURCE should point to this file.
2571 \item [{pdf}] 
2572 ¤³¤Î¥µ¥Ý¡¼¥È¥é¥¤¥Ö¥é¥ê libpdf ¤Ï¡¢´ØÏ¢¤¹¤ë¥Õ¥©¥ó¥ÈÀßÄê¥Õ¥¡¥¤¥ë¤ò»²¾È¤·¤Þ¤¹¡£
2573 Ä̾綠¤ì¤Ï /usr/local/share/pdflib.upr ¤È¤·¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Þ¤¹¡£
2574 ´Ä¶­ÊÑ¿ô PDFLIBRESOURCE ¤Ï¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤Î°ÌÃÖ¤ò¼¨¤·¤Þ¤¹¡£
2575 %%% \item [{post}] PostScript font names are not resolved until the document
2576 %%% is printed. Gnuplot does not know what fonts are available to your
2577 %%% printer, so it will accept any font name you give it. However, it
2578 %%% is possible to bundle a font with the gnuplot output; please see the
2579 %%% instructions given by gnuplot's internal command {}``help set term
2580 %%% post fontfile''.
2581 \item [{post}]
2582 PostScript ¥Õ¥©¥ó¥È̾¤Ï¡¢¤½¤Îʸ½ñ¤¬°õºþ¤µ¤ì¤ë¤Þ¤Ç»²¾È¤µ¤ì¤Þ¤»¤ó¤«¤é¡¢
2583 ¤¢¤Ê¤¿¤Î¥×¥ê¥ó¥¿¤Ç¤É¤Î¥Õ¥©¥ó¥È¤¬Í­¸ú¤Ç¤¢¤ë¤«¤ò gnuplot ¤ÏÃΤê¤Þ¤»¤ó¡£
2584 ¤è¤Ã¤Æ¡¢¤É¤ó¤Ê¥Õ¥©¥ó¥È̾¤Ç¤â»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
2585 ¤·¤«¤·¡¢gnuplot ¤Î½ÐÎϤ˥ե©¥ó¥È¤òËä¤á¹þ¤à¤³¤È¤Ï²Äǽ¤Ç¤¹¡£¤½¤ì¤Ë¤Ä¤¤¤Æ¤Ï¡¢
2586 gnuplot ¤ÎÆâÉô¥³¥Þ¥ó¥É ``help set term post fontfile'' ¤ÇÆÀ¤é¤ì¤ë
2587 »Ø¼¨¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
2588 %%% \item [{svg}] Font handling is viewer-dependent. 
2589 \item [{svg}] ¥Õ¥©¥ó¥È½èÍý¤Ï¡¢¥Ó¥å¡¼¥ï°Í¸¤Ç¤¹¡£
2590 %%% \item [{x11}] The x11 terminal uses the normal x11 font server mechanism.
2591 %%% The only tricky bit is that in order to use multi-byte fonts you must
2592 %%% explicitly say so:
2593 \item [{x11}]
2594 x11 ½ÐÎÏ·Á¼°¤Ï¡¢Ä̾ï¤Î x11 ¥Õ¥©¥ó¥È¥µ¡¼¥Ðµ¡¹½¤ò»ÈÍѤ·¤Þ¤¹¤¬¡¢
2595 ¾¯¤·¤À¤±¥È¥ê¥Ã¥­¡¼¤ÊÅÀ¤¬¤¢¤ê¡¢¥Þ¥ë¥Á¥Ð¥¤¥È¥Õ¥©¥ó¥È¤ò»ÈÍѤ¹¤ë¤¿¤á¤Ë¤Ï¡¢
2596 ÌÀ¼¨Åª¤Ë°Ê²¼¤Î¤è¤¦¤Ë»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹:
2597 %% end Japanese
2598 \begin{verbatim}
2599 set term x11 font "mbfont:sazanami mincho,vera,20"
2600 \end{verbatim}
2601 %%% \item [{win}] Right-click in the control window, then select "Choose font"
2602 %%% from the pull-down menu.
2603 \item [{win}] 
2604 ¥³¥ó¥È¥í¡¼¥ë¥¦¥£¥ó¥É¥¦Æâ¤Ç±¦¥Ü¥¿¥ó¤ò¥¯¥ê¥Ã¥¯¤·¡¢
2605 ¥×¥ë¥À¥¦¥ó¥á¥Ë¥å¡¼¤«¤é "Choose font" ¤òÁªÂò¤·¤Þ¤¹¡£
2606 %%% \item [{wxt}] On linux systems, the wxt terminal can find fonts indexed
2607 %%% by the fontconfig utility.
2608 \item [{wxt}] 
2609 Linux ¥·¥¹¥Æ¥à¤Ç¤Ï¡¢wxt ½ÐÎÏ·Á¼°¤Ï fontconfig ¤Ç´ÉÍý¤µ¤ì¤Æ¤¤¤ë¥Õ¥©¥ó¥È¤ò
2610 ¸«¤Ä¤±¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
2611 %% end Japanese
2612 \end{description}
2613
2614
2615 %%% \subsection{\Gnuplot{} is not plotting any points under X11! How come?}
2616 \subsection{X11 ¤Ç \gnuplot{} ¤¬¤É¤ó¤ÊÅÀ¤âÉÁ²è¤·¤Þ¤»¤ó¡£¤É¤¦¤·¤¿¤é¤¤¤¤¤Ç¤¹¤«}
2617 %% end Japanese
2618 %%
2619 %%Very probably, you still are using an old version of
2620 %%gnuplot\_x11. Remove that, then do a full installation.
2621 %%
2622 %%% On VMS, you need to make several symbols:
2623 VMS ¾å¤Ç¤Ï¤¤¤¯¤Ä¤«¤Îµ­¹æ¤òºî¤é¤Ê¤±¤ì¤Ð¤¤¤±¤Þ¤»¤ó:
2624
2625 \begin{verbatim}
2626         $ gnuplot_x11 :== $disk:[directory]gnuplot_x11
2627         $ gnuplot :== $disk:[directory]gnuplot.exe
2628         $ def/job GNUPLOT$HELP disk:[directory]gnuplot.hlb
2629 \end{verbatim}
2630
2631 %%% Then run \gnuplot{} from your command line, and use
2632 %%% \verb+set term x11+.
2633 ¤½¤·¤Æ \gnuplot{} ¤ò¥³¥Þ¥ó¥É¥é¥¤¥ó¤«¤éµ¯Æ°¤·¡¢
2634 \verb+set term x11+ ¤È¤·¤Æ¤¯¤À¤µ¤¤¡£
2635
2636 %%% If you run \gnuplot{} on Unix systems, be sure that the newest
2637 %%% \verb+gnuplot_x11+ is the first in your search path.
2638 %%% Command \verb+which gnuplot_x11+ will help you.
2639 Unix ¾å¤Ç \gnuplot{} ¤òÆ°¤«¤¹¾ì¹ç¤Ï¡¢
2640 ºÇ¿·¤Î \verb+gnuplot_x11+ ¤¬¸¡º÷¥Ñ¥¹¤ÎºÇ½é¤Ë¸½¤ï¤ì¤Æ¤¤¤ë¤«³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£
2641 ¥³¥Þ¥ó¥É \verb+which gnuplot_x11+ ¤¬»²¹Í¤Ë¤Ê¤ë¤Ç¤·¤ç¤¦¡£
2642
2643
2644 %%% \subsection{Why does \gnuplot{} ignore my very small numbers?}
2645 \subsection{¤Ê¤¼ \gnuplot{} ¤Ï¤È¤Æ¤â¾®¤µ¤¤¿ô»ú¤Î¥Ç¡¼¥¿¤ò̵»ë¤¹¤ë¤Î¤Ç¤¹¤«}
2646
2647
2648 %%% \Gnuplot{} treats all numbers less than 1e-08 as zero, by default.
2649 %%% Thus, if you are trying to plot a collection of very small
2650 %%% numbers, they may be plotted as zero. Worse, if you're plotting
2651 %%% on a log scale, they will be off scale. Or, if the whole set of
2652 %%% numbers is "zero", your range may be considered empty:
2653 \gnuplot{} ¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï 1e-08 ¤è¤ê¾®¤µ¤¤Á´¤Æ¤Î¿ô¤ò 0 ¤È¤·¤Æ°·¤¤¤Þ¤¹¡£
2654 ¤è¤Ã¤Æ¤È¤Æ¤â¾®¤µ¤¤¿ô¤Î½¸¤Þ¤ê¤òÉÁ²è¤·¤è¤¦¤È¤¹¤ë¤È
2655 ¤½¤ì¤é¤Ï 0 ¤È¤·¤ÆÉÁ²è¤µ¤ì¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
2656 Âпô¼´¤ÇÉÁ²è¤¹¤ë¾ì¹ç¤Ï¡¢
2657 ¤â¤Ã¤È¤Ò¤É¤¤¤³¤È¤Ë¤½¤ì¤é¤ÏÌÜÀ¹¤ê¤«¤é¤Ï¤º¤ì¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
2658 ¤Þ¤¿¡¢Á´¤Æ¤Î¿ô¤¬ "0" ¤Ç¤¢¤ë¾ì¹ç¡¢
2659 ÈϰϤ϶õ¤Ç¤¢¤ë¤È¤ß¤Ê¤µ¤ì¤Þ¤¹ (ÌõÃí: \gnuplot{} 3.6 °ÊÁ°¤Î»ÅÍÍ):
2660
2661
2662 \begin{verbatim}
2663 gnuplot> plot 'test1'
2664 Warning: empty y range [4.047e-19:3e-11], adjusting to [-1:1]
2665 gnuplot> set yrange [4e-19:3e-11]
2666 gnuplot> plot 'test1'
2667               ^
2668 y range is less than `zero`
2669 \end{verbatim}
2670
2671 %%% The solution is to change \gnuplot's idea of "zero":
2672 ¤½¤ÎÂкö¤Ï \gnuplot{} ¤Î "zero" ¤Î³µÇ°¤òÊѹ¹¤¹¤ë¤³¤È¤Ç¤¹¡£
2673 %% end Japanese
2674 \begin{verbatim}
2675 gnuplot> set zero 1e-20
2676 \end{verbatim}
2677
2678 %%% For more information, type \verb+help set zero+.
2679 ¤è¤ê¾Ü¤·¤¤¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï \verb+help set zero+ ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
2680
2681
2682 %%% \subsection{\Gnuplot{} is not plotting on the screen when run from command
2683 %%%     line via '\texttt{gnuplot filename.gp}'}
2684 \subsection{¥³¥Þ¥ó¥É¥é¥¤¥ó¤«¤é '\texttt{gnuplot filename.gp}' ¤È¤·¤Æ¤â
2685     ²¿¤âɽ¼¨¤·¤Æ¤¯¤ì¤Þ¤»¤ó}
2686
2687 %%% Obviously, it draws (unless there is an error in the script file), 
2688 %%% but the plot
2689 %%% dissappears immediately when the script is completed. 
2690 ¤½¤ì¤Ï¤Á¤ã¤ó¤ÈÉÁ¤¤¤Æ¤¤¤ë¤ó¤Ç¤¹¤¬ %
2691 (¥¹¥¯¥ê¥×¥È¥Õ¥¡¥¤¥ë¤Ë¥¨¥é¡¼¤¬¤Ê¤±¤ì¤Ð)¡¢
2692 ¥¹¥¯¥ê¥×¥È¤¬´°Î»¤·¤¿¤È¤­¤ËÉÁ²è¤¬¤¹¤°¤Ë¾Ã¤¨¤Æ¤¤¤ë¡¢
2693 ¤È¤¤¤¦¤³¤È¤ÏÌÀÇò¤Ç¤¹¡£
2694
2695 %%% Solution 1: Put a \verb+pause -1+ after the plot command in the file, 
2696 %%% or at the
2697 %%% file end.
2698 ²ò 1: ¥Õ¥¡¥¤¥ë¤Î¡¢plot ¥³¥Þ¥ó¥É¤Î²¼¤Ë pause -1 ¤òÄɲ䷤Ƥ¯¤À¤µ¤¤¡£
2699
2700 %%% Solution 2: Use command \verb+gnuplot filename.gp -+ (yes, dash is the last
2701 %%% parameter) to stay in the interactive regime when the script completes.
2702 ²ò 2: \verb+gnuplot filename.gp -+ 
2703 (¤½¤¦¡¢¥À¥Ã¥·¥å¤òºÇ¸å¤Î°ú¿ô¤Ë¤·¤Þ¤¹) ¤ò»È¤Ã¤Æ¤¯¤À¤µ¤¤¡£
2704 ¤³¤ì¤Ë¤è¤ê¡¢¥¹¥¯¥ê¥×¥È¤¬´°Î»¤·¤¿¤éÂÐÏ÷¿¥â¡¼¥É¤Ë°Ü¹Ô¤·¤Þ¤¹¡£
2705
2706 %%% Solution 3A: On an X-Window System system, you can also use the 
2707 %%% \verb+-persist+
2708 %%% option, the X11 window is then not closed. Close the X11 window by typing "q"
2709 %%% when the focus is on it.
2710 ²ò 3A: X-Window System ¤Ê¤é¤Ð¡¢
2711 gnuplot ¤Î \verb+-persist+ ¥ª¥×¥·¥ç¥ó¤ò»È¤¦¤³¤È¤â¤Ç¤­¤Þ¤¹¡£
2712 ¤½¤Î¾ì¹ç¡¢X11 ¤ÎÉÁ²è¥¦¥£¥ó¥É¥¦¤Ï³«¤¤¤¿¤Þ¤Þ¤Ë¤Ê¤ê¤Þ¤¹¡£
2713 ¤½¤Î¥¦¥£¥ó¥É¥¦¤òÊĤ¸¤ë¤Ë¤Ï¤½¤Î¾å¤Ë¥Õ¥©¡¼¥«¥¹¤ò»ý¤Ã¤Æ¹Ô¤Ã¤Æ %
2714 "q" ¤ò¥¿¥¤¥×¤·¤Æ¤¯¤À¤µ¤¤¡£
2715
2716 %%% Solution 3B: On M\$ Windows, you can also use either \verb+-persist+ or
2717 %%% \verb+/noend+.
2718 ²ò 3B: M\$ Windows ¤Ç¤Ï¡¢\verb+-persist+ ¥ª¥×¥·¥ç¥ó¡¢
2719 ¤¢¤ë¤¤¤Ï \verb+/noend+ ¥ª¥×¥·¥ç¥ó¤¬»È¤¨¤Þ¤¹¡£
2720
2721 %%% Solution 4: For OS/2 PM terminal, use \verb+set term pm persist+ or
2722 %%% \verb+set term pm server+. For X11 terminal, use \verb+set term x11 persist+.
2723 ²ò 4: OS/2 PM ½ÐÎÏ·Á¼°¤Ç¤Ï¡¢\verb+set term pm persist+¡¢
2724 ¤Þ¤¿¤Ï \verb+set term pm server+ ¤ò»ÈÍѤ·¤Æ¤¯¤À¤µ¤¤¡£
2725 X11 ½ÐÎÏ·Á¼°¤Ç¤Ï \verb+set term x11 persist+ ¤È¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£
2726
2727
2728 %%% \subsection{My formulas (like 1/3) are giving me nonsense results! 
2729 %%% What's going on?}
2730 \subsection{½ñ¤¤¤¿¼° (1/3 ¤Ê¤É) ¤¬°ÕÌ£¤Î¤Ê¤¤·ë²Ì¤ò½ÐÎϤ·¤Æ¤·¤Þ¤¤¤Þ¤¹}
2731
2732 %%% \Gnuplot{} does integer, and not floating point, arithmetic on
2733 %%% integer expressions. For example, the expression 1/3 evaluates
2734 %%% to zero. If you want floating point expressions, supply
2735 %%% trailing dots for your floating point numbers. Example:
2736 \gnuplot{} ¤ÏÀ°¿ô¤Î¼°¤Î¾ì¹ç¡¢¼Â¿ô±é»»¤Ç¤Ï¤Ê¤¯À°¿ô±é»»¤ò¹Ô¤Ê¤¤¤Þ¤¹¡£
2737 Î㤨¤Ð¼° 1/3 ¤Ï 0 ¤Èɾ²Á¤µ¤ì¤Þ¤¹¡£
2738 ¤â¤·¼Â¿ô¤ÎÃͤ¬Íߤ·¤¤¤Ê¤é¤Ð¡¢¤½¤Î¿ô¤Î¸å¤Ë¥É¥Ã¥È "." ¤ò¤Ä¤±¤Æ¤¯¤À¤µ¤¤¡£
2739 Îã:
2740
2741
2742 \begin{verbatim}
2743 gnuplot> print 1/3
2744                 0
2745 gnuplot> print 1./3.
2746                 0.333333
2747 \end{verbatim}
2748
2749 %%% This way of evaluating integer expressions is shared by both C and Fortran.
2750 À°¿ô¤Î¼°¤ò¤³¤Î¤è¤¦¤Ë¤·¤Æɾ²Á¤¹¤ë¤ä¤êÊý¤Ï %
2751 C ¤ä Fortran ¤Ç¤â¹Ô¤Ê¤ï¤ì¤Æ¤¤¤Þ¤¹¡£
2752
2753 %
2754 % Outdated, isn't it?!
2755 %
2756 %\subsection{My Linux \gnuplot complains about a missing
2757 %\texttt{gnuplot\_x11}. What is wrong? }
2758 %
2759 %The binary \gnuplot distribution from sunsite.unc.edu and its
2760 %mirrors in \texttt{Linux/apps/math/gplotbin.tgz} is missing one
2761 %executable that is necessary to access the x11 terminal. Please
2762 %install \gnuplot from another Linux distribution, e.g.
2763 %Slackware.
2764
2765
2766 %%% \subsection{Set output 'filename' isn't outputting everything it
2767 %%% should!}
2768 \subsection{set output '¥Õ¥¡¥¤¥ë̾' ¤¬²¿¤â½ÐÎϤ·¤Æ¤¯¤ì¤Þ¤»¤ó}
2769
2770 %%% You may need to flush the output with a closing \verb+set output+.
2771 \verb+set output+ ¤Ë¤è¤Ã¤Æ½ÐÎϤò¥¯¥í¡¼¥º¤·¤Æ¡¢
2772 ¤¿¤Þ¤Ã¤Æ¤¤¤ë½ÐÎϤòÅǤ­½Ð¤µ¤»¤ëɬÍפ¬¤¢¤ë¤«¤âÃΤì¤Þ¤»¤ó¡£
2773
2774
2775 %%% \subsection{When using the \LaTeX--terminal, there is an error during
2776 %%% the \LaTeX--run!}
2777 \subsection{\LaTeX--terminal ¤Î½ÐÎϤϠ\LaTeX{} ¤Î¼Â¹Ô¤Ç¥¨¥é¡¼¤¬½Ð¤Þ¤¹}
2778
2779 %%% The \LaTeX 2$\epsilon$-core no longer includes the commands
2780 %%% "$\backslash$Diamond" and "$\backslash$Box"; they are included in 
2781 %%% the latexsym package.
2782 %%% Other symbols are taken from the amssymb package.
2783 %%% Both of these are part of the base distribution and thus part of any LaTeX
2784 %%% implementation.  Please remember to include these packages in your 
2785 %%% LaTeX document.
2786 %% for LaTeX, html (but make image)
2787 %Íç¤Î \LaTeX 2$\epsilon$ ¤Ïº£¤Ï¥³¥Þ¥ó¥É %
2788 %"$\backslash$Diamond" ¤â "$\backslash$Box" ¤â»ý¤Ã¤Æ¤ª¤é¤º¡¢
2789 %% for latex2html
2790 Íç¤Î \LaTeXe{} ¤Ïº£¤Ï¥³¥Þ¥ó¥É %
2791 "\textbackslash{}Diamond" ¤â "\textbackslash{}Box" ¤â»ý¤Ã¤Æ¤ª¤é¤º¡¢
2792 ¤½¤ì¤é¤Ïº£¤Ï latexsym ¥Ñ¥Ã¥±¡¼¥¸¤ËÆþ¤Ã¤Æ¤¤¤Þ¤¹¡£
2793 ¤Þ¤¿¡¢amssymb ¥Ñ¥Ã¥±¡¼¥¸¤Î¾¤Îµ­¹æ¤â»È¤¤¤Þ¤¹¡£
2794 ¤³¤ì¤é¤Ï¤¤¤º¤ì¤â \LaTeX{} ¤Î´ðËÜÇÛÉÛʪ¤Ë¤Ï´Þ¤Þ¤ì¤Æ¤¤¤Æ¡¢
2795 ¤è¤Ã¤ÆǤ°Õ¤Î \LaTeX{} ¥·¥¹¥Æ¥à¤Ë¤Ï´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£
2796 ¤³¤ì¤é¤Î¥Ñ¥Ã¥±¡¼¥¸¤ò¤¢¤Ê¤¿¤Îʸ½ñ¤ËÆþ¤ì¤ë¤³¤È¤ò˺¤ì¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£
2797
2798
2799 %%% \subsection{I can't find the demos and example files at the URLs in the
2800 %%% documentation!}
2801 \subsection{¥É¥­¥å¥á¥ó¥È¤Ë¤¢¤ë URL ¤Ë¤Ï¥Ç¥â¤ä¥µ¥ó¥×¥ë¤¬¸«¤Ä¤«¤ê¤Þ¤»¤ó}
2802
2803 %%% The examples have been removed from the NASA site mentioned in older
2804 %%% documentation. You can find the version 4.0 examples at 
2805 %%% \http{gnuplot.sourceforge.net/demo}.  Version 4.2 examples are at
2806 %%% \http{gnuplot.sourceforge.net/demo_4.2}.
2807 ¸Å¤¤¥É¥­¥å¥á¥ó¥È¤Ë½ñ¤«¤ì¤Æ¤¤¤ë NASA ¤Î¥µ¥¤¥È¤«¤é¤Ï¥µ¥ó¥×¥ë¤Ïºï½ü¤µ¤ì¤Þ¤·¤¿¡£
2808 ¸½ºß¤Ï version 4.0 ÍѤΥµ¥ó¥×¥ë¤¬ \http{gnuplot.sourceforge.net/demo} %
2809 ¤Ë¤¢¤ê¤Þ¤¹¡£
2810 version 4.2 ÍѤΥµ¥ó¥×¥ë¤Ï \http{gnuplot.sourceforge.net/demo_4.2} %
2811 ¤Ë¤¢¤ê¤Þ¤¹¡£
2812
2813
2814 %%% \subsection{Calling \gnuplot{} in a pipe or with a \gnuplot-script
2815 %%% doesn't produce a plot!}
2816 \subsection{¥Ñ¥¤¥×¤Ç \gnuplot{} ¤ò¸Æ¤Ó½Ð¤·¤¿¤ê \gnuplot{} ¥¹¥¯¥ê¥×¥È¤ò»È¤Ã¤Æ
2817 ¥°¥é¥Õ¤¬½ñ¤±¤Þ¤»¤ó}
2818
2819 %%% You can call \gnuplot{} by using a short Perl-script like the
2820 %%% following:
2821 ¼¡¤Î¤è¤¦¤Êû¤¤ Perl ¥¹¥¯¥ê¥×¥È¤ò»È¤Ã¤Æ \gnuplot{} ¤ò¸Æ¤Ó½Ð¤»¤Þ¤¹:
2822 %% end Japanese
2823 \begin{verbatim}
2824 #!/usr/local/bin/perl -w
2825 open (GP, "|/usr/local/bin/gnuplot -persist") or die "no gnuplot";
2826 # force buffer to flush after each write
2827 use FileHandle;
2828 GP->autoflush(1);
2829 print GP,"set term x11;plot '/tmp/data.dat' with lines\n";
2830 close GP
2831 \end{verbatim}
2832
2833 %%% \Gnuplot{} closes its plot window on exit. The \verb+close GP+
2834 %%% command is executed, and the plot window is closed even before you have
2835 %%% a chance to look at it.
2836 \gnuplot{} ¤Ï½ªÎ»»þ¤Ë¤½¤ÎÉÁ²è¥¦¥£¥ó¥É¥¦¤òÊĤ¸¤Þ¤¹¡£
2837 \verb+close GP+ ¥³¥Þ¥ó¥É¤¬¼Â¹Ô¤µ¤ì¤ë¤È¡¢
2838 ÉÁ²è¥¦¥¤¥ó¥É¥¦¤òÌܤˤ¹¤ëÁ°¤Ç¤µ¤¨¤âÊĤ¸¤é¤ì¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
2839
2840 %%% There are three solutions to this: first, use the \verb+pause -1+
2841 %%% command in \gnuplot{} before closing the pipe. Second, close the pipe
2842 %%% only if you are sure that you don't need \gnuplot{} and its plot window
2843 %%% anymore. Last, you can use the command line option \verb+-persist+: this
2844 %%% option leaves the X-Window System plot window open.
2845 ¤½¤ì¤ËÂФ¹¤ëÂнè¤Ï 3 ¤Ä¤¢¤ê¤Þ¤¹: 
2846 1 ¤ÄÌܤϡ¢gnuplot Æâ¤Ç \verb+pause -1+ ¥³¥Þ¥ó¥É¤ò¡¢
2847 ¥Ñ¥¤¥×¤òÊĤ¸¤ëÁ°¤Ë»ÈÍѤ¹¤ë¤³¤È¡¢
2848 2 ¤ÄÌܤϡ¢\gnuplot{} ¤ÈÉÁ²è¥¦¥£¥ó¥É¥¦¤¬ÉÔÍפˤʤ俤Ȥ­¤Ë¤Î¤ß
2849 ¥Ñ¥¤¥×¤òÊĤ¸¤ë¤è¤¦¤Ë¤¹¤ë¤³¤È¡¢
2850 3 ¤ÄÌܤϥ³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó \verb+-persist+ ¤ò»È¤¦¤³¤È¤Ç¤¹¡£
2851 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï X-Window System ¤ËÉÁ²è¥¦¥£¥ó¥É¥¦¤ò³«¤¤¤¿¤Þ¤Þ»Ä¤·¤Þ¤¹¡£
2852
2853
2854 %%% \section{Credits}
2855 \section{µ¢Â°}
2856
2857 %%% \Gnuplot{} 3.7's main contributors are (in alphabetical order)
2858 \gnuplot{} 3.7 ¤Î¼ç¤Ê´óÍ¿¼Ô¤Ï (¥¢¥ë¥Õ¥¡¥Ù¥Ã¥È½ç¤Ç)¡¢
2859 %% end Japanese
2860 Hans-Bernhard Broeker, John Campbell, Robert Cunningham, David Denholm,
2861 Gershon Elber, Roger Fearick, Carsten Grammes, Lucas Hart, Lars Hecking,
2862 Thomas Koenig, David Kotz, Ed Kubaitis, Russell Lang, Alexander Lehmann,
2863 Alexander Mai, Carsten Steger, Tom Tkacik, Jos Van der Woude, James R.
2864 %%% Van Zandt, and Alex Woo.  Additional substantial contributors to version 4.0
2865 %%% include Ethan Merritt, Petr Mikul\'{\i}k and Johannes Zellner.
2866 Van Zandt, Alex Woo ¤Ç¤¹¡£
2867 ¤µ¤é¤Ë version 4.0 ¤Ø¤Î½ÅÍפʴóÍ¿¼Ô¤È¤·¤Æ¡¢
2868 include Ethan Merritt, Petr Mikul\'{\i}k, Johannes Zellner ¤¬¤¤¤Þ¤¹¡£
2869
2870 %%% This list was initially compiled by John Fletcher with contributions
2871 %%% from Russell Lang, John Campbell, David Kotz, Rob Cunningham, Daniel
2872 %%% Lewart and Alex Woo. Reworked by Thomas Koenig from a draft
2873 %%% by Alex Woo, with corrections and additions from Alex Woo, John
2874 %%% Campbell, Russell Lang, David Kotz and many corrections from Daniel
2875 %%% Lewart.
2876 ¤³¤Î¥ê¥¹¥È¤Ï %
2877 Russell Lang, John Campbell, David Kotz, Rob Cunningham, Daniel Lewart,
2878 Alex Woo %
2879 ¤Î´óÍ¿¤ò John Fletcher ¤¬ºÇ½é¤Ë¤Þ¤È¤á¤¿¤â¤Î¤Ç¤¹¡£
2880 ¤½¤·¤Æ¡¢Alex Woo ¤ÎÁð°Æ¤Ë¤è¤ê¡¢
2881 Alex Woo, John Campbell, Russell Lang, David Kotz ¤é¤Î½¤Àµ¤ÈÄɲá¢
2882 Daniel Lewart ¤Ë¤è¤ë¿¤¯¤Î½¤Àµ¤¬ Thomas Koenig ¤Ë¤è¤ê¤Þ¤È¤áľ¤µ¤ì¤Þ¤·¤¿¡£
2883 %%% Again reworked for \gnuplot{} 3.7 by Alexander Mai and Juergen v.Hagen
2884 %%% with corrections by Lars Hecking, Hans-Bernhard Broecker and other
2885 %%% people.
2886 ¤½¤·¤Æ¡¢\gnuplot{} 3.7 ÍѤ˺ƤӠ%
2887 Lars Hecking, Hans-Bernhard Broecker ¤ª¤è¤Ó¤½¤Î¾¤Î¿Í¡¹¤Ë¤è¤ë½¤Àµ¤¬ %
2888 Alexander Mai ¤È Juergen v.Hagen ¤Ë¤è¤ê¤Þ¤È¤áľ¤µ¤ì¤Þ¤·¤¿¡£
2889 %%% Revised for \gnuplot{} 4.0 release by Petr Mikul\'{\i}k and Ethan Merritt.
2890 \gnuplot{} 4.0 ÍѤν¤Àµ¤Ï¡¢
2891 Petr Mikul\'{\i}k ¤È Ethan Merritt ¤Ë¤è¤ê¹Ô¤Ê¤ï¤ì¤Þ¤·¤¿¡£
2892 %%% Revised for \gnuplot{} 4.2 release by Petr Mikul\'{\i}k and Ethan Merritt.
2893 \gnuplot{} 4.2 ÍѤν¤Àµ¤Ï¡¢
2894 Petr Mikul\'{\i}k ¤È Ethan Merritt ¤Ë¤è¤ê¹Ô¤Ê¤ï¤ì¤Þ¤·¤¿¡£
2895
2896 %%% 
2897 (ÌõÃí: ÆüËܸìÌõ¤Ï Shigeharu TAKENO (\mailto{shige@iee.niit.ac.jp}) ¤Ë¤è¤ê
2898 ¹Ô¤Ê¤ï¤ì¤Þ¤·¤¿¡£)
2899 %% end Japanese
2900 \end{document}