Personal tools
You are here: Home Visualisation Software Xfig and Transfig

Xfig and Transfig

Facility for Interactive Generation of figures under X11

Xfig is a menu-driven tool that allows the user to draw and manipulate objects interactively under the X Window System.

The facility xfig (including its tools) has been installed for the systems IBM AIX 4.x, Silicon Graphics IRIX 6.x, Linux RedHat 6.1 and Sun Solaris 5.5 and greater.

The package transfig includes four tools to convert Fig files: transfig, fig2dev, fig2ps2tex and pic2tpic.

Transfig creates a makefile to translate figures described in Fig- or PIC-format into a specified LaTeX graphics language. PIC files are identified by the suffix ".pic"; Fig files can be specified either with or without the suffix ".fig". Transfig also creates a TeX macro file appropriate to the target language.

Fig2dev translates a Fig file to the specified graphics language.

Pic2tpic reads the PIC files given on the command line (or stdin if none are given) and writes their tpic equivalent to stdout.

Fig2ps2tex generates a TeX file for including a PostScript file in a TeX document. This involves calculating the bounding box from the Postscript document. The TeX inclusion file is written to stdout.

Documentation are available as PostScript files in /afs/ipp/common/doc/graphics:

  1. xfig.ps (49 pages)
  2. transfig.ps (22 pages)
or as html users manual:
  1. xfig/index.html
which can be previewed (gv) or printed (lpr).
For details of the commands see man-pages: (xfig, transfig, fig2dev, fig2ps2tex or pic2tpic ).
Document Actions