Check out the wireframe() function in the R package lattice ...

library(lattice)
?wireframe

Jean


On Wed, Dec 18, 2013 at 9:30 AM, Simon Delay-Fortier <
simon.delay-fort...@mail.mcgill.ca> wrote:

> Hi everyone,I am a very new user of r. I am now mandated to draw a 3-d
> surface (and possibly rotating) of a mine pit hole. I have all the location
> points (around 5000 points) of the pit in a CSV file under 3 column X, Y &
> Z. The fllowing gives a 3d scatter but i would like to have a surface.
>
> attach(EASTPITCREST)
> par(bg="grey6", col.lab="white", col.axis="white", col.main="white",
> col.sub="white")
> scatterplot3d(X, Y, Z, color = "red", pch=19, main="Mine and Drilling Map")
>
> I noted is that most of the time X and Y  have to be in ascending order
> but the data I have are not (since they are finite points of the pit, if X
> gets  in ascending order, Y and Z are not). Also with the data, sometimes 2
> rows fallowing each ohter have the same X and Y value with a different Z.
>
> Hope you can help.
> Sincerly,
>
> Simon Delay-Fortier
> ______________________________________________
> 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.
>

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