SLxfig — an S-Lang package for drawing and plotting with Xfig
John E. Davis
has developed a high-level S-Lang interface
to generate code for the simple, but very flexible drawing program Xfig.
In contrast to Xfig itself, SLxfig allows for high-quality typesetting since text is automatically processed with LaTeX (and included as eps file).
The user does not even need to know Xfig's fig2dev program,
as the latter is run internally by SLxfig in order to create output files
in a variety of formats such as .eps, .pdf, .png, .jpg, etc.
I was quite impressed by the capabilities of SLxfig, so I decided to use it.
I have also added a few more features that seemed useful to me.
Download
Examples
In addition to John's examples on
his SLxfig website,
the SLxfig package itself contains a set of examples illustrating the usage of SLxfig.
The resulting images are shown below; click on them to show their respective source code.
A few further examples and some description might be made available
in the wiki of the Remeis-observatory.