I remembered wrong, the problem rised int the next line to the mentioned one,
z was wrong, and I didn't see way. But new day, new point of wiew. For
anybody's interest here is the solution.
The original try was this:
x - seq(-1.95, 1.95, length = 30)
y - seq(-1.95, 1.95, length = 35)
z -
On Aug 17, 2010, at 10:35 AM, szisziszilvi wrote:
I am using persp to get a plot of a 32x48 matrix.
data - as.matrix(read.table(file=mySample.dat))
persp(data)
And I'm having trouble with trying to give a z-dependent palette to
it like
rainbow (or any built in one would do). How to combine
yes, I had, and failed somehow, because I couldn't work out some points. I
don't have my work with me at the moment, but will give a detailed
description about my porblems. I don't remember for sure what I tried and
what not, but I failed at this line:
zfacet - z[-1, -1] + z[-1, -ncz] + z[-nrz,
3 matches
Mail list logo