This question already has an answer here:

I try to compile with lualatex the simple file :

            plot[id=sin,domain=0:6,samples=100] function{sin(x)};

The file essai.sin.gnuplot is created but not essai.sin.table. My problem is that the code compiles very well with pdflatex.

Here the beginning of the file.log

This is LuaTeX, Version 1.0.4 (TeX Live 2017)
system commands enabled.

Some questions seem similar but I can't find a good answer.

marked as duplicate by Alain Matthes tikz-pgf Jan 10 '18 at 14:14

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.