[R] lattice contourplot error

Mihai Bisca mbisca at gmail.com
Sun May 20 18:25:00 CEST 2007


Hello,

A weird thing is happening to me. I have a 128x128 elements matrix m
with values between 0 and 1. If I do:
      R> library(lattice)
      R> contourplot (m, cuts=9)
I get the following error message: Error in validDetails.text(x) :
Invalid 'rot' value
The same for any cuts >9.

I can plot m with contourplot(m, cuts=8) but this is not detailed
enough. The 'normal' R image and contour commands work just fine so it
seems there is nothing wrong with the data. What is this 'rot' value ?
What happens with contourplot from lattice ?

Thanks in advance,

-- 
Mihai.



More information about the R-help mailing list