[R] Display time of PDF plots

Bert Gunter bgunter@4567 @end|ng |rom gm@||@com
Mon Sep 3 20:20:54 CEST 2018


1. Plot a random sample of the points (e.g. of rows of matrix/dataframe
containing "x" and "y" columns

2. See the hexbin package

3. Check out the graphics taskview on cran:
https://cran.r-project.org/web/views/Graphics.html
(though it may be somewhat dated by now)

4. Internet search:  e.g. on "display scatterplots with thousands of
points"
typical hit:
https://stackoverflow.com/questions/7714677/scatterplot-with-too-many-points

5. Search/Post on stats.stackexchange.com instead.

-- Bert

Bert Gunter

"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )


On Mon, Sep 3, 2018 at 10:45 AM Rich Shepard <rshepard using appl-ecosys.com>
wrote:

>    This may be an inappropriate forum for this question. If so, please
> point
> me in a better direction.
>
>    A current project includes scatter plots with thousands of points. Saved
> as PDF files they display slowly using a pdf viewer or when included in the
> PDF output of a LaTeX document.
>
>    Is there a process by which these plots can be 'thinned' so they show
> the
> same overall patterns but with fewer points so they display more quickly?
>
>    Rasterizing them to .jpg files using 'convert' allows them to load
> immediately, but the bit-mapped resolution is, of course, much lower than
> the vector PDF format.
>
> Rich
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.
>

	[[alternative HTML version deleted]]




More information about the R-help mailing list