Skip to content
Back to formatted view

Raw Message

Message-ID: <2377A6C192169D4AA5CB6110D7F4F5D201446AA49EC8@MAIL-2.UNINE.CH>
Date: 2009-11-09T18:00:52Z
From: STEFFEN Julie
Subject: persp function question

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>