
私は、gnuplot の epslatex ターミナルを使用して生成された図を、beamer プレゼンテーションに追加する方法を理解しようとしています。gnuplot 用の次のコードがあります:
set terminal epslatex size 3.5,2.62
set output 'introduction.tex'
set xlabel '$x$'
set ylabel '$y$'
set format '$%g$'
set xtics ('$-2\pi$' -2*pi,'$-\pi$' -pi,0,'$\pi$' pi,'$2\pi$' 2*pi)
plot sin(x) title '$\sin(x)$' with lines linestyle 1
そして、次の.texファイルがあります
\documentclass{beamer}
\usepackage{amsmath,graphicx,epstopdf}
\begin{document}
\begin{frame}
\begin{itemize}
\item Test
\input{introduction}
\end{itemize}
\end{frame}
\end{document}
残念ながら、ビーマー フレームにプロットを生成することができません。間違いを犯しているに違いありません。どこが間違っているのか教えていただけますか。よろしくお願いします。