Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!udel!haven.umd.edu!ncifcrf!fcs260c2!toms From: toms@fcs260c2.ncifcrf.gov (Tom Schneider) Newsgroups: comp.lang.postscript Subject: Re: Desperately seeking library which emits trivial postscript Message-ID: <2136@fcs280s.ncifcrf.gov> Date: 29 Apr 91 15:01:56 GMT References: <32295@usc> Sender: news@ncifcrf.gov Organization: NCI Supercomputer Facility, Frederick, MD Lines: 27 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. >Ajay Shah, (213)734-3930, ajayshah@usc.edu I have a set of Pascal routines that generate simple PostScript graphics as you want (automatic translation to C failed for some reason). They are available now by anonymous ftp from ncifcrf.gov in pub/delila. The program is in dops.p.Z and the demo file is in dops.demo.Z. You will have to make a routine to modify font and pointsize on the fly. Tom Schneider National Cancer Institute Laboratory of Mathematical Biology Frederick, Maryland 21702-1201 toms@ncifcrf.gov