[R] Q. regarding shadowed 3D plots

Paul Murrell p.murrell at auckland.ac.nz
Wed Nov 6 21:34:21 CET 2002


Hi


Amund Tveit wrote:
> 
> Hi,
> 
> Is the code for creating the screenshot plots found at:
> 1. http://www.r-project.org/screenshots/persp-surface.jpg
> 2. http://www.r-project.org/screenshots/volcano-persp.jpg
> available?
> 
> How is the shadow added to the 3D surfaces?


See help(persp), in particular the ltheta and lphi arguments.  
There are a couple of examples of their use in example(persp).

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