Re: [R] ggplot 2 semi-transparency error

2009-08-19 Thread ONKELINX, Thierry
stus 2009 7:47 Aan: r-help@r-project.org Onderwerp: [R] ggplot 2 semi-transparency error Hi, I used the command ggplot as follows... p<-ggplot(a,aes(x=a$V1,colour=a$V2,fill=a$V2)) p + geom_density(alpha = 0.2,xlim=c(-10,10),ylim=c(0,0.5)) when I say, dev.print(device=postscript,file=&q

Re: [R] ggplot 2 semi-transparency error

2009-08-19 Thread Dieter Menne
rajesh j wrote: > > I used the command ggplot as follows... > p<-ggplot(a,aes(x=a$V1,colour=a$V2,fill=a$V2)) > p + geom_density(alpha = 0.2,xlim=c(-10,10),ylim=c(0,0.5)) > > when I say, > dev.print(device=postscript,file="/alpha/dct.pdf") > I get > > Warning message: > In grid.Call.graphics(

Re: [R] ggplot 2 semi-transparency error

2009-08-18 Thread Chris Friedl
I really don't know anything much about this but I tried "device=pdf" (no-quotes) and I got a pdf file with transparent plots. ?device.print gives help with some links to other devices hth rajesh j wrote: > > Hi, > I used the command ggplot as follows... > p<-ggplot(a,aes(x=a$V1,colour=a$V2,f

[R] ggplot 2 semi-transparency error

2009-08-18 Thread rajesh j
Hi, I used the command ggplot as follows... p<-ggplot(a,aes(x=a$V1,colour=a$V2,fill=a$V2)) p + geom_density(alpha = 0.2,xlim=c(-10,10),ylim=c(0,0.5)) when I say, dev.print(device=postscript,file="/alpha/dct.pdf") I get Warning message: In grid.Call.graphics("L_polygon", x$x, x$y, list(as.integer