[R] 3D plots

Achim Zeileis zeileis at ci.tuwien.ac.at
Mon Mar 19 16:28:38 CET 2001


Fredrik Karlsson wrote:
> 
> Hi all,
> 
> I've got at really basic Q for you all: How do I produce a 3D plot in R?
> Like the one in the screenshot on the R-project wab-page.
> What is the command?

The screenshot is produced with the function "persp", see
help(persp)
example(persp)

For producing 3D scatterplots there is also the package "scatterplot3d"
on CRAN.

Best
Achim

> /Fredrik
> 
> --
> -----------------------------------------------------------------
> Fredrik Karlsson, Research Student
> 
> Department of Philosophy and Linguistics
> Umeå University
> S-901 87 UMEÅ
> SWEDEN
> Tel: +46 90 786 56 84   Web: http://www.ling.umu.se/~fredrik/
> Fax: +46 90 786 63 77   Email: fredrik at ling.umu.se
> PGP-fingerprint:2DD5 54A1 4555 6D00 F386  C269 C430 0C0F 1A53 49B9
> -----------------------------------------------------------------
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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