Path: news.mathworks.com!not-for-mail
From: "Vinita " <rsingh2083@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Line between two points on a sphere
Date: Thu, 26 Jul 2012 11:08:13 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 20
Message-ID: <jur8et$2l2$1@newscl01ah.mathworks.com>
References: <hopnd6$19c$1@fred.mathworks.com> <hoqmkn$871$1@fred.mathworks.com> <dc084b59-3128-495b-8814-1e50bbe98b29@k21g2000vbj.googlegroups.com> <jum41g$q60$1@newscl01ah.mathworks.com> <juma6d$mk0$1@newscl01ah.mathworks.com> <jumap6$ote$1@newscl01ah.mathworks.com> <juo7ib$aee$1@newscl01ah.mathworks.com> <500FD813.3040203@mathworks.com> <juon2c$2t6$1@newscl01ah.mathworks.com> <5010E67C.4070308@mathworks.com>
Reply-To: "Vinita " <rsingh2083@gmail.com>
NNTP-Posting-Host: www-03-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1343300893 2722 172.30.248.48 (26 Jul 2012 11:08:13 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 26 Jul 2012 11:08:13 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 3425922
Xref: news.mathworks.com comp.soft-sys.matlab:774978

Hey Chris,

I have another problem. I have this graph :-
http://static.inky.ws/image/2485/image.jpg
I want to map these points on a unit sphere now. Do you know how to do it.

Christopher Creutzig <Christopher.Creutzig@mathworks.com> wrote in message <5010E67C.4070308@mathworks.com>...
> On 25.07.12 13:59, Vinita wrote:
> 
> > That is great. i wanted to ask one thing though. If I dont do this part
> >    sphere
> >    alpha(0.1)
> > but proceed with the rest of the code, would the points thus generated still lie on an invisible sphere.
> 
> Sure. They would also do that if you didn't plot anything at all, and
> you can change the 4 in the randn(4,3) call to whatever number of points
> you need (and the 3 to whatever number of dimensions you want).
> 
> 
> Christopher