[pstricks] Points and vectors on a sphere with pst-3dplot

Felix Suwald felix.suwald at gmail.com
Wed Jul 5 11:06:31 CEST 2006


I would like to draw a sphere with the
invisible axis dashed, and the visible
part of the axis pointing outwards as an
arrow. The problem is, that the outer axis
lines seem not to start at the surface
of the sphere, but somewhere below,
when I say that the start point is at a
distance equal to the radius of the sphere.
I tried with and without spherical coordinates.
What am I missing? What is wrong with
the radius of the sphere? I am confused,
I tried the package pst-vue3d before,
and there it seems to work. I could draw
lines starting on the surface of the sphere
by stating the radius of the sphere as distance.
I then gave up pst-vue3d because when I
draw a tangential plane on the sphere
(using unit vectors e_theta and e_phi)
and a parallel plane above the tangential one,
the unit vectors were not parallel anymore,
and that confuses a lot. Is there a way to
switch off the perspective view in pst-vue3d?

Here my basic example with the strange
axis behaviour.

%%%%%% A sphere %%%%%%
  % uhh, where does this axis start?

Regards, Felix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20060705/a5b8de8f/attachment.html 

More information about the PSTricks mailing list