slxfig is a package that implements a number of S-Lang interpreter routines that interface with fig2dev and LaTeX to produce publication quality plots and drawings.
INSTALLATION: Read the INSTALL file.
The examples/ subdirectory contains a number of scripts that illustrate many of slxfig's features.
See https://www.sternwarte.uni-erlangen.de/wiki/index.php/Plot_gallery for an impressive list of examples.
Visit https://jedsoft.org/fun/slxfig/ for more information.