Article View: comp.lang.postscript
Article #6005Re: Novice question: setgray
From: Michael Schuster
Date: Tue, 14 May 1991 00:40
Date: Tue, 14 May 1991 00:40
19 lines
1356 bytes
1356 bytes
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
Technical Details
Message-ID:
<1991May14.004026.773@panix.uucp>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!cmcl2!phri!marob!panix!schusterReferences:
<1991May13.044706.7735@ucselx.sdsu.edu> <5843@taux01.nsc.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.postscript Path: arc1-ca.pugleaf.net!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