[R] Q. regarding shadowed 3D plots

Wolfgang Viechtbauer wviechtb at s.psych.uiuc.edu
Wed Nov 6 23:01:10 CET 2002


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

The examples at the end provide the code. The shadow effect is added by
specifying ltheta, lphi, and shade.

--
Wolfgang Viechtbauer

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