I am trying to plot one single (x, y, z) point in 3 dimensional space, similar to the graph here:
I have tried using the scatter3d
function from the rgl
library, however I am stuck over how to get the point itself. I tried the following:
scatter3d(x=-4, y=0, z=-1)
which resulted in:
I am not sure how to structure the data to get the point. Is there another library that I could use which is better suited for this? Or am I using this function the wrong way?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.