The line contour(volcano, x, y, l, col = "yellow", lty = "solid", add = TRUE) needs to be changed to contour(x, y, volcano, col = "yellow", lty = "solid", add = TRUE) A patch is appended below. -k *** demos/graphics/graphics.orig Thu Apr 17 11:02:39 1997 --- demos/graphics/graphics Thu Apr 17 11:03:08 1997 *************** plot(numeric(0), numeric(0), NULL, *** 129,135 **** type="n", ann=FALSE) usr <- par("usr") rect(usr[1], usr[3], usr[2], usr[4], col="green3") ! contour(volcano, x, y, l, col="yellow", lty="solid", add=TRUE) box() title("A Topographic Map of Maunga Whau",font=4) title(xlab="Meters North", ylab="Meters West", font=3) --- 129,135 ---- type="n", ann=FALSE) usr <- par("usr") rect(usr[1], usr[3], usr[2], usr[4], col="green3") ! contour(x, y, volcano, col="yellow", lty="solid", add=TRUE) box() title("A Topographic Map of Maunga Whau",font=4) title(xlab="Meters North", ylab="Meters West", font=3) =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at> writes:> > The line > contour(volcano, x, y, l, col = "yellow", lty = "solid", add = TRUE) > needs to be changed to > contour(x, y, volcano, col = "yellow", lty = "solid", add = TRUE) >The help file for image() has the same problem, both in the USAGE and EXAMPLES section. And while we're at it: the ALIASes should contain "contour", not "image", right? BTW: Ross seems to have quietly put out an R7.tgz (compiling as I type this) and forgotten to tell us about it... -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> BTW: Ross seems to have quietly put out an R7.tgz (compiling as I type > this) and forgotten to tell us about it...Don't expect much difference. That was just so that Martin M could check whether configuration and compilation with Fortran would work under Solaris. If you people would just stop finding bugs, I could a real version ready ... :-). We have a week break from teaching next week. So if not tomorrow, hopefully then. [ Actually I have to confess I've been playing networks - getting a PPP connection from home going. Which is what I'm using at present. Infinitely nicer than using "tip". ] =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-