summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/gnuplottex/example-pdf.tex
blob: 6ed7eccb8e884ec75910271492a5fe3ef3aa260c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
\documentclass[a4paper]{article}

\usepackage{gnuplottex}

\begin{document}

\begin{gnuplot}[terminal=pdf,terminaloptions={font ",10" linewidth 3}]
	plot sin(x), cos(x)
\end{gnuplot}

\begin{gnuplot}[scale=0.8]
	set grid
	set title 'gnuplottex test $e^x$'
	set ylabel '$y$'
	set xlabel '$x$'
	plot exp(x) with linespoints
\end{gnuplot}

\gnuplotloadfile[terminal=pdf]{example.gnuplot}

\end{document}