Displaying 1 result from an estimated 1 matches for "farmmap".
Did you mean:
farmmaps
2007 Sep 30
1
clipping viewports
Dear useRs,
Why are the rotated blue and yellow boxes in the example below clipped outside of 6 x 6 inch window in the middle of the page?? Where does the 6 x 6 inch window come from? I would like to make use of the entire page.
> library(grid)
> pdf(file = "FarmMaps.pdf", paper = "a4")
> pushViewport(viewport(
+ width = unit(7.6, "inches"), height = unit(11, "inches"), clip = "off"))
> grid.rect(gp = gpar(col = NA, fill = "grey"))
> pushViewport(viewport(x = unit(3.6, "inches"), y =...