[R] 3-d point plotting?

Ross Ihaka ihaka at stat.auckland.ac.nz
Fri Jan 8 20:04:09 CET 1999

> From: Matthew Wiener <mcw at ln.nimh.nih.gov>
> To: Ross Ihaka <ihaka at stat.auckland.ac.nz>
> cc: r-help at stat.math.ethz.ch
> Subject: Re: [R] 3-d point plotting?
> In our application, we're looking at 2-dimensional position through time,
> and we'd like to plot multiple sequences on a single graph.  So we'd just
> like to be able to do points and lines (as in the type="l" plotting
> option) in three dimensions.  Lines down to the grid aren't an issue.  In
> Splus we can make perspp do what we want. 

I gave a task to one of my summer students yesterday which should do what
you want.  Basically we'll make a "plot3d" function with associated
"points3d", "lines3d", "segments3d", "polygon3d" and "text3d".
The viewing transformation will be set up as for "persp".  This should
make it possible to build simple 3d plots.  No hidden surface/line removal

I'm thinking at present about how to do a real 3d system, but this
intended for the new Omega system rather than R.  This would probably
be an interface to OpenGL/Mesa.

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