From chri@ti@nr@u080 @ending from gm@il@com  Mon Jul 16 21:24:51 2018
From: chri@ti@nr@u080 @ending from gm@il@com (Christian Rau)
Date: Mon, 16 Jul 2018 21:24:51 +0200
Subject: [Rd] persp command
In-Reply-To: <b75ae71f-3909-c151-01c4-260fc2d08687@atsu.edu>
References: <CADX8qG3jK8rmPPpAjZ2NFOdhahEzGE=Mq0q=kGJbaiTHBbj4Dw@mail.gmail.com>
 <b75ae71f-3909-c151-01c4-260fc2d08687@atsu.edu>
Message-ID: <CADX8qG0j24dPvpvRYDW0O23SGYVsbeB0oesE5sbnGLQnwtJv-g@mail.gmail.com>

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 <rbaer at 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 at 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]]



[Rd] persp command
Christian Rau