On 2016-02-16, Jürgen Lange wrote: > Hello, > I tried to embed Gnuplot commands in Lyx. > The necessary package is gnuplottex. > Because I use Miktex, I put \usepackage[miktex]{gnuplottex} in the > Lyx-preamble. > With Tex-Code in Lyx-document \begin{gnuplot}[terminal=pdf] plot sin(x) > \end{gnuplot}, I don't get any gnuplot output.
Try to create a small LaTeX file that works and import this into LyX. This might help to find the required raw LaTeX command(s). Günter