Document ClassesPlotting functions with tikz (running gnuplot manually?)

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
jaywag
Posts: 2
Joined: Sun Oct 19, 2008 1:16 am

Plotting functions with tikz (running gnuplot manually?)

Post by jaywag »

Hello,

I'm writing a presentation with beamer where I need to plot functions. tikz depends upon gnuplot to generate the table of points that the function makes up.

Here with the screwy-setup on my office machine, I am having trouble getting LaTeX to find gnuplot. But I can run gnuplot on my own. I know what the problem, but I have to wait for IT to come and do it, which will take them years to come and end up doing it wrong anyway despite my specific instructions of what they need to do.

From what I've read, as long as it finds the .table file, it won't try to run gnuplot.

So what I'm asking is, can somebody tell me how to generate the .table file on my own?

Thanks!

Recommended reading 2024:

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

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

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

Plotting functions with tikz (running gnuplot manually?)

Post by localghost »

Unfortunately you don't say anything about the operating system of the used machine. If you can run GnuPlot on your own, the LaTeX compiler should also be able to find it. So, please tell us more details about the folder where GnuPlot is located and other similar important things.


Best regards
Thorsten¹
phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

Plotting functions with tikz (running gnuplot manually?)

Post by phi »

If this doesn't work, then you can always call gnuplot yourself and let it output a data file, which in turn can be read by TikZ. An example for this is in the section called "Plotting Points Read From an External File" in the PGF manual.
Post Reply