JORGE HERNANDO wrote:
> Plain postcript  also works perfectly. Also, if you compile
> lyx with grace already installed
>       (http://plasma-gate.weizmann.ac.il/Grace)
> it understands (and opens) its files *.agr. 

Or just run Edit->Reconfigure. No need to compile anything.

> I don't know if
> that it is also possible with other plotting packages (gnuplot?)

Sure, so long as you define an appropriate converter so that a chain of 
converters can produce a "loadable" format. 
See http://wiki.lyx.org/LyX/FiguresInLyX

I attach the converter that I use to convert gnuplot files to XFig format. 
Perhaps you might modify it to your needs. 

Personally, I use the External Inset to handle XFig images directly 
because that way I can get the text typeset by LaTeX. However, it would be 
trivial to modify the script to generate EPS files, although then the text 
is typeset by gnuplot and won't match the rest of your document.

Beore you ask, I'm afraid that this converter wouldn't become part of LyX 
for the forseeable future because gnuplot scripts can contain arbitrary 
instructions to the shell. We wouldn't want to spread LyX virii...

-- 
Angus

Attachment: gnuplot2fig.sh
Description: application/shellscript

Reply via email to