r - plotting numerous pie plot with ggplot2 -


i trying plot 5625 (75*75), in ggplot2; takes ages, , quality of plot @ end relatively low. there other alternative, plot such thing?!

mydata = data.frame(side1=rep(colnames(cmap75),3,each=231),side2=rep(colnames(cmap75),231,each=3),widget=rep(colnames(cmap75),1),size=rep(1/3,231*3),strength=runif(3*231,-1,1))  ggplot(mydata, aes(x="",y = size, fill = strength, width = widget)) + geom_bar(width = 1) +  facet_grid(side1 ~ side2) + scale_x_discrete("",breaks=null) +  coord_polar("y") + scale_fill_gradient2() + scale_y_continuous("",breaks=null)+ geom_point() + theme(panel.grid=element_blank(),panel.border=element_blank())+theme(panel.margin=unit(0,"mm")) ggsave("ggplot1.pdf", width=20, height=20) 

colnames(cmap75), vector of strings; here smaller example

mydata = data.frame(side1=rep(letters[1:6],3,each=18),side2=rep(letters[1:6],18,each=3),widget=rep(letters[1:6],1),size=rep(1/3,18*3),strength=runif(3*18,-1,1)) 


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -