It works now.
I had to add the argument -shell-escape to the Converter syntax pdflatex in the Preferences.

Thanks


Am 16.02.2016, 20:16 Uhr, schrieb Guenter Milde <mi...@users.sf.net>:

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.

LyX does not "know" about any raw LaTeX - so it may be you have to export the
file to LaTeX and then run LaTeX Gnuplot etc. "by hand".

Günter

Attachment: gnuplot_test.pdf
Description: Adobe PDF document

Reply via email to