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
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(
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
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
4 matches
Mail list logo