Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!uunet!tut.cis.ohio-state.edu!sei.cmu.edu!fs7.ece.cmu.edu!fs7!yount From: yount@fox.ece.cmu.edu (Charles Robert Yount) Newsgroups: comp.lang.postscript Subject: Re: Desperately seeking library which emits trivial postscript Message-ID: Date: 29 Apr 91 20:11:34 GMT References: <32295@usc> Sender: news@fs7.ece.cmu.edu (USENET News System) Followup-To: comp.lang.postscript Organization: Electrical and Computer Engineering, Carnegie Mellon Lines: 31 In-Reply-To: ajayshah@alhena.usc.edu's message of 26 Apr 91 03:35:12 GMT 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