I have 3 row data in the format as x,y,time I want to draw it as a 3d picture;x as x axis, y as y axis, the xy's density as z axis, the corresponding time as color. I have read the manual of R and failed, Since kde2d and bkde2d give grid data, this grid data cannot match its original time. Could anyone do me a favor? thanks.