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!
Document Classes ⇒ Plotting functions with tikz (running gnuplot manually?)
NEW: TikZ book now 40% off at Amazon.com for a short time.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Plotting functions with tikz (running gnuplot manually?)
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¹
Best regards
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Plotting functions with tikz (running gnuplot manually?)
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.