Binary package “slang-xfig” in ubuntu oracular
produce plots and drawings through Xfig's fig2dev in S-Lang
SLxfig is a S-Lang module that produces plots, drawings, etc in a
variety of formats (.ps, .eps, .png, .jpeg, etc). It accomplishes this
via S-Lang scripts that automatically run Xfig's fig2dev and LaTeX to
produce the desired output format.