Dear Robert, Thank you for pointing out the existence of the two different conventions in mathematics and physics --- sorry that I hadn't investigated this in advance. As far as I am aware, the mathematicians use the "physics" convention quite often, but can certainly accept the different convention used in R. My other point on "latitude" being erroneously labelled as "colatitude" still seems to stand.
Best Regards, Christian On Mon, Jul 16, 2018 at 8:47 PM Robert Baer <rb...@atsu.edu> wrote: > > On 7/16/2018 7:28 AM, Christian Rau wrote: > > Dear R-devel mailing list, > > > > I am wondering whether the "theta" and "phi" parameters of the "persp" > > function > > in the graphics commands are named in error (the names seem to have been > > swapped). > Not that it is authoritative, but one gleans from wikipedia, > https://en.wikipedia.org/wiki/Spherical_coordinate_system , that > phyicists and mathematicians have exactly opposite conventions for the > meaning of theta and phi . > > In the end, a symbol is just a standin for what it "stands for" so, we > just need to follow the persp convention when using persp. :-) > > > Also, in the documentation to "persp", reference is made to > > "colatitude" > > when the effect in the image is actually that of "latitude". > > > > Thank you, > > Sincerely, > > Christian > > > > [[alternative HTML version deleted]] > > > > ______________________________________________ > > R-devel@r-project.org mailing list > > https://stat.ethz.ch/mailman/listinfo/r-devel > > -- > > > -- > Robert W. Baer, Ph.D. > Professor of Physiology > Kirksville College of Osteopathic Medicine > A T Still University of Health Sciences > 800 W. Jefferson St > Kirksville, MO 63501 > 660-626-2321 Department > 660-626-2965 FAX > > [[alternative HTML version deleted]] ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel