2010-09-15から1日間の記事一覧
Rで立体を表示したい まずはscatterplot3d()というのがある 球を書いてみた library(scatterplot3d) t <- seq(-pi, pi, length = 50) x <- c(rep(1, 50) %*% t(cos(t))) y <- c(cos(t) %*% t(sin(t))) z <- c(sin(t) %*% t(sin(t))) scatterplot3d(x, y, z, …
Rで立体を表示したい まずはscatterplot3d()というのがある 球を書いてみた library(scatterplot3d) t <- seq(-pi, pi, length = 50) x <- c(rep(1, 50) %*% t(cos(t))) y <- c(cos(t) %*% t(sin(t))) z <- c(sin(t) %*% t(sin(t))) scatterplot3d(x, y, z, …