[R] persp function question

Duncan Murdoch
Mon, 09 Nov 2009 20:46:06 -0000

On 11/9/2009 1:00 PM, STEFFEN Julie wrote:
> 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.

How can you tell it overestimates heights?  There's no scale given.

Duncan Murdoch

> 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
>
>
> ------------------------------------------------------------------------
>
> This body part will be downloaded on demand.