[R] subplot()

Greg Snow Greg.Snow at imail.org
Wed Jun 24 21:21:43 CEST 2009


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.snow at imail.org
801.408.8111


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Kexin Ji
> Sent: Monday, June 23, 2008 12:38 PM
> To: r-help at 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 at 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.




More information about the R-help mailing list