[R] Pdf file size for very scatter plots

jim holtman jholtman at gmail.com
Fri Aug 15 21:27:38 CEST 2008


Have you tried using  pch='.'?

Also you might consider using 'hexbin' for creating the scatter plot.

On Fri, Aug 15, 2008 at 12:24 PM, Nazareno Andrade
<nazareno at lsd.ufcg.edu.br> wrote:
> Dear all,
>
> I am plotting a scatter plot for a large sample (1e+05 ordered pairs).
> This produces a large (~5MB) file in a pdf or postscript terminal, and
> I am wondering whether there are methods for reducing the size of the
> resulting file so that it is easier to include it in a document. I'd
> rather stick with pdf or ps as I am using latex.
>
> thanks,
> Nazareno
>
> ______________________________________________
> R-help at 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.
>



-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem that you are trying to solve?



More information about the R-help mailing list