2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-19 11:38:05 +02:00

added more hints how to use gnuplot

This commit is contained in:
Martin Thoma 2012-10-28 12:13:35 +01:00
parent c654ee54ee
commit 0a39fcca83

View file

@ -1,12 +1,11 @@
Use gnuplot within latex
========================
First make sure that you can use gnuplot:
* Execute "gnuplot" in your command line
* Doesn't work: Look up where the binary is located (e.g. `C:\Programs\gnuplot\bin\gnuplot.exe`) and add it to your path (Windows + Pause -> System variables -> Path). Then try executing "gnuplot" in terminal again
It is a good idea to separate gnuplot-code from LaTeX-code! (see plot.gnuplot)
`-shell-escape` or `enable-write18` is NOT needed for this solution!
*First make sure that you can use gnuplot:
* Execute `gnuplot` in your command line
* Doesn't work: Look up where the binary is located (e.g. `C:\Programs\gnuplot\bin\gnuplot.exe`) and add it to your path (Windows + Pause -> System variables -> Path). Then try executing `gnuplot` in terminal again
* It is a good idea to separate gnuplot-code from LaTeX-code! (see plot.gnuplot)
* `-shell-escape` or `enable-write18` is NOT needed for this solution!
* You have to create the plot-tmp.tex file first. Use `gnuplot plot.gnuplot` to do so.
GnuPlot Terminal types
----------------------