Displaying 1 result from an estimated 1 matches for "myplotlist".
2011 Dec 07
1
Help! I couldn't put multiple qplot on the same page...
...w = x, layout.pos.col = y)
# Make each plot, in the correct location
for (i in 1:numPlots) {
curRow = ceiling(i/plotCols)
curCol = (i-1) %% plotCols + 1
print(plots[[i]], vp = vplayout(curRow, curCol ))
}
}
My code is as below:
----------------------------
myplotlist=vector('list', 6)
nCount=0;
for (j in myyears)
{
print(j)
nCount=nCount+1
#...
# prepare datasub and factorsub for different j...
#...
tmp<-data.frame(as.double(datasub),as.numeric(factorsub))
tt=qplot(factor(as.numeric(f...