[R] Contour - data points not in ascending order?

Kirkeby ckir at vet.dtu.dk
Tue Jun 29 10:53:48 CEST 2010


Hi again.

I have made an example of my data:

x<-c(1,2,3,4,1,2,3,4,1,2,3,4,1,2,3,4) 
y<-c(1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4)
z <- c(12,23,23,42,12,1,1,32,5,45,65,76,32,21,23,43)
data <- unique(cbind(x,y,z))
contour(x,y,z, col="red", xlim=c(0,1), ylim=c(0,1), labcex=0.7, cex="12")

-which gives an error message.

/CK 

-- 
View this message in context: http://r.789695.n4.nabble.com/Contour-data-points-not-in-ascending-order-tp2271903p2271905.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list