Animated by the discussion on Pgfplots in Lyx I wonder whether it is
also possible to do the same with figures produced by Pyxplot:
http://pyxplot.org.uk/
I have many (~thousand) figures produced with it, and I personal think
it is easier to learn and use as is TikZ. I guess what one needs is
something adequate to \usepackage{pgfplots}, namely
\usepackage{pyxplot}. But I don't know what the former does and how
difficult it is to produce it.
The advantage would be that the script of the pyxplot figures will be
storred in the lyx file and that the text of the figures has the same
latex format and size as the document text.
Wolfgang