R-alpha: Rv0.13 Contour syntax

Ross Ihaka (ihaka@stat.auckland.ac.nz)
Thu, 14 Nov 1996 10:29:40 +1300 (NZDT)

From: Ross Ihaka <ihaka@stat.auckland.ac.nz>
Date: Thu, 14 Nov 1996 10:29:40 +1300 (NZDT)
Message-Id: <199611132129.KAA29593@stat13.stat.auckland.ac.nz>
To: r-testers@stat.math.ethz.ch
Subject: R-alpha: Rv0.13 Contour syntax
In-Reply-To: <Pine.SOL.3.95.961113105512.9637B-100000@kes.mcs.surrey.ac.uk>

Anthony Ledford writes:
 > In /demos/graphics there is a contour plotting example.
 > The line 
 >    contour(x, y, volcano, l, col="yellow", lty="solid", add=TRUE)
 > gives the error message
 >    Error: increasing x and y values expected
 > Re-ordering the first 3 variables as follows
 >    contour(volcano, x, y, l, col="yellow", lty="solid", add=TRUE)
 > seems to work OK.

Mea culpa.  I made a last minute change to try to make contour and
image have the same argument lists.  I also made the x and y values
default to evenly spaced values between 0 and 1.  Persp will work the
same way.

I know this is incompatible with that other language, but some of the
little incompatibilities in S have always irked me.
r-testers mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: r-testers-request@stat.math.ethz.ch