[R] What does persp() return?
Paul Murrell
p.murrell at auckland.ac.nz
Thu Aug 1 22:36:47 CEST 2002
Hi
David Brahm wrote:
>
> I want to plot some 3D points on top of the grid produced by persp().
>
> On 2/22/01, Paul Murrell <paul at stat.auckland.ac.nz> wrote in R-help:
> > In S-Plus, persp() returns a value that can be used to transform 3D
> > locations to 2D, but this sort of thing is not (yet) available in R.
Sorry, that is out of date.
> But persp() does return something (in R-1.5.1): a 4x4 matrix which in the C
> code is called the "viewing transformation matrix", VT. Can VT be used to plot
> additional points? If not, is such a thing in the works?
Yes. Try searching Chen Huashan's R-help archives
(http://www.baidao.net/r/archives/forum_show.cgi) for the subject
"persp(): add second plane"
Paul
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list