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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
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