From maechler@stat.math.ethz.ch  Thu Nov 23 15:11:41 2000
From: maechler@stat.math.ethz.ch (maechler@stat.math.ethz.ch)
Date: Thu, 23 Nov 2000 16:11:41 +0100 (MET)
Subject: [Rd] contour documentation (PR#740)
Message-ID: <200011231511.QAA06027@pubhealth.ku.dk>

>>>>> "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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] contour documentation (PR#740)
maechler@stat.math.ethz.ch