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? Thanks in advance for any help. B.R, Amund http://www.idi.ntnu.no/~amundt/ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Q. regarding shadowed 3D plots
4 messages · Amund Tveit, Paul Murrell, Wolfgang Viechtbauer +1 more
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
"Paul" == Paul Murrell <p.murrell at auckland.ac.nz>
on Thu, 07 Nov 2002 09:34:21 +1300 writes:
Paul> Hi
Paul> 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?
Paul> See help(persp), in particular the ltheta and lphi arguments.
Paul> There are a couple of examples of their use in example(persp).
and even a bit more in
demo(persp) {which has been new in R 1.6.0}
Martin
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._