The subplot function (at least the one in the TeachingDemos package and the copy in Hmisc) only does rectangles. Clipping regions are also limited to rectangles currently. There are external tools (gimp, imagemagick) that may me of use or triangles and other shapes can be approximated by enough small rectangles. If you give a bit more detail about what you are trying to do then we can give more specific help.
-- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.s...@imail.org 801.408.8111 > -----Original Message----- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of Kexin Ji > Sent: Monday, June 23, 2008 12:38 PM > To: r-help@r-project.org > Subject: [R] subplot() > > Hi, > > I'm trying to get a color-gradient triangle out of a large plot. > Wonder can subplot() generate a triangle? > So far, I'm only getting rectangles. > Great appreciation for any reply!! > > Kexin > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting- > guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.