R-alpha: Rv0.13 Contour syntax

Anthony Ledford (mas2al@mcs.surrey.ac.uk)
Wed, 13 Nov 1996 11:01:21 +0000 (GMT)

Date: Wed, 13 Nov 1996 11:01:21 +0000 (GMT)
From: Anthony Ledford <mas2al@mcs.surrey.ac.uk>
To: r-testers@stat.math.ethz.ch
Subject: R-alpha: Rv0.13 Contour syntax

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.


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