|
|
|
|
gnuplot は グラフ作成用のソフトで、 簡単な操作で グラフを作成することができる。
host% gnuplotでたちあげる。
1 0.534443 0.3 2 0.693430 0.5 3 0.893430 0.7となっているとき、
gnuplot> plot "A:/birth.dat" using 1:2とすれば1行目と2行目が表示される。 同様に、
gnuplot> plot "A:/birth.dat" using 1:2, "A:/birth.dat" using 1:3とすれば「1列目と2列目」、「1列目と3列目」が同時に表示される。
細かいplot の命令は
gnuplot> help plot
などで詳しい情報をえることができる。他の情報を聞かれるが、
Enter を連打すると、
gnuplot>
の画面に戻る。
\documentclass{jarticle} \usepackage{graphicx} \begin{document} \begin{figure} \begin{center} \includegraphics{test.eps} \caption{This is a sample figure.} \label{test} \end{center} \end{figure} \end{document}最新版のLaTeXをインストールするようにしておかないと動かないこともある。