Hi, I would like to have 3d plot, and I found that there is a command "scatterplot3d". x is V, y=sigmaV, and z=TSE (note: After some calculation, I update TSE). How could I do to have 3d plot I want? V<-seq(1279,1280,,100) sigmaV<-seq(0.28,0.29,,100) TSE<-matrix(0, length(V),length(sigmaV)) ps: TSE[i,j] corresponds to V[i] and sigmaV[j]. Thanks, Kate [[alternative HTML version deleted]]
If you want to plot some surface, use persp(); or wireframe() from package lattice; or persp3d() from package "rgl" or therelike. Uwe Ligges kate wrote:> Hi, > I would like to have 3d plot, and I found that there is a command "scatterplot3d". x is V, y=sigmaV, and z=TSE (note: After some calculation, I update TSE). How could I do to have 3d plot I want? > > V<-seq(1279,1280,,100) > sigmaV<-seq(0.28,0.29,,100) > TSE<-matrix(0, length(V),length(sigmaV)) > > ps: TSE[i,j] corresponds to V[i] and sigmaV[j]. > > Thanks, > > Kate > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.