File: example-pdf.tex

package info (click to toggle)
texlive-base 2018.20190227-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 680,080 kB
  • sloc: perl: 39,836; sh: 6,386; makefile: 3,708; ruby: 2,412; ansic: 2,266; xml: 1,686; cpp: 695; awk: 606; python: 583; tcl: 541; lisp: 86; php: 65; sed: 8
file content (21 lines) | stat: -rw-r--r-- 401 bytes parent folder | download | duplicates (4)
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}