Re: [R] overlaying points and lines on a surface3d rgl plot with axes

2017-10-19 Thread Vivek Sutradhara
Hi R-users, I think that I have figured out what I should do. But I would welcome any comments clarifying any of the questions that I have raised. (I am showing my revised code below). The questions which are still unresolved for me are the following : 1. With the points3d or the plot3D function,

[R] overlaying points and lines on a surface3d rgl plot with axes

2017-10-19 Thread Vivek Sutradhara
Hi R users and experts, I am interested in learning more about the use of 3D plots. Specifically, I want to add points and lines to a surface plot. And get the axes and labels plotted also. Here is what I have tried with an example data set : library(rgl) vol2 <- 2*volcano # Exaggerate the relief