Path: news.mathworks.com!not-for-mail
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$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1269850342 1324 172.30.248.37 (29 Mar 2010 08:12:22 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 29 Mar 2010 08:12:22 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1140591
Xref: news.mathworks.com 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.