From: Branimir K. Hackenberger (hack@pedos.hr)
Date: Sat 27 Dec 2003 - 00:14:12 EST
Message-id: <000001c3cbb2$27f12c40$3502a8c0@BranimirHackenberger>
To plot the sphere in R I find the best scatterplot3d package as
follows:
library(scatterplot3d)
a=seq(-pi,pi, length=100)
x=c(rep(1, 100) %*% t(cos(a)))
y=c(cos(a) %*% t(sin(a)))
z=c(sin(a) %*% t(sin(a)))
scatterplot3d(x, y, z, type="l")
Best regards
Branimir K. Hackenberger
______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
This archive was generated by hypermail 2.1.3 : Thu 01 Jan 2004 - 09:21:04 EST