Graphics, Figures & Tablesgnuplottex package

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
sgp
Posts: 30
Joined: Thu Jul 22, 2010 11:45 am

gnuplottex package

Post by sgp »

hi all,
recently i came across this package gnuplottex. But the problem is when i try to compile the below given code, i am not getting any output. Its just the text "there it is" thats appearing. Can anyone tell me what could be the problem.

Code: Select all

\documentclass[12pt,a4paper,draft]{article}
\usepackage[utf8x]{inputenc}
\usepackage{ucs}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{gnuplottex}
\usepackage{graphicx}
\usepackage{latexsym}
\usepackage{keyval}
\usepackage{ifthen}
\usepackage{moreverb}
\begin{document}
there it is
\begin{gnuplot}[terminal=pdf]
	set terminal latex
	set grid
	set title 'gnuplottex test'
	set ylabel 'y'
	set xlabel 'x'
	plot exp(x) with linespoints
\end{gnuplot}
\end{document}
Thanks in advance,
regards,
sgp.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

gnuplottex package

Post by localghost »

Pay special attention to the remarks about shell escape in the [url=htttp://ctan.org/pkg/gnuplottex]gnuplottex[/url]. The log file should tell you what is going wrong. Since similar topics have already been discussed here, you should use the Forum Search for more information. The final solution depends also on your operating system and the Gnuplot version (currently 4.4.2).


Best regards and welcome to the board
Thorsten
Post Reply