Re: [R] Suggestions for scatter plot of many data

2018-07-20 Thread Rich Shepard
On Fri, 20 Jul 2018, Duncan Mackay wrote: If you have to make several plots you can subset your data Duncan, That's what I thought I should do. xyplot(... data = subset(x, condition), ...) or XYn <- xyplot(... data = x[row1:row2, ], ...) in a loop have a look a ? print.trellis if you

Re: [R] Suggestions for scatter plot of many data

2018-07-19 Thread Rich Shepard
On Thu, 19 Jul 2018, William Michels wrote: Hello, In addition to Duncan Mackay's excellent suggestion, I would recommend Bert Gunter's "stripless" package, for high-density Trellis-type conditioning plots. See the vignette for examples, and try out the code for "earthquake" and "barley" plots

Re: [R] Suggestions for scatter plot of many data

2018-07-19 Thread William Michels via R-help
Hello, In addition to Duncan Mackay's excellent suggestion, I would recommend Bert Gunter's "stripless" package, for high-density Trellis-type conditioning plots. See the vignette for examples, and try out the code for "earthquake" and "barley" plots from the reference manual.

Re: [R] Suggestions for scatter plot of many data

2018-07-19 Thread Rich Shepard
On Thu, 19 Jul 2018, Berry, Charles wrote: So roughly 5000 observations of latitiude, longitude, elevation(?), and amount. Maybe something dynamic like Hans Rosling does: https://towardsdatascience.com/how-to-build-animated-charts-like-hans-rosling-doing-it-all-in-r-570efc6ba382 possibly

Re: [R] Suggestions for scatter plot of many data

2018-07-19 Thread Berry, Charles
> On Jul 18, 2018, at 1:55 PM, Rich Shepard wrote: > > I have daily precipitation data for 58 locations from 2005-01-01 through > 2018-06-18. So roughly 5000 observations of latitiude, longitude, elevation(?), and amount. Maybe something dynamic like Hans Rosling does:

Re: [R] Suggestions for scatter plot of many data

2018-07-19 Thread Rich Shepard
On Thu, 19 Jul 2018, Duncan Mackay wrote: Try something like this ... Duncan, That's impressive and well beyond anything I've done in the past. I'll study it to fully understand it and make it work for me. I have put over 60 panels on an A4 page. Space is a premium - you can reduce

Re: [R] Suggestions for scatter plot of many data

2018-07-19 Thread Duncan Mackay
Hi Rich Try something like this set.seed(1) xy <- data.frame(x = rnorm(108), y = rnorm(108), gp = rep(1:9, ea = 12)) xyplot(y~x|gp, xy, as.table = TRUE, strip = F, strip.left = F, layout = c(3,3), par.settings= list(layout.heights =

Re: [R] Suggestions for scatter plot of many data

2018-07-18 Thread David Winsemius
> On Jul 18, 2018, at 1:55 PM, Rich Shepard wrote: > > I have daily precipitation data for 58 locations from 2005-01-01 through > 2018-06-18. Among other plots and analyses I want to apply lattice's > xyplot() to illustrate the abundance and patterns of the data. > > I've used a vector of