[6457] in s-news-athena

home help back first fref pref prev next nref lref last post

modified image function

daemon@ATHENA.MIT.EDU (Pierre Kleiber)
Fri Feb 17 13:10:44 1995

Date: Fri, 17 Feb 95 09:28:01 PST
From: pierre@pooh.UCSD.EDU (Pierre Kleiber)
To: s-news@utstat.toronto.edu
Reply-To: pkleiber@UCSD.EDU

The image function colors a rectangle corresponding to each
element of its input matrix.  I'm looking for a modification
which would color only a specified polygonal subarea of each
rectangle.  I'd like to have two extra arguments, sax and say,
which would specify the x and y values of the vertices of the
polygons with coordinates between 0 and 1 within the
rectangles.  That's a confusing way to put it.  What I mean is
that with default values of sax=c(0,0,1,1) and say=c(0,1,1,0),
this new image function would behave as normal, but with
sax=c(0,0,1) and say=c(c,1,1), only an upper left triangle would
be colored.

Has anyone produced such a beast?

------------------------------------------------------------------
Pierre Kleiber, Ph.D., Fishery Scientist  Email: pkleiber@ucsd.edu
National Marine Fisheries Service           Tel: 619 546 7076
Box 271, La Jolla, CA 92037-1508            Fax: 619 546 7003
-----------------------------------------------------------------

home help back first fref pref prev next nref lref last post