                             GraphPs

GraphPs is an Objective Caml library that provides a module that can
be substituted to the usual graphics drawings module Graphics,
available from the Caml distribution. GraphPs provides a module also
named Graphics, that has (almost) the same signature as the original
Graphics module. 

Using the GraphPs Graphics module, your Caml drawing programs generate
PostScript files (that can be encapsulated into tex or latex files),
instead of drawing graphics directly onto the screen.

The PostScript program is output when evaluating ``close_graph ()'',
or automatically when the Caml program ends.

Intended usage is a two phases process:

 -- write a regular Caml program (either batch or interactive) using
the regular graphics library.

 -- substitute the graphps library to the regular graphics library (for
instance you can just change the Caml library load path to obtain
linking of graphps in place of graphics) to obtain a new executable
that produces ps commands instead of graphics commands. Run the new
executable to produced a PostScript file corresponding to the drawing
produced by your Caml program. Your original Caml program should work
fine with no modification when using the Graphics module provided by
GraphPs.

See the INSTALL file to intall the library.

Have fun with GraphPs.

Pierre Weis.
