Newsgroups: comp.lang.postscript
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!cmcl2!phri!marob!panix!schuster
From: schuster@panix.uucp (Michael Schuster)
Subject: Re: Novice question: setgray
Message-ID: <1991May14.004026.773@panix.uucp>
Date: Tue, 14 May 91 00:40:26 GMT
Distribution: na
References: <1991May13.044706.7735@ucselx.sdsu.edu> <5843@taux01.nsc.com>
Organization: PANIX - Public Access Unix Systems of NY
Keywords: setgray grain

In article <5843@taux01.nsc.com> amnonb@taux01.nsc.com (Amnon Cohen ) writes:
>I use postscript to display diagrams which consist of small rectangles
>of different colours (gray levels). When I print my diagrams on an
>Apple laserwriterII, I find that the dots which make up the shading 
>are too large, which makes the diagram hard to read. 
>
>Is there an easy way to cause the setgray operator to use a finer screen
>i.e. smaller dots in its shading?  Please mail replies to me.  I will 
>post a summary if there is any demand.

According to Don Lancaster, this is the "best" gray:

106 45 {dup mul exch dup mul add 1.0 exch sub} setscreen


-- 
 Mike Schuster                                      |    CIS: 70346,1745
 NY Public Access UNIX:  ...cmcl2!panix!schuster    |    MCI Mail, GENIE:
 The Portal (R) System:  schuster@cup.portal.com    |           MSCHUSTER
