search for: subgrid2

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

Did you mean: subgrids
2008 Aug 01
0
standardize ggplot and lattice themes
...p=c(1.8, 0.5, 0), > col="black") > > plot(x, y1, new=TRUE, t="n") # plots nothing, needed to find the > dimensions > > lims <- par("usr") > subGrid1 <- axTicks(1) + mean(diff(axTicks(1)))/2 # position of the > grid sub-divisions > subGrid2 <- axTicks(2) + mean(diff(axTicks(2)))/2 > > plot(x, y1, col=1, xlab = "x", ylab = "value", xaxt = "n", yaxt = > "n", pch=16, cex=0.8, > panel.first = { > rect(lims[1], lims[3], lims[2], lims[4],bord = NA, col = > greyLight); # gr...