KTUGFaq
KTUG FAQ
2 Ϲ ¶
- install 丮 docs gnuplot.pdf ִ.
- Introduction http://www.cs.uni.edu/Help/gnuplot/
- FAQ http://www.gnuplot.info/faq/
- gnuplot tips (not so Frequently Asked Questions) http://t16web.lanl.gov/Kawano/gnuplot/index-e.html
- ѱ۸Ŵ
3.1 Gnu plot(plt) ҽ ¶
- . GNUPlot ҽ test.plt .
- wgnuplot test.plt ϸ hello.tex .
set terminal latex set output "hello.tex" plot [0:2*pi] [-1.2:1.2] sin(x)
3.2 LaTeX ҽ . ¶
\documentclass{article} \usepackage{hfont} \begin{document} \begin{figure}[htb] \centering \input{hello.tex} \vspace{-.3in} \caption{GNUPlot ̿ } \label{plt:testplt} \end{figure} \end{document}
5 LaTeX (3) : gnuplottex ¶
gnuplot ڵ带 LaTeX ҽ ־ ԽŰ .
ÿ --shell-escape ɼ ش.
\documentclass[a4paper]{article} \usepackage[pdf]{gnuplottex} \begin{document} \begin{gnuplot}[width=.3\textwidth] plot sin(x) \end{gnuplot} \begin{gnuplot} set grid set title 'gnuplottex test' set ylabel 'y' set xlabel 'x' plot exp(x) with linespoints \end{gnuplot} \end{document}
#> pdflatex --shell-escape example