search for: numbcolstotal

Displaying 1 result from an estimated 1 matches for "numbcolstotal".

2011 Feb 20
2
Same color key for multiple lattice contour plots
...979,-4.405361,-4.601977, -3.000100,-3.110983,-3.271263,-3.531276,-3.803556,-4.131419,-4.412594,-4.610585, -3.000100,-3.111398,-3.272309,-3.533291,-3.806408,-4.135115,-4.416826,-4.615104) ##step 1 define color key bynumb <- .2 # delta deltaseq <- seq(-5.8,-2,by=bynumb) # define color key numbcolstotal <- length(deltaseq)-1 # number of colors in color key #define plot for L Med Clay Grass: x.marginal <- seq(min(x), max(x), length.out = 50) y.marginal <- seq(min(y), max(y), length.out = 50) xy.marginal <- list(x = x.marginal, y = y.marginal) zz <- loess((z1) ~ x * y) grid <- ex...