I am trying to dp a 3d plot.
  I tried persp but my data is not a matrix.
  the 3dplot function returns this error, (list) object cannot be coerced to 
'double'
  heres my code,
  td<-read.csv("td.csv", header=TRUE)
price<-read.csv("price.csv", header=TRUE)
contractdate<-read.csv("contractdate.csv", header=TRUE)
library(rgl)
plot3d(td,contractdate,price)
   
  the 3 csv data files have the following format,
  1
  2
  3
  4
  5
  6
  ...
  60,000
   
  basically I have 3 columns, x y and z that have 60000 rows (data points) I 
want to plot.
   

       
---------------------------------

        [[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