On 2/11/08, John Lande <[EMAIL PROTECTED]> wrote: > I am writing a sweave documentation for my analysis, and I am plotting huge > scatter plot data for microarray. > unlucly this take a lot of resource to my pc because of the quality of the > image which is to high (I see the PC get stuck for each single spot). > how can I overcome this problem? is there a way to make lighter image? > john
John, You may try to plot random samples of your data. E.g.: df1 <- data.frame(x=rnorm(10000), y=rnorm(10000)) df1.small <- df1[sample(nrow(df1),1000), ] with(df1.small, plot(x,y)) HTH, Philippe ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.