Add the following lines before grid:
# insert 3 lines of code, stolen from filled.contour():
mar.orig <- par("mar")
w <- (3 + mar.orig[2]) * par("csi") * 2.54
layout(matrix(c(2, 1), nc = 2), widths = c(1, lcm(w)))
Taken from thil list somewhere.
Ciao!
mario
-
Hello,
For a reason I can't seem to figure out (have searched posts on this forum
for "filled.contour grid"), the grid (in the code below) is plotting over
the legend that accompanies the filled.contour. The dataset has 40 columns
and 20 rows. Where have I gone wrong? How can I draw a grid wi
2 matches
Mail list logo