Re: [R] Creating png of layered legend

2011-07-26 Thread Barry Rowlingson
On Tue, Jul 26, 2011 at 12:23 AM, Amelia McNamara amelia.mcnam...@stat.ucla.edu wrote: I am trying to create a plot that has multiple plot characters for each point (e.g. a point within a triangle, a triangle within a square, etc). The workaround I have found to do this is by plotting twice,

Re: [R] Creating png of layered legend

2011-07-26 Thread Amelia McNamara
Making the second layer of legend have full transparency seems to have fixed the issue. My first layer has to have a white background because I have a colored grid behind (sorry that didn't make it into my toy example). I did try to use type=Xlib, but I get the error libpng warning: Application

[R] Creating png of layered legend

2011-07-25 Thread Amelia McNamara
I am trying to create a plot that has multiple plot characters for each point (e.g. a point within a triangle, a triangle within a square, etc). The workaround I have found to do this is by plotting twice, as in this example: x - c(1.1, 2.3, 4.6) y - c(2.0, 1.6, 3.2) plot(x, y) points(x,y,