From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Line between two points on a sphere
Date: Mon, 29 Mar 2010 08:12:22 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 7
Message-ID: <hopnd6$19c$>
Reply-To: <HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1269850342 1324 (29 Mar 2010 08:12:22 GMT)
NNTP-Posting-Date: Mon, 29 Mar 2010 08:12:22 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1140591
Xref: comp.soft-sys.matlab:621385

I have two points on a sphere (x1,y1,z1) and (x2,y2,z2). 
Now I want to plot a straight line over the surface of the sphere between these point.

The radius and the center of the sphere are also known.

What should be the equation of this line? And how do I plot this?
Should I solve the great distance equation? Because this will only give me the length and not the line itsself.