Graphics, Figures & Tables ⇒ How can I draw plots in LaTeX?
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
How can I draw plots in LaTeX?
As PCTeX 6 has been released 2007, with some updates until 2011, this would not be my first choice, when I compare with newer releases such as TeX Live 2012 and MiKTeX 2.9.
I doubt that the official PCTeX6 forum would help much: the majority of questions hasn't got any answer.
Stefan
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
Re: latex,gnuplot
I have instaled gnuplot.
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
How can I draw plots in LaTeX?
With TeXworks, go to the main menu: Edit / Preferences, choose the Typesetting tab, choose pdfLaTeX, click the Edit button, add
--enable-write18
such as here:
StefanRe: latex,gnuplot
Do I need to do anything else, perhaps in gnuplot?
I just download document and typsett it.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How can I draw plots in LaTeX?
How did you install Gnuplot? The latest version 4.6 has an installer for the first time. You need to check a box in order to add the Gnuplot path to the corresponding environment variable (see attachment).[…] Do I need to do anything else, perhaps in gnuplot? […]
- Attachments
-
- The compiler settings in TeXworks for MiKTeX
- TeXworks044-MiKTeX-Preferences-ToolConfiguration.png (42.17 KiB) Viewed 6763 times
-
- The Gnuplot 4.6 Installer with the checked box for the PATH environment variable.
- Gnuplot-46-Setup.png (23.37 KiB) Viewed 6763 times
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: latex,gnuplot
Do I need draw graphs in gnuplot first?
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Re: latex,gnuplot
Stefan
Re: latex,gnuplot
- Attachments
-
- ldsld lfslfld.txt
- (15.48 KiB) Downloaded 390 times
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
How can I draw plots in LaTeX?
Code: Select all
Package pgf Warning: Plot data file `ndkskdkskdksdda-1.x.table' not found. on i
nput line 43.
Package pgf Warning: Plot data file `ndkskdkskdksdda-1.sin.table' not found. on
input line 45.
Package pgf Warning: Plot data file `ndkskdkskdksdda-1.exp.table' not found. on
input line 47.
I have another suggestion: instead of dealing with gnuplot problems, you could switch to pure TeX/LaTeX plotting. Since you now use a modern MiKTeX version, you could work with pgfplots. This is a very capable package for plotting with markers, axis, legends, in 2D and 3D. Perhaps have a look at the

Stefan
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How can I draw plots in LaTeX?
As far as I know, pgfplots uses Gnuplot as back-end. So the problem would persist.Stefan_K wrote:[…] I have another suggestion: instead of dealing with gnuplot problems, you could switch to pure TeX/LaTeX plotting. Since you now use a modern MiKTeX version, you could work with pgfplots. This is a very capable package for plotting with markers, axis, legends, in 2D and 3D. Perhaps have a look at thepgfplots documentation for a start with it, try some examples from the manual. […]
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10