ggplot2 - Reducing line thickness / size in multiple qplot graphs in R -


i wish create 24 line plots on a4 page in high resolution png. i'm trying using qplot , grid.arrange function in gridextra library. problem can't reduce thickness of lines in each plot, below threshold. setting size=0 or size=0.0001 or whatever makes no difference; there seems minimum can't crossed, , it's thicker i'd like. increasing size of plot area works have rescale resulting image. can please suggest alternative? minimal example below.

library(ggplot2)     library(gplots) library(gridextra)  <- c(0,1,2,3,4,5) b <- a^2  plot1 <- qplot(a, b, geom = c("point", "line"), pch=10) +               geom_point(size=0) +               geom_line(size=0) png("filename.png", width=15, height=22, units = "cm", res = 900)  grid.arrange( plot1,plot1,plot1,plot1, plot1,plot1,plot1,plot1, plot1,plot1,plot1,plot1, plot1,plot1,plot1,plot1, plot1,plot1,plot1,plot1, plot1,plot1,plot1,plot1, ncol=4)  dev.off() 


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -