[pstricks] pstThreeDSphere

Herbert Voss LaTeX at zedat.fu-berlin.de
Sat Sep 24 16:30:31 CEST 2005


Markus Krebs wrote:

> I've tried to plot a sphere. There must be a mistake in my code (or in 
> my brain) cause the two spheres are different.
> 
> \pstThreeDSphere[fillstyle=vlines,hatchsep=3pt,hatchwidth=0.1pt,linewidth=0.5pt](4,1,-1){5} 

the Sphere is calculated by pst-vue3d, which is far different
from pst-3dplot (perspective versus parallel projection).

\pstThreeDSphere[dobs=11.2, ...](4,1,-1){5}

should do the trick. I cannot remember why I used dobs=decran=10
For spheres and other complex objects, pst-vue3d does a better job.


Herbert




More information about the PSTricks mailing list