[R] 3d scatter plot

From: Eric Hu <eric.y.hu_at_gmail.com>
Date: Sat 16 Jul 2005 - 03:48:45 EST


Hi, I ran into a dilemma trying to plot the following data in a 3d scatter fashion. My data are not always increasing as persp() expects. For now I use scatterplot3d to get points in a 3d scatter plot. I wonder if I have any way to plot the surfaces. Thanks!

Eric

####sample data

-0.50 0.40 1.281
-0.50 0.45 1.795
-0.50 0.50 1.766
-0.40 0.35 1.595
-0.40 0.40 1.388
-0.40 0.45 2.344
-0.40 0.50 2.179
-0.30 0.35 1.792
-0.30 0.40 2.349
-0.30 0.45 1.682
-0.30 0.50 1.493
-0.20 0.35 1.836
-0.20 0.40 2.186
-0.20 0.45 1.863
-0.20 0.50 1.775
-0.10 0.25 2.991
-0.10 0.30 2.426
-0.10 0.35 1.954
-0.10 0.40 1.136
-0.10 0.45 1.438
-0.10 0.50 1.429
-0.05 0.30 2.163
-0.05 0.35 1.953
-0.05 0.40 1.672
-0.05 0.45 1.688
-0.05 0.50 1.963



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Jul 16 03:52:55 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:45 EST