# [pstricks] spherical triangle

Paul Blaga pally_blaga at yahoo.com
Sat Feb 20 16:14:17 CET 2010

Thank you  very much, Herbert. I'll try to work out the details.

Paul Blaga

--- On Fri, 2/19/10, Herbert Voss <Herbert.Voss at FU-Berlin.DE> wrote:

From: Herbert Voss <Herbert.Voss at FU-Berlin.DE>
Subject: Re: [pstricks] spherical triangle
To: "Graphics with PSTricks" <pstricks at tug.org>
Date: Friday, February 19, 2010, 9:14 AM

Am 19.02.2010 10:16, schrieb Paul Blaga:

> Can anybody suggest me how could I draw a spherical triangle with PSTricks? (similar to the drawing in the attachment).

only as an example it is derived from
http://tug.org/PSTricks/main.cgi?file=pst-plot/3D/examples#sphere12

Herbert

\documentclass{article}

\usepackage{pst-3dplot}

\begin{document}

\begin{pspicture}(-4,-4)(4,5)
\psset{Alpha=40,Beta=30,linestyle=dashed}
\pstThreeDCoor[xMin=-5,xMax=5,yMax=5,zMax=5,IIIDticks]
\pstThreeDEllipse[linecolor=red](0,0,0)(4,0,0)(0,0,4)
\pstThreeDEllipse[linecolor=red](0,0,0)(0,4,0)(4,0,0)
\pstThreeDEllipse[linecolor=red](0,0,0)(0,4,0)(0,0,4)
%
\pscustom[fillstyle=solid,fillcolor=blue,linestyle=none]{
\pstThreeDEllipse[beginAngle=90,endAngle=0](0,0,0)(4,0,0)(0,4,0)
\pstThreeDEllipse[beginAngle=0,endAngle=90](0,0,0)(4,0,0)(0,0,4)
\pstThreeDEllipse[beginAngle=90,endAngle=0](0,0,0)(0,4,0)(0,0,4)
}
\end{pspicture}

\end{document}

_______________________________________________
PSTricks mailing list
PSTricks at tug.org
http://tug.org/mailman/listinfo/pstricks
archive: http://www.tug.org/pipermail/pstricks/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20100220/fcb263da/attachment.html>