I was able to get a surface plot with wireframe, however I cant rotate it 
around like you can with the plot3d function?
Is thier a way to do this in R?
 


 
To: r-help@r-project.org
Date: Tuesday, December 16, 2008, 9:13 AM







I am trying to do a surface profile plot.
data is 
X                  Y(1)             Z(1)
1-jan-02       2002        number
2-jan-02       2002        number
.
.
.
1-jan-03       2003 (Y2)     number Z(2)
2-jan-03       2003 (Y2)     number Z(2)
.
.
.
until dec 31 2007.
 
I used the plot3d funtions to build a scatter point plot.
Call rinterface.rrun("library(rgl)")
Call 
rinterface.rrun("plot3d(x,y1,z1,xlab='Date',ylab='Year',zlab='Vol',ylim=c(2001,2008))")
Call rinterface.rrun("plot3d(x,y2,z2,add=TRUE)")
Call rinterface.rrun("plot3d(x,y3,z3,add=TRUE)")
Call rinterface.rrun("plot3d(x,y4,z4,add=TRUE)")
Call rinterface.rrun("plot3d(x,y5,z5,add=TRUE)")
Call rinterface.rrun("plot3d(x,y6,z6,add=TRUE)")
 
Is thier a way to lay a surface to this?
 



      
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to