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

\usepackage{gnuplottex}

\begin{document}

\begin{gnuplot}[terminal=pdf]
	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}

\end{document}