[fa.laser-lovers] plot, titroff, and pltroff

laser-lovers@uw-beaver (09/17/85)

From: William LeFebvre <phil@rice.arpa>

You must be referring to the pltroff.c that is part of pic.  That's the
only pltroff I can find in my ti-troff distribution.  It is true that
this can be modified to act as a plot interface to troff.  But just to
set the record straight, it is NOT a failed attempt at implementing a
plot interface.  I would describe it as being a plot-like interface (or
an interface loosely based on the plot library) that was written
specifically for pic.  It is part of pic and therefore shouldn't be
changed.  It is what pic uses to produce troff output.  The calling
conventions are very similar to plot, but as an example of places where
they differ:  "label" has two extra arguments, there is an "ellipse"
function (but I have long thought that plot needs an ellipse command),
and all the arguments that specify points are passed as doubles rather
than ints.  If you want to change it, do yourself a favor and make the
changed version completely separate from pic.

It is a worthwile idea.  I was just thinking earlier today how wild
it would be to have a plot library that produced troff, or even pic.
That opens up some very interesting possibilities.

			William LeFebvre
			Department of Computer Science
			Rice University
			<phil@Rice.arpa>
                        or, for the daring: <phil@Rice.edu>

laser-lovers@uw-beaver (09/26/85)

From: Lee C. Moore <lee@rochester.arpa>

Yes, actually, I was refering to the pltroff.c that is part of pic.
I first started hunting for it when a plot to troff converted was
described by somebody from Bell Labs.  Since somebody person refered
to it as "pltroff", I assumed it was the same.  Does anybody know
of an official converter?

lee