
gnuplot의 epslatex 터미널을 사용하여 생성된 그림을 비머 프리젠테이션에 추가하는 방법을 이해하려고 합니다. 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}
불행히도 비머 프레임에 어떤 플롯도 생성할 수 없습니다. 나는 오류를 범하고 있다고 확신합니다. 어디인지 이해하도록 도와 주시겠습니까? 미리 감사드립니다.