Skip to content

persp function question

2 messages · STEFFEN Julie, Duncan Murdoch

#
Hello,
I have a question about persp function:
I made my classical matrix with x, y and z variables and I dont know why I obtain a 3D image with overestimate heights.

Here is my script:

microtopo = read.csv2("topo2.csv", dec=".")
attach(microtopo)
require(akima)  # for persp or
zz <-interp (x, y, z)
persp(zz)



See also my attach file



Thanks,

Best regards



JS

-------------- next part --------------
A non-text attachment was scrubbed...
Name: topo1.pdf
Type: application/pdf
Size: 114859 bytes
Desc: topo1.pdf
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20091109/615a9446/attachment-0002.pdf>
#
On 11/9/2009 1:00 PM, STEFFEN Julie wrote:
How can you tell it overestimates heights?  There's no scale given.

Duncan Murdoch