s-news
[Top] [All Lists]

greyscale polygons

To: s-news@lists.biostat.wustl.edu
Subject: greyscale polygons
From: Carl Schmertmann <schmertmann@fsu.edu>
Date: Tue, 29 Jun 2004 11:12:24 -0400
Hello.

I'm running S-plus 2000 on a Windows XP machine.

I want to write a script to create a greyscale plot, in which the positions of a large number of polygons are determined by two variables (call them X and Y) and the degree of shading of each polygon is determined by a third (continuous) variable Z.  

Are there good tricks for choosing colors, densities, angles, ...? to create varying shades of white/grey/black depending on Z? 

Thanks in advance.

- Carl S
-------------------------------------------------
Carl Schmertmann
Professor of Economics
Center for Demography and Pop. Health
Florida State University
Tallahassee FL 32306-2240 USA

schmertmann@fsu.edu
-------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>
  • greyscale polygons, Carl Schmertmann <=