[Rd] matlines, matpoints don't follow prototype (PR#506)
maechler@stat.math.ethz.ch
maechler@stat.math.ethz.ch
Fri, 7 Apr 2000 11:35:45 +0200 (MET DST)
>>>>> "ChuckB" == Charles C Berry <cberry@tajo.ucsd.edu> writes:
ChuckB> The Blue Book allows the 'type' argument to be used in matpoints and
ChuckB> matlines.
ChuckB> matlines(x, y, type="l", lty=1:5, pch=, col=1:4)
ChuckB> R-1.0.0 does not.
ChuckB> Thus, type="h", "b", must be invoked thru matplot( x, y, type = "h",
ChuckB> add=TRUE)
ChuckB> For the sake of consistency with S, it would be nice to have
ChuckB> matlines defined as:
ChuckB> "matlines" <-
ChuckB> function(x, y, type = 'l', lty=1:5, lwd = 1, pch=NULL, col=1:6, ...)
ChuckB> matplot(x=x, y=y, type=type, lty=lty, lwd=lwd, pch=pch, col=col,
ChuckB> add=TRUE, ...)
ChuckB> and similarly for matpoints.
You are right.
I've fixed it for the upcoming patch release (1.0.1).
Martin Maechler <maechler@stat.math.ethz.ch> http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum LEO D10 Leonhardstr. 27
ETH (Federal Inst. Technology) 8092 Zurich SWITZERLAND
phone: x-41-1-632-3408 fax: ...-1228 <><
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._