I’ve been using Sublime Text 3 with LaTeXTools on Mac for a while. Today I’d like to add some plots to a document using Gnuplot (package pgfplots). When I try to build it, I get the following error:
`[no file]:263: Package pgfplots Error: Sorry, the gnuplot-result file
'assignment4_harold.pgf-plot.table' could not be found. Maybe you need
to enable the shell-escape feature? For pdflatex, this is '>> pdflatex
-shell-escape'. You can also invoke '>> gnuplot <file>.gnuplot' manually
on the respective gnuplot file.. [...ark=none, samples=100, red] function {x};]`
I have tried adding “options”:["--shell-escape"]
to the "builder_settings"
section of LaTeXTools.sublime-settings file it doesn’t help at all. I also tried changing it to ["-shell-escape"]
but that also didn’t help.
I installed gnuplot from pkg file.
Anyone know how to do this?