I was pleasantly surprised to find that Lyx handles Grace (http://plasma-gate.weizmann.ac.il/Grace/) .agr files as figures.
My discovery of this was completely accidental. Is it documented anywhere? I'm using Lyx 1.2.3 (yes, I know it's old, but it works for me).
I should be there by default, but if not add to the preferences:
\Format agr agr GRACE ""
\converter agr eps "gracebat -hardcopy -printfile $$o -hdevice EPS $$i 2>/dev/null" ""
\converter agr png "gracebat -hardcopy -printfile $$o -hdevice PNG $$i 2>/dev/null" ""
\converter agr jpg "gracebat -hardcopy -printfile $$o -hdevice JPEG $$i 2>/dev/null" ""
\converter agr ppm "gracebat -hardcopy -printfile $$o -hdevice PNM $$i 2>/dev/null" ""
and run reconfigure from within LyX
Herbert
