Herbert Voss wrote: > Paul Smith wrote: > >> I would like to be able to produce the graph of certain functions >> (say, f(x)=ln(x)) and manipulate it with xfig to get a vectorial >> picture to insert, afterwards, in a LyX document. I could use Maple to >> produce those graphs, but Maple pictures are bitmaps... and not >> vectorial pictures. Any ideas? > > > use PSTricks, it is much more better than all the other stuff, > because you have _always_ the same fonts as in your document > and everything is a vector graphic. For PDF-Output look > at http://PSTricks.de
<shrug> I don't think that this option is better than using gnuplot with my gnuplot2fig.sh script to build a .fig file. Gnuplot is an extremely powerful tool for scientific data preparation, something that PSTricks can never hope to be. That's not to say that PSTricks is not useful, but use the right tool for the right job. The script will mark all text entries in the XFig file as 'Special' meaning that the text will be typeset by the latex compiler if you export the figure from XFig as a (.pstex_t, .eps) pair. Indeed, LyX will do this for you if you use the XFig external inset. (Insert->External Material...) The external inset that comes with LyX 1.3.x will support only output to DVI, so PDF files can be generated with dvi->ps->pdf but not using pdflatex direct. This limitation is removed with LyX 1.4.x. </shrug> -- Angus