I want to create this graph in Texstudio. However, I have no clue about how to compile gnuplot using -shell-escape. If someone could help, I'd appreciate it.
Asked
Active
Viewed 3,273 times
1 Answers
1
You need to go to Options->Configure TeXstudio..., Commands tab, and in the PdfLaTeX option you will see
pdflatex -synctex=1 -interaction=nonstopmode %.tex
then, you need to add the options there, like
pdflatex -synctex=1 -interaction=nonstopmode -shell-escape %.tex
then, click Ok. And the next execution of pdflatex should use that option.
You should see it in the log.
adn
- 11,233
– Bill Mar 13 '17 at 18:27Package pgfplots Error: Sorry, the gnuplot-result file 'document.pgf-plot.tab<file>.gnuplot' manually on the respective gnuplot file.. ^^I^^Iplot 'data.txt' smooth sbezier;};pdflatex -shell-escape yourtexfile.texand if that gives the same error the problem is your file, and not the configuration of TeXstudio. If not, then you need to post a MWE to reproduce your error. – adn Mar 13 '17 at 18:32