A minor point, but the specification of the contour function is lagging behind the ?contour file:> args(contour)function (x = seq(0, 1, len = nrow(z)), y = seq(0, 1, len = ncol(z)), z, nlevels = 10, levels = pretty(zlim, nlevels), labels = NULL, xlim = range(x, finite = TRUE), ylim = range(y, finite = TRUE), zlim = range(z, finite = TRUE), labcex = 0.4, drawlabels = TRUE, method = "flattest", vfont = NULL, col = par("fg"), lty = par("lty"), lwd = par("lwd"), add = FALSE, ...)> ?contourcontour(x = seq(0, 1, len = nrow(z)), y = seq(0, 1, len = ncol(z)), z, nlevels = 10, levels = pretty(zlim, nlevels), labels = NULL, xlim = range(x, finite = TRUE), ylim = range(y, finite = TRUE), zlim = range(z, finite = TRUE), labcex = 0.6, drawlabels = TRUE, method = "flattest", vfont = c("sans serif", "plain"), col = par("fg"), lty = par("lty"), lwd = par("lwd"), add = FALSE, ...) In particular the function default arguments should apparently be "labcex = 0.6" and "vfont = c("sans serif", "plain")", assuming of course that the help file is more up-to-date than the function definition. Cheers, Jonathan. --please do not edit the information below-- Version: platform = sparc-sun-solaris2.7 arch = sparc os = solaris2.7 system = sparc, solaris2.7 status = major = 1 minor = 1.1 year = 2000 month = August day = 15 language = R Search Path: .GlobalEnv, Autoloads, package:base -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>>>>> "JonR" == J C Rougier <J.C.Rougier@durham.ac.uk> writes:JonR> A minor point, but the specification of the contour function is JonR> lagging behind the ?contour file: >> args(contour) JonR> function (x = seq(0, 1, len = nrow(z)), y = seq(0, 1, len = ncol(z)), JonR> z, nlevels = 10, levels = pretty(zlim, nlevels), labels = NULL, JonR> xlim = range(x, finite = TRUE), ylim = range(y, finite = TRUE), JonR> zlim = range(z, finite = TRUE), labcex = 0.4, drawlabels = TRUE, JonR> method = "flattest", vfont = NULL, col = par("fg"), lty = par("lty"), JonR> lwd = par("lwd"), add = FALSE, ...) >> ?contour JonR> contour(x = seq(0, 1, len = nrow(z)), y = seq(0, 1, len = ncol(z)), JonR> z, JonR> nlevels = 10, levels = pretty(zlim, nlevels), labels = NULL, JonR> xlim = range(x, finite = TRUE), JonR> ylim = range(y, finite = TRUE), JonR> zlim = range(z, finite = TRUE), JonR> labcex = 0.6, drawlabels = TRUE, method = "flattest", JonR> vfont = c("sans serif", "plain"), JonR> col = par("fg"), lty = par("lty"), lwd = par("lwd"), JonR> add = FALSE, ...) JonR> In particular the function default arguments should apparently be JonR> "labcex = 0.6" and "vfont = c("sans serif", "plain")", assuming JonR> of course that the help file is more up-to-date than the function JonR> definition. :-) {the source code is the truth ..} Actually, I think you are right: I think we *should* change the current defaults : labcex = 0.4 is really too small and vector fonts are infinitely better for most instances of contour(). Anybody against the change ? -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._