Search found 3 matches

by ludachrispeed
Tue May 25, 2010 1:21 am
Forum: Math & Science
Topic: I want my gnuplot code INSIDE my LaTeX document!
Replies: 3
Views: 5284

I want my gnuplot code INSIDE my LaTeX document!

I found a solution to this!

Simply set the terminal type to epslatex. This creates an eps, which is automatically included in the latex file.

Here's a MWE:

\documentclass{article}

\usepackage{gnuplottex}

\begin{document}

\begin{gnuplot}
set terminal epslatex color
set title 'Color graphs ...
by ludachrispeed
Wed Aug 26, 2009 2:49 pm
Forum: Math & Science
Topic: I want my gnuplot code INSIDE my LaTeX document!
Replies: 3
Views: 5284

I want my gnuplot code INSIDE my LaTeX document!

Thank you very much for the link. I tried some and eventually got a gnuplot error
terminal "latex" does not support continuous colors.
I've heard there's a way to do it with PSTricks. I'll keep a lookout.
by ludachrispeed
Wed Aug 19, 2009 8:58 pm
Forum: Math & Science
Topic: I want my gnuplot code INSIDE my LaTeX document!
Replies: 3
Views: 5284

I want my gnuplot code INSIDE my LaTeX document!

And I have found a way to do that with the gnuplottex package, but I can't figure out how to make it produce graphs with color. Here is a minimal working example of what I have:


\documentclass{article}

\usepackage{gnuplottex}

\begin{document}

\begin{gnuplot}
set key left
plot [-2:2] x,x**2 ...