From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Mon, 2 Sep 2019 13:46:59 +0900
Subject: Initial commit

---
 macros/latex/contrib/gnuplottex/example-pdf.tex | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 macros/latex/contrib/gnuplottex/example-pdf.tex

(limited to 'macros/latex/contrib/gnuplottex/example-pdf.tex')

diff --git a/macros/latex/contrib/gnuplottex/example-pdf.tex b/macros/latex/contrib/gnuplottex/example-pdf.tex
new file mode 100644
index 0000000000..6ed7eccb8e
--- /dev/null
+++ b/macros/latex/contrib/gnuplottex/example-pdf.tex
@@ -0,0 +1,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}
-- 
cgit v1.2.3

