Hi, I'm trying to plot the dates on the x-axis of a persp plot, but cannot find a way of doing so. This is where I am at:
|x<- seq(-10, 10, length= 30) x0<- as.Date("2000-01-01") x.dates<- seq(x0,x0+length(x)-1,1) y<- x f<- function(x,y) { r<- sqrt(x^2+y^2); 10 * sin(r)/r} z<- outer(x, y, f) z[is.na(z)] <- 1 op<- par(bg= "white") persp(x.dates, y, z, theta= 30, phi= 30, expand= 0.5, col= "lightblue",ticktype Any help would be appreciated, regards, Owe| -- Owe Jessen Nettelbeckstr. 5 24105 Kiel p...@owejessen.de http://privat.owejessen.de [[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.