Re: [R] Display time of PDF plots

2018-09-05 Thread MacQueen, Don via R-help
(this is somewhat a change of subject from the original question) Rich, there functions such as aggregate() in base R. There are also many options in CRAN packages. But I tend to have difficulty getting them to do exactly what I want, and usually end up rolling my own. The idea is to split

Re: [R] Display time of PDF plots

2018-09-04 Thread Rich Shepard
On Mon, 3 Sep 2018, Rich Shepard wrote: 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? Bert/Paul/David/John: Thanks very much for the suggestions. I think an appropriate way to illustrate

Re: [R] Display time of PDF plots

2018-09-03 Thread Rich Shepard
On Mon, 3 Sep 2018, Sorkin, John wrote: Might it help to take a random subset of the data and plot the sub set? If the relation is linear you could include a regression line obtained from the entire data set John, I'll definitely explore this option. Thanks for the idea. Regards, Rich

Re: [R] Display time of PDF plots

2018-09-03 Thread Rich Shepard
On Mon, 3 Sep 2018, David L Carlson wrote: If the plot is being displayed on a monitor, it is being bitmapped to the resolution of the display device regardless of how you save it. Most computer monitors are about 100dpi. David, I'm looking at the report on the monitor. I suspect that most

Re: [R] Display time of PDF plots

2018-09-03 Thread David L Carlson
A University -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Rich Shepard Sent: Monday, September 3, 2018 12:45 PM To: r-help@r-project.org Subject: [R] Display time of PDF plots This may be an inappropriate forum for this question. If so, please

Re: [R] Display time of PDF plots

2018-09-03 Thread Rich Shepard
On Mon, 3 Sep 2018, Bert Gunter wrote: 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

Re: [R] Display time of PDF plots

2018-09-03 Thread Bert Gunter
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

[R] Display time of PDF plots

2018-09-03 Thread Rich Shepard
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