[comp.archives] [postscript] Re: Desperately seeking library which emits trivial postscript

yount@fox.ece.cmu.edu (Charles Robert Yount) (05/08/91)

Archive-name: graphics/plotting/gnu-graphics/1991-04-29
Archive: qed.rice.edu:/pub/graphics.tar.Z [128.42.4.38]
Original-posting-by: yount@fox.ece.cmu.edu (Charles Robert Yount)
Original-subject: Re: Desperately seeking library which emits trivial postscript
Reposted-by: emv@msen.com (Edward Vielmetti, MSEN)

In article <32295@usc> ajayshah@alhena.usc.edu (Ajay Shah) writes:

   I desperately need to do plots where the screen contains exactly
   three kinds of objects:

	   - dot (one pixel)
	   - line (specified as (x1, y1, x2, y2)
	   - text (specified as (x, y), font, pointsize and string).

   I know no postscript as of right now.  Is there a sugar-coated
   library whereby I can readily do this?  I can readily imagine a
   library where I would issue calls in a certain coordinate system
   (which I have to figure out) and nice postscript files would get
   written.

   C or Pascal are fine by me; I can also hand-translate fortran.

   Thanks!

	   -ans.


GNU has a set of graphics utilities available via anonymous ftp from
qed.rice.edu as /pub/graphics.tar.Z.  Along with replacements for the
Unix utilities plot and graph, it contains a very good postscript
library in C to draw circles, lines, text, dots, etc., etc.  As a
bonus, any PS file generated with these utilities is editable with
idraw! 

Chuck Yount, CMU

-- comp.archives file verification
qed.rice.edu
lrwxrwxrwx  1 16365    bioeng         19 Mar 29 12:28 /pub/graphics.tar.Z -> graphics-0.17.tar.Z
found gnu-graphics ok
qed.rice.edu:/pub/graphics.tar.Z