|
Hi,
Can anyone tell me what does the function perspp
exactly do?
Here is what I do:
# First I drawn a 3-D frame that I call
ppp:
>
ppp_persp(c(2,3.5),c(6,58),matrix(rep(0,4),ncol=2),zlim=c(0,150),eye=c(10,-200,400))
# Then I plot points on this frame:
>
points(perspp(data[,1],data[,2],data[,3],ppp))
# And I get these warning messages :
WARNING: Point out of bounds: x = 261.000000, y =
286.000000 WARNING: Point out of bounds: x = 376.000000, y =
198.000000 WARNING: Point out of bounds: x = 361.000000, y =
207.000000 WARNING: Point out of bounds: x = 336.000000, y =
225.000000
which surprises me because none of the points of
the data.frame data has coordinates out of the bounds of the 3-D frame ppp.
Moreover, none of the points of the data.frame data has such x and y
coordinates:
> max(data[,1]) [1] 3.480537 >
max(data[,2]) [1] 58 > max(data[,3]) [1] 155.4
Does anyone have a clue?
Thank you very much.
|